Prolog - Lab Quiz

Quiz
•
Computers
•
University
•
Medium
Pradeep Isawasan
Used 7+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
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
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
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
What will the query ?- ancestor(john, susan). return?
False
True
Error
ancestor(susan, john)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the query ?- path(a, X).?
X = b
X = c
X = d
X = b; X = c; X = d;
Similar Resources on Wayground
10 questions
Post-Test SAP Sharing Knowledge

Quiz
•
University - Professi...
10 questions
Scheme Programming Quiz

Quiz
•
University
11 questions
Java Programming

Quiz
•
University
10 questions
Data Warehouse - Foundations

Quiz
•
University
8 questions
Expert Systems

Quiz
•
University
11 questions
Evolution of Programming Languages Quiz

Quiz
•
University
10 questions
Advanced SQL

Quiz
•
KG - University
10 questions
2.2d

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University