Order PDF of any content from our website with a little minor Fee to donate for hard work. Online MCQs are fully free but PDF books are paid. For details: contact whatsapp +923028700085 Important notes based PDF Books are available in very little price, starting from 500/-PKR; Order Now: contact whatsapp +923028700085

VU Past Papers – CS401 Computer Architecture MCQs

Q#1: In STOSB instruction SI is decremented or incremented by?
(A) 4
(B) 1
(C) 2
(D) 3
Answer: (B) 1

Q#2: CMPS instruction subtracts the source location from the destination location. Destination location always lies in?
(A) DS:SI
(B) DS:DI
(C) ES:SI
(D) ES:DI
Answer: (D) ES:DI

Q#3: Regarding assembler, which statement is true?
(A) Assembler converts mnemonics to the corresponding OPCODE
(B) Assembler converts OPCODE to the corresponding mnemonics
(C) Assembler executes the assembly code all at once
(D) Assembler executes the assembly code step by step
Answer: (A) Assembler converts mnemonics to the corresponding OPCODE

Q#4: If β€œBB” is the OPCODE of the instruction which states to β€œmove a constant value to AX register”, the hexadecimal representation (Using little Endian notation) of the instruction β€œMov AX,336” (β€œ150” in hexadecimal) will be:
(A) 0xBB0150
(B) 0x5001BB
(C) 0x01BB50
(D) 0xBB5001
Answer: (D) 0xBB5001

Q#5: In the instruction MOV AX, 5, the number of operands are?
(A) 1
(B) 2
(C) 3
(D) 4
Answer: (B) 2

Q#6: The maximum parameters a subroutine can receive (with the help of registers) are?
(A) 6
(B) 7
(C) 8
(D) 9
Answer: (C) 8

Q#7: In assembly, the CX register is normally used as a?
(A) source
(B) counter
(C) index
(D) pointerAnswer: (B) counter

Q#8: All the addressing mechanisms in iAPX 88 return a number called?
(A) effective
(B) faulty
(C) indirect
(D) direct
Answer: (A) effective

Q#10: In Left-Shift-Operation, the leftmost bit?
(A) will drop
(B) will go into CF
(C) will come to the rightmost
(D) will be always 1
Answer: (B) will go into CF

Q#24: The source registers in OUT instruction is
(A) AL or AX
(B) BL or BX
(C) CL or CX
(D) DL or DX
Answer: (A) AL or AX

Q#25: In programmable interrupt controller which of the following ports is used for selectively enabling or disabling interrupts?
(A) 19
(B) 20
(C) 21
(D) 22
Answer: (C) 21

Q#26: The number of pins in a parallel port connector are?
(A) 25
(B) 30
(C) 35
(D) 40
Answer: (A) 25

Q#27: Which of the following pins of a parallel port connector are grounded?
(A) 10–18
(B) 18–25
(C) 25–32
(D) 32–39
Answer: (B) 18–25

Q#29: A 32-bit address register can access up to ___ of memory.
(A) 2GB
(B) 4GB
(C) 6GB
(D) 8GB
Answer: (B) 4GB

Q#30: In NASM an imported symbol is declared with the ___ while exported symbol is declared with the ___.
(A) Global directive, External directive
(B) External directive, Global directive
(C) Home Directive, Foreign Directive
(D) Foreign Directive, Home Directive
Answer: (B) External directive, Global directive

Contents Copyrights Reserved By T4Tutorials