CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

mov ax,5 has

2 / 50

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

3 / 50

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

4 / 50

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

5 / 50

In a video memory, each screen location corresponds to

6 / 50

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

7 / 50

In STOS instruction, the implied source will always be in

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

The basic function of SCAS instruction is to

12 / 50

In a video memory, each screen location corresponds to

13 / 50

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

14 / 50

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

15 / 50

After the execution of STOSW the CX will be

16 / 50

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

17 / 50

While using STOBS, if DF=1 then

18 / 50

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

19 / 50

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

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

21 / 50

The iAPX888 architecture consists of _______ register.

22 / 50

The extended ASCII has

23 / 50

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

24 / 50

Only instructions allow moving data from memory to memory.

25 / 50

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

26 / 50

Code Segment is associated to _______ register by default.

27 / 50

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

28 / 50

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

29 / 50

One screen location corresponds to a

30 / 50

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

31 / 50

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

32 / 50

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

33 / 50

An offset alone is not complete without

34 / 50

The iAPX888 architecture consists of _______ register.

35 / 50

The physical address of the stack is obtained by

36 / 50

JC and JNC test the ____________ flag.

37 / 50

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

38 / 50

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

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

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

41 / 50

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

42 / 50

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

43 / 50

In STOSB instruction, when DF is Set, SI is

44 / 50

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

45 / 50

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

46 / 50

Regarding assembler, which statement is true:

47 / 50

The physical address of the stack is obtained by

48 / 50

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

49 / 50

The clear screen operation initialize whole block of memory

50 / 50

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

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