Now that you’ve completed the Programming Paradigms masterclass, test out your knowledge using this quiz. Your results will be sent to your tutor & you’ll have the option to retry as many times as you need.
0 of 7 Questions completed
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 7 Questions answered correctly
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Which of the following describes a class in the Object Oriented programming paradigm?
What phrase is used to describe the declarative paradigm?
What is the process is happening in the code below?
class teacher(person): def __init__(self, name, age, subject): super().__init__(name, age) self.subject = subject
A declarative language is used to represent the following facts and rules about animals.
01 feature(dog, drinks_milk). 02 feature(dog, has_lungs). 03 feature(horse, has_lungs). 04 feature(tuna, lives_in_water). 05 feature(tuna, has_gills). 06 feature(crab, lives_in_water). 07 mammal(drinks_milk). 08 mammal(has_lungs). 09 fish(lives_in_water). 10 fish(has_gills). 11 is_a_mammal(X) IF (feature(X, Y) AND mammal(Y)) AND (feature(X, Z)AND mammal(Z)).
Complete the code below to add the facts that a bird has wings, and a bird lays eggs
12 ( ,has_wings).
13 ( ).
What two features in code syntax identify the procedural paradigm?
Which of the following is not a functional paradigm array function?
SQL & Prolog are examples of which programming paradigm?