Computer Organization MCQ With Answers PART - 7

1. How many approaches are used to design control unit:

    a.  2

    b. 3

    c. 4

    d. 5

2. Which are the following approaches used to design control unit:

    a. Hardwired control

    b. Microprogrammed control

    c. Both a & b

    d. None of these

3. Cache memory is located between main memory and _________:

    a. CPU

    b. Memory

    c. Both a & b

    d. None of these

4. ___________ arrow represents the value obtained by evaluating right side expression/variable to the left side variable:

    a. Forth

    b. Inbetween

    c. Back

    d. None of these

5. A ___________ is written as separate unit, apart from main and called whenever necessary:

    a. Subroutine

    b. Code

    c. Block

    d. None of these

6. ___________ uses the stack to store return address of subroutine:

    a. CPU

    b. Microprocessor

    c. register

    d. memory

7. A subroutine is implemented with 2 associated instructions:

    a. CALL

    b. RETURN

    c. Both a & b

    d. None of these

8. Call instruction is written in the ___________ program:

    a. Main

    b. Procedures

    c. Program

    d. Memory

9. Return instruction is written in _________ to written to main program:

    a. Subroutine

    b. Main program

    c. Both a & b

    d. None of these

10. When subroutine is called contents of program counter is location address of ___________ instruction following call instruction is stored on __________ and program execution is transferred to __________ address:

    a. Non executable, pointer and subroutine

    b. Executable, Stack and Main program

    c. Executable, Queue and Subroutine

    d. Executable, Stack and Subroutin

11. A subroutine called by another subroutine is called:

    a. Nested

    b. For loop

    c. Break

    d. Continue

12. The extent nesting in subroutine is limited only by:

    a. Number of available Stack locations

    b. Number of available Addressing locations

    c. Number of available CPU locations

    d. Number of available Memory locations

13. Which are of the following instructions of hardware subroutines:

    a. SCAL

    b. SXIT

    c. Both a & b

    d. None of these

14. Importance in local variable and index registers in subroutine does __________ :

    a. Alter

    b. Not alter

    c. Both a & b

    d. None of these

15. Markers in subroutine cannot be accepted as limits whereas this markers stands for:

    a. Top of stack

    b. Bottom of stack

    c. Middle of stack

    d. All of these

16. Subroutines are placed in identical section to caller so that SCAL and SXIT ___________ overpass divison limits:

    a. Don’t

    b. Does

    c. Cross

    d. By

17. __________ subroutine declaration come after procedure announcement:

    a. Global

    b. Local

    c. Both a & b

    d. None of these

18. subroutines are invoked by using their _________ in a subroutine call statement and replacing formal parameters with __________ parameters:

    a. Identifier and formal

    b. Identifier and actual

    c. Expression and arguments

    d. None of these

19. Parameters can be stacked by __________ just as with procedures:

    a. Asterisk(*)

    b. Arrow

    c. Line

    d. Pipeline

20. The subroutines are determined by functioning of __________ instructions:

    a. SCAL and SXIT

    b. only SCAL

    c. only SXIT

    d. none of these

21. Call is __________ subroutine call:

    a. Conditional

    b. Unconditional

    c. Both a & b

    d. None of these

22. A flag is a __________ that keep track of a changing condition during computer run:

    a. Memory

    b. Register

    c. Controller

    d. None of these

23. When a subroutine is __________ the parameters are loaded onto the stack and SCAL is executed:

    a. Executed

    b. Invoked

    c. Ended

    d. Started

24. Subroutine is called _________ :

    a. In Same program

    b. In external program

    c. Both a & b

    d. None of these

25. If internal subroutine is called global data is used to pass values defining parameters between __________ program and defined _________ :

    a. Main and subroutine

    b. Local and subroutine

    c. Global and subroutine

    d. Global and main

26. In what type of subroutine actual parameters are passed through the main program to formal parameters in the related subroutine:

    a. Internal

    b. External

    c. Both a & b

    d. None of these

27. By defining the _________ register as last in first out stack the sequence can  handle nested subroutines:

    a. S

    b. J

    c. R

    d. T

28. The __________ stack can be 4-word memory addressed by 2 bits from an up/down counter known as the stack pointer:

    a. FIFO

    b. PIPO

    c. SISO

    d. LIFO

29. getchar :: IO char in this given function what is indicated by IO char:

    a. when getchar is invoked it returns a character

    b. when getchar is executed it returns a character

    c. both a & b

    d. none of these

30. If we define putchar function in putchar :: char -> IO ( ) syntax than character input as an argument and returns __________ :

    a. Useful value

    b. Get output

    c. Get no output

    d. None of these

 PART - 8

People Also Search:
  • Computer Organization And Architecture MCQ
  • Advanced Computer Architecture MCQ Questions And Answers
  • Computer Architecture MCQ
  • Computer System Architecture MCQ 
  • Computer Architecture And Organization MCQ