CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

The iAPX888 architecture consists of _______ register.

3 / 50

In STOS instruction, the implied source will always be in

4 / 50

After the execution of “PUSH AX” statement

5 / 50

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

6 / 50

“Far” jump is not position relative but is _______________

7 / 50

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

8 / 50

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

9 / 50

The clear screen operation initialize whole block of memory

10 / 50

After the execution of STOSW, the CX will be

11 / 50

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

12 / 50

The basic function of SCAS instruction is to

13 / 50

RETF will pop the offset in the

14 / 50

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

15 / 50

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

16 / 50

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

17 / 50

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

18 / 50

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

19 / 50

The iAPX888 architecture consists of _______ register.

20 / 50

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

21 / 50

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

22 / 50

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

23 / 50

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

24 / 50

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

25 / 50

After the execution of instruction “RET 2”

26 / 50

The physical address of the stack is obtained by

27 / 50

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

28 / 50

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

29 / 50

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

30 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

31 / 50

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

32 / 50

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

33 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

34 / 50

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

35 / 50

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

36 / 50

JC and JNC test the ____________ flag.

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

38 / 50

The physical address of the stack is obtained by

39 / 50

Only instructions allow moving data from memory to memory.

40 / 50

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

41 / 50

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

42 / 50

To transfer control back the RET instruction take

43 / 50

The instruction ADC has________ Operand(s)

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

45 / 50

After the execution of instruction “RET ”

46 / 50

In STOS instruction, the implied source will always be in

47 / 50

One screen location corresponds to a

48 / 50

The iAPX88 processor supports ___________ modes of memory access.

49 / 50

| 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______

50 / 50

Assembly language is:

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