Filters
Question type

Study Flashcards

A(n) ____ is an object associated with a collection,and is used to visit each element in the collection.


A) interpreter
B) iterator
C) invocator
D) argument

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

Correct Answer

verifed

verified

The lambda calculus was based on the theory of recursive functions.

A) True
B) False

Correct Answer

verifed

verified

FORTRAN was the first programming language to be machine independent.

A) True
B) False

Correct Answer

verifed

verified

Which of the following statements about a programming language is correct?


A) Syntax refers to the structure of the language, while semantics refers to the meaning of the language.
B) Semantics refers to the structure of the language, while syntax refers to the meaning of the language.
C) Syntax refers to the structure of the language, while abstraction refers to the meaning of the language.
D) Semantics refers to the structure of the language, while abstraction refers to the meaning of the language.

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

Correct Answer

verifed

verified

The lexical structure of a programming language is similar to grammar in a natural language.

A) True
B) False

Correct Answer

verifed

verified

A module,a class,and a package are all examples of ____


A) unit data abstractions
B) structured data abstractions
C) basic data abstractions
D) structured control abstractions

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

Correct Answer

verifed

verified

An iterator is an example of a ____.


A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) structured control abstraction

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

A variable in a programming language is considered to be a ____.


A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) structured control abstraction

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

Correct Answer

verifed

verified

A class is considered to be a ____.


A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) unit abstraction

E) All of the above
F) B) and D)

Correct Answer

verifed

verified

A virtual machine is an interpreter.

A) True
B) False

Correct Answer

verifed

verified

Showing 41 - 50 of 50

Related Exams

Show Answer