CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

The extended ASCII has

2 / 50

In a video memory, each screen location corresponds to

3 / 50

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

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

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

8 / 50

To convert any digit to its ASCII representation

9 / 50

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

10 / 50

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

11 / 50

After the execution of instruction “RET”

12 / 50

physical address of the stack is obtained by

13 / 50

Code Segment is associated to _______ register by default.

14 / 50

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

15 / 50

RETF will pop the offset in the

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

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

18 / 50

The physical address of the stack is obtained by

19 / 50

When a 32 bit number is divided by a 16 bit number, the quotient will be stored in

20 / 50

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

21 / 50

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

22 / 50

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

23 / 50

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

24 / 50

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

25 / 50

To convert any digit to its ASCII representation

26 / 50

one DIV instruction has

27 / 50

After the execution of “PUSH AX” statement

28 / 50

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

29 / 50

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

30 / 50

assembly the CX register is used normally as a ______________register.

31 / 50

An offset alone is not complete without

32 / 50

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

33 / 50

The physical address of the stack is obtained by

34 / 50

In STOS instruction, the implied source will always be in

35 / 50

After the execution of instruction “RET 2”

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

37 / 50

In STOSB instruction, when DF is Set, SI is

38 / 50

“Far” jump is not position relative but is _______________

39 / 50

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

40 / 50

The basic function of SCAS instruction is to

41 / 50

In STOS instruction, the implied source will always be in

42 / 50

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

43 / 50

After the execution of “PUSH AX” statement

44 / 50

mov ax,5 has

45 / 50

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

46 / 50

To transfer control back the RET instruction take

47 / 50

After the execution of instruction “RET ”

48 / 50

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

49 / 50

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

50 / 50

The instruction ADC has________ Operand(s)

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