CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

The physical address of the stack is obtained by

2 / 50

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

3 / 50

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

4 / 50

To transfer control back the RET instruction take

5 / 50

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

6 / 50

After the execution of STOSW the CX will be

7 / 50

To convert any digit to its ASCII representation

8 / 50

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

9 / 50

“mov byte [num1], 5” is _________ instruction.

10 / 50

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

11 / 50

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

12 / 50

The second byte in the word designated for screen location holds

13 / 50

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

14 / 50

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

15 / 50

If the address of memory location Num1 is 0117 and its content is 0005 then after execution of the instruction “ mov bx, Num1” bx will contain

16 / 50

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

17 / 50

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

18 / 50

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

19 / 50

One screen location corresponds to a

20 / 50

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

21 / 50

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

22 / 50

physical address of the stack is obtained by

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

One screen location corresponds to a

27 / 50

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

28 / 50

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

29 / 50

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

30 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

31 / 50

The instruction ADC has________ Operand(s)

32 / 50

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

33 / 50

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

34 / 50

RETF will pop the offset in the

35 / 50

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

36 / 50

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

37 / 50

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

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 routine that executes in response to an INT instruction is called

40 / 50

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

41 / 50

The physical address of the stack is obtained by

42 / 50

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

43 / 50

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

44 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

45 / 50

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

46 / 50

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

47 / 50

assembly the CX register is used normally as a ______________register.

48 / 50

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

49 / 50

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

50 / 50

To transfer control back the RET instruction take

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