Programming Paradigms

Programming Paradigms

Assessment

Flashcard

Design

12th Grade

Practice Problem

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)

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?