wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

PL1 - Ch1

Total questions: 10

Worksheet time: 11mins

Name
Class
Date
1.

In the context of a programming language, typically assembly/machine languages lack ___ in that each operation does something relatively simple, which is why a single instruction in a high-level language could translate into several instructions in assembly language.

a)

Audibility

b)

Fandom

c)

Expressibility

d)

Visuality

2.

In the context of a programming language, this is a measure of how easily a language can be used to develop programs for a chosen problem domain.

a)

Portability

b)

Executable

c)

Writeability

d)

Orthogonality

3.

In the context of a programming language, a language that allows you to express computations/algorithms very concisely (such as APL, with its collection of powerful array and matrix operators) also tends to be difficult to read.

a)

Feature multiplicity

b)

Expressibility

c)

Writability vs Readability

d)

Non-orthogonality

4.

In the context of a programming language, functional languages tend to be very ____, in part because functions are "first-class" entities which can be passed as parameters.

a)

Obscure

b)

Expressibile

c)

Ambiguous

d)

Inefficient

5.

In the context of a programming language for its cost, which of the following is not one of

the primary concerns?

a)

The cost of memory allocation is irrelevant.

b)

Performance optimization is not a concern.

c)

Array index can or should begin with 0 or 1, or any number.

d)

Code readability is the only concern.

6.

orthogonal

a)

In the context of a programming language, a set of features/constructs is said to be

_____ if those features can be used freely in combination with each other.

b)

In the context of a programming language, an examples of ____ in C is a function can

return a value of any type, except for an array type or a function type.

c)

In the context of a programming language, this is a measure of how easily a language

can be used to develop programs for a chosen problem domain.

d)

In the context of a programming language, functional languages tend to be very ____,

in part because functions are "first-class" entities which can be passed as parameters.

7.

Reliability

a)

In the context of a programming language, this refers to the ease with which

programs (in the language under consideration) can be understood. This is especially

important for software maintenance.

b)

In the context of a programming language, this is a measure of how easily a language

can be used to develop programs for a chosen problem domain.

c)

In the context of a programming language, ___ is the property of performing to

specifications under all conditions.

d)

In the context of a programming language, this is the ease with which programs that

work on one platform can be modified to work on another. This is strongly influenced

by to what degree a language is standardized.

8.

In the context of a programming language, this refers to the ease with which programs (in

the language under consideration) can be understood. This is especially important for

software maintenance.

a)

Fluency

b)

Readability

c)

Legibility

d)

Portability

9.

In the context of a programming language, this is about the existence of multiple ways of

doing the same operation. Examples: incrementing a variable in C-based syntax, looping

constructs (while, do while, for), Java's conditional ternary operator (?:).

a)

Portability

b)

Feature Multiplicity

c)

Orthogonality

d)

Expressivity

10.

In the context of a programming language, this is the ease with which programs that work on one platform can be modified to work on another. This is strongly influenced by to what degree a language is standardized.

a)

Portability

b)

Efficiency

c)

Accessibility

d)

Reliability