CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

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

3 / 50

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

4 / 50

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

5 / 50

In STOSB instruction, when DF is Set, SI is

6 / 50

The physical address of the stack is obtained by

7 / 50

After the execution of STOSW the CX will be

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

12 / 50

Assembly language is:

13 / 50

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

14 / 50

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

15 / 50

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

16 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

17 / 50

When two 16bit numbers are added the answer can be 17 bits long, this extra bit that won’t fit in the target register is placed in the where it can be used and tested

18 / 50

In a video memory, each screen location corresponds to

19 / 50

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

20 / 50

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

21 / 50

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

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

23 / 50

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

24 / 50

REP will always

25 / 50

8088 is a 16bit processor with its accumulator and all registers of __________.

26 / 50

Left-Shift-Operation the left most bit _______

27 / 50

assembly the CX register is used normally as a ______________register.

28 / 50

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

29 / 50

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

30 / 50

one RET is executed, it recovers the values from

31 / 50

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

32 / 50

After the execution of SAR instruction:

33 / 50

The iAPX888 architecture consists of _______ register.

34 / 50

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

35 / 50

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

36 / 50

One screen location corresponds to a

37 / 50

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

38 / 50

While using STOBS, if DF=1 then

39 / 50

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

40 / 50

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

41 / 50

The basic function of SCAS instruction is to

42 / 50

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

43 / 50

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

44 / 50

Regarding assembler, which statement is true:

45 / 50

Code Segment is associated to _______ register by default.

46 / 50

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

47 / 50

REP will always

48 / 50

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

49 / 50

In a video memory, each screen location corresponds to

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