Q1: When two devices in the system want to use the same IRQ line then what will happen?
Answer: An IRQ Conflict
Q2: Hard disk MBR (Master Boot Record) is of size:
Answer: 512 bytes
Q3: Which of the following IRQs is connected to serial port COM 2?
Answer: IRQ 3
Q4: The first sector on hard disk contains the:
Answer: Partition table
Q5: In programmable interrupt controller which port is referred as a control port?
Answer: 20
Q6: Which of the following IRQs is used by the parallel port?
Answer: IRQ 7
Q7: The programmable interval timer (PIT) has input frequency of:
Answer: 1.193 MHz
Q8: CX register mostly used as a:
Answer: Counter register
Q9: The input frequency of PIT is:
Answer: Fixed
Q10: Thread registration code initializes PCB and adds it to linked list so that the:
Answer: Scheduler will give it a turn
Q1: INT13 BIOS disk services uses which register to return ‘error code’?
Answer: CF
Q2: Operating system organizes data in the form of:
Answer: File
Q3: Instruction that decrements SP by 2 and transfers a word to top of stack:
Answer: PUSH
Q4: Non-maskable interrupt:
Answer: INT 0
Q5: Maximum parameters a subroutine can receive:
Answer: 7
Q6: When the operand of DIV is 16-bit, dividend stored in:
Answer: AX (or DX:AX if required)
Q7: COM2 connected with:
Answer: IRQ 3
Q8: Parallel port connector:
Answer: DB-25
Q9: Instruction to call software interrupt:
Answer: INT interrupt_number
Q10: INT 0x13 service 0x03 is used to:
Answer: Read disk sector
Q1: Data bus is:
Answer: Bi-directional
Q2: PUSH increments SP by 2?
Answer: False
Q3: Peripheral address space selected by which instruction?
Answer: IN
Q4: Creation of threads:
Answer: Both (Static & Dynamic)
Q5: IRQ used by parallel port:
Answer: IRQ 7
Q6: Priority of IRQ 0:
Answer: Highest
Q7: Number of pins in parallel port:
Answer: 25
Q8: Interrupt call loads new values in:
Answer: CS, IP, Flags
Q9: All registers and stacks are saved in:
Answer: Multitasking
Q10: In 9-pin DB connector, which pin is assigned to TD:
Answer: Pin 2
Q1: Assembly language is not a low-level language:
Answer: False
Q2: In COM file first command stored at offset:
Answer: 0x100
Q3: Address always goes from:
Answer: Processor to memory
Q4: Source register in OUT instruction:
Answer: AL or AX
Q5: By default CS is associated with:
Answer: IP
Q6: Pins of parallel port grounded:
Answer: 18โ25
Q7: Instruction mov word [es:160], 0x1230, 30 represents:
Answer: 0
Q8: On executing 0x21 0x3D, if file cannot be opened:
Answer: CF will contain 1
Q9: Cascading interrupt:
Answer: IRQ 2
Q10: Execution of mov word [es:160], 0x1230 prints character at:
Answer: First column of second row
Q1: RET instruction takes:
Answer: 1 argument (optional, depends on CALL)
Q2: In STOSB, SI is incremented by:
Answer: 1
Q3: CMPS instruction subtracts source from destination:
Answer: DS:SI from ES:DI
Q4: Assembler statement:
Answer: Assembler converts mnemonics to corresponding OPCODE
Q5: OPCODE BB, Mov AX, 336 (hex 0x150) in little endian:
Answer: 0xBB5001
Q6: MOV AX, 5 number of operands:
Answer: 2
Q7: Max parameters a subroutine can receive:
Answer: 7
Q8: CX register used as:
Answer: Counter
Q9: Address returned by iAPX88 addressing mechanisms:
Answer: Effective address
Q10: 16-bit number divided by 8-bit, dividend in:
Answer: AX
Q11: Left-shift operation, leftmost bit:
Answer: Will go into CF
Q12: Decimal 35 after left-shift by 2 bits:
Answer: 140
Q13: Divide overflow interrupt type:
Answer: Processor exception
Q14: SCAS instruction dominant operation:
Answer: Subtraction
Q15: REP instruction affects which flag?
Answer: No flags
Q16: Reason string instructions used in 8088:
Answer: Reduction in code size and speed
Q1: Physical address of stack obtained by:
Answer: SS:SP combination
Q2: After RET, SP:
Answer: Incremented by 2
Q3: Second byte in word for screen location holds:
Answer: Character color
Q4: REP always:
Answer: Decrement CX by 1
Q5: Basic function of SCAS:
Answer: Compare
Q6: Index registers store:
Answer: Address
Q7: Bits of which work independently:
Answer: Flags register
Q8: Convert digit to ASCII:
Answer: Add 0x30
Q9: 32-bit number divided by 16-bit, quotient:
Answer: 16 bits
Q10: 16-bit divided by 8-bit, quotient:
Answer: AX
Q11: SCAS dominant operation:
Answer: Subtraction
Q12: AX = -2, BX = 2, CMP AX, BX JA label:
Answer: Jump will be taken
Q13: Execution of mov word [ES:160], 0x1230 prints “0” at:
Answer: First column of second row
Q14: String processing from high to low addresses:
Answer: DF is set
Question No: 15 โ ADC has Operand(s)
Answer: 2 Two
Question No: 16 โ Which bit of the attributes byte represents the red component of background color?
Answer: 4
Q1 โ Bit of attributes byte for blue component of foreground color
Answer: 1
Q2 โ Clear screen operation initializes video memory to
Answer: 0720
Q3 โ DIV operand 16-bit โ implied dividend
Answer: 32-bits
Q4 โ Pair of registers used in string instruction
Answer: DI and SI
Q5 โ FAT32 directory entry in DOS
Answer: 32 bytes
Q6 โ Register for interrupt service number
Answer: AX
Q7 โ DB9 pin for RD (Received Data)
Answer: 2
Q8 โ COM file maximum command line parameters
Answer: 127 bytes
Q9 โ Access DOS services
Answer: Int 0x21
Q10 โ DB9 pin for signal ground
Answer: 5
Q11 โ BPB stands for
Answer: BIOS Parameter Block
Q12 โ INT 13 returns error flag in
Answer: CF
Q13 โ First sector on hard disk contains
Answer: Partition table
Q14 โ OS organizes data as
Answer: File
Q15 (DB9 TD) โ Pin for transmitted data
Answer: 3
Q16 โ Device driver major categories
Answer: 2
1 โ BL = 5, after right shift
Answer: 2
2 โ 8ร16 font stored in
Answer: 16 bytes
3 โ DOS input buffer: number of chars read
Answer: Second byte
4 โ IRQ0 priority
Answer: Highest
5 โ Thread registration code โ gives turn
Answer: Scheduler
6 โ Traditional calling conventions
Answer: 2
7 โ VESA VBE 2.0 standard for
Answer: High Resolution Mode
8 โ Clear direction flag instruction
Answer: CLD
9 โ STOSW: DI cleared, SI
Answer: Incremented by 2
10 โ Debugging interrupt with trap flag
Answer: INT 1
11 โ Arithmetic overflow interrupt
Answer: INT 4
12 โ IRQ refers to
Answer: Eight input signals
13 โ IRQ for keyboard
Answer: 1
14 โ IRQ for sound card
Answer: 5
15 โ IRQ for floppy disk
Answer: 6
16 โ IRQ with highest priority
Answer: Timer IRQ
17 โ Parallel port ground pins
Answer: 18โ25
18 โ Physical address of IDT stored in
Answer: IDTR
19 โ RET 2 execution
Answer: SP incremented by 2
20 โ CX register is
Answer: Count register
21 โ OUT instruction source register
Answer: AL or AX
22 โ DB9 DSR pin
Answer: 6
23 โ IRQ conflict if two devices use same IRQ
Answer: IRQ conflict
24 โ VESA 16-bit color per pixel ratio
Answer: 5:5:5
25 โ Division by zero interrupt
Answer: Interrupt 0
SAR instruction (Q1) โ MSB retains original value
RETF offset (Q2) โ IP
INT routine (Q3) โ ISR
COM first instruction offset (Q4) โ 0x0100
Far jump (Q5) โ Absolute
Memory to memory data movement (Q6) โ String instructions
RET 2 (Q7) โ SP incremented by 4
DIV forms (Q8) โ Two forms
DIV operand 16-bit (Q9) โ 32-bit dividend
MOVS execution (Q10) โ SI and DI updated
Push on stack (Q11) โ SP decremented by 2
Divide overflow (Q12) โ Divide overflow error
Video memory higher address (Q13) โ Attribute byte
Video window (Q14) โ mov AX,0xb800 mov ES, AX
Video memory screen location (Q15) โ Two bytes
mov word [ES:0],0x0741 โ Background color: Red
Registers not true (Q1) โ Their operation is very much like memory โ FALSE
move [bp], al segment (Q2) โ Stack segment
RCR instruction 16-bit word (Q3) โ 17-bit rotation
8088 stack (Q4) โ Word-sized elements
8ร16 font (Q5) โ 16 bytes
INT 10 services (Q6) โ BIOS video
IRQ0 priority (Q7) โ Highest
Thread function calls (Q8) โ Local variables
Prevalent calling conventions (Q9) โ 3
DB9 DSR pin (Q10) โ 6
DB9 CTS pin (Q11) โ 8
DB9 CD pin (Q12) โ 1
DB9 RD pin (Q13) โ 2
Device attribute word (Q14) โ Bit 15
Video services categories (Q15) โ 3
STOSB DF clear (Q16) โ SI incremented by 1
Signal process (Q17) โ Hand-shaking
Special interrupt (Q18) โ Debug interrupt
Timer IRQ (Q19) โ IRQ 0
Arithmetic overflow (Q20) โ INT 4
Serial COM2 (Q21) โ IRQ 3
End of Interrupt (Q22) โ PIC
OUT source register (Q23) โ AL or AX
PIC enable/disable port (Q24) โ 21
Parallel port pins (Q25) โ 25
Parallel port ground pins (Q26) โ 18โ25
Binary shift 35 >> 2 (Q27) โ 8? Actually 35 >> 2 = 8 (35/4)
32-bit address max memory (Q28) โ 4GB
NASM imported/exported symbol (Q29) โ External directive, Global directive
Single step interrupt (Q30) โ INT 1