COMPUTER SYSTEM ARCHITECTURE MCQS PART 40
1.
In second pass, assembler creates _______in binary format for every
instruction in program and then refers to the symbol table to giving
every symbol an______ relating the segment.
a. Code and program
b. Program and instruction
c. Code and offset
d. All of these
Answer C
2. which of the 2 files are created by the assembler:
a. List and object file
b. Link and object file
c. Both a & b
d. None of these
Answer A
3. In which code is object file is coded:
a. Link code
b. Decimal code
c. Assembly code
d. Binary code
Answer D
4. which type of errors are detected by the assembler:
a. syntax error
b. logical error
c. run time error
. none of these
Answer A
5. MOVE AX BX in this LINES OF CODE what type of error is declared:
a. Undeclared identifier MOVE
b. undeclared identifier AX
c. Accept as a command
d. Not look in symbol table
Answer A
6. In given lines of code MOV AX,BL have different type of operands according to assembler for 8086 architecture these identifiers must be of:
a. Different type only in byte
b. Same type either in word or byte
c. Both a & b
d. None of these
Answer B
7. What type of errors are not detected by assemblers:
a. Syntax error
b. Run time error
c. Logical error
d. All of these
Answer C
8. ______serves as the purpose of documentation only:
a. List
b. object
c. link
d. code
Answer A
9. An assembler is a utility program that performs:
a. Isometric translation
b. Isomorphic translation
c. Isochoric translation
d. None of these
Answer B
10. Assemblers are of 2 types:
a. 1 pass
b. 2 pass
c. both a & b
d. none of these
Answer C
a. Code and program
b. Program and instruction
c. Code and offset
d. All of these
Answer C
2. which of the 2 files are created by the assembler:
a. List and object file
b. Link and object file
c. Both a & b
d. None of these
Answer A
3. In which code is object file is coded:
a. Link code
b. Decimal code
c. Assembly code
d. Binary code
Answer D
4. which type of errors are detected by the assembler:
a. syntax error
b. logical error
c. run time error
. none of these
Answer A
5. MOVE AX BX in this LINES OF CODE what type of error is declared:
a. Undeclared identifier MOVE
b. undeclared identifier AX
c. Accept as a command
d. Not look in symbol table
Answer A
6. In given lines of code MOV AX,BL have different type of operands according to assembler for 8086 architecture these identifiers must be of:
a. Different type only in byte
b. Same type either in word or byte
c. Both a & b
d. None of these
Answer B
7. What type of errors are not detected by assemblers:
a. Syntax error
b. Run time error
c. Logical error
d. All of these
Answer C
8. ______serves as the purpose of documentation only:
a. List
b. object
c. link
d. code
Answer A
9. An assembler is a utility program that performs:
a. Isometric translation
b. Isomorphic translation
c. Isochoric translation
d. None of these
Answer B
10. Assemblers are of 2 types:
a. 1 pass
b. 2 pass
c. both a & b
d. none of these
Answer C
No comments:
Post a Comment