ASU CSE 240 NEWEST ACTUAL 2025/2026 MIDTERM
BASED WITH COMPLETE QUESTIONS AND
ANSWERS.VERIFIED/GRADED A+
A programming language can belong to multiple paradigms (T/F) -
(ANSWER)True
Features of the imperative or procedural paradigm includes -
(ANSWER)Manipulation of named data(variables) and conditional statements
(T/F) Logic programming languages divide the program into reasonable sized
pieces named functions or procedures or modules or subroutines -
(ANSWER)False
Direct execution of one statement at a time sequentially -
(ANSWER)Interpretation
simpler semantics and computation expressions in terms of mathematical
function are features of which paradigm? - (ANSWER)Functional
Expressing computation in terms of logic predicates is a feature of which
paradigm? - (ANSWER)Logic
Inheritance, classes & objects are features of which paradigm - (ANSWER)Object
Oriented
, 2
A set of principles, concepts and methods that is commonly accepted by members
of a group or community - (ANSWER)Programming Paradigm
(T/F) Prolog is a functional programming language? - (ANSWER)False
(T/F) the compiler executes the program - (ANSWER)False
The semantic structure of imperative programming languages normally include
which of the following validations - (ANSWER)type matching, parameters type in
a function declaration should match these in the function call, unicity
(T/F) Functional programming languages are low-level languages -
(ANSWER)False
(T/F) compilation of a program is to execute all the statements of the program
completely - (ANSWER)False
They syntactic structure of imperative programming languages normally include
which of the following units? A. Operators B. keywords C. identifiers D.
conditional statements E. loop statements F. variable declaration - (ANSWER)D,
E, F
What programming language uses two-step translation with intermediate codes
for execution? - (ANSWER)JAVA