CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

While using STOBS, if DF=1 then

2 / 50

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

3 / 50

Regarding assembler, which statement is true:

4 / 50

one RET is executed, it recovers the values from

5 / 50

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

6 / 50

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

7 / 50

Code Segment is associated to _______ register by default.

8 / 50

The iAPX888 architecture consists of _______ register.

9 / 50

In STOS instruction, the implied source will always be in

10 / 50

After the execution of “PUSH AX” statement

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

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

15 / 50

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

16 / 50

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

17 / 50

The maximum parameters a subroutine can receive (with the help of registers) are

18 / 50

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

19 / 50

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

20 / 50

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

21 / 50

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

22 / 50

After the execution of instruction “RET”

23 / 50

The physical address of the stack is obtained by

24 / 50

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

25 / 50

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

26 / 50

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

27 / 50

The iAPX888 architecture consists of _______ register.

28 / 50

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

29 / 50

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

30 / 50

The basic function of SCAS instruction is to

31 / 50

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

32 / 50

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

33 / 50

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

34 / 50

To convert any digit to its ASCII representation

35 / 50

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

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

37 / 50

The extended ASCII has

38 / 50

After the execution of SAR instruction:

39 / 50

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

40 / 50

The iAPX88 processor supports ___________ modes of memory access.

41 / 50

To convert any digit to its ASCII representation

42 / 50

An offset alone is not complete without

43 / 50

In STOS instruction, the implied source will always be in

44 / 50

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

45 / 50

The physical address of the stack is obtained by

46 / 50

Only instructions allow moving data from memory to memory.

47 / 50

mov ax,5 has

48 / 50

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

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

50 / 50

One screen location corresponds to a

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