logo

Crowdly

Browser

Add to Chrome

Consider the following Prolog program:         all_0s([ ]).         all_0...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider the following Prolog program:

       

all_0s([ ]).

       

all_0s([0|Tail]) :- all_0s(Tail).

We query the above program with the

following goal:

                          ?-

all_0s([0, 0,

1, 0]). 

Which

of the following are possible derived queries for this goal?

0%
100%
100%
0%
More questions like this

Want instant access to all verified answers on moodle.royalholloway.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome