CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

To convert any digit to its ASCII representation

3 / 50

While using STOBS, if DF=1 then

4 / 50

After the execution of instruction “RET”

5 / 50

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

6 / 50

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

7 / 50

Which is the unidirectional bus ?

Control Bus

(II) Data Bus

(III) Address Bus

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

One screen location corresponds to a

12 / 50

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

13 / 50

After the execution of instruction “RET ”

14 / 50

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

15 / 50

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

16 / 50

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

17 / 50

assembly the CX register is used normally as a ______________register.

18 / 50

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

19 / 50

The iAPX888 architecture consists of _______ register.

20 / 50

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

21 / 50

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

22 / 50

REP will always

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

Regarding assembler, which statement is true:

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

After the execution of STOSW, the CX will be

29 / 50

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

30 / 50

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

31 / 50

The iAPX88 processor supports ___________ modes of memory access.

32 / 50

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

33 / 50

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

34 / 50

The basic function of SCAS instruction is to

35 / 50

The extended ASCII has

36 / 50

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

37 / 50

If we want to divide a signed number by 2, this operation can better be accomplished by

38 / 50

In a video memory, each screen location corresponds to

39 / 50

After the execution of “PUSH AX” statement

40 / 50

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

41 / 50

The physical address of the stack is obtained by

42 / 50

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

43 / 50

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

44 / 50

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

45 / 50

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

46 / 50

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

47 / 50

To transfer control back the RET instruction take

48 / 50

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

49 / 50

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

50 / 50

“Far” jump is not position relative but 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