CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

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

3 / 50

In STOS instruction, the implied source will always be in

4 / 50

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

5 / 50

One screen location corresponds to a

6 / 50

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

7 / 50

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

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

In a video memory, each screen location corresponds to

15 / 50

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

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

17 / 50

one RET is executed, it recovers the values from

18 / 50

REP will always

19 / 50

When a 32 bit number is divided by a 16 bit number, the quotient is of

20 / 50

“Far” jump is not position relative but is _______________

21 / 50

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

22 / 50

To convert any digit to its ASCII representation

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

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

27 / 50

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

28 / 50

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

29 / 50

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

30 / 50

After the execution of SAR instruction:

31 / 50

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

32 / 50

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

33 / 50

To transfer control back the RET instruction take

34 / 50

In a video memory, each screen location corresponds to

35 / 50

Only instructions allow moving data from memory to memory.

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

37 / 50

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

38 / 50

After the execution of “PUSH AX” statement

39 / 50

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

40 / 50

After the execution of instruction “RET 2”

41 / 50

Regarding assembler, which statement is true:

42 / 50

The execution of the instruction “mov word [ES : 160], 0x1230” will print a character “0” on the screen at

43 / 50

The execution of the instruction “mov word [ES: DI], 0x0720”

44 / 50

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

45 / 50

In STOSB instruction, when DF is Set, SI is

46 / 50

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

47 / 50

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

48 / 50

To convert any digit to its ASCII representation

49 / 50

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

50 / 50

After the execution of STOSW the CX will be

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