CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

While using STOBS, if DF=1 then

3 / 50

In a video memory, each screen location corresponds to

4 / 50

In STOS instruction, the implied source will always be in

5 / 50

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

6 / 50

REP will always

7 / 50

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

8 / 50

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

9 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

10 / 50

Left-Shift-Operation the left most bit _______

11 / 50

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

12 / 50

one DIV instruction has

13 / 50

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

14 / 50

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

15 / 50

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

16 / 50

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

17 / 50

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

18 / 50

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

19 / 50

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

20 / 50

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

21 / 50

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

22 / 50

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

23 / 50

physical address of the stack is obtained by

24 / 50

To transfer control back the RET instruction take

25 / 50

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

26 / 50

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

27 / 50

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

28 / 50

Regarding assembler, which statement is true:

29 / 50

The extended ASCII has

30 / 50

Assembly language is:

31 / 50

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

32 / 50

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

33 / 50

An offset alone is not complete without

34 / 50

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

35 / 50

JC and JNC test the ____________ flag.

36 / 50

mov ax,5 has

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

The iAPX888 architecture consists of _______ register.

42 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

43 / 50

After the execution of STOSW, the CX will be

44 / 50

To transfer control back the RET instruction take

45 / 50

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

46 / 50

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

47 / 50

In STOSB instruction, when DF is Set, SI is

48 / 50

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

49 / 50

The instruction ADC has________ Operand(s)

50 / 50

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

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