CS401 Grand Quiz by Junaid
CS401 Grand Quiz by Junaid
CS401 Grand Quiz by Junaid
available
GRAND QUIZ PAID
Assignment, QUIZ, GDBZ and
GRAND QUIZ SERVICE are
available
0304-1659294 0304-1659294
JUNAID MALIK
AL-JUNAID INSTITUTE GROUP
CS401 GRAND QUIZ
1. The base pointer accesses local variables using _______ offsets.
s Negative
8. _______ instructions have two parameters, one is the general purpose register to
be loaded and the other is the memory location from which to load these registers.
LDS
10. ________ ports which interface the processor to the external world,
including keyboards, mice, monitors, disc drives.
AL-JUNAID INSTITUTE GROUP
Input, output
11. In base+offset addressing, the value contained in the base register is add with offset
to get ______.
Effective address
ASCII
23. A complete _______ is called a pass over the array
Iteration
25. In _______ operation the carry flag is inserted from the right causing every bit to
move one location to its left and the most significant bit occupying the carry
flag.Rotate Through Carry Left (RCL)
26. ASCII table is the contiguous arrangement of the uppercase alphabets (41-5A), the
lowercase alphabets (61-7A), and the numbers _________.
30-39
27. _______ can also be used as a masking operation to invert selective bits.
XOR
28. BH register is a _______ bit register.
8
29. Which of the following is the renamed version of conditional jump JZ?
JE
33. The clear screen operation initializes whole block of video memory
to:
0720
34. The 8088 processor divides interrupts into ______ classes.
Two
35. Which of the following directive is used to reserve a 8 bit space in the memory
for holding data?
db
36. All mathematical and logical operations are performed on the _______
Accumulator
37. ______ jump is not position relative but is absolute
Far
38. Which of the following bit that “Shift Logical Right” operation copies in the carry flag?
Right most bit
39. Which of the following register is used to hold address of the next instruction to
be executed?
Program counter
40. Group of bits processor uses to inform memory which element to read/write
is collectively known as
Address bus
42. To convert the case of a character, we add or subtract ________ from its ASCII
code.
0x20
AL-JUNAID INSTITUTE GROUP
43. Which of the following instruction is effectively same as to multiply the value of AX by
8?
SHL AX, 8
MUL AX,3
44. ______ interrupts are those which occur side by side with some other
activity.
Synchronous
45. During CALL operation, the current value of the _________ is automatically saved on
the stack, and the destination of CALL is loaded in the instruction pointer.
Instruction pointer
46. In SCAS Example, we use SCASB with _____ and a zero in AL register to find a zero
byte in a string
REPNE
47. In interrupt vector table. Introducing a new entry in this mapping table is called ______
an interrupt.
Hooking
48. What does the following instruction do?
ADD AX. BX
Add both registers and load value into ax register
49. The process through which the segment register can be explicitly specified as known
as
Segment addressing
50. REPE and REPNE prefixes are only meaningful with _______.
CMPS
53. _____ and _____ cannot be used as 8bit register pairs like AX, BX, CX, and
DX.
SI, DI
54. AX and BX both are 16-bit register, if we perform AND operation on these two registers,
then how many AND operations will be performed?
16 And operation
55. 8085 can access up to _______ of memory, whereas 8088 can access up to ________
of memory.
64Kb, 1Mb
58. An important role of the stack is in the creation of ____variables that are only needed
while the subroutine is in execution and not afterward.
Local
Addition.
88. Stack is a
Data Structure
89. REPE or REPNE are used with the ------------instructions
SCAS
90. __________Instruction have two parameters, one is the general purpose register to
be loaded and other is the memory location from which to load these registers
LDS
91. Keywords used to define two bytes program
DW
92. The shift logical left operation is the exact______ of shift logical right
Opposite
AL-JUNAID INSTITUTE GROUP
93.
94. Sending the appropriate signal on the control bus to the memory is the responsibility of
Control Bus
95. A parallel port has ------- views
2
96. The mechanism used to drop carry for making the calculated address valid is known
is
address wraparound
97. In________ a zero is inserted form right and every bit moves one position to its left wth
most significant but dropping in to carry flag
Both SHL and SAL
98. The reduction in code size and the improvement in speed are the two reasons why
block processing instruction were introduced in the _____ Processor
8080
99. Mov ax, [NUM1] is a ______ bit move instruction.
16
100. Which of the following is the interrupt number for debug interrupt
INT 3
101. Each entry of the interrupt vector table is of ____ bytes
4
102. If BL contains 000000101 then after a Singe Right Shift, BL will contain
00000010
103. ______can be used to check weather particular bit of number are set or not
AND
104. When the relative address stored with the instruction is in 16 bit , the jump
is called a ______jump
Near
AL-JUNAID INSTITUTE GROUP
104. The Stack of 8088 works on ___Sized element
Word
105. The interrupt call loads new values in segment
Flag
106. Mov AX, 0XB800, Move ES, AX : this instruction points ES to
Video Base
107. When the operant of DIV instruction is of 16 bits then implied dividend will be of
Bits
8
108. Which bit is attribute but representing the blue component of foreground color
0
109. When the operand of DIV instruction is of 16-bits then implied dividend will
be stored in
AX Register
110. Constant can never be used as
destination
111. DB-25 is a _____Port Connector
Parallel
112. Flag register is a special register in every architecture ,, is as also known
as
Program Status Word
113. BP stands for
base pointer
114. Intel follows
little endian
115. Mov [1234].ax is an example of
direct addressing
116. OR is used to clear any specific bit in a binary number
117. In general the memory cell cannot be wider than the width of the
data bus.
118. Source operand always resided in
accumulator register
119. ________always resided in accumulator register
120. source operand
121. INT instruction takes _____argument varying from 0-255.
1 byte
AL-JUNAID INSTITUTE GROUP
122. Program consists of
3 logical parts
123. 8088 provides a mechanism for mapping interrupts to interrupt handlers
is called h
hooking an interrupt.
124. The routine that executes in response to an INT instruction is called the
________or_____
interrupt service routine (ISR) , the interrupt handler.
125. The push operation copies its operand on the stack , while the____operation
makes a copy from the top of the stack into its operand.
pop
126. ROR : in the rotate right operation every bit moves one position to the right and
the bit dropped from the right is inserted at the left and also copied into the carry flag.
127. The segment, offset pair is called a
logical address
128. the local variables and the parameters are always stored in
stack segment
129. SCAS compares a source byte or word in register AL or AX with the
destination string element addressed by ES:DI and updates the flags.
130. JNP and JPO is taken if the last arithmetic operation produced a number in its
destination that has
odd parity
AL-JUNAID INSTITUTE GROUP
130. JP and JPE is taken if the last arithmetic operation produced a number in
its destination that has
even parity.
131. There are two forms of the DIV instruction.
132. Unconditional jump
fixed
136. In which of the following addressing, the memory address is fixed and is given in
the instruction?
Direct
137. _______pair of registers used to access memory
DI and SI
138. Total number of cells is called the
depth
139. ________copies the______in the carry flag
Shift Logical Right (SHR) , right most bit
140. REP with _______ will utilize the full processor power to do the scrolling
in minimum time.
MOVS
141. The correlation process from the interrupt number to the interrupt handler
uses a table called
destination operand
143. The parallel port connector is a 25pin connector called
DB-25
144. The _________port connector is a 25pin connector called DB-25
AL-JUNAID INSTITUTE GROUP
parallel
asynchronous
147. ______instruction allows code reusability in 8088
CALL
148. Program Control Instructions
cmp ax, 0
148. In MULTIPLICATION ALGORITHM ,We take the first digit of the multiplier
and multiply it with the
multiplicand
149. _______jump is taken if the last arithmetic operation changed the sign
unexpectedly.
JO
150. ______is a special instructions
CLI
151. the interrupt call loads new values in
CS
152. A 32bit processor has an accumulator of
32 bits.
153. Left shift on hexa-decimal number 9C40 ans is
0x13880
154. Each entry of the table is of ____bytes
four
155. Video Graphics Adapter
VGA.
156. The instruction “mov [bp], al” moves the one byte content of the AL register
to the address contained in the BP register in the current
stack segment.
AL-JUNAID INSTITUTE GROUP
158. STI stands for
Set Interrupt Flag
159. Flags register is a special register in every architecture, it is also known
as
165. Another important role of the stack is in the creation of _____that are only
needed while the subroutine is in execution and not afterwards.
local variables
166. In Far jump
base+offset
173. _______operation , a carry flag is inserted from left moving every bit one
position to the right, with the right most bit is dropped in carry flag
RCR
174. What does the given instruction do?
set
177. When SI and DI are used, we name the method
Indexed Addressing
178. Which combination will you prefer to obtain the physical address of the stack
SS:SP
179. Whenever we need access to a memory location whose address is not know
until run time we use
index register
180. Interrupts are________event
asynchronous
181. During program execution , if any change in AH or AL is reflected in_______as
Well
AX
AL-JUNAID INSTITUTE GROUP
182. Basic function of register is to
hold operand
183. Which among the following is the pointer registers?
CLD
186. If A is subtracted from B and the resulting answer is negative figure it means B is
?
small number
187. in ___ operation the output is 1 only if only if both inputs are 1 ?
AND
188. The interrupt call loads new values in CS, IP, and
FLAGS.