1. ________is the first step in the
evolution of programming languages:
a. machine language
b.
assembly language
c. code language
d. none of these
2. Mnemonic refers to:
a. Instructions
b. Code
c.
Symbolic codes
d. Assembler
3. Mnemonic represent:
a.
Operation codes
b. Strings
c. Address
d. None of these
4. To represent addresses in assembly
language we use:
a.
String characters
b. Arrays
c. Structure
d. Enum
5. 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
6. ________ generation computers use
assembly language:
a. First generation
b. Third generation
c.
second generation
d. fourth generation
7. Assembly language program is called:
a. Object program
b.
Source program
c. Oriented program
d. All of these
8. 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
9. By whom address of external function in
the assembly source file supplied by _________ when activated:
a. Assembler
b.
Linker
c. Machine
d. Code
10. An _________ -o option is used for:
a. Input file
b. External file
c.
Output file
d. None of these
11. The assembler translates is morphically
________ mapping from mnemonic in these statements to machine instructions:
a.
1:1
b. 2:1
c. 3:3
d. 4:1
12. Assembler works in _______ phases:
a. 1
b. 3
c.
2
d. 4
13. 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
14. 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
15. 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
16. In which code is object file is coded:
a. Link code
b. Decimal code
c. Assembly code
d.
Binary code
17. which type of errors are detected by
the assembler:
a.
syntax error
b. logical error
c. run time error
d. none of these
18. 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
19. 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
20. What type of errors are not detected by
assemblers:
a. Syntax error
b. Run time error
c.
Logical error
d. All of these
21._______ serves as the purpose of
documentation only:
a.
List
b. object
c. link
d. code
22. An assembler is a utility program that
performs:
a. Isometric translation
b.
Isomorphic translation
c. Isochoric translation
d. None of these
23. Assemblers are of 2 types:
a. 1 pass
b. 2 pass
c.
both a & b
d. none of these
24. CP/CMS assembly language was written in
_________ assembler:
a. S/340
b. S-350
c. S/320
d.
S/360
25. ASM-H widely used _________ assembler:
a. S/370
b. S/380
c. S/390
d. S/360
26. Assembler is a _________:
a. Interpreter
b.
Translator
c. Exchanger
d. None of these
27. A _________ processor controls
repetitious writing of sequence:
a.
Macro
b. Micro
c. Nano
d. All of these
28. IBM-360 type language is example which
supporting _____ language:
a. Micro
b.
Macro
c. Both a & b
d. None of these
29. _______ is attached to using macro
instruction definition:
a.
Name
b. Definition
c. Identifier
All of these
30. END of macro definition by:
a. NAME
b.
MEND
c. DATA
d. MEMORY
- Computer Organization And Architecture MCQ
- Advanced Computer Architecture MCQ Questions And Answers
- Computer Architecture MCQ
- Computer System Architecture MCQ
- Computer Architecture And Organization MCQ