PROMOTE MY BLOG: JUST CLICK BELOW BUTTON

Search Any Paper On This Blog

Friday, November 16, 2012

::: vuaskari.com ::: CS201 Today Quiz



Respected Fellows,
I'm sharing my today's  quiz of CS201. Read it.I hope It'll help you.


Believe me almost 9 MCQ were new..So we need to gather fresh data. so all of you please save your quiz as well n do share with us.

If someone wants to take my help in his/her quiz ..you're most welcome..I'll try my best to give you help as much I can..I'll be online on 6:00 PM if there will be no problem of electricity.
 

Question # 1 of 10 ( Start time: 12:31:13 PM )  Total Marks: 1 

The result of 4%3 will be 

  2

 1.5

 1

 1.33


 Question # 2 of 10 ( Start time: 12:31:34 PM )  Total Marks: 1 

While developing a program; should we think about the user interface? 

 Yes

 No


Question # 3 of 10 ( Start time: 12:32:03 PM )  Total Marks: 1 

Which of the following is the right syntax to declare a variable in C++? 

 VariableName  Datatype;

 DataType = VariableName;

 DataType  VariableName;

 (DataType)  VariableName;


Question # 4 of 10 ( Start time: 12:32:30 PM )  Total Marks: 1 

What will be the resultant value of this expression x =17%3 ?   

 1

 2

 3

 4


Question # 5 of 10 ( Start time: 12:32:50 PM )  Total Marks: 1 

What will be the result of the expression k = ++m; if initially k = 0 and m = 5? 

 0

 5

 6

 4


Question # 6 of 10 ( Start time: 12:33:08 PM )  Total Marks: 1 

Function prototype is written, 

 Within main function

 After the return statement in main

 Before the return statement in main

 Before call of that function


Question # 7 of 10 ( Start time: 12:34:02 PM )  Total Marks: 1 

Switch statement can be used in place of _________ statement. 

 break

 continue

 Multiple if

 goto


http://books.google.com.pk/books?id=bjE5EHw35DkC&pg=PA239&lpg=PA239&dq=%22mutiple+if+statement+is+alnternative+of+Switch+statement+%22&source=bl&ots=0AjPQu6EZa&sig=X1QMvHuYa5Abfze3M43tSVUEbRc&hl=en&sa=X&ei=2_Z6UImFHofd4QTBz4HABw&ved=0CC4Q6AEwAA#v=onepage&q=%22mutiple%20if%20statement%20is%20alnternative%20of%20Switch%20statement%20%22&f=false


Question # 8 of 10 ( Start time: 12:34:46 PM )  Total Marks: 1 

In while loop the loop counter must be initialized, 

 With in the loop

 Before entering the loop

 At the end of the loop

 None of the given options


Question # 9 of 10 ( Start time: 12:35:28 PM )  Total Marks: 1 

What logical error exists in the following arithmetic expression? X = 50 / ( 2 % 2 ) + 9 

 

 

 ( ) parenthesis are not allowed in expressions

 Division by zero will occur in this expression

 Order of the expression is not according to rules

 We can not use % operator in expressions


Question # 10 of 10 ( Start time: 12:36:06 PM )  Total Marks: 1 

Loops are _______________ Structure 

 Decision

 Sequential

 Repetition pg 560

 None of the given options 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


_ _ _ _

Regards
Zealous Valiant

--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en
 
 

No comments:

Post a Comment

PLEASE COMMENT ABOUT YOUR VISIT AND MY SITE

Note: Only a member of this blog may post a comment.