CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack

2 / 50

In STOSB instruction, when DF is Set, SI is

3 / 50

CMPS instruction subtracts the source location to the destination location. Destination location always lies in

4 / 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

5 / 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

6 / 50

While using STOBS, if DF=1 then

7 / 50

After the execution of “PUSH AX” statement

8 / 50

Which bit of the attributes byte represents the red component of background color ?

9 / 50

Which bit of the attributes byte represents the blue component of background color ?

10 / 50

The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen, color of the character will be

11 / 50

An offset alone is not complete without

12 / 50

All the addressing mechanisms iniAPX88 return a number called ______ address.

13 / 50

If the address of memory location Num1 is 0117 and its content is 0005 then after execution of the instruction “ mov bx, Num1” bx will contain

14 / 50

Left-Shift-Operation the left most bit _______

15 / 50

The basic function of SCAS instruction is to

16 / 50

When an item is pushed on the decrementing stack, the top of the stack is

17 / 50

To convert any digit to its ASCII representation

18 / 50

In a video memory, each screen location corresponds to

19 / 50

In the instruction “CMP AX,BX” the contents of

20 / 50

When a 16 bit number is divided by an 8 bit number, the quotient will be in

21 / 50

_______ register holds the address of next instruction is to be executed

22 / 50

In STOS instruction, the implied source will always be in

23 / 50

RETF will pop the offset in the

24 / 50

When a 32 bit number is divided by a 16 bit number, the quotient will be stored in

25 / 50

| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______

26 / 50

if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label

27 / 50

In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?

28 / 50

The physical address of the stack is obtained by

29 / 50

one RET is executed, it recovers the values from

30 / 50

The first instruction of “COM” file must be at offset:

31 / 50

The second byte in the word designated for screen location holds

32 / 50

When a 16 bit number is divided by an 8 bit number, the quotient will be in

33 / 50

In STOS instruction, the implied source will always be in

34 / 50

assembly the CX register is used normally as a ______________register.

35 / 50

Stack is a ______ that behaves in a first in last out manner.

36 / 50

The basic function of SCAS instruction is to

37 / 50

After execution of JCXZ instruction CX will changed with flag affect.

38 / 50

If we want to divide a signed number by 2, this operation can better be accomplished by

39 / 50

The execution of the instruction “mov word [ES : 160], 0x1230” will print a character “0” on the screen at

40 / 50

The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be

41 / 50

The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be

42 / 50

The iAPX88 processor supports ___________ modes of memory access.

43 / 50

The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be

44 / 50

The routine that executes in response to an INT instruction is called

45 / 50

One screen location corresponds to a

46 / 50

To transfer control back the RET instruction take

47 / 50

The iAPX888 architecture consists of _______ register.

48 / 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:

49 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

50 / 50

Each screen location corresponds to a word, the lower byte of this word contains ____

Your score is

The average score is 64%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi