CS401 Midterm Online Quiz

0%

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

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

3 / 50

If the direction of the processing of a string is from higher addresses towards lower addresses then

4 / 50

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

5 / 50

assembly the CX register is used normally as a ______________register.

6 / 50

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

7 / 50

The iAPX88 processor supports ___________ modes of memory access.

8 / 50

The second byte in the word designated for one screen location holds

9 / 50

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

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

11 / 50

The basic function of SCAS instruction is to

12 / 50

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

13 / 50

Code Segment is associated to _______ register by default.

14 / 50

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

15 / 50

which bit sets the character "blinking" on the screen?

16 / 50

The physical address of the stack is obtained by

17 / 50

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

18 / 50

one RET is executed, it recovers the values from

19 / 50

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

20 / 50

The basic function of SCAS instruction is to

21 / 50

RETF will pop the offset in the

22 / 50

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

23 / 50

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

24 / 50

In STOSB instruction, when DF is Set, SI is

25 / 50

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

26 / 50

To convert any digit to its ASCII representation

27 / 50

The clear screen operation initialize whole block of memory

28 / 50

The extended ASCII has

29 / 50

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

30 / 50

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

31 / 50

After the execution of SAR instruction:

32 / 50

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

33 / 50

“Far” jump is not position relative but is _______________

34 / 50

REP will always

35 / 50

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

36 / 50

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

37 / 50

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

38 / 50

To transfer control back the RET instruction take

39 / 50

To convert any digit to its ASCII representation

40 / 50

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

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

42 / 50

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

43 / 50

In a video memory, each screen location corresponds to

44 / 50

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

45 / 50

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

46 / 50

In STOS instruction, the implied source will always be in

47 / 50

MOV instruction transfers a byte or word from which of the following source location.

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

49 / 50

One screen location corresponds to a

50 / 50

Only instructions allow moving data from memory to memory.

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