CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

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

3 / 50

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

4 / 50

“Far” jump is not position relative but is _______________

5 / 50

An offset alone is not complete without

6 / 50

The basic function of SCAS instruction is to

7 / 50

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

8 / 50

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

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

10 / 50

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

11 / 50

The extended ASCII has

12 / 50

Assembly language is:

13 / 50

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

14 / 50

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

15 / 50

The basic function of SCAS instruction is to

16 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

17 / 50

In STOS instruction, the implied source will always be in

18 / 50

RETF will pop the offset in the

19 / 50

Regarding assembler, which statement is true:

20 / 50

REP will always

21 / 50

physical address of the stack is obtained by

22 / 50

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

23 / 50

ASCII stands for ____________. The screen is two dimensional space having:

24 / 50

Code Segment is associated to _______ register by default.

25 / 50

One screen location corresponds to a

26 / 50

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

27 / 50

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

28 / 50

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

29 / 50

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

30 / 50

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

31 / 50

The iAPX888 architecture consists of _______ register.

32 / 50

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

33 / 50

One screen location corresponds to a

34 / 50

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

35 / 50

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

36 / 50

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

37 / 50

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

38 / 50

After the execution of “PUSH AX” statement

39 / 50

After the execution of instruction “RET”

40 / 50

After the execution of “PUSH AX” statement

41 / 50

assembly the CX register is used normally as a ______________register.

42 / 50

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

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

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

45 / 50

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

46 / 50

JC and JNC test the ____________ flag.

47 / 50

After the execution of SAR instruction:

48 / 50

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

49 / 50

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

50 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

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