CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

Only instructions allow moving data from memory to memory.

2 / 50

The extended ASCII has

3 / 50

The basic function of SCAS instruction is to

4 / 50

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

5 / 50

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

6 / 50

assembly the CX register is used normally as a ______________register.

7 / 50

one RET is executed, it recovers the values from

8 / 50

After the execution of “PUSH AX” statement

9 / 50

_______ register holds the address of next instruction is to be executed

10 / 50

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

11 / 50

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

12 / 50

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

13 / 50

After the execution of instruction “RET ”

14 / 50

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

15 / 50

In a video memory, each screen location corresponds to

16 / 50

After the execution of STOSW the CX will be

17 / 50

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

18 / 50

One screen location corresponds to a

19 / 50

JC and JNC test the ____________ flag.

20 / 50

physical address of the stack is obtained by

21 / 50

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

22 / 50

Left-Shift-Operation the left most bit _______

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

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

27 / 50

REP will always

28 / 50

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

29 / 50

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

30 / 50

While using STOBS, if DF=1 then

31 / 50

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

32 / 50

In STOSB instruction, when DF is Set, SI is

33 / 50

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

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 maximum parameters a subroutine can receive (with the help of registers) are

36 / 50

Which bit of the attributes byte represents the blue component of foreground color

37 / 50

In a video memory, each screen location corresponds to

38 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

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

43 / 50

mov ax,5 has

44 / 50

If the address of memory location Num1 is 0117 and its content is 0005 then after execution of the instruction “ mov bx, Num1” bx will contain

45 / 50

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

46 / 50

After the execution of “PUSH AX” statement

47 / 50

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

48 / 50

which bit sets the character "blinking" on the screen?

49 / 50

In the word designated for one screen location, the higher address contains

50 / 50

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

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