CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

In STOSB instruction, when DF is Set, SI is

2 / 50

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

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

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

After the execution of instruction “RET”

8 / 50

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

9 / 50

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

10 / 50

RETF will pop the offset in the

11 / 50

REP will always

12 / 50

The iAPX888 architecture consists of _______ register.

13 / 50

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

14 / 50

Only instructions allow moving data from memory to memory.

15 / 50

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

16 / 50

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

17 / 50

The instruction ADC has________ Operand(s)

18 / 50

To convert any digit to its ASCII representation

19 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

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

21 / 50

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

22 / 50

Code Segment is associated to _______ register by default.

23 / 50

Assembly language is:

24 / 50

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

25 / 50

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

26 / 50

After the execution of instruction “RET 2”

27 / 50

The extended ASCII has

28 / 50

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

29 / 50

The basic function of SCAS instruction is to

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

31 / 50

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

32 / 50

“Far” jump is not position relative but is _______________

33 / 50

one DIV instruction has

34 / 50

To convert any digit to its ASCII representation

35 / 50

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

36 / 50

The basic function of SCAS instruction is to

37 / 50

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

38 / 50

Left-Shift-Operation the left most bit _______

39 / 50

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

40 / 50

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

41 / 50

In a video memory, each screen location corresponds to

42 / 50

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

43 / 50

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

44 / 50

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

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

After the execution of SAR instruction:

49 / 50

allow changing specific processor behaviors and are used to play with it.

50 / 50

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

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