Question 1
For an instruction LOAD X in single accumulator CPU, the content of X is
Added to Accumulator
Moved to Memory
Loaded into Accumulator
Subtracted from Accumulator
Question 2
The correct sequence of steps in the instruction cycle of a single accumulator CPU is
Decode → Fetch → Execute → Store
Fetch → Decode → Execute → Store
Execute → Fetch → Decode → Store
Store → Decode → Execute → Fetch
Question 3
If the accumulator initially holds 5, memory location A holds 3, and instruction MULT A is executed, accumulator will contain
8
5
3
15
Question 4
Given program in accumulator CPU: LOAD A ADD B STORE C If A = 4 and B = 6, the content of C after execution is
4
6
10
2
Question 5
A key advantage of general register organization over single accumulator is
Fewer registers needed
Simpler instruction format
Higher flexibility in computations
Only immediate operands allowed
Question 6
In two-address instruction SUB R1, R2, after execution
R1 = R1 - R2
R1 = R2 - R1
R2 = R1 - R2
R2 = R2 - R1
Question 7
The minimum number of registers required to avoid frequent memory accesses during expression evaluation in a general register CPU is
1
2
3
Depends on the instruction set
Question 8
Executing the sequence PUSH 5, PUSH 3, ADD results in top of stack containing
2
15
53
8
Question 9
For postfix expression 5 2 4 * + 3 -, after full evaluation the stack top holds
11
10
9
13
Question 10
The correct postfix expression for infix (A + B) * (C - D) is
A B C D + - *
A B + * C D -
A B + C D - *
A B C + D - *
There are 10 questions to complete.