T4Tutorials .PK

VU Past Papers – CS401 Most Repeated Solved MCQs

CS401 Solved MCQs

Q#1: The base pointer accesses local variables using  offsets.
(A) Positive
(B) Negative
(C) Zero
(D) Immediate
Answer: (B) Negative

Q#2: 8088 processor can access memory up to ______.
(A) 64 KB
(B) 256 KB
(C) 1 MB
(D) 4 MB
Answer: (C) 1 MB

Q#3: ports interface the processor to the external world including keyboards, mice, monitors and disk drives.
(A) Control ports
(B) Input/Output ports
(C) Data ports
(D) Memory ports
Answer: (B) Input/Output ports

Q#4: In base + offset addressing, the value in the base register is added with offset to obtain the ______.
(A) Logical address
(B) Effective address
(C) Physical address
(D) Relative address
Answer: (B) Effective address

Q#5: 90 is the opcode of which instruction?
(A) NOP
(B) MOV
(C) ADD
(D) JMP
Answer: (A) NOP

Q#6: When characters are stored in a language, the actual thing stored in a byte is their ______.
(A) Unicode
(B) Binary code
(C) ASCII code
(D) Hex code
Answer: (C) ASCII code

Q#7: We can convert any digit to ASCII by adding_ to the digit.
(A) 0x10
(B) 0x20
(C) 0x30
(D) 0x40
Answer: (C) 0x30

Q#8: A complete pass over an array is called an ______.
(A) Execution
(B) Iteration
(C) Loop
(D) Cycle
Answer: (B) Iteration

Q#9: Which of the following is a non-destructive AND operation?
(A) AND
(B) OR
(C) TEST
(D) XOR
Answer: (C) TEST

Q#10: In ______ operation the carry flag is inserted from the right and bits move left.
(A) ROL
(B) RCR
(C) RCL
(D) SHR
Answer: (C) RCL

Q#11: In ASCII table numbers are arranged from ______.
(A) 20–29
(B) 30–39
(C) 40–49
(D) 50–59
Answer: (B) 30–39

Q#12: ______ can be used as a masking operation to invert selective bits.
(A) OR
(B) XOR
(C) AND
(D) NOT
Answer: (B) XOR

Q#13: BH register is a  bit register.
(A) 4
(B) 8
(C) 16
(D) 32
Answer: (B) 8

Q#14: Which instruction is the renamed version of conditional jump JZ?
(A) JNE
(B) JE
(C) JG
(D) JL
Answer: (B) JE

Q#15: SP is associated by default with ______.
(A) CS
(B) DS
(C) SS
(D) ES
Answer: (C) SS

Q#16: The maximum memory accessible using 8085 processor is ______.
(A) 32 KB
(B) 64 KB
(C) 128 KB
(D) 1 MB
Answer: (B) 64 KB

Q#17: In XOR operation the output is 1 when ______.
(A) Both inputs are 1
(B) Both inputs are 0
(C) Inputs are same
(D) Inputs are different
Answer: (D) Inputs are different

Q#18: The clear screen operation initializes the whole block of video memory to ______.
(A) 0720
(B) 0714
(C) 0417
(D) 0700
Answer: (A) 0720

Q#19: The 8088 processor divides interrupts into_ classes.
(A) One
(B) Two
(C) Three
(D) Four
Answer: (B) Two

Q#20: Which directive is used to reserve an 8-bit space in memory?
(A) DB
(B) DW
(C) DD
(D) DQ
Answer: (A) DB

Q#21: All mathematical and logical operations are performed on the ______.
(A) Memory
(B) Accumulator
(C) Stack
(D) Control unit
Answer: (B) Accumulator

Q#22: ______ jump is not position relative but absolute.
(A) Near
(B) Short
(C) Conditional
(D) Far
Answer: (D) Far

Q#23: In Shift Logical Right operation, which bit is copied to the carry flag?
(A) Leftmost bit
(B) Rightmost bit
(C) Middle bit
(D) Sign bit
Answer: (B) Rightmost bit

Q#24: Which register holds the address of the next instruction to be executed?
(A) Base Pointer
(B) Source Index
(C) Program Counter
(D) Stack Pointer
Answer: (C) Program Counter

Q#25: The group of bits used by processor to inform memory which element to read or write is called ______.
(A) Data bus
(B) Control bus
(C) Address bus
(D) Memory bus
Answer: (C) Address bus

Exit mobile version