Exam 2: Language Design Criteria
Exam 1: Introduction50 Questions
Exam 2: Language Design Criteria50 Questions
Exam 3: Functional Programming50 Questions
Exam 4: Logic Programming50 Questions
Exam 5: Object-Oriented Programming50 Questions
Exam 6: Syntax50 Questions
Exam 7: Basic Semantics50 Questions
Exam 8: Data Types50 Questions
Exam 9: Control I - Expressions and Statements50 Questions
Exam 10: Control II - Procedures and Environments50 Questions
Exam 11: Abstract Data Types and Modules50 Questions
Exam 12: Formal Semantics50 Questions
Exam 13: Parallel Programming51 Questions
Select questions type
C was chosen as the base language for C++ because it contained class constructs.
Free
(True/False)
4.8/5
(36)
Correct Answer:
False
Pascal uses a dedicated return statement for returning values from functions.
Free
(True/False)
4.8/5
(35)
Correct Answer:
False
Attempts to make programming languages more reliable led to the development of ____.
Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
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)
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)
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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)