Test #4 Flashcards

1
Q

Our Basic Computer has five types of machine instructions

A

False

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

The program counter (PC) register in our Basic Computer is 16 bits in length and hold the address of the next instruction to be executed

A

False

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

Which of the following are registers in the Basic Computer? Select all that apply

AC
BC
IR
AR
DR

A

AC
IR
AR
DR

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

Which of the following are addressing modes on the Basic Computer? Select all that apply

Alternative
Direct
Linked
Indirect
Batch

A

Direct
Indirect

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

Recursive subroutines are supported on the Basic Computer

A

False

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

Which machine instruction on our Basic Computer is used for branching to a subroutine?

BUN
ISZ
LDA
CLA
BSA

A

BSA

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

When a key on the keyboard of our Basic Computer is pressed, an interrupt cycle will always take place.

A

False

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

When an interrupt cycle occurs, where is the return address stored?
Word 1
PC
AR
Word 0
Word 1

A

Word 0

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

For register-reference instructions, the I bit (bit 15) of the instruction specifies the type of addressing that is being used

A

False

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

The timing signals T0, T1, T2, … in our Basic Computer are generated using which of the following? Select all that apply

8x1 multiplexer
4-bit sequence counter
1x8 demultiplexer
4 bit adder
4x16 decoder

A

4-bit sequence counter
4x16 decoder

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

Our Basic Computer has a 12-bit data bus that allows for transfer of data from one register to another

A

False

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

To perform a memory read/write operation on our Basic Computer, the address of the memory word involved must be placed in the Data Register

A

False

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

Which of the following are True concerning the I/O process on our Basic Computer? Select all that apply

FGO must = 1 for INPR contents to be transferred to AC

FGI must = 0 for keystroke to be transferred to INPR

The data transfer from OUTR to printer is serial

Flags FGI and FGO determine when data can be transferred

I/O must be done under program control

A

FGI must = 0 for keystroke to be transferred to INPR

The data transfer from OUTR to printer is serial

Flags FGI and FGO determine when data can be transferred

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

Execution of a machine instruction on our Basic Computer always begins at timing pulse T4

A

False

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

Suppose the “BSA $156” instruction is found in memory of our Basic Computer at memory location $03F. Assume this instruction has just executed. What value was stored in memory location $156 during the execution of this instruction?

$03F
$156
$160
$040
$050

A

$040

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

Our Basic Computer has over 40 different machine instructions

A

False

17
Q

Suppose you want to create a counted loop in the machine language of our Basic Computer. What machine instruction is used to help create this loop?

BSA
LDA
CIR
ISZ
INP

A

ISZ

18
Q

Suppose you want to create a counted loop that loops 5 times in the machine language of our Basic Computer. This requires a counter to be set up in a memory location. What should the value of the counter be?

5
10
12
-10
-5

A

-5

19
Q

The following two microoperations can be done simultaneously on our Basic Computer:

AC <- DR, DR <- AC

A

True

20
Q

The following operation can be done as a single microoperation on our Basic Computer:

PC <- AR + 1

A

False

21
Q

The instruction $8500 in our Basic Computer specifies an ADD instruction using indirect addressing

A

False

22
Q

Which of the following statement must be TRUE for the Interrupt Cycle to occur on our Basic Computer?

IEN must be set to 1
FGI or FGO (or both) must be 1
INPR must be 1
R must be 1
OUTR must be 1

A

IEN must be set to 1
FGI or FGO (or both) must be 1
R must be 1

23
Q

When the Interrupt Cycle occurs on our Basic Computer, the return address is stored in the special memory location $100

A

False

24
Q

At each timing pulse T0, our Basic Computer enters either the Fetch Cycle or the Interrupt Cycle

A

True

25
Q

What machine instruction on our basic computer is used to return from a subroutine?
BSA
ISZ
LDA
STA
BUN

A

BUN

26
Q

There is only one way to handle I/O on our Basic Computer: through Program Control I/O

A

False

27
Q

While our Basic Computer is executing a subroutine, an Iterrupt Cycle can never occur

A

False

28
Q

A second Interrupt Cycle can occur during the execution of the I/O Interrupt program

A

False

29
Q

Which of the following values are found in the Control Unit of our Basic Computer? Select all that apply

Timing pulses T0 - T15
Indirect Bit
D0 - D7 to indicate op code
AC
PC

A

Timing pulses T0 - T15
Indirect Bit
D0 - D7 to indicate op code

30
Q

One difference between a subroutine call (BSA) and an Interrupt Cycle on our Basic Computer is where the return address is stored.

A

True

31
Q

Even though there is not a machine instruction on our Basic Computer to perform the logical OR operation on two 16-bit words, this can be done through multiple machine instructions.

A

True

32
Q

Automation can eliminate certain jobs, but may also create new jobs

A

True

33
Q

Uber drivers are a perfect example of the Gig economy

A

True

34
Q

The idea of net neutrality says that all Internet packets should be treated the same

A

True

35
Q

The Digital Divide refers to the situation where some people have access to modern information technology while others do not

A

True

36
Q

It is possible to transfer the contents of DR directly to AC register over the main data bus of the Basic Computer.

A

False

37
Q

A machine instruction on our Basic Computer with an op-code in the range 0-6 is a memory-reference instruction.

A

True

38
Q

Our Basic Computer has a built-in machine instruction that performs subtraction.

A

False