CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

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

3 / 50

The instruction ADC has________ Operand(s)

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

mov ax,5 has

8 / 50

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

9 / 50

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

10 / 50

To transfer control back the RET instruction take

11 / 50

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

12 / 50

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

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

14 / 50

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

15 / 50

An offset alone is not complete without

16 / 50

Regarding assembler, which statement is true:

17 / 50

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

18 / 50

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

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

20 / 50

The extended ASCII has

21 / 50

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

22 / 50

In a video memory, each screen location corresponds to

23 / 50

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

24 / 50

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

25 / 50

decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack

26 / 50

After the execution of “PUSH AX” statement

27 / 50

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

28 / 50

The iAPX88 processor supports ___________ modes of memory access.

29 / 50

After the execution of instruction “RET ”

30 / 50

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

31 / 50

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

32 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

33 / 50

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

34 / 50

Left-Shift-Operation the left most bit _______

35 / 50

physical address of the stack is obtained by

36 / 50

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

37 / 50

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

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

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

40 / 50

The basic function of SCAS instruction is to

41 / 50

REP will always

42 / 50

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

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

44 / 50

Assembly language is:

45 / 50

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

46 / 50

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

47 / 50

The physical address of the stack is obtained by

48 / 50

After the execution of STOSW, the CX will be

49 / 50

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

50 / 50

RETF will pop the offset in the

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