Computer Organization Questions and Answers – Instructions and Instruction Sequencing

This set of Computer Organization Questions and Answers for Campus interviews focuses on “Instructions and Instruction Sequencing”.

1. RTN stands for ___________
a) Register Transfer Notation
b) Register Transmission Notation
c) Regular Transmission Notation
d) Regular Transfer Notation
View Answer

Answer: a
Explanation: This is the way of writing the assembly language code with the help of register notations.

2. The instruction, Add Loc,R1 in RTN is _______
a) AddSetCC Loc+R1
b) R1=Loc+R1
c) Not possible to write in RTN
d) R1<-[Loc]+[R1]
View Answer

Answer: d
Explanation: None.

3. Can you perform an addition on three operands simultaneously in ALN using Add instruction?
a) Yes
b) Not possible using Add, we’ve to use AddSetCC
c) Not permitted
d) None of the mentioned
View Answer

Answer: c
Explanation: You cannot perform an addition on three operands simultaneously because the third operand is where the result is stored.
advertisement
advertisement

4. The instruction, Add R1,R2,R3 in RTN is _______
a) R3=R1+R2+R3
b) R3<-[R1]+[R2]+[R3]
c) R3=[R1]+[R2]
d) R3<-[R1]+[R2]
View Answer

Answer: d
Explanation: In RTN the first operand is the destination and the second operand is the source.

5. In a system, which has 32 registers the register id is __________ long.
a) 16 bit
b) 8 bits
c) 5 bits
d) 6 bits
View Answer

Answer: c
Explanation: The ID is the name tag given to each of the registers and used to identify them.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. The two phases of executing an instruction are __________
a) Instruction decoding and storage
b) Instruction fetch and instruction execution
c) Instruction execution and storage
d) Instruction fetch and Instruction processing
View Answer

Answer: b
Explanation: First, the instructions are fetched and decoded and then they’re executed and stored.

7. The Instruction fetch phase ends with _________
a) Placing the data from the address in MAR into MDR
b) Placing the address of the data into MAR
c) Completing the execution of the data and placing its storage address into MAR
d) Decoding the data in MDR and placing it in IR
View Answer

Answer: d
Explanation: The fetch ends with the instruction getting decoded and being placed in the IR and the PC getting incremented.
advertisement

8. While using the iterative construct (Branching) in execution _____________ instruction is used to check the condition.
a) TestAndSet
b) Branch
c) TestCondn
d) None of the mentioned
View Answer

Answer: b
Explanation: Branch instruction is used to check the test condition and to perform the memory jump with the help of offset.

9. When using Branching, the usual sequencing of the PC is altered. A new instruction is loaded which is called as ______
a) Branch target
b) Loop target
c) Forward target
d) Jump instruction
View Answer

Answer: a
Explanation: None.
advertisement

10. The condition flag Z is set to 1 to indicate _______
a) The operation has resulted in an error
b) The operation requires an interrupt call
c) The result is zero
d) There is no empty register available
View Answer

Answer: c
Explanation: This condition flag is used to check if the arithmetic operation yields a zero output.

Sanfoundry Global Education & Learning Series – Computer Organization and Architecture.

To practice all areas of Computer Organization for Campus Interviews, here is complete set on 1000+ Multiple Choice Questions and Answers on Computer Organization and Architecture.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.