Friday, November 18, 2011

Re: (Attock VU Group) CS401 Quiz DAted 18-11-2011

Change according to your ID:
 
 
Q2
[org 0x0100]
Mov bx, XXXX
not bx
mov ax, 0x4c00
int 0x21
 
 
 
Q3:
 
[org 0x0100]
          mov ax, 0               
          Mov bx, xxxx           
          mov cx, 16            
         
checkbit: shr bx, 1              
          jnc skip                
 
          add ax, 1             
 
 
skip:         dec cx            
          jnz checkbit            
 
         
mov ax, 0x4c00
int 0x21

On Fri, Nov 18, 2011 at 7:58 PM, mc100200260 Zareena Parveen <mc100200260@vu.edu.pk> wrote:

send me soultion of cs401 secound assigment thanks
On Fri, Nov 18, 2011 at 8:52 AM, Umair Saulat <saulat.umair@googlemail.com> wrote:

Cs401

Quiz Solved Dated 18-11-2011

 

Question # 1 of 10 ( Start time: 10:46:01 AM )  Total Marks: 1

In JA jump is not taken after a CMP if the unsigned destination is larger than the unsigned source.

Select correct option:

True

False

 

Question # 2 of 10 ( Start time: 10:47:33 AM )  Total Marks: 1 In And the out put only one if

Select correct option:

Both inputs are 0

One is 0 and other is 1

Both are 1

None of the given

 

 

Question # 3 of 10 ( Start time: 10:48:04 AM )  Total Marks: 1 Far jump is position relative.

Select correct option:

True

False

 

Question # 4 of 10 ( Start time: 10:49:21 AM )  Total Marks: 1

This jump is taken if the last arithmetic operation produced a number in its destination that has even parity , Which jump is taken

Select correct option:

JP

JPE
JNP

both JP and JPE )

 

Question # 5 of 10 ( Start time: 10:50:39 AM )  Total Marks: 1 Stack is a data structure that behaves ____________manner. Select correct option:

LIFO

FIFO

Both LIFO and FIFO

None of the given

 

Question # 6 of 10 ( Start time: 10:52:08 AM )  Total Marks: 1 The Operation of pop ax is AX <-- [SP] SP <-- SP-2
Select correct option:

True

False     (69)

 

Question # 7 of 10 ( Start time: 10:53:19 AM )  Total Marks: 1 In XOR operation the output is 1 if

Select correct option:

both inputs are same

both inputs are differents

I and II

none of the above

 

 

Question # 8 of 10 ( Start time: 10:54:22 AM )  Total Marks: 1

__________ 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

 

 

Question # 9 of 10 ( Start time: 10:55:15 AM )  Total Marks: 1 Conditional jumps can only

Select correct option:

far

short
near

All of the given

 

Question # 10 of 10 ( Start time: 10:56:14 AM )  Total Marks: 1 if we apply NOT operation of bit 1 the answer is also 1
Select correct option:

 

true

false

 

 

 

 


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

--
██████████████████ Basic Group Rules ███████████████████
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Criticize-able Islamic stuff, Spreading disruption, Spamming are strictly prohibited and banned in group.
█████████████████████████████████████████████████
 
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
 
Group Email Address:
Attock-VU-Group@Googlegroups.Com
 
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
 
Join us at http://www.Vusr.net for Papers,Assignments,GDBs, Quizes.
 
████████████ Click here to Join this group at Facebook:████████████
♥ ♥ ♥ https://www.facebook.com/home.php?sk=group_111877855568034 ♥ ♥ ♥
█████████████████████████████████████████████████

--
██████████████████ Basic Group Rules ███████████████████
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Criticize-able Islamic stuff, Spreading disruption, Spamming are strictly prohibited and banned in group.
█████████████████████████████████████████████████
 
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
 
Group Email Address:
Attock-VU-Group@Googlegroups.Com
 
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
 
Join us at http://www.Vusr.net for Papers,Assignments,GDBs, Quizes.
 
████████████ Click here to Join this group at Facebook:████████████
♥ ♥ ♥ https://www.facebook.com/home.php?sk=group_111877855568034 ♥ ♥ ♥
█████████████████████████████████████████████████

--
██████████████████ Basic Group Rules ███████████████████
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Criticize-able Islamic stuff, Spreading disruption, Spamming are strictly prohibited and banned in group.
█████████████████████████████████████████████████
 
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
 
Group Email Address:
Attock-VU-Group@Googlegroups.Com
 
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
 
Join us at http://www.Vusr.net for Papers,Assignments,GDBs, Quizes.
 
████████████ Click here to Join this group at Facebook:████████████
♥ ♥ ♥ https://www.facebook.com/home.php?sk=group_111877855568034 ♥ ♥ ♥
█████████████████████████████████████████████████

No comments:

Post a Comment