LATEST

Thursday, April 23, 2020

COMPUTER SYSTEM ARCHITECTURE MCQS PART 48

COMPUTER SYSTEM ARCHITECTURE MCQS PART 48

1. 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
Answer B

2. Parameters can be stacked by  ________just as with procedures:
a. Asterisk(*)         
b. Arrow             
c. Line          
d. Pipeline
Answer A

3. The subroutines are determined by functioning of ________instructions:
a. SCAL and SXIT             
b. only SCAL  
c. only SXIT        
d. none of these
Answer A

4. Call is________ subroutine call:
a. Conditional      
b. Unconditional         
c. Both a & b     
d. None of these
Answer B

5. A flag is a _________that keep track of a changing condition during computer run:
a. Memory         
b. Register          
c. Controller         
d. None of these
Answer B

6. When a subroutine is ________the parameters are loaded onto the stack and SCAL is executed:
a. Executed   
b. Invoked     
c. Ended  
d. Started
Answer B

7. Subroutine is called _______:
a. In Same program     
b. In external program
c. Both a & b           
d. None of these
Answer C

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

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

10. By defining the _________register as last in first out stack the sequence can handle nested subroutines:
a. S             
b. J                
c. R              
d. T
Answer C


No comments:

Post a Comment