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

mov ax,5 has

3 / 50

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

4 / 50

In STOSB instruction, when DF is Set, SI is

5 / 50

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

6 / 50

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

7 / 50

physical address of the stack is obtained by

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

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

12 / 50

The prevalent convention in most high level languages is stack clearing by the

13 / 50

The basic function of SCAS instruction is to

14 / 50

Assembly language is:

15 / 50

The physical address of the stack is obtained by

16 / 50

The physical address of the stack is obtained by

17 / 50

In STOS instruction, the implied source will always be in

18 / 50

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

19 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

20 / 50

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

21 / 50

To convert any digit to its ASCII representation

22 / 50

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

23 / 50

one RET is executed, it recovers the values from

24 / 50

The iAPX888 architecture consists of _______ register.

25 / 50

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

26 / 50

In STOS instruction, the implied source will always be in

27 / 50

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

28 / 50

After the execution of STOSW the CX will be

29 / 50

Code Segment is associated to _______ register by default.

30 / 50

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

31 / 50

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

32 / 50

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

33 / 50

The iAPX888 architecture consists of _______ register.

34 / 50

To transfer control back the RET instruction take

35 / 50

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

36 / 50

The instruction ADC has________ Operand(s)

37 / 50

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

38 / 50

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

39 / 50

The physical address of the stack is obtained by

40 / 50

After the execution of “PUSH AX” statement

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

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

43 / 50

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

44 / 50

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

45 / 50

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

46 / 50

One screen location corresponds to a

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

After the execution of SAR instruction:

49 / 50

RETF will pop the offset in the

50 / 50

After the execution of instruction “RET”

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