CS401 Quiz with Correct answers on System Descriptors, Stack Operations, and Interrupts

 Certainly! Here are the questions along with the separate options and the correct option for each:


Question #1:

The _______ bit tells that this is a system descriptor while the 1110 following it tells that it is a 386 interrupt gate.

Options:

Option 1: TSOP


Question #2:

The last location of word, corresponding to the screen will be ______

Options:

Option 1: 4000

Option 2: 2000

Option 3: 1998

Option 4: 3998

Correct Option: 3998


Question #3:

In the assembly language program, when using div instruction, dividend is stored in ____

Options:

Option 1: DI

Option 2: Operand placed with div instruction

Option 3: BX

Option 4: AX

Correct Option: AX


Question #4:

In string instructions, the mode is called auto-increment mode when:

Options:

Option 1: DF is set

Option 2: DF is cleared

Option 3: CX is set

Option 4: ZF is cleared

Correct Option: DF is cleared


Question #5:

Push instruction, will store the value of operand used, in the _______

Options:

Option 1: BP

Option 2: SP

Option 3: Flag

Option 4: AX

Correct Option: SP


Question #6:

Push instruction, will store the value of operand used, in the _______

Options:

Option 1: SP

Option 2: BP

Option 3: Flag

Option 4: AX

Correct Option: SP


Question #7:

Each entry of the interrupt vector table is of __________ bytes.

Options:

Option 1: 3

Option 2: 4

Correct Option: 4


Question #8:

Whenever ret function is called

Options:

Option 1: Nothing happens in stack

Option 2: Stack is pushed

Option 3: Stack is cleared

Option 4: Stack is pulled

Correct Option: Stack is pulled


Question #9:

REPE repeat the following string instruction while the _______is set.

Options:

Option 1: Parity flag

Option 2: Zero flag

Option 3: Direction flag

Option 4: Carry flag

Correct Option: Zero flag


Question #10:

Which of the following is the base address for displaying any character on the Screen?

Options:

Option 1: 0b8000

Option 2: b800

Option 3: x0

Option 4: xb800

Correct Option: 0xB8000