Exam Theory Practice Flashcards

1
Q

A(n) _______ is a program that translates the statements of a high-level language the resulting output is a set of machine executable statements

A

Compiler

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

A(n) __________ is a sequence of characters that in some languages can be considered as one data value.

A

String

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

A(n) ________ is a description of a set of values and the operations that can be applied to those values.

A

Data type

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

A file’s _______ is a text designation of the location of the file within the file system.

A

Path

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

What is the name of the last part of the file name that gives an indication of what kind of data the file contains?

A

File extension

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

Operating systems manages the allocation and sharing of _______ resources to applications that want to use them.

A

Hardware

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

The computer’s operating system and language translators are generally known as ________

A

System Software

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

In the earliest electronic computers, programmers had to write machine language code expressed as ______ digits.

A

Binary

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

How many bits are in a byte?

A

8

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

Name some of the bases that the notation 364 can NOT be written in?

A

6,5,4,3,binary

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

The ________ is the dot that separates the whole part from the fractional part in any real number in any base.

A

Radix point

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

Which gate inverts its input?

A

NOT

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

An assembly-language program uses _______________ to represent instructions.

A

Mnemonics

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

The control unit fetches the next instruction from memory using the address stored in the ___________

A

Program counter

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

A(n) __________ is a descriptive name you give to memory locations which are used to store values.

A

Variable

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

Compiled programs are generally slower than interpreted programs(true or false)

A

False

17
Q

An interpreter translates and executes the statements in sequence. (true or false)

A

True

18
Q

Imperative paradigm describe the results, but not how to get to it. (true or false)

A

True

19
Q

A(n) ________ is an abstract data type behaves in a manner similar to a waiting line at a bank or supermarket.

A

Queue

20
Q

A(n) ________ operates on a “last in, first out” manner.

A

Stack

21
Q

________ is used to remove the first object in a queue.

A

Dequeue

22
Q

______ is used for the insertion operation of a Stack.

A

Push

23
Q

Both queue and stack use this command to determine if there are any more elements in their respective array.

A

Is Empty

24
Q

The _______ of an array is the number of elements it can hold.

A

Length

25
Q

CPU stand for this.

A

Central Processing Unit