MCQ Bank
What is the purpose of the MUL instruction in the context of display memory?
- A) Performs unsigned multiplication
- B) Clears the screen
- C) Multiplies ASCII codes
- D) Controls cursor attributes
How is the screen location calculated (in the context of display memory formation)?
- A) Multiplying row number by 80 and adding column number
- B) Dividing row and column numbers
- C) Adding row and column numbers
- D) Using the MUL instruction
What does the attribute byte in the word designated for one screen location hold?
- A) Video controller instructions
- B) ASCII code for the character
- C) Cursor height information
- D) Foreground and background colors
Which of following interrupt is used for BIOS Video Services
- A) 0x13
- B) 0x10
- C) 0x16
- D) 0x21
How is the video device perceived by the computer in terms of memory?
- A) Independent of system memory
- B) Only accessible through I/O ports
- C) Two-dimensional space with ASCII codes
- D) Linearly mapped memory
Service numbers are given in ________ register while sub services in ________
- A) AH, AL or BL
- B) Ax, Bx
- C) Al, Ah or ax
- D) AX, Al or Ah
What effect does setting bit 7 in the attribute byte have on the foreground character (in the context of display memory)?
- A) Clears the screen
- B) Initiates blinking
- C) Intensity of foreground color
- D) Changes background color
While displaying something on screen, why is ES loaded with the segment of video memory?
- A) To open a window to the video memory
- B) To access data
- C) To manipulate ASCII codes
- D) To control cursor position
What is the significance of the memory location B8000 in the context of Display Memory?
- A) BIOS vendor's problem location
- B) Segment register for accessing video memory
- C) Physical memory location for video controller's memory
- D) Default cursor position
What is the purpose of sending 0x40 to the VGA card in the context of display memory formation?
- A) Change cursor position
- B) Set resolution
- C) Clear the screen
- D) Turn pixels on and off
How many I/O Ports are there?
- A) 65536
- B) 65524
- C) 65548
- D) 65520
Which of following jump would perform better to sort the signed numbers?
- A) jz
- B) jcx
- C) jge
- D) jle
RET pops the ______ at the top of the stack into the instruction pointer and increments SP by ________.
- A) byte, one
- B) word, one
- C) word, two
- D) byte, two
mov byte [swap], 0 What would happen if we dont use the keyword byte or word before the operand?
- A) Its good to use, otherwise size mismatch error may occur
- B) Nothing will happen, program will run smoothly all the time
- C) Nothing will happen but its good practice to use theses keywords
- D) Its useless to use these keywords
REP with _____will utilizes the full processor power to do the scrolling in minimum time
- A) SCAS
- B) LES
- C) MOVS
- D) REPNE
Far calls are also called ______________ calls.
- A) inter segment
- B) obscure
- C) intra segment
- D) distant
The execution of the instruction "mov word [ES : 160], 0x1230" will print a character on the screen at:
- A) Second column of first row
- B) First column of second row
- C) Second column of second row
- D) First column of third row
When all the general registers are used then a subroutine can receive maximum _____ parameters.
- A) 5
- B) 7
- C) 6
- D) 4
Shift Arithmetic Left (SAL) can also be called as
- A) Rotate Left
- B) Shift Logical Right
- C) Shift Logical Left
- D) Rotate right
Which of the following statement best describes the Shift Logical Right (SHR) operation?
- A) The Right most bit is transferred to AX
- B) Inserts a zero from right and moves every bit one position to the left
- C) The Left most bit is transferred to AX
- D) Inserts a zero from left and moves every bit one position to the right