Study Solutions
Stored Program Concept (von Neumann machine) is one of the most fundamental concepts in computer
science. What programming paradigm most closely follows this concept? ANS imperative
A set of basic principles, concepts, and methods for how a computation or algorithm is expressed ANS
paradigm
The programming paradigm that expresses computation by fully-specified and fully-controlled manipulation of
named data in a stepwise function ANS imperative
Another term for the imperative paradigm ANS 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 ANS object-oriented
The programming paradigm that expresses computation in terms of mathematical functions ANS
functional
Another term for the functional paradigm ANS applicative
The programming paradigm that expresses computation in terms of logic predicates ANS logic
Another term for the logic paradigm ANS declarative
If you teach someone to make a pizza, you are in fact teaching (functional, imperative) programming. ANS
imperative
If you teach someone to order a pizza from a restaurant, you are in fact teaching (functional, imperative)
programming. ANS functional
Because of hardware constraints, early programming languages emphasized _____. ANS 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. ANS
C
A meta language that can be used to define the lexical and syntactic structures of another language ANS
Backus-Naus Form
Which programming language allows the mixed use of data types? (Ada, C, Java, All of them) ANS C
In the layers of programming structure, which layer performs type checking? ANS contextual
Which programming structure defines the program semantics before dynamic execution? ANS contextual
Another term for contextual structure ANS static semantics
Which programming structure describes the meaning of a program during the execution? ANS semantic
structure
Which programming structure defines the grammar of forming sentences or statements using the lexical units?
ANS syntactic structure
Which programming structure defines the vocabulary of a language? ANS lexical structure
Interpretation is not efficient if A) multi-module programming is used, B) the difference between source and
destination is small, C) the source program is small, or D) the source program is written in an assembly
language. ANS A
A machine language with sophisticated use of mnemonics ANS assembly language
The direct execution of one statement at a time sequentially by the interpreter ANS interpretation