Prolog - Lab Quiz

Prolog - Lab Quiz

University

6 Qs

quiz-placeholder

Similar activities

How Safe are you? (Disclaimer: I do not own these questions)

How Safe are you? (Disclaimer: I do not own these questions)

University

10 Qs

QUIZZ 1 : DATABASE FUNDAMENTALS

QUIZZ 1 : DATABASE FUNDAMENTALS

University

10 Qs

MT_Chapter 5 & 6 (set 2)

MT_Chapter 5 & 6 (set 2)

University

10 Qs

SO-750

SO-750

University

10 Qs

S&T Quiz Bee - Round 2

S&T Quiz Bee - Round 2

University

10 Qs

Determining System Requirements

Determining System Requirements

University

11 Qs

INTO Artificial Intelligence

INTO Artificial Intelligence

University - Professional Development

10 Qs

Network Management Week 14

Network Management Week 14

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?