1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
abruzzese [7]
3 years ago
7

Complete the second clause of the following Prolog program for member/2 where member(X, Y) checks whether X is an element (a mem

ber) of a list Y. member(X,[X|R]). member(X,[Y|R]) :- ____________.A. member(X,R).
B. member(X,Y).
C. member(_,R).
D. member(Y,R).
E. member(X,Y).
Computers and Technology
1 answer:
Nadusha1986 [10]3 years ago
4 0

Answer:

The answer is "Option A"

Explanation:

In the given program code, two-member "X, Y" is used, in which X is an element of the list and Y is the list. In this another variable R declares, that store a number for the match, in this question choice "A" is correct because it uses an element and variable "R" for check and wrong choices can be described as follows:

  • In option B, in this two-parameter is used, in which one is an element and one is the list, that's why it is incorrect.
  • In option C, It is wrong because there is no underscore variable.
  • Option D and Option E both were wrong because in this list is passed as the parameter.
You might be interested in
A class car and its subclass bmw each have a method run(), which was written by the developer as part of the class definition. i
krok68 [10]

The answer is : the run() method defined in BMW will be called.

run() BMW

5 0
3 years ago
Which types of charts are examples found in Excel? Check all that apply.
marysya [2.9K]

Answer: 1,2,4,5,6

Explanation:

columns

bar

histogram

pie

scatterplot

5 0
2 years ago
Create a presentation on “Pets” and customize your presentation in the following ways:
DaniilM [7]

Answer:

I used Microsoft PowerPoint 2010 to create my presentation. I created five slides on the topic of “Pets” and then customized the presentation.

Theme: I selected the Hardcover theme from the Design tab.

Slide Master: The Slide Master consists of all the design elements that I want for my slides. Therefore, I used the Slide Master option from the View tab. It gave me a view of all my slides in the form of thumbnails (on the left side) as Master Layouts. From the thumbnails list, I clicked on the top-most one (larger thumbnail) to edit it. On this master slide, I changed the background design, color scheme, and positioning of the placeholders.

Animation: There were certain slides for which I wanted to add animations. I individually selected those slides and clicked on the Animations Tab. I selected the Zoom animation style for the entry and exit of my text for particular slides.

Slide Layout: Within my presentation, I wanted a slide (slide number 5) to stand out from the rest. This slide would talk about the various pet stores in the vicinity. First, I used the Insert Layout option while being on the Slide Master view. Next, I used the Insert Placeholder option and selected Picture. Then, I had to drag the cursor to create a placeholder on the slide. I right clicked the thumbnail of this new slide and selected Rename Layout to change the name of this custom layout to “Pet Stores.”

Explanation:

This is the answer for Plato

5 0
3 years ago
Multiple layers provide multiple road blocks for a ________.
Hatshy [7]

Individual or other words user and attackers

4 0
3 years ago
Which of the following is probably not a place where it is legal to download the music of a popular artist whose CDs are sold in
nignag [31]

Answer:

A. Personal blogs

Explanation:

I did the quick check, and there you go...it's A.

5 0
3 years ago
Other questions:
  • Blender questions
    8·1 answer
  • Which type of communication protocol converts data into standard formats that can be used by applications?
    11·1 answer
  • Which magazine can help the public to determine the best technology to buy?
    14·1 answer
  • Explain the use of keyboard shortcuts and key combinations. You are at the tenth page of a 20-page document. You need to make ch
    14·1 answer
  • Why coaxil cable called coxial cable ?
    15·2 answers
  • Give a recursive version of the algorithm Insertion-Sort (refer to page 18 in the textbook) that works as follows: To sort A[1..
    12·1 answer
  • Why is outfitting a workspace with video games in technology development company considered a strategic use of money
    8·2 answers
  • On Edge; this assignment has been overdue for like three weeks because I DO NOT understand what to do, if you could help me that
    12·2 answers
  • Explain how the internet works​
    7·2 answers
  • PLTW IM Chapter 1.2-1.3 i need this please
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!