Programming Paradigms

Programming Paradigms

Assessment

Flashcard

Design

12th Grade

Hard

Created by

Ralph San Pedro-Loyola

FREE Resource

Student preview

quiz-placeholder

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)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?