CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

The extended ASCII has

2 / 50

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

3 / 50

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

4 / 50

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

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

6 / 50

The iAPX888 architecture consists of _______ register.

7 / 50

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

8 / 50

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

9 / 50

In STOS instruction, the implied source will always be in

10 / 50

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

11 / 50

After the execution of instruction “RET”

12 / 50

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

13 / 50

The physical address of the stack is obtained by

14 / 50

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

15 / 50

The clear screen operation initialize whole block of memory

16 / 50

RETF will pop the offset in the

17 / 50

After the execution of STOSW, the CX will be

18 / 50

After the execution of STOSW the CX will be

19 / 50

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

20 / 50

The physical address of the stack is obtained by

21 / 50

Regarding assembler, which statement is true:

22 / 50

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

23 / 50

The execution of the instruction “mov word [ES : 160], 0x1230” will print a character “0” on the screen at

24 / 50

After the execution of instruction “RET ”

25 / 50

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

26 / 50

While using STOBS, if DF=1 then

27 / 50

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

28 / 50

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

29 / 50

After the execution of SAR instruction:

30 / 50

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

31 / 50

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

32 / 50

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

33 / 50

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

34 / 50

Only instructions allow moving data from memory to memory.

35 / 50

REP will always

36 / 50

In STOSB instruction, when DF is Set, SI is

37 / 50

One screen location corresponds to a

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

To convert any digit to its ASCII representation

42 / 50

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

43 / 50

Assembly language is:

44 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

The second byte in the word designated for screen location holds

49 / 50

After the execution of instruction “RET 2”

50 / 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:

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