Filters
Question type

Study Flashcards

What is a Boolean variable?

Correct Answer

verifed

verified

A location in memory...

View Answer

All of the following are considered simple or atomic data types, except:


A) integers.
B) reals.
C) characters.
D) Booleans.
E) lists.

F) A) and E)
G) All of the above

Correct Answer

verifed

verified

_______________ is an object-oriented mechanism in which one class is derived from another.

Correct Answer

verifed

verified

A declaration associates the identifier with a variable, an action, or some other entity with the language.

A) True
B) False

Correct Answer

verifed

verified

Which of the following includes selection statements and repetition statements?


A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration

F) A) and D)
G) A) and E)

Correct Answer

verifed

verified

A compiler and an interpreter produce the same output.

A) True
B) False

Correct Answer

verifed

verified

Which of the following is the process of creating an object from a class?


A) Encapsulation
B) Inheritance
C) Class
D) Polymorphism
E) Instantiation

F) A) and B)
G) A) and C)

Correct Answer

verifed

verified

Which of the following is executed by the Java Virtual machine?


A) Procedure
B) Interpreter
C) Bytecode
D) Paradigm
E) Compiler

F) A) and B)
G) B) and E)

Correct Answer

verifed

verified

The filtering phase of object-oriented problem solving determines which of the possible classes generated during brainstorming are the core classes in the problem solution.

A) True
B) False

Correct Answer

verifed

verified

Which of the following requires that only a value of the proper type can be stored into a variable?


A) Control structure
B) Strong typing
C) Data type
D) Boolean expression
E) Declaration

F) A) and E)
G) B) and C)

Correct Answer

verifed

verified

The _______________ programming paradigm is based on the mathematical concept of a function.

Correct Answer

verifed

verified

Boolean expressions are used to make decisions in a high-level language.

A) True
B) False

Correct Answer

verifed

verified

Which of the following translates and executes program statements in sequence, instead of having separate translation and execution steps?


A) Procedure
B) Interpreter
C) Bytecode
D) Paradigm
E) Compiler

F) B) and E)
G) A) and E)

Correct Answer

verifed

verified

Which of the following language paradigms allows the programmer to express algorithms derived from a top-down design?


A) Imperative (or procedural)
B) Functional
C) Logic
D) Object-oriented

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

Distinguish between imperative languages and declarative languages.

Correct Answer

verifed

verified

Imperative languages describe ...

View Answer

Lisp, Scheme, and ML are languages in the _______________ programming paradigm.

Correct Answer

verifed

verified

An interpreter is a simulator that executes high-level language code directly.

A) True
B) False

Correct Answer

verifed

verified

A Boolean expression may be an arithmetic expression followed by an integer.

A) True
B) False

Correct Answer

verifed

verified

A Boolean expression can be an arithmetic expression followed by a relational operator followed by another arithmetic expression.

A) True
B) False

Correct Answer

verifed

verified

The Java Virtual Machine is a hypothetical computer that executes Bytecode.

A) True
B) False

Correct Answer

verifed

verified

Showing 21 - 40 of 47

Related Exams

Show Answer