CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

The physical address of the stack is obtained by

2 / 50

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

3 / 50

one DIV instruction has

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

“Far” jump is not position relative but is _______________

8 / 50

The instruction ADC has________ Operand(s)

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

10 / 50

In STOS instruction, the implied source will always be in

11 / 50

one Only ___________ instructions allow moving data from memory to memory.

12 / 50

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

13 / 50

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

14 / 50

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

15 / 50

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

16 / 50

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

17 / 50

The extended ASCII has

18 / 50

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

19 / 50

In a video memory, each screen location corresponds to

20 / 50

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

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

22 / 50

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

23 / 50

JC and JNC test the ____________ flag.

24 / 50

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

25 / 50

The basic function of SCAS instruction is to

26 / 50

While using STOBS, if DF=1 then

27 / 50

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

28 / 50

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

29 / 50

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

30 / 50

After the execution of instruction “RET 2”

31 / 50

The second byte in the word designated for screen location holds

32 / 50

Stack is a ______ that behaves in a first in last out manner.

33 / 50

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

34 / 50

The second byte in the word designated for one screen location holds

35 / 50

Left-Shift-Operation the left most bit _______

36 / 50

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

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

One screen location corresponds to a

43 / 50

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

44 / 50

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

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

After the execution of “PUSH AX” statement

49 / 50

The physical address of the stack is obtained by

50 / 50

REP will always

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