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

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

3 / 50

REP will always

4 / 50

one RET is executed, it recovers the values from

5 / 50

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

6 / 50

The basic function of SCAS instruction is to

7 / 50

After the execution of “PUSH AX” statement

8 / 50

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

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

10 / 50

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

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

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

15 / 50

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

16 / 50

An offset alone is not complete without

17 / 50

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

18 / 50

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

19 / 50

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

20 / 50

Code Segment is associated to _______ register by default.

21 / 50

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

22 / 50

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

23 / 50

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

24 / 50

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

25 / 50

The physical address of the stack is obtained by

26 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

27 / 50

Regarding assembler, which statement is true:

28 / 50

The physical address of the stack is obtained by

29 / 50

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

30 / 50

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

31 / 50

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

32 / 50

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

33 / 50

The basic function of SCAS instruction is to

34 / 50

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

35 / 50

The second byte in the word designated for one screen location holds

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

37 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

38 / 50

To convert any digit to its ASCII representation

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

43 / 50

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

44 / 50

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

45 / 50

In STOS instruction, the implied source will always be in

46 / 50

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

47 / 50

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

48 / 50

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

49 / 50

physical address of the stack is obtained by

50 / 50

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

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