CS401 Midterm Online Quiz

0%

CS401-Midterm

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

2 / 50

one RET is executed, it recovers the values from

3 / 50

After the execution of STOSW the CX will be

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

5 / 50

In a video memory, each screen location corresponds to

6 / 50

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

7 / 50

After the execution of STOSW, the CX will be

8 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

9 / 50

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

10 / 50

After the execution of instruction “RET ”

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

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

15 / 50

assembly the CX register is used normally as a ______________register.

16 / 50

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

17 / 50

To convert any digit to its ASCII representation

18 / 50

REP will always

19 / 50

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

20 / 50

Only instructions allow moving data from memory to memory.

21 / 50

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

22 / 50

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

23 / 50

mov ax,5 has

24 / 50

The iAPX888 architecture consists of _______ register.

25 / 50

The instruction ADC has________ Operand(s)

26 / 50

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

27 / 50

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

28 / 50

If we want to divide a signed number by 2, this operation can better be accomplished by

29 / 50

One screen location corresponds to a

30 / 50

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

31 / 50

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

32 / 50

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

33 / 50

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

34 / 50

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

35 / 50

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

36 / 50

The physical address of the stack is obtained by

37 / 50

REP will always

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

After the execution of “PUSH AX” statement

42 / 50

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

43 / 50

In a video memory, each screen location corresponds to

44 / 50

The iAPX888 architecture consists of _______ register.

45 / 50

In STOS instruction, the implied source will always be in

46 / 50

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

47 / 50

After the execution of instruction “RET 2”

48 / 50

The basic function of SCAS instruction is to

49 / 50

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

50 / 50

Regarding assembler, which statement is true:

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