CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

The basic function of SCAS instruction is to

2 / 50

One screen location corresponds to a

3 / 50

REP will always

4 / 50

The physical address of the stack is obtained by

5 / 50

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

6 / 50

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

7 / 50

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

8 / 50

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

9 / 50

In STOS instruction, the implied source will always be in

10 / 50

The second byte in the word designated for screen location holds

11 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

12 / 50

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

13 / 50

After the execution of SAR instruction:

14 / 50

To transfer control back the RET instruction take

15 / 50

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

16 / 50

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

17 / 50

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

18 / 50

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

19 / 50

After the execution of instruction “RET”

20 / 50

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

21 / 50

After the execution of STOSW, the CX will be

22 / 50

Left-Shift-Operation the left most bit _______

23 / 50

The extended ASCII has

24 / 50

The instruction ADC has________ Operand(s)

25 / 50

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

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

27 / 50

physical address of the stack is obtained by

28 / 50

After the execution of “PUSH AX” statement

29 / 50

The iAPX888 architecture consists of _______ register.

30 / 50

REP will always

31 / 50

The clear screen operation initialize whole block of memory

32 / 50

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

33 / 50

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

34 / 50

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

35 / 50

In STOS instruction, the implied source will always be in

36 / 50

To convert any digit to its ASCII representation

37 / 50

RETF will pop the offset in the

38 / 50

“Far” jump is not position relative but is _______________

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

Code Segment is associated to _______ register by default.

43 / 50

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

44 / 50

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

45 / 50

The basic function of SCAS instruction is to

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

47 / 50

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

48 / 50

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

49 / 50

To convert any digit to its ASCII representation

50 / 50

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

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