loading...

CS401 VU Solved Quiz No. 1 Spring 2012

Both DS and ES can be used to access the video memory. However we commonly keep DS for accessing our data, and load ES with the segment of video memory.
Select correct option:

True
False

Question # 2 of 10 ( Start time: 03:17:23 PM ) Total Marks: 1
How many characters standard ASCII has?
Select correct option:

512
256

128
64

During the CALL operation, the current value of the instruction pointer is automatically saved on the stack, and the destination of CALL is loaded in the instruction pointer.
Select correct option:

True
False

12:16 PM VGA stands for
Select correct option:

Video Graphic Accumulator
Video Graphics Adapter
Visual Graphics Adapter
Video Graphics Application

 

Video Graphics Adapter

________ transfers the word at the current top of stack (pointed to by SP) to the destination operand and then increments SP by two to point to the new top of stack.
Select correct option:

PUSH
POP
CALL
None of the given

 

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

First column of second row
Second column of first row
Second column of second row
First column of third row

 

The Operation of pop ax is AX <– [SP] SP <– SP-2
Select correct option:

True
False

_______ function decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack now pointed to by SP.
Select correct option:

POP
PUSH
RET
ADD

Far calls are called intra segment calls.
Select correct option:

True
False

 

STOS is often used to clear a block of memory or fill it with a constant.
Select correct option:

True   page no 92
False

How many characters were defined by standard ASCII?

Select correct option:

132
124
122
128

 

Stack clearing by the caller needs an extra instruction on behalf of the caller after every call made to the subroutine, unnecessarily increasing instructions in the program.
Select correct option:

True
False




 

The direction of movement is controlled with the _________________in the flags register. If this flag is cleared the direction is from lower addresses towards higher addresses and if this flag is set the direction is from higher addresses to lower addresses.
Select correct option:

Direction Flag (DF)
Control Flag (CF)
Carry Flag (CF)
Non of above

 

ASCII stands for____________________________.
Select correct option:

American Standard Code for Information Interaction
American Standard Code for Information Interchange
American Standard Communication for Integer Interchange
American Scientific Communication for Integer Interaction

During the CALL operation, the current value of the instruction pointer is automatically saved on the stack, and the destination of CALL is loaded in the instruction pointer.
Select correct option:

Extended ASCII has 256 characters with assigned numbers from
Select correct option:

1 to 255
0 to 256
0 to 255
1 to 256

Hexadecimal is the prevalent and standard format for representation of characters in computers.
Select correct option:

True
False

 

 

Quiz Start Time: 03:52 PM
Time Left 87
sec(s)
Question # 8 of 10 ( Start time: 03:57:39 PM ) Total Marks: 1
MUL (multiply) Instruction performs an unsigned multiplication of the source operand and the ___________.
Select correct option:
Accumulator
Carry
Word
Base

Quiz Start Time: 03:52 PM
Time Left 88
sec(s)
Question # 9 of 10 ( Start time: 03:58:20 PM ) Total Marks: 1
We can convert any digit to __ by adding 0x30 in the digit.
Select correct option:
Character
ASCII
EBCDIC
Standard Code

DOWNLOAD SOLUTION HERE
loading...