CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

8088 is a 16bit processor with its accumulator and all registers of __________.

2 / 50

After the execution of STOSW the CX will be

3 / 50

To convert any digit to its ASCII representation

4 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

5 / 50

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

6 / 50

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

7 / 50

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

8 / 50

one DIV instruction has

9 / 50

An offset alone is not complete without

10 / 50

To convert any digit to its ASCII representation

11 / 50

After the execution of STOSW, the CX will be

12 / 50

The extended ASCII has

13 / 50

When the operand of DIV instruction is of 16 bits then implied dividend will be of

14 / 50

_________ is one of the reasons due to which string instructions are used in 8088

15 / 50

ASCII stands for ____________. The screen is two dimensional space having:

16 / 50

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

17 / 50

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

18 / 50

The basic function of SCAS instruction is to

19 / 50

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

20 / 50

A 32 Bit processor has accumulator of ---------

21 / 50

Code Segment is associated to _______ register by default.

22 / 50

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

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

24 / 50

While using STOBS, if DF=1 then

25 / 50

“mov byte [num1], 5” is _________ instruction.

26 / 50

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

27 / 50

assembly the CX register is used normally as a ______________register.

28 / 50

REP will always

29 / 50

In STOSB instruction, when DF is Set, SI is

30 / 50

allow changing specific processor behaviors and are used to play with it.

31 / 50

The second byte in the word designated for screen location holds

32 / 50

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

33 / 50

In STOS instruction, the implied source will always be in

34 / 50

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

35 / 50

Only instructions allow moving data from memory to memory.

36 / 50

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

37 / 50

After the execution of MOVS instruction which of the following registers are updated

38 / 50

After the execution of “PUSH AX” statement

39 / 50

All the addressing mechanisms in iAPX88 return a number called _____________ address.

40 / 50

To transfer control back the RET instruction take

41 / 50

The instruction ADC has________ Operand(s)

42 / 50

Execution of the instruction “mov word [ES : 0], 0x0741” will print

43 / 50

one Only ___________ instructions allow moving data from memory to memory.

44 / 50

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

45 / 50

When a 32 bit number is divided by a 16 bit number, the quotient is of

46 / 50

To transfer control back the RET instruction take

47 / 50

Which bit of the attributes byte represents the blue component of foreground color

48 / 50

One screen location corresponds to a

49 / 50

Regarding assembler, which statement is true:

50 / 50

The execution of the instruction “mov word [ES: DI], 0x0720”

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