PL Midterm 01

Is this your test? Login to manage it. If not, you can build an assessment just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
Which of the following is a functional language
2.
1 point
During its ____ phase, the translator collects sequences of characters from the input program and forms them into tokens
3.
1 point
Attempts to make programming languages more reliable led to the development of ____
4.
1 point
An array is considered to be a ____
5.
1 point
A map is an example of a(n)
6.
1 point
The fact that C does not allow array types to be the return value of a function indicates a lack of ____ in the language
7.
1 point
The fact that Pascal does not allow functions and procedures to be assigned to variables indicates a lack of ____ in the language
8.
1 point
Which of the following is an object-oriented language
9.
1 point
Which of the following statements about a programming language is correct
10.
1 point
A language is said to have the property of ____ if it has a design in which similar things look similar, and different things look different
11.
1 point
____ languages allow the user to enter the requirements for a program and have the system implement the requirements
12.
1 point
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 ____
13.
1 point
An iterator is an example of a ____
14.
1 point
Of the following languages, which is a statically typed language
15.
1 point
The ____ abstraction is often associated with the concept of and abstract data type
16.
1 point
The ____ programming paradigm has achieved widespread use of the last 20 years
17.
1 point
The irregularities of primitive types and reference types in Java is the result of the designer's concern with
18.
1 point
____ abstractions support information hiding
19.
1 point
Python is easy for non-programmers to learn and use because ____
20.
1 point
A language is said to have the property of ____ if its constructs can be combined in any meaningful way, with no unexpected restrictions
21.
1 point
Threads in Java are an example of ____
22.
1 point
A ____ specifies the syntax of a piece of code that expands to other standard code
23.
1 point
Which of the following properties is least exhibited by Python
24.
1 point
Python was originally designed for ____
25.
1 point
Variables are given names and data types using a ____
26.
1 point
A module, a class, and a package are all examples of ____
27.
1 point
A variable in a programming language is considered to be a ____
28.
1 point
The real benefit of deferring type checking until runtime is ____
29.
1 point
A(n) ____ takes source code as input and translates it into a program that is executable
30.
1 point
A(n) ____ gives a programmer information about a resource's classes, methods, and functions
31.
1 point
A(n) ____ is an object associated with a collection, and is used to visit each element in the collection
32.
1 point
C++ ____
33.
1 point
The quality of a language that allows a programmer to express a computation clearly, correctly, concisely, and quickly is called ____
34.
1 point
The term ____ refers to a programming language mechanism that replaces a complex notation with a simpler notation
35.
1 point
A language that allows the user to add features to it is said to have the property of ____
36.
1 point
A text file is considered to be a ____
37.
1 point
During its ____ phase, the translator processes the tokens, determining the program's syntactic structure
38.
1 point
The lexical structure of a programming language is similar to the ____ in a natural language
39.
1 point
Because C++ requires a semicolon after a class definition but not after a function definition, C++ is said to lack ____
40.
1 point
Which of the following is an example of lack of generality in a language
41.
1 point
A class is considered to be a ____
42.
1 point
The lexical structure of a programming language is the structure of its ____
43.
1 point
A programming language's expressiveness ____
44.
1 point
Lisp is based on the _____ model of computation
45.
1 point
In a program, selection and iteration are accomplished by the use of ____
46.
1 point
Which of the following is most closely related to reliability
47.
1 point
An enhanced for loop is an example of a ____
48.
1 point
A language achieves ____ by avoiding special cases in the use of constructs
49.
1 point
Abstractions can be categorized in terms of ____ which can be viewed as measures of the amount of information contained (and hidden) in the abstraction
50.
1 point
All of the following properties are statically typed except ____