CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

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

3 / 50

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

4 / 50

After the execution of instruction “RET”

5 / 50

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

6 / 50

The physical address of the stack is obtained by

7 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

8 / 50

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

9 / 50

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

10 / 50

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

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

12 / 50

One screen location corresponds to a

13 / 50

After the execution of STOSW the CX will be

14 / 50

In STOS instruction, the implied source will always be in

15 / 50

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

16 / 50

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

17 / 50

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

18 / 50

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

19 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

20 / 50

The instruction ADC has________ Operand(s)

21 / 50

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

22 / 50

In STOS instruction, the implied source will always be in

23 / 50

In the word designated for one screen location, the higher address contains

24 / 50

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

25 / 50

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

26 / 50

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

27 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

28 / 50

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

29 / 50

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

30 / 50

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

31 / 50

mov ax,5 has

32 / 50

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

33 / 50

The second byte in the word designated for screen location holds

34 / 50

In the instruction MOV AX, 5 the number of operands are

35 / 50

Assembly language is:

36 / 50

After the execution of REP instruction CX will be decremented then which of the following flags will be affected?

37 / 50

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

38 / 50

An offset alone is not complete without

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

40 / 50

After the execution of REP instruction CX will be decremented then which of the following flags will be affected?

41 / 50

In a video memory, each screen location corresponds to

42 / 50

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

43 / 50

To convert any digit to its ASCII representation

44 / 50

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

45 / 50

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

46 / 50

After the execution of REP instruction CX will be decremented then which of the following flags will be affected?

47 / 50

After the execution of instruction “RET ”

48 / 50

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

49 / 50

One screen location corresponds to a

50 / 50

JC and JNC test the ____________ flag.

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