CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

Code Segment is associated to _______ register by default.

2 / 50

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

3 / 50

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

4 / 50

After the execution of STOSW, the CX will be

5 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

6 / 50

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

7 / 50

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

8 / 50

ASCII stands for ____________. The screen is two dimensional space having:

9 / 50

The iAPX88 processor supports ___________ modes of memory access.

10 / 50

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

11 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

12 / 50

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

13 / 50

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

14 / 50

The basic function of SCAS instruction is to

15 / 50

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

16 / 50

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

17 / 50

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

18 / 50

To convert any digit to its ASCII representation

19 / 50

All the addressing mechanisms iniAPX88 return a number called ______ address.

20 / 50

After the execution of instruction “RET”

21 / 50

The basic function of SCAS instruction is to

22 / 50

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

23 / 50

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

24 / 50

mov ax,5 has

25 / 50

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

26 / 50

The physical address of the stack is obtained by

27 / 50

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

28 / 50

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

29 / 50

One screen location corresponds to a

30 / 50

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

31 / 50

The basic function of SCAS instruction is to

32 / 50

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

33 / 50

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

34 / 50

“Far” jump is not position relative but is _______________

35 / 50

The clear screen operation initialize whole block of memory

36 / 50

One screen location corresponds to a

37 / 50

Only instructions allow moving data from memory to memory.

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

In a video memory, each screen location corresponds to

42 / 50

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

43 / 50

To transfer control back the RET instruction take

44 / 50

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

45 / 50

While using STOBS, if DF=1 then

46 / 50

After the execution of instruction “RET ”

47 / 50

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

48 / 50

In the Rotate Right Operation every bit moves one position to right and the bit dropped from the right is inserted at the left and:

49 / 50

To transfer control back the RET instruction take

50 / 50

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

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