CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

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

3 / 50

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

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

if ax contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label

8 / 50

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

9 / 50

In STOSB instruction, when DF is Set, SI is

10 / 50

After the execution of instruction “RET ”

11 / 50

one DIV instruction has

12 / 50

After the execution of SAR instruction:

13 / 50

In a video memory, each screen location corresponds to

14 / 50

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

15 / 50

After the execution of STOSW the CX will be

16 / 50

RETF will pop the offset in the

17 / 50

Regarding assembler, which statement is true:

18 / 50

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

19 / 50

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

20 / 50

After the execution of STOSW, the CX will be

21 / 50

Which mathematical operation is dominant during the execution of SCAS instruction

22 / 50

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

23 / 50

Assembly language is:

24 / 50

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

25 / 50

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

26 / 50

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

27 / 50

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

28 / 50

Code Segment is associated to _______ register by default.

29 / 50

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

30 / 50

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

31 / 50

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

32 / 50

physical address of the stack is obtained by

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

34 / 50

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

35 / 50

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

36 / 50

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

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

One screen location corresponds to a

41 / 50

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

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

43 / 50

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

44 / 50

one RET is executed, it recovers the values from

45 / 50

The physical address of the stack is obtained by

46 / 50

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

47 / 50

In a video memory, each screen location corresponds to

48 / 50

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

49 / 50

After the execution of “PUSH AX” statement

50 / 50

When an item is pushed on the decrementing stack, the top of the stack 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