CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

assembly the CX register is used normally as a ______________register.

2 / 50

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

3 / 50

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

4 / 50

An offset alone is not complete without

5 / 50

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

6 / 50

In a video memory, each screen location corresponds to

7 / 50

JC and JNC test the ____________ flag.

8 / 50

Only instructions allow moving data from memory to memory.

9 / 50

REP will always

10 / 50

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

11 / 50

Assembly language is:

12 / 50

In the word designated for one screen location, the higher address contains

13 / 50

After the execution of SAR instruction:

14 / 50

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

15 / 50

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

16 / 50

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

17 / 50

While using STOBS, if DF=1 then

18 / 50

The extended ASCII has

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

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

21 / 50

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

22 / 50

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

23 / 50

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

24 / 50

The clear screen operation initialize whole block of memory

25 / 50

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

26 / 50

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

27 / 50

RETF will pop the offset in the

28 / 50

The basic function of SCAS instruction is to

29 / 50

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

30 / 50

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

31 / 50

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

32 / 50

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

33 / 50

After the execution of STOSW, the CX will be

34 / 50

To convert any digit to its ASCII representation

35 / 50

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

36 / 50

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

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

The physical address of the stack is obtained by

41 / 50

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

42 / 50

The physical address of the stack is obtained by

43 / 50

To transfer control back the RET instruction take

44 / 50

In STOS instruction, the implied source will always be in

45 / 50

To convert any digit to its ASCII representation

46 / 50

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

47 / 50

In STOS instruction, the implied source will always be in

48 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

49 / 50

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

50 / 50

The basic function of SCAS instruction is to

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