

Programming Paradigms
Flashcard
•
Design
•
12th Grade
•
Practice Problem
•
Hard
Ralph San Pedro-Loyola
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Programming paradigm
Back
A style or way of programming, a set of rules, and a structure to solve problems from different angles.
2.
FLASHCARD QUESTION
Front
Object-oriented programming emphasizes encapsulation and modularity.
Back
This helps in organizing code into manageable sections.
3.
FLASHCARD QUESTION
Front
Logic programming is beneficial for artificial intelligence and expert systems.
Back
It allows for reasoning and problem-solving capabilities.
4.
FLASHCARD QUESTION
Front
Rule: coldblooded(X):-reptile(X)
Back
X is coldblooded IF X is a reptile
5.
FLASHCARD QUESTION
Front
Rule: herbivore(X):-eats(X,Y),plant(Y)
Back
X is a herbivore IF X eats Y AND Y is a plant
6.
FLASHCARD QUESTION
Front
Examples of female facts
Back
female(karen), female(rosemary), female(sun yi), female(mahdu)
7.
FLASHCARD QUESTION
Front
Examples of parent facts
Back
parent(sam, karen), parent(rosemary, karen), parent(mahdu, sam), parent(steve, sam), parent(rosemary, sun yi)
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?