CS401 Midterm Online Quiz

0%

CS401-Midterm

1 / 50

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

2 / 50

After the execution of SAR instruction:

3 / 50

The instruction ADC has________ Operand(s)

4 / 50

While using STOBS, if DF=1 then

5 / 50

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

6 / 50

RETF will pop the offset in the

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

8 / 50

one DIV instruction has

9 / 50

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

10 / 50

In STOSB instruction, when DF is Set, SI is

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

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

15 / 50

JC and JNC test the ____________ flag.

16 / 50

Left-Shift-Operation the left most bit _______

17 / 50

The extended ASCII has

18 / 50

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

19 / 50

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

20 / 50

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

21 / 50

After the execution of “PUSH AX” statement

22 / 50

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

23 / 50

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

24 / 50

mov ax,5 has

25 / 50

In STOS instruction, the implied source will always be in

26 / 50

Regarding assembler, which statement is true:

27 / 50

“Far” jump is not position relative but is _______________

28 / 50

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

29 / 50

one RET is executed, it recovers the values from

30 / 50

The iAPX888 architecture consists of _______ register.

31 / 50

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

32 / 50

physical address of the stack is obtained by

33 / 50

An offset alone is not complete without

34 / 50

After the execution of STOSW, the CX will be

35 / 50

Only instructions allow moving data from memory to memory.

36 / 50

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

37 / 50

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

38 / 50

To convert any digit to its ASCII representation

39 / 50

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

40 / 50

To transfer control back the RET instruction take

41 / 50

After the execution of instruction “RET”

42 / 50

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

43 / 50

The basic function of SCAS instruction is to

44 / 50

In a video memory, each screen location corresponds to

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

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

49 / 50

Code Segment is associated to _______ register by default.

50 / 50

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

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