CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

2 / 50

An offset alone is not complete without

3 / 50

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

4 / 50

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

5 / 50

In STOSB instruction, when DF is Set, SI is

6 / 50

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

7 / 50

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

8 / 50

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

9 / 50

Which of the following options contain the set of instructions to open a window to the video memory?

10 / 50

The physical address of the stack is obtained by

11 / 50

To convert any digit to its ASCII representation

12 / 50

One screen location corresponds to a

13 / 50

The iAPX888 architecture consists of _______ register.

14 / 50

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

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

16 / 50

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

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

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

19 / 50

The iAPX88 processor supports ___________ modes of memory access.

20 / 50

The basic function of SCAS instruction is to

21 / 50

In STOS instruction, the implied source will always be in

22 / 50

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

23 / 50

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

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

25 / 50

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

26 / 50

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

27 / 50

In a video memory, each screen location corresponds to

28 / 50

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

29 / 50

In assembly the CX register is used normally as a ______________register.

30 / 50

one RET is executed, it recovers the values from

31 / 50

The basic function of SCAS instruction is to

32 / 50

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

33 / 50

The iAPX888 architecture consists of _______ register.

34 / 50

The extended ASCII has

35 / 50

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

36 / 50

one DIV instruction has

37 / 50

After the execution of instruction “RET ”

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

To transfer control back the RET instruction take

43 / 50

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

44 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

One screen location corresponds to a

49 / 50

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

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