CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

The iAPX888 architecture consists of _______ register.

3 / 50

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

4 / 50

The basic function of SCAS instruction is to

5 / 50

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

6 / 50

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

7 / 50

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

8 / 50

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

9 / 50

After the execution of “PUSH AX” statement

10 / 50

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

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

In a video memory, each screen location corresponds to

15 / 50

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

16 / 50

Only instructions allow moving data from memory to memory.

17 / 50

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

18 / 50

After the execution of STOSW, the CX will be

19 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

20 / 50

The basic function of SCAS instruction is to

21 / 50

one RET is executed, it recovers the values from

22 / 50

The physical address of the stack is obtained by

23 / 50

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

24 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

25 / 50

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

26 / 50

one Only ___________ instructions allow moving data from memory to memory.

27 / 50

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

28 / 50

To transfer control back the RET instruction take

29 / 50

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

30 / 50

After the execution of instruction “RET”

31 / 50

The basic function of SCAS instruction is to

32 / 50

assembly the CX register is used normally as a ______________register.

33 / 50

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

34 / 50

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

35 / 50

After the execution of SAR instruction:

36 / 50

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

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

To transfer control back the RET instruction take

41 / 50

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

42 / 50

In STOSB instruction, when DF is Set, SI is

43 / 50

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

44 / 50

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

45 / 50

Assembly language is:

46 / 50

The iAPX88 processor supports ___________ modes of memory access.

47 / 50

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

48 / 50

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

49 / 50

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

50 / 50

“Far” jump is not position relative but is _______________

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