Friday, 13 January 2012

..::VU-Pink::.. 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


--
...:::Group Rules:::...
http://groups.google.com.pk/group/vu-pink/web/group-rules
^^^^^^
You received this message because you are subscribed to the Google
Groups "vu pink" group.
To post to this group, send email to vu-pink@googlegroups.com
To unsubscribe from this group, send email to
vu-pink+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com.pk/group/vu-pink?hl=en

No comments:

Post a Comment