29 Questions
What is the term for the ease with which programs of a language can be read and understood?
Readability
What property of a language allows a small set of primitive constructs to be combined to build control and data structures?
Orthogonality
What is the term for the ability of a language to be used to create programs for a chosen problem domain?
Expressiveness
What is the term for a program that performs to its specifications under all conditions?
Reliability
What is the process of translating programs into machine language that can be executed quickly directly on the computer?
Compilation
What is the term for the meaning of the expressions, statements, and program units?
Semantics
What is the purpose of a lexical analyzer?
Serves as front end of a syntax analyzer
What type of diagram is a state transition diagram?
Directed graph
What is the term for a grammar that generates a sentential form with two or more distinct parse trees?
Ambiguous
What is the term for a device that generates sentences of a language?
Generator
What is the term for the hierarchical representation of a derivation?
Parse tree
What type of parser is a recursive descent parser?
Top-down parser
What is the result of parsing the input string 'cad' using the given grammar?
The input string is accepted
What approach does a recursive-descent parser use?
Left to right reading
What is a string of characters used to identify some entity in a program?
Identifier
What type of programming language is C++?
Case-sensitive
What determines the range of values a variable can store?
Type
What is the process of placing a memory cell back into the pool of available memory?
Deallocation
What is a data type that is not defined in terms of other types?
user-defined data types
What measures the accuracy of the fractional part of a value?
precision
What data type stores a fixed number of decimal digits with an implied decimal point at a fixed position?
Decimal
What type of data is represented as sequences of characters?
string
What type of data has values that are named constants provided in the definition?
enumeration
What type of array has statically bound subscript ranges and storage allocation is done before runtime?
static array
What type of array is characterized by statically bound subscript ranges and allocation at declaration elaboration time during execution?
static array
Which type of array has fixed subscript ranges and storage bindings, similar to a fixed stack-dynamic array?
fixed heap-dynamic array
What type of array has dynamic binding of subscript ranges and storage allocation that can change during its lifetime?
heap-dynamic array
What is a multidimensional array with all rows having the same number of elements and all columns having the same number of elements called?
rectangular array
What type of array has rows with different lengths?
jagged array
Test your knowledge of programming language concepts, including readability, writability, orthogonality, and reliability. Learn how these concepts impact the design and development of programming languages.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free