Questions and CORRECT Answers
Stored Program Concept (von Neumann machine) is one of the most fundamental concepts in
computer science. What programming paradigm most closely follows this concept? - CORRECT
ANSWER - imperative
A set of basic principles, concepts, and methods for how a computation or algorithm is expressed
- CORRECT ANSWER - paradigm
The programming paradigm that expresses computation by fully-specified and fully-controlled
manipulation of named data in a stepwise function - CORRECT ANSWER - imperative
Another term for the imperative paradigm - CORRECT ANSWER - procedural
The programming paradigm that is basically the same as the imperative paradigm except that
related variables and operations on variables are organized into classes of objects - CORRECT
ANSWER - object-oriented
The programming paradigm that expresses computation in terms of mathematical functions -
CORRECT ANSWER - functional
Another term for the functional paradigm - CORRECT ANSWER - applicative
The programming paradigm that expresses computation in terms of logic predicates - CORRECT
ANSWER - logic
Another term for the logic paradigm - CORRECT ANSWER - declarative
, If you teach someone to make a pizza, you are in fact teaching (functional, imperative)
programming. - CORRECT ANSWER - imperative
If you teach someone to order a pizza from a restaurant, you are in fact teaching (functional,
imperative) programming. - CORRECT ANSWER - functional
Because of hardware constraints, early programming languages emphasized _____. - CORRECT
ANSWER - readability
The main idea of structured programming is to A) increase the types of control structures, B)
make programs execute faster, C) reduce the types of control structures, D) use BNF to define
the syntactic structure. - CORRECT ANSWER - C
A meta language that can be used to define the lexical and syntactic structures of another
language - CORRECT ANSWER - Backus-Naus Form
Which programming language allows the mixed use of data types? (Ada, C, Java, All of them) -
CORRECT ANSWER - C
In the layers of programming structure, which layer performs type checking? - CORRECT
ANSWER - contextual
Which programming structure defines the program semantics before dynamic execution? -
CORRECT ANSWER - contextual
Another term for contextual structure - CORRECT ANSWER - static semantics
Which programming structure describes the meaning of a program during the execution? -
CORRECT ANSWER - semantic structure