CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

REP will always

2 / 50

assembly the CX register is used normally as a ______________register.

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

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

5 / 50

After the execution of “PUSH AX” statement

6 / 50

one DIV instruction has

7 / 50

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

8 / 50

The extended ASCII has

9 / 50

In a video memory, each screen location corresponds to

10 / 50

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

11 / 50

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

12 / 50

In the Rotate Right Operation every bit moves one position to right and the bit dropped from the right is inserted at the left and:

13 / 50

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

14 / 50

To convert any digit to its ASCII representation

15 / 50

After the execution of “PUSH AX” statement

16 / 50

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

17 / 50

The basic function of SCAS instruction is to

18 / 50

One screen location corresponds to a

19 / 50

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

20 / 50

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

21 / 50

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

22 / 50

To convert any digit to its ASCII representation

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

27 / 50

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

28 / 50

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

29 / 50

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

30 / 50

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

31 / 50

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

32 / 50

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

33 / 50

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

34 / 50

In STOS instruction, the implied source will always be in

35 / 50

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

36 / 50

mov ax,5 has

37 / 50

REP will always

38 / 50

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

39 / 50

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

40 / 50

Only instructions allow moving data from memory to memory.

41 / 50

After the execution of SAR instruction:

42 / 50

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

43 / 50

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

44 / 50

The basic function of SCAS instruction is to

45 / 50

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

46 / 50

The iAPX88 processor supports ___________ modes of memory access.

47 / 50

The physical address of the stack is obtained by

48 / 50

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

49 / 50

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

50 / 50

The physical address of the stack is obtained by

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