Prolog - Lab Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Pradeep Isawasan
Used 7+ times
FREE Resource
Enhance your content in a minute
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;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Lourdes Amaranta Ayala Gracia
Quiz
•
8th Grade - University
10 questions
CHAPTER 1: COMPUTER SECURITY REVIEW
Quiz
•
University
10 questions
6-文件操作
Quiz
•
University
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
10 questions
Komdat Chap 2
Quiz
•
University
10 questions
DGP : Komposisi Fotografi
Quiz
•
University
10 questions
POP QUIZ 4 (DFC40243)
Quiz
•
University
10 questions
Introduction to NumPy (easy)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
