CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

3 / 50

The basic function of SCAS instruction is to

4 / 50

After the execution of STOSW, the CX will be

5 / 50

In STOS instruction, the implied source will always be in

6 / 50

To transfer control back the RET instruction take

7 / 50

The second byte in the word designated for screen location holds

8 / 50

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

9 / 50

To convert any digit to its ASCII representation

10 / 50

After the execution of STOSW the CX will be

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

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

15 / 50

mov ax,5 has

16 / 50

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

17 / 50

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

18 / 50

Assembly language is:

19 / 50

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

20 / 50

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

21 / 50

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

22 / 50

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

23 / 50

physical address of the stack is obtained by

24 / 50

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

25 / 50

Only instructions allow moving data from memory to memory.

26 / 50

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

27 / 50

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

28 / 50

To transfer control back the RET instruction take

29 / 50

After the execution of “PUSH AX” statement

30 / 50

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

31 / 50

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

32 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

33 / 50

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

34 / 50

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

35 / 50

one DIV instruction has

36 / 50

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

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

After the execution of instruction “RET ”

43 / 50

One screen location corresponds to a

44 / 50

In STOSB instruction, when DF is Set, SI is

45 / 50

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

46 / 50

In a video memory, each screen location corresponds to

47 / 50

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

48 / 50

After the execution of SAR instruction:

49 / 50

After the execution of instruction “RET”

50 / 50

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

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