T4Tutorials .PK

VU Past Papers – CS401 Most Repeated MCQs

Q#1: In near jump we jump anywhere within a segment.
(A) True
(B) False
(C) Only in protected mode
(D) Only in real mode
Answer: (A) True

Q#2: Which bit of the attribute byte represents the blue component of foreground color?
(A) Bit 0
(B) Bit 1
(C) Bit 2
(D) Bit 3
Answer: (A) Bit 0

Q#3: Parameters are cleared from the stack by the ______.
(A) Caller
(B) Callee
(C) Both caller and callee
(D) Processor
Answer: (A) Caller

Q#4: Stack is a data structure that behaves in ______ manner.
(A) First In First Out (FIFO)
(B) First In Last Out (FILO)
(C) Last In First Out (LIFO)
(D) Random Access
Answer: (C) Last In First Out (LIFO)

Q#5: The maximum parameters a subroutine can receive when all the general registers are used are
(A) 5
(B) 6
(C) 7
(D) 8
Answer: (C) 7

Q#6: PUSH increments SP by two and then transfers a word to the stack.
(A) True
(B) False
(C) Only in 32-bit processors
(D) Only in protected mode
Answer: (B) False

Q#7: In AND operation the output is 1 only if
(A) Both inputs are 1
(B) Both inputs are 0
(C) One input is 1
(D) Inputs are different
Answer: (A) Both inputs are 1

Q#8: In the instruction mov word [es:160], 0x1230, 30 represents the character
(A) 0
(B) 1
(C) 2
(D) 3
Answer: (A) 0

Q#9: Far calls are called intra-segment calls.
(A) True
(B) False
(C) Sometimes true
(D) Depends on processor
Answer: (B) False

Exit mobile version