Quiz 4 Flashcards

1
Q

The high-level language instructions are known as _____ code.

A

Source code

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

procedural languages are also called ____ languages

A

imperative

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

A ____ stores and fetches values to and from memory cells.

A

Random access memory

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

Ada, Java, C++ and C# require a ____ to terminate an executable program statement.

A

semicolon

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

____ was originally designed for systems programming, in particular for writing the operating system UNIX

A

C

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

A program to interact with an I/O device is called a ____.

A

device driver

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

A _____ occurs when a function, in the course of acting on it argument values to produce a result value, also changes other values that it has no business changing.

A

Side effect

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

During the ____ phase, the sequence of tokens formed by the scanner is checked to see whether it is syntactically correct according tot he rules of the programming language.

A

parsing

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

In the ____ phase, the compiler takes the generated code and sees whether it can be made more efficient, either by making it run faster or having it occupy less memory.

A

Code optimization

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

The collection of all statements that can be successfully parsed is called the ____ defined by a grammar

A

language

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

___ parsing algorithms examine several token “down the road” to see what would happen if a certain choice was made.

A

Look ahead

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

A ____ is a data structure that stores information about a non terminal, such as the actual name of the object and its data type.

A

Semantic Record

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

____ is the ability to write highly optimized programs that contain no wasted time or unnecessary memory cells.

A

Efficiency

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

____ is the replacement of slow arithmetic operations with faster ones

A

Strength reduction

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

in a state diagram, ____ are used to represent states.

A

circles

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

A(n) ____ is a statement advanced for consideration and maintained by argument.

A

Thesis

17
Q

The ____ thesis can never be proved because the definition of an algorithm is descriptive, not mathematical

A

Church-Turing

18
Q

Turing machines define the limits of ____. Which is what can be done by symbol manipulation algorithms.

A

Computability

19
Q

It is important to note that unsolvable problems related to the halting problem are unsolvable because of their ____.

A

Generality