Skip to main content

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

ohhh yes it's 2 it bold 1 in hurry..thanks for correction. 


_ _ _ _

Regards
Zealous Valiant



On Fri, Nov 16, 2012 at 3:16 PM, Faisal Razzaque <faisalrazzaque@gmail.com> wrote:

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

ans is 2


On Fri, Nov 16, 2012 at 12:34 AM, Zealous Valiant <zealousvaliant@gmail.com> wrote:


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
 
 

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

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

Re: ::: vuaskari.com ::: CS408 - FINAL TERM SUBJECTIVE WITH REFERENCE SOLVED BY UMAIR SAULAT

GREAT WORK On Wed, Feb 20, 2013 at 11:30 PM, Umair Saulat < saulat.umair@gmail.com > wrote: CS408- Human Computer Interaction Solved Subjective Fall Semester 2012   QNo.1    it has been observed that most computer users use menu option for input instead of keyboard accelerator. What is the reason behind it? (2 Marks) Answer:- 1.        Menu options are easier to find. 2.        You don't have to memories the keys for menu option but for key board accelerators you have to memories them REF:: Handouts Page No. 127   QNo.2    Define active intervention.  (2 Marks) Answer:- Active intervention with the participant and actively probes the participant understands of whatever is being tested. REF:: Handouts Page No. 276 QNo.3    what is Ubiquitous Computing? (2 Marks) Answer:- The most profound technologies are those that disappear. They weave themselves into the fabric of everyday life until they are indi

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

Learn more about our updated Terms of Service

stargthb@gmail.com On January 5, 2022, we're making some changes to our Terms of Service. These changes won't affect the way you use Google services, but they'll make it easier for you to understand what to expect from Google — and what we expect from you — as you use our services. You can review the new terms here . At a glance, here's what this update means for you: More clarity on what you can expect from Google and what we expect from you : We're providing more examples to describe the mutually respectful conduct that we expect from all our users. Improved readability : While our terms remain a legal document, we've done our best to make them easier to understand, including reorganizing some topics so that they're easier to find. If you use Family Link to manage a Google Account for someone else, please take some time to talk to them about these changes. Thank you for using Google!