Instruction Cycle and Control Flow MCQs

21
Score: 0
Attempted: 0/21
1. What is the primary purpose of the instruction cycle?



2. Which of the following stages comes first in the instruction cycle?



3. What does the decode stage of the instruction cycle do?



4. In which stage of the instruction cycle is the Program Counter (PC) updated?



5. Which register typically holds the address of the next instruction to be executed?



6. What does the execute stage of the instruction cycle involve?



7. Which of the following is not a part of the instruction cycle?



8. What happens during the ‘store’ phase of the instruction cycle?



9. What is the primary function of the control unit in a CPU?



10. Loops & Control Flow
11. Which control flow statement is used to execute a block of code repeatedly based on a condition?



12. In a switch statement, what determines which case block will be executed?



13. What is the purpose of the ‘break’ statement in a switch-case construct?



14. Which statement is used to terminate the execution of a loop prematurely?



15. What is the primary function of a ‘goto’ statement?



16. Which control flow statement executes one block if a condition is true and another if it is false?



17. What happens if a ‘continue’ statement is encountered in a loop?



18. What does a ‘return’ statement do in a function?



19. Which statement is used to handle multiple conditions in a branching statement?



20. What is the purpose of the ‘default’ case in a switch statement?



21. What is the function of a loop’s condition?



Read More Computer Architecture MCQs

  1. SET 1: Computer Architecture MCQs
  2. SET 2: Computer Architecture MCQs
  3. SET 3: Computer Architecture MCQs
  4. SET 4: Computer Architecture MCQs
  5. SET 5: Computer Architecture MCQs
  6. SET 6: Computer Architecture MCQs
  7. SET 7: Computer Architecture MCQs
  8. SET 8: Computer Architecture MCQs
  9. SET 9: Computer Architecture MCQs
Contents Copyrights Reserved By T4Tutorials