CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

2 / 50

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

3 / 50

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

4 / 50

The clear screen operation initialize whole block of memory

5 / 50

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

6 / 50

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

7 / 50

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

8 / 50

After the execution of instruction “RET”

9 / 50

Only instructions allow moving data from memory to memory.

10 / 50

After the execution of STOSW, the CX will be

11 / 50

To convert any digit to its ASCII representation

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

Regarding assembler, which statement is true:

14 / 50

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

15 / 50

Assembly language is:

16 / 50

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

17 / 50

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

18 / 50

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

19 / 50

Code Segment is associated to _______ register by default.

20 / 50

In a video memory, each screen location corresponds to

21 / 50

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

22 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

23 / 50

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

24 / 50

To convert any digit to its ASCII representation

25 / 50

To transfer control back the RET instruction take

26 / 50

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

27 / 50

To transfer control back the RET instruction take

28 / 50

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

29 / 50

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

30 / 50

REP will always

31 / 50

In STOS instruction, the implied source will always be in

32 / 50

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

33 / 50

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

34 / 50

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

35 / 50

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

36 / 50

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

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

one DIV instruction has

41 / 50

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

42 / 50

physical address of the stack is obtained by

43 / 50

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

44 / 50

After the execution of instruction “RET ”

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

After the execution of instruction “RET 2”

49 / 50

The basic function of SCAS instruction is to

50 / 50

The iAPX888 architecture consists of _______ register.

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