SOLUTIONS VERIFIED
What is a programming paradigm?
A set of principles, concepts, and methods that is commonly accepted by members of a
group or community.
Features of the imperative or procedural paradigm includes? manipulation of
named data (variables), encapsulation, conditional statements, classes and
objects
manipulation of named data (variables),
conditional statements.
Features of the object-oriented paradigm includes?
classes and objects
inheritance
(True, False) A programming language can belong to multiple paradigms.
True
(True, False) Prolog is a functional programming language.
False
Features of the functional paradigm includes?
simpler semantics,
expresses computations in terms of mathematical functions.
Features of the logic paradigm includes?
, expressing computation in terms of logic predicates.
The lexical structure of all programming languages are similar and normally
include which of the following units
identifiers,
keywords,
operators,
literals.
The syntactic structure of imperative programming languages normally include
which of the following units
conditional statements,
loop statements,
variable declaration.
The semantic structure of imperative programming languages normally include
which of the following validations
unicity,
type matching,
parameters type in a function declaration should match these in the function call.
This programming language uses two-step translation with intermediate codes
for execution.
Java
What is a data type?
a set of primary values and the operations defined on these values
(True, False) Functional programming languages are low-level languages