Wednesday, May 2, 2012

[ vuZs.net ] CS401 - Quiz No.2 May02,2012

CS401 Computer Architecture and Assembly Language 

Quiz No.2 May 02,2012

Solved by 4funkar quiz &team

 

 

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

PAGE 81

 

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

 

 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

 

In the instruction "mov word [es:160], 0x1230", 12 means:
Select correct option:

green color on black background
green color on blue background
black color on green background
blue color on green background

 

 

 This top of stack is contained in the ____ register.
Select correct option:

SP
BP
AX
BX

 

 Quiz: PUSH increments 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:

True
False

Page  71

The reduction in code size and the improvement in speed are the two reasons why block processing instructions were introduced in the _____________ processor.
Select correct option:

8088
8085
8080
iAPX386

 

MOVS is used to ________ a block of memory.
Select correct option:

Save
Move
Delete
Push

 

The operation of PUSH is not similar to CALL however with a register other than the instruction pointer.
Select correct option:

True
False

Reference:  operation of PUSH is similar to CALL however with
a register other than the instruction pointer. page 69

 

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

 

 

Which bit of the attributes byte represents the blue component of foreground color ?
Select correct option:

0
1
2
3

 

 SCAS compares a source byte or word in register AL or AX with the ___________ string element addressed by ES: DI and updates the flags.

  Source

  Destination

  Flag

  Register

  page 92

 

An element is pushed on the stack SP is decremented by ____ as the 8088 stack works on word sized elements.

  Three

  two

  four

  five

page 68

 

To access the arguments from the stack, the immediate idea that strikes is to ____ them off the stack.

  push

  pop

  add

  insert

We use _______ to access the parameters that are stay on the stack with out popping them.

  pop

DS not sure

  PUSH

  BP

How many characters were defined by standard ASCII?

  132

  124

128

ASCII table is the contiguous arrangement of the uppercase alphabets (41-5A), the lowercase alphabets (61-7A), and the numbers ______________

  31-40

  29-39

  30-39

  page no 80

 

: The purpose of MOVS instruction is to move a memory location to register

  True

False

_________ 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.

  push

  pop

  call

  None

 

This top of stack is contained in the ____ register.

  SP

  BP

  AX

 

Question # 1 of 10 ( Start time: 03:52:51 PM ) Total Marks: 1
To access the arguments from the stack, the immediate idea that strikes is to ____ them off the stack.
Select correct option:
Push
Pop
Add
Insert



Quiz Start Time: 03:52 PM
Time Left 85
sec(s)
Question # 2 of 10 ( Start time: 03:53:34 PM ) Total Marks: 1
Parameters clears from the stack by the
Select correct option:
caller
callee
caller and callee
None of the given




Quiz Start Time: 03:52 PM
Time Left 88
sec(s)
Question # 3 of 10 ( Start time: 03:54:51 PM ) Total Marks: 1
There are just ____ block processing instructions in 8088.
Select correct option:
6
5
4
3




Quiz Start Time: 03:52 PM
Time Left 88
sec(s)
Question # 4 of 10 ( Start time: 03:55:31 PM ) Total Marks: 1
_________ 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:
PUSH
POP
CALL
None of the Above



Quiz Start Time: 03:52 PM
Time Left 87
sec(s)
Question # 5 of 10 ( Start time: 03:55:52 PM ) Total Marks: 1
The operation of PUSH is not similar to CALL however with a register other than the instruction pointer.
Select correct option:
True
False




Quiz Start Time: 03:52 PM
Time Left 86
sec(s)
Question # 6 of 10 ( Start time: 03:56:29 PM ) Total Marks: 1
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



Quiz Start Time: 03:52 PM
Time Left 87
sec(s)
Question # 7 of 10 ( Start time: 03:57:05 PM ) Total Marks: 1
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

 


--
Zindagi mein 2 Logo ka buhat khayal rahkoooo

Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo (Father)

2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)

Regards, 
Umair Saulat

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
 
To post a new message on this group, send email to vuZs@googlegroups.com
 
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe

No comments:

Post a Comment