Friday, January 13, 2012

(Attock VU Group) cs302 assignment 4 idea solution



CS302 Assignment 4 idea solution







***Teri rehmaton Py Ha Munhasir Meri Har Amal ki Qaboolilyat***

*** Na Mujhy Saleeqa E iltija Na Mujhy Shaoor e NIMAZ Ha***




 Remember me in ur prayers

MCS 4th semester

Allah bless us Always

Ameen


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

Re: (Attock VU Group) cs504 quizzes........

..............

Thanks for sharing.........

On Fri, Jan 13, 2012 at 6:30 PM, Shana Malik <study.groups418@gmail.com> wrote:



CS504.......one is attached and one is down here..........




Quiz Start Time: 12:18 PM



Question # 1 of 10 ( Start time: 12:18:08 PM )


In the switch statement, cases should always end with a -------statment.

Select correct option:

 

 v:shapes="imgAlertSave">





Quiz Start Time: 12:18 PM



Question # 2 of 10 ( Start time: 12:19:21 PM )

Total Marks: 1

x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.

Select correct option:

 

 v:shapes="_x0000_i1033">Saving...





Quiz Start Time: 12:18 PM

Time Left

18 
sec(s)

Question # 3 of 10 ( Start time: 12:21:44 PM )

Total Marks: 1

Comma ( , ) is very dangerous because

Select correct option:

 

 v:shapes="_x0000_i1042">

 



Quiz Start Time: 12:18 PM

Time Left

33 
sec(s)

Question # 4 of 10 ( Start time: 12:23:17 PM )

Total Marks: 1

using proper paranthesis normally makes the code

Select correct option:

 

 v:shapes="_x0000_i1052">





Quiz Start Time: 12:18 PM

Time Left

46 
sec(s)

Question # 6 of 10 ( Start time: 12:25:50 PM )

Total Marks: 1

The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.

Select correct option:

 

 v:shapes="_x0000_i1061">





Quiz Start Time: 12:18 PM

Time Left

15 
sec(s)

Question # 7 of 10 ( Start time: 12:26:54 PM )

Total Marks: 1

Bit fields allow the packing of data in a structure. using Bit fields we can:

Select correct option:

 

 v:shapes="_x0000_i1066">





Quiz Start Time: 12:18 PM

Time Left

51 
sec(s)

Question # 8 of 10 ( Start time: 12:28:20 PM )

Total Marks: 1

1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1;

Select correct option:

 

 v:shapes="_x0000_i1075">





Quiz Start Time: 12:18 PM

Time Left

42 
sec(s)

Question # 9 of 10 ( Start time: 12:29:16 PM )

Total Marks: 1

80/20 rule states that:

Select correct option:

 

 



Quiz Start Time: 12:18 PM

Time Left

27 
sec(s)

Question # 10 of 10 ( Start time: 12:30:31 PM )

Total Marks: 1

Be very careful when you use functions with side effects – functions that change the values of the ________

Select correct option:

 

 





--













***Teri rehmaton Py Ha Munhasir Meri Har Amal ki Qaboolilyat***

*** Na Mujhy Saleeqa E iltija Na Mujhy Shaoor e NIMAZ Ha***




 Remember me in ur prayers

MCS 4th semester

Allah bless us Always

Ameen


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

(Attock VU Group) cs504 quizzes........




CS504.......one is attached and one is down here..........




Quiz Start Time: 12:18 PM



Question # 1 of 10 ( Start time: 12:18:08 PM )


In the switch statement, cases should always end with a -------statment.

Select correct option:

 

 v:shapes="imgAlertSave">





Quiz Start Time: 12:18 PM



Question # 2 of 10 ( Start time: 12:19:21 PM )

Total Marks: 1

x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.

Select correct option:

 

 v:shapes="_x0000_i1033">Saving...





Quiz Start Time: 12:18 PM

Time Left

18 
sec(s)

Question # 3 of 10 ( Start time: 12:21:44 PM )

Total Marks: 1

Comma ( , ) is very dangerous because

Select correct option:

 

 v:shapes="_x0000_i1042">

 



Quiz Start Time: 12:18 PM

Time Left

33 
sec(s)

Question # 4 of 10 ( Start time: 12:23:17 PM )

Total Marks: 1

using proper paranthesis normally makes the code

Select correct option:

 

 v:shapes="_x0000_i1052">





Quiz Start Time: 12:18 PM

Time Left

46 
sec(s)

Question # 6 of 10 ( Start time: 12:25:50 PM )

Total Marks: 1

The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.

Select correct option:

 

 v:shapes="_x0000_i1061">





Quiz Start Time: 12:18 PM

Time Left

15 
sec(s)

Question # 7 of 10 ( Start time: 12:26:54 PM )

Total Marks: 1

Bit fields allow the packing of data in a structure. using Bit fields we can:

Select correct option:

 

 v:shapes="_x0000_i1066">





Quiz Start Time: 12:18 PM

Time Left

51 
sec(s)

Question # 8 of 10 ( Start time: 12:28:20 PM )

Total Marks: 1

1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1;

Select correct option:

 

 v:shapes="_x0000_i1075">





Quiz Start Time: 12:18 PM

Time Left

42 
sec(s)

Question # 9 of 10 ( Start time: 12:29:16 PM )

Total Marks: 1

80/20 rule states that:

Select correct option:

 

 



Quiz Start Time: 12:18 PM

Time Left

27 
sec(s)

Question # 10 of 10 ( Start time: 12:30:31 PM )

Total Marks: 1

Be very careful when you use functions with side effects – functions that change the values of the ________

Select correct option:

 

 





--













***Teri rehmaton Py Ha Munhasir Meri Har Amal ki Qaboolilyat***

*** Na Mujhy Saleeqa E iltija Na Mujhy Shaoor e NIMAZ Ha***




 Remember me in ur prayers

MCS 4th semester

Allah bless us Always

Ameen


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