CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

After the execution of instruction “RET 2”

2 / 50

JC and JNC test the ____________ flag.

3 / 50

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

4 / 50

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

5 / 50

allow changing specific processor behaviors and are used to play with it.

6 / 50

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

7 / 50

Left-Shift-Operation the left most bit _______

8 / 50

To transfer control back the RET instruction take

9 / 50

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

10 / 50

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

11 / 50

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

12 / 50

Regarding assembler, which statement is true:

13 / 50

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

14 / 50

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

15 / 50

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

16 / 50

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

17 / 50

The physical address of the stack is obtained by

18 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

19 / 50

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

20 / 50

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

21 / 50

In STOSB instruction, when DF is Set, SI is

22 / 50

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

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

24 / 50

To convert any digit to its ASCII representation

25 / 50

REP will always

26 / 50

One screen location corresponds to a

27 / 50

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

28 / 50

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

29 / 50

one DIV instruction has

30 / 50

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

31 / 50

The second byte in the word designated for screen location holds

32 / 50

Code Segment is associated to _______ register by default.

33 / 50

“Far” jump is not position relative but is _______________

34 / 50

In string manipulation whenever an instruction needs a memory source, which of the following will hold the pointer to it?

35 / 50

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

36 / 50

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

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

To transfer control back the RET instruction take

41 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

42 / 50

After the execution of instruction “RET ”

43 / 50

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

44 / 50

The extended ASCII has

45 / 50

Assembly language is:

46 / 50

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

47 / 50

After the execution of STOSW, the CX will be

48 / 50

After the execution of “PUSH AX” statement

49 / 50

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

50 / 50

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

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