Computer System Architecture

531. Return instruction is written in ____________ to written to main program:

  1. Subroutine
  2. Main program
  3. Both a & b
  4. None of these

Correct answer: (A)
Subroutine

532. 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:

  1. Non executable, pointer and subroutine
  2. Executable, Stack and Main program
  3. Executable, Queue and Subroutine
  4. Executable, Stack and Subroutine

Correct answer: (D)
Executable, Stack and Subroutine

533. A subroutine called by another subroutine is called:

  1. Nested
  2. For loop
  3. Break
  4. Continue

Correct answer: (A)
Nested

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

  1. Number of available Stack locations
  2. Number of available Addressing locations
  3. Number of available CPU locations
  4. Number of available Memory locations

Correct answer: (A)
Number of available Stack locations

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

  1. SCAL
  2. SXIT
  3. Both a & b
  4. None of these

Correct answer: (C)
Both a & b

536. Importance in local variable and index registers in subroutine does ____________:

  1. Alter
  2. Not alter
  3. Both a & b
  4. None of these

Correct answer: (B)
Not alter

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

  1. Top of stack
  2. Bottom of stack
  3. Middle of stack
  4. All of these

Correct answer: (A)
Top of stack

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

  1. Don't
  2. Does
  3. Cross
  4. By

Correct answer: (A)
Don't

539. ____________ subroutine declaration come after procedure announcement:

  1. Global
  2. Local
  3. Both a & b
  4. None of these

Correct answer: (A)
Global

540. subroutines are invoked by using their ____________ in a subroutine call statement and replacing formal parameters with ____________ parameters:

  1. Identifier and formal
  2. Identifier and actual
  3. Expression and arguments
  4. None of these

Correct answer: (B)
Identifier and actual

Page 54 of 75