Computer Organization & Architecture (3140707) MCQs

MCQs of Assembly Language Programming

Showing 11 to 20 out of 35 Questions
11.
Which field of assembly language program cannot be empty?
(a) Instruction
(b) Label
(c) Comment
(d) All of above
Answer:

Option (a)

12.
As per rule of language, which of the given symbolic address is invalid?
(a) A
(b) XY1
(c) PQ
(d) ABCD
Answer:

Option (d)

13.
As per rule of language, which of the given symbolic address is invalid?
(a) AB
(b) PQR
(c) 1CD
(d) MN2
Answer:

Option (c)

14.
A symbolic address in the label field should be terminated by which special character?
(a) Full-stop
(b) Comma
(c) Semicolon
(d) Colon
Answer:

Option (b)

15.
Which of the following is not pseudo-instruction?
(a) HLT
(b) ORG
(c) END
(d) DEC
Answer:

Option (a)

16.
Which symbol is placed at the end of the program to inform the assembler that the program is terminated?
(a) HLT
(b) STP
(c) END
(d) TER
Answer:

Option (c)

17.
A comment should be preceded by which special character?
(a) Colon
(b) Comma
(c) Semicolon
(d) Slash
Answer:

Option (d)

18.
In subtraction program, what will be the result if two numbers stored as DEC 83 & DEC -23?
(a) 60
(b) 106
(c) A6
(d) None of above
Answer:

Option (b)

19.
In the basic computer, each character is represented by an 8-bit code. The high-order bit is always?
(a) 0
(b) 1
(c) X
(d) Depends on data
Answer:

Option (a)

20.
How many times input is scanned by the assembler to produce equivalent binary program?
(a) 1
(b) 3
(c) 2
(d) 4
Answer:

Option (c)

Showing 11 to 20 out of 35 Questions