Prolog - Lab Quiz

Prolog - Lab Quiz

University

6 Qs

quiz-placeholder

Similar activities

Geekers Battle - II (Batch - IV)

Geekers Battle - II (Batch - IV)

University

10 Qs

pictoblox_lvl_1

pictoblox_lvl_1

2nd Grade - University

10 Qs

CHAPTER 5 ONLINE QUIZ

CHAPTER 5 ONLINE QUIZ

University

9 Qs

Quiz CodeIgniter 4

Quiz CodeIgniter 4

University

10 Qs

Evaluación SENA

Evaluación SENA

University

10 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

استعني علي الشقا بالله

استعني علي الشقا بالله

University

10 Qs

PYTHON_CHAPTER 6

PYTHON_CHAPTER 6

University

10 Qs

Prolog - Lab Quiz

Prolog - Lab Quiz

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Pradeep Isawasan

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the result of the following Prolog query?

X = ice_cream

X = chocolate

X = pizza

False

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does the following Prolog rule do?

It defines X and Y as the children of Z.

It defines X and Y as siblings if they share the same parent Z and are not the same person.

It checks if X is a parent of Y.

It checks if X and Y are unrelated.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the possible values of X?

X = cat; X = fish;

X = dog;

X = dog; X = cat;

X = fish;

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the result of the following Prolog query?

X = chocolate

X = pizza

X = ice_cream

False

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will the query ?- ancestor(john, susan). return?

False

True

Error

ancestor(susan, john)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the result of the query ?- path(a, X).?

X = b

X = c

X = d

X = b; X = c; X = d;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?