Chapter 3 (Paradigm) Flashcards

1
Q

What is a procedural abstraction?

A

Procedural abstraction allows the programmer to be concerned mainly with a function interface, ignoring the details of how it is computed.

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

What is a copy semantics?

A

Expression is evaluated to a value, which is copied to the target; used by imperative languages.

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

What is a reference semantics?

A

Expression is evaluated to an object, whose pointer is copied to the target, used by oo languages.

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

What is C?

A

Unix operating system, on the DEC PDP-11, by Dennis Ritchie.

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

Some characteristics of C?

A

Low level language
Macro facility
Conditional compilation
Lacks: iterator, generic, exception handling.

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