CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

A 32 Bit processor has accumulator of ---------

3 / 50

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

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

After the execution of “PUSH AX” statement

8 / 50

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

9 / 50

After the execution of STOSW, the CX will be

10 / 50

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

11 / 50

The physical address of the stack is obtained by

12 / 50

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

13 / 50

mov ax,5 has

14 / 50

“Far” jump is not position relative but is _______________

15 / 50

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

16 / 50

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

17 / 50

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

18 / 50

The physical address of the stack is obtained by

19 / 50

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

20 / 50

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

21 / 50

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

22 / 50

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

23 / 50

The clear screen operation initialize whole block of memory

24 / 50

One screen location corresponds to a

25 / 50

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

26 / 50

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

27 / 50

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

28 / 50

To transfer control back the RET instruction take

29 / 50

assembly the CX register is used normally as a ______________register.

30 / 50

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

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

32 / 50

After the execution of SAR instruction:

33 / 50

RETF will pop the offset in the

34 / 50

The physical address of the stack is obtained by

35 / 50

Only instructions allow moving data from memory to memory.

36 / 50

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

37 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

38 / 50

To transfer control back the RET instruction take

39 / 50

To convert any digit to its ASCII representation

40 / 50

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

41 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

42 / 50

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

43 / 50

REP will always

44 / 50

The iAPX88 processor supports ___________ modes of memory access.

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

JC and JNC test the ____________ flag.

49 / 50

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

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