CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

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

3 / 50

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

4 / 50

To convert any digit to its ASCII representation

5 / 50

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

6 / 50

To convert any digit to its ASCII representation

7 / 50

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

8 / 50

To transfer control back the RET instruction take

9 / 50

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

10 / 50

The maximum parameters a subroutine can receive (with the help of registers) are

11 / 50

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

12 / 50

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

13 / 50

After the execution of STOSW, the CX will be

14 / 50

REP will always

15 / 50

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

16 / 50

In STOS instruction, the implied source will always be in

17 / 50

One screen location corresponds to a

18 / 50

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

19 / 50

After the execution of instruction “RET”

20 / 50

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

21 / 50

Code Segment is associated to _______ register by default.

22 / 50

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

23 / 50

The basic function of SCAS instruction is to

24 / 50

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

25 / 50

The iAPX888 architecture consists of _______ register.

26 / 50

After the execution of “PUSH AX” statement

27 / 50

The iAPX88 processor supports ___________ modes of memory access.

28 / 50

An offset alone is not complete without

29 / 50

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

30 / 50

In a video memory, each screen location corresponds to

31 / 50

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

32 / 50

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

33 / 50

In 8088 architecture, whenever an element is pushed on the stack

34 / 50

In STOSB instruction, when DF is Set, SI is

35 / 50

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

36 / 50

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

37 / 50

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

38 / 50

REP will always

39 / 50

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

40 / 50

One screen location corresponds to a

41 / 50

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

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

43 / 50

While using STOBS, if DF=1 then

44 / 50

In STOS instruction, the implied source will always be in

45 / 50

The basic function of SCAS instruction is to

46 / 50

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

47 / 50

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

48 / 50

The physical address of the stack is obtained by

49 / 50

assembly the CX register is used normally as a ______________register.

50 / 50

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

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