Assembly Language MCQ Questions
Assembly Language MCQs : This section focuses on "Assembly Language" in Embedded Systems. These Multiple Choice Questions (MCQ) should be practiced to improve the Embedded Systems skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
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.
6. The 8051 microcontroller contains a single data type of _________
A. 2-bit
B. 4-bit
C. 8-bits
D. 16-bit
View Answer
Ans : C
Explanation: The 8051 microcontroller contains a single data type of 8-bits, and each register is also of 8-bits size.
7. Which directive is used to indicate the beginning of the address?
A. EQU
B. ORG
C. END
D. START
View Answer
Ans : B
Explanation: ORG (origin) : The origin directive is used to indicate the beginning of the address. It takes the numbers in hexa or decimal format
8. 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).
9. 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.
Discussion