wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

computer Architecture - chapter 2

Total questions: 25

Worksheet time: 23mins

Name
Class
Date
1.

The instruction, Add #45,R1 does _______

a)

a) Adds the value of 45 to the address of R1 and stores 45 in that address

b)

b) Adds 45 to the value of R1 and stores it in R1

c)

c) Finds the memory location 45 and adds that content to that of R1

d)

d) None of the mentioned

2.

In the case of, Zero-address instruction method the operands are stored in _____

a)

a) Registers

b)

b) Accumulators

c)

c) Push down stack

d)

d) Cache

3.

Add #45, when this instruction is executed the following happen/s _______

a)

a) The processor raises an error and requests for one more operand

b)

b) The value stored in memory location 45 is retrieved and one more operand is requested

c)

c) The value 45 gets added to the value on the stack and is pushed onto the stack

d)

d) None of the mentioned

4.

The addressing mode which makes use of in-direction pointers is ______

a)

a) Indirect addressing mode

b)

b) Index addressing mode

c)

c) Relative addressing mode

d)

d) Offset addressing mode

5.

In the following indexed addressing mode instruction, MOV 5(R1), LOC the effective address is ______

a)

a) EA = 5+R1

b)

b) EA = R1

c)

c) EA = [R1]

d)

d) EA = 5+[R1]

6.

The addressing mode/s, which uses the PC instead of a general purpose register is ______

a)

a) Indexed with offset

b)

b) Relative

c)

c) Direct

d)

d) Both Indexed with offset and direct

7.

When we use auto increment or auto decrement, which of the following is/are true?

1) In both, the address is used to retrieve the operand and then the address gets altered

2) In auto increment, the operand is retrieved first and then the address altered

3) Both of them can be used on general purpose registers as well as memory locations

a)

a) 1, 2, 3

b)

b) 2

c)

c) 1, 3

d)

d) 2, 3

8.

The addressing mode, where you directly specify the operand value is _______

a)

a) Immediate

b)

b) Direct

c)

c) Definite

d)

d) Relative

9.

The effective address of the following instruction is MUL 5(R1,R2).

a)

a) 5+R1+R2

b)

b) 5+(R1*R2)

c)

c) 5+[R1]+[R2]

d)

d) 5*([R1]+[R2])

10.

_____ addressing mode is most suitable to change the normal sequence of execution of instructions.

a)

a) Relative

b)

b) Indirect

c)

c) Index with Offset

d)

d) Immediate

11.

RTN stands for ___________

a)

a) Register Transfer Notation

b)

b) Register Transmission Notation

c)

c) Regular Transmission Notation

d)

d) Regular Transfer Notation

12.

The instruction, Add Loc,R1 in RTN is _______

a)

a) Add SetCC Loc+R1

b)

b) R1=Loc+R1

c)

c) Not possible to write in RTN

d)

d) R1<-[Loc]+[R1]

13.

Can you perform an addition on three operands simultaneously in ALU using Add instruction?

a)

a) Yes

b)

b) Not possible using Add, we’ve to use AddSetCC

c)

c) Not permitted

d)

d) None of the mentioned

14.

The instruction, Add R1,R2,R3 in RTN is _______

a)

a) R3=R1+R2+R3

b)

b) R3<-[R1]+[R2]+[R3]

c)

c) R3=[R1]+[R2]

d)

d) R3<-[R1]+[R2]

15.

The two phases of executing an instruction are __________

a)

a) Instruction decoding and storage

b)

b) Instruction fetch and instruction execution

c)

c) Instruction execution and storage

d)

d) Instruction fetch and Instruction processing

16.

The Instruction fetch phase ends with _________

a)

a) Placing the data from the address in MAR into MDR

b)

b) Placing the address of the data into MAR

c)

c) Completing the execution of the data and placing its storage address into MAR

d)

d) Decoding the data in MDR and placing it in IR

17.

While using the iterative construct (Branching) in execution _____________ instruction is used to check the condition.

a)

a) TestAndSet

b)

b) Branch

c)

c) TestCondn

d)

d) None of the mentioned

18.

When using Branching, the usual sequencing of the PC is altered. A new instruction is loaded which is called as ______

a)

a) Branch target

b)

b) Loop target

c)

c) Forward target

d)

d) Jump instruction

19.

The condition flag Z is set to 1 to indicate _______

a)

a) The operation has resulted in an error

b)

b) The operation requires an interrupt call

c)

c) The result is zero

d)

d) There is no empty register available

20.

An 24 bit address generates an address space of ______ locations.

a)

a) 1024

b)

b) 4096

c)

c) 248

d)

d) 16,777,216

21.

If a system is 64 bit machine, then the length of each word will be _______

a)

a) 4 bytes

b)

b) 8 bytes

c)

c) 16 bytes

d)

d) 12 bytes

22.

When using the Big Endian assignment to store a number, the sign bit of the number is stored in _____

a)

a) The higher order byte of the word

b)

b) The lower order byte of the word

c)

c) Can’t say

d)

d) None of the mentioned

23.

Computer use addressing mode techniques for

a)

Giving programming versatility to the user by providing facilities as pointers to memory control for loop control

b)

to reduce the number of bits in the field of instruction

c)

specifying rules for interpreting address field of the instruction

d)

all the above mentioned

24.

The register used to store the flags is called as ______

a)

Flag register

b)

Status register

c)

Test register

d)

none

25.

Which addressing mode execute its instructions within CPU without the necessity of reference memory for operands?

a)

a. Implied Mode

b)

b. Immediate Mode

c)

c. Direct Mode

d)

d. Register Mode