Chapter 2: BASIC, PL/I, and Early OOP Flashcards

(10 cards)

1
Q

What user group was the target of the first version of BASIC?

A

Liberal arts (non-science) students

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why was BASIC an important language in the early 1980s?

A

It was easy for beginners and could fit in the very small memories of early microcomputers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

PL/I was designed to replace what two languages?

A

Fortran and COBOL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

For what new line of computers was PL/I designed?

A

The IBM System/360 line of computers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What features of SIMULA 67 are now important parts of some object-oriented languages?

A

The class construct and data abstraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What innovation of data structuring was introduced in ALGOL 68 but is often credited to Pascal?

A

User-defined data types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What design criterion was used extensively in ALGOL 68?

A

Orthogonality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What language introduced the case statement?

A

ALGOL-W

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What operators in C were modeled on similar operators in ALGOL 68?

A

Assignment operators such as +=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are two characteristics of C that make it less safe than Pascal?

A

Lack of complete type checking and no array subscript bounds checking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly