LATEST

Thursday, April 23, 2020

COMPUTER SYSTEM ARCHITECTURE MCQS PART 47

COMPUTER SYSTEM ARCHITECTURE MCQS PART 47

1. Call instruction is written in the______program:
a. Main        
b. Procedures        
c. Program          
d. Memory
Answer A

2. Return instruction is written in_______ to written to main program:
a. Subroutine     
b. Main program         
c. Both a & b         
d. None of these
Answer A

3. 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 Subroutine
Answer D

4. A subroutine called by another subroutine is called:
a. Nested         
b. For loop             
c. Break             
d. Continue
Answer A

5. 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
Answer A

6. Which are of the following instructions of hardware subroutines:
a. SCAL           
b. SXIT            
c. Both a & b              
d. None of these
Answer C

7. Importance in local variable and index registers in subroutine does_____:
a. Alter             
b. Not alter            
c. Both a & b              
d. None of these
Answer B

8. 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
Answer A

9. 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
Answer A

10. _________subroutine declaration come after procedure announcement:
a. Global         
b. Local       
c. Both a & b       
d. None of these
Answer A

No comments:

Post a Comment