1. Assembly languages were developed to provide ?
A. mnemonics
B. symbols
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: Assembly languages were developed to provide mnemonics or
symbols for the machine level code instructions
2. A program that is responsible for this conversion is known as ?
A. Compiler
B. Assembler
C. Interpreter
D. Interrupts
View Answer
Ans : B
Explanation: A program that is responsible for this conversion is known
as assembler.
3. Assembly language is often termed as?
A. low-level language
B. middle-level language
C. high-level language
D. None of the above
View Answer
Ans : A
Explanation: Assembly language is often termed as a low-level language
because it directly works with the internal structure of the CPU. To program in
assembly language, a programmer must know all the registers of the CPU.
4. An assembly language program is a series of statements, which are either
assembly language instructions such as ADD and MOV, or statements
called?
A. Functions
B. Files
C. Program
D. Directives
View Answer
Ans : D
Explanation: An assembly language program is a series of statements, which
are either assembly language instructions such as ADD and MOV, or
statements called directives
5. An instruction tells the CPU what to do.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, An instruction tells the CPU what to do, while a directive
(also called pseudo-instructions) gives instruction to the assembler.
Which directive is the most widely used data directive in the assembler?
A. AB
B. QB
C. PB
D. DB
View Answer
Ans : D
Explanation: The DB directive is the most widely used data directive in the
assembler. It is used to define the 8-bit data. It can also be used to define
decimal, binary, hex, or ASCII formats data. For decimal, the "D" after the
decimal number is optional, but it is required for "B" (binary) and "Hl"
(hexadecimal).
Labels in Assembly Language, The first character should be in alphabetical
character; it cannot be a number.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, The first character should be in alphabetical character; it
cannot be a number
10. The mnemonics and operands fields together perform the real work of
the program and accomplish the tasks.
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: True, The mnemonics and operands fields together perform the
real work of the program and accomplish the tasks.