LATEST

Thursday, April 23, 2020

COMPUTER SYSTEM ARCHITECTURE MCQS PART 38

COMPUTER SYSTEM ARCHITECTURE MCQS PART 38

1. To represent addresses in assembly language we use:
a. String characters        
b. Arrays           
c. Structure           
d. Enum
Answer A

2. Assembler works to convert assembly language program into machine language :
a. Before the computer can execute it  
b. After the computer can execute it
c. In between execution             
d. All of these
Answer A

3. ________generation computers use assembly language:
a. First generation         
b. Third generation
 c. second generation              
d. fourth generation
Answer C

4. Assembly language program is called:
a. Object program  
b. Source program   
c. Oriented program 
d. All of these
Answer B

5. To invoke assembler following command are given at command line:
a. $ hello.s -o hello.o           
b. $as hello.s –o o
c. $ as hello –o hello.o               
d. $ as hello.s –o hello.o
Answer D

6. By whom address of external function in the assembly source file supplied by ______ when   activated:
a. Assembler     
b. Linker         
c. Machine           
d. Code
Answer B

7. An______ -o option is used for:
a. Input file         
b. External file       
c. Output file        
d. None of these
Answer C

8. The assembler translates ismorphically ______ mapping from mnemonic in these statements to machine instructions:
a. 1:1  
b. 2:1      
c. 3:3          
d. 4:1
Answer A

9. Assembler works in______ phases:
a. 1         
b. 3           
c. 2              
d. 4
Answer C

10. The assembler in first pass reads the program to collect symbols defined with offsets in a  table_______:
a. Hash table     
b. Symbol table   
c. Both a& b       
d. None of these
Answer B

No comments:

Post a Comment