Professional Documents
Culture Documents
Aiken Format
Aiken Format
Aiken Format
A. Operation codes
B. Strings
C. Address
D. None of these
Answer: A
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
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
Which assembler directive indicates that the end of the source program.
A. EXIT
B. END
C. START
D. LABEL END
Answer: B
A simple two-pass assembler does which of the following in the first pass?
A) It allocates space for the literals
B) It computes the total length of the program
C) It builds the symbol table for the symbols and their values
D) All of these
ANSWER: D
Pass 2 �
A) Performs processing of assembler directives not done during pass 1
B) Writes the object program and assembly listing
C) Assemble instruction and generate data
D) All of these
ANSWER: D
Pass 1 �
A) save the values assigned to all labels for use in pass 2
B) perform some processing of assembler directives
C) assign address to all statements in the program
D) all of these
ANSWER: D
Which table is permanent databases that has an entry for each terminal symbol ?
A) Literal table
B) Symbol table
C) Operation code table
D) None of these
ANSWER: C
An assembler is
A) Programming language dependent.
B) Syntax dependant.
C) Machine dependant.
D) Data dependant.
ANSWER: C
An assembly language is a
A) Low level programming language
B) Middle level programming language
C) High level programming language
D) Internet based programming language
ANSWER: A
VALUE RESW 1,
A) 1040
B) 1000
C) 1049
D) 1046
ANSWER: C