WorksheetsA Level Computing 1.2.4a Programming Paradigms
Total questions: 15
Worksheet time: 8mins
Which paradigm dictates WHAT should be done but not HOW it should be done?
Declarative
Imperative
Object Oriented
Low level
Which paradigm dictates HOW the program solves a problem?
Declarative
Imperative
Object Oriented
Low level
Which paradigm makes use of methods and attributes to encapsulate data in classes.
Declarative
Imperative
Object oriented
Low level
Which paradigm offers the least amount of abstraction and is machine dependent?
Declarative
Imperative
Object oriented
Low level
Decalarative languages make use of sequence, selection and iteration.
True
False
Regular expressions and SQL belong to which paradigm?
Imperative
Object oriented
Declarative
Low level
What is a programming paradigm?
Steps of solving a problem
Steps to programming
Steps to a programming language
Both a method of problem solving and an approach to programming language design
Which is NOT a programming paradigm:
Imperative
Declarative
Object Oriented
Functional
Java
Prolog is an example of what type of programming paradigm?
Declarative
Imperative
Object oriented
Procedural
State the advantages of procedural programming (choose 1-4 answers)
State a use of declarative programming (choose 1 - 4 answers)
Identify the main programming structures used in structured programming (choose 1 -5 answers)
Identify disadvantages of Object Oriented Languages (Choose 1 - 4 answers)
Which one of the followoing statements about FUNCTIONAL PROGRAMMING is NOT correct?
Functional programming reuses sets of functions
C# is an example of a functional programming language
Programs are made of lines of code made up of functional calls
Functional programming involves the use of encapsulation
A function expressed in terms of itself is known as a (a) function
