CS401-Midterm
1 / 50
The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be
2 / 50
The prevalent convention in most high level languages is stack clearing by the
3 / 50
REP will always
4 / 50
Which bit of the attributes byte represents the red component of background color ?
5 / 50
When a 16 bit number is divided by an 8 bit number, the quotient will be in
6 / 50
Stack is a ______ that behaves in a first in last out manner.
7 / 50
The clear screen operation initialize whole block of memory
8 / 50
9 / 50
JC and JNC test the ____________ flag.
10 / 50
11 / 50
if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label
12 / 50
In the Rotate Right Operation every bit moves one position to right and the bit dropped from the right is inserted at the left and:
13 / 50
“Far” jump is not position relative but is _______________
14 / 50
When a 32 bit number is divided by a 16 bit number, the quotient will be stored in
15 / 50
After the execution of SAR instruction:
16 / 50
The physical address of the stack is obtained by
17 / 50
When a very large number is divided by very small number so that the quotient is larger than the space provided, this is called
18 / 50
Which of the following options contain the set of instructions to open a window to the video memory?
19 / 50
In 8088 architecture, whenever an element is pushed on the stack
20 / 50
allow changing specific processor behaviors and are used to play with it.
21 / 50
The iAPX888 architecture consists of _______ register.
22 / 50
After the execution of STOSW, the CX will be
23 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be
24 / 50
The iAPX88 processor supports ___________ modes of memory access.
25 / 50
In the instruction MOV AX, 5 the number of operands are
26 / 50
When an item is pushed on the decrementing stack, the top of the stack is
27 / 50
one Only ___________ instructions allow moving data from memory to memory.
28 / 50
CMPS instruction subtracts the source location to the destination location. Destination location always lies in
29 / 50
30 / 50
Which is the unidirectional bus ?
Control Bus
(II) Data Bus
(III) Address Bus
31 / 50
32 / 50
| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______
33 / 50
In the instruction “CMP AX,BX” the contents of
34 / 50
When two 16bit numbers are added the answer can be 17 bits long, this extra bit that won’t fit in the target register is placed in the where it can be used and tested
35 / 50
To convert any digit to its ASCII representation
36 / 50
In STOSB instruction, when DF is Set, SI is
37 / 50
The routine that executes in response to an INT instruction is called
38 / 50
An offset alone is not complete without
39 / 50
After execution of JCXZ instruction CX will changed with flag affect.
40 / 50
which bit sets the character "blinking" on the screen?
41 / 50
The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen, color of the character will be
42 / 50
After the execution of MOVS instruction which of the following registers are updated
43 / 50
When the operand of DIV instruction is of 16 bits then implied dividend will be of
44 / 50
45 / 50
46 / 50
“mov byte [num1],5” is _______ instruction.
47 / 50
In STOS instruction, the implied source will always be in
48 / 50
If we want to divide a signed number by 2, this operation can better be accomplished by
49 / 50
50 / 50
Execution of the instruction “mov word [ES : 0], 0x0741” will print
Your score is
The average score is 64%
Restart quiz