Skip to main content

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

Comments

Popular posts from this blog

[vu-students] Urdu Love Letters ............ ahahahahahhahahah

  The One & Only .......... IRFAN. Italy. http://groups.yahoo.com/group/p_se_poetry   -- You received this message because you are subscribed to the Google Groups "VU Students" group. To post to this group, send email to vu-students@googlegroups.com To unsubscribe from this group, send email to vu-students+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/vu-students?hl=en_PK?hl=en

Re: ::: vuaskari.com ::: Fwd: Cancer treatment- Shocking news.

plz send me the soloution of Assignment MGT-603 and MKT-624 plzzzzzzzzz today last day i need urgent 2011/4/23 ∂υα ωαqαя < dua4566@gmail.com > ---------- Forwarded message ---------- From: Virtual Brain < mc090400181@gmail.com > Date: Sat, Apr 23, 2011 at 10:30 AM Subject: Cancer treatment- Shocking news. AS  one of my friend tell me all this PLEASE FORWARD THIS MAIL.  Dear All, One of my cousin got   lung cancer   few months back. That was really shocking to all his family members. Cancer diagnosed was of stage three. Immediately treatment was started from Pakistan most of the art hospital for cancer i.e. Shoukat Khanum Hospital in Lahore. But there were little chances to reverse the disease as it's already reached to stage 3. Than one day somebody told us about a person in Distt Nowshera who is treating cancer by herbs. We went there and he gave us some   herbal medicines   for ten days. It was really amazing when we saw an improvement in the condition of my...

Updating our Google Account inactivity policy

Every day Google works hard to keep you and your private information safe and secure by preventing unauthorized access to your Google Account with our built-in security protections. And keeping you safe means having strong privacy practices across our products that minimize how long we store your personal files and any data associated with them. We want to protect your private information and prevent any unauthorized access to your account even if you're no longer using our services. Therefore, we are updating the inactivity period for a Google Account to two years across all our products and services. This change starts rolling out today and will apply to any Google Account that's been inactive, meaning it has not been signed into or used within a two-year period. An inactive account and any content in it will be eligible for deletion from December 1, 2023. What this means for you: These changes do not impact you unless you h...