Exam 2: Language Design Criteria

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

C was chosen as the base language for C++ because it contained class constructs.

Free
(True/False)
4.8/5
(36)
Correct Answer:
Verified

False

Pascal uses a dedicated return statement for returning values from functions.

Free
(True/False)
4.8/5
(35)
Correct Answer:
Verified

False

Attempts to make programming languages more reliable led to the development of ____.

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

B

All of the following languages are statically typed except ____.

(Multiple Choice)
4.8/5
(39)

Design goals for programming languages have not changed through the years.

(True/False)
4.7/5
(35)

Python was originally designed for ____.

(Multiple Choice)
4.9/5
(34)

The primary design goal of early programming languages was efficiency of execution.

(True/False)
4.8/5
(41)

Which of the following is an example of lack of generality in a language?

(Multiple Choice)
4.9/5
(35)

Python uses statement terminators such as the semicolon.

(True/False)
4.7/5
(35)

FORTRAN's designers attempted to improve the readability of programs by making the constructs look like ordinary written English.

(True/False)
5.0/5
(45)

One of the design goals of C++ was that it would be highly portable.

(True/False)
4.9/5
(37)

Macros can be used to improve the readability of a language.

(True/False)
4.9/5
(33)

A language which prevents a programmer from compiling or executing any statements or expressions that violate the definition of the language is said to be ____.

(Multiple Choice)
4.8/5
(43)

A language achieves ____ by avoiding special cases in the use of constructs.

(Multiple Choice)
4.8/5
(40)

A program written in Python will require many more lines of code than if it were written in C++.

(True/False)
4.8/5
(43)

The fact that C does not allow array types to be the return value of a function indicates a lack of ____ in the language.

(Multiple Choice)
4.8/5
(36)

Which of the following properties is least exhibited by Python?

(Multiple Choice)
4.9/5
(40)

Which of the following is a functional language?

(Multiple Choice)
4.8/5
(38)

A language is said to have the property of ____ if its constructs can be combined in any meaningful way,with no unexpected restrictions.

(Multiple Choice)
4.8/5
(32)

C++ is an open source language that has never had a commercial release.

(True/False)
4.7/5
(30)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)