Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
20Activity
0 of .
Results for:
No results containing your search query
P. 1
Almost 300 Solved MCQs of CS201 Introduction To Programing

Almost 300 Solved MCQs of CS201 Introduction To Programing

Ratings: (0)|Views: 6,370|Likes:
Published by http://majidva.com/
Almost 300 Solved MCQs of CS201 Introduction To Programing
Almost 300 Solved MCQs of CS201 Introduction To Programing

More info:

Published by: http://majidva.com/ on Feb 20, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/07/2014

pdf

text

original

 
 
1
 
Almost 300 Solved MCQs of CS201
By
Default constructor takes _________.one parameter two parametersno parameterscharacter type parameter All the preprocessors directives start with ________.$&# _ The members of a class declared with the keyword struct are _____________by default.static private protected publicLoops are _______________ StructureDecisionSequentialRepetition None of the given optionsWe cannot use ______________ pointer for storing and reading data from it. NULLinteger doublezero
http://vujannat.ning.comBest Website To Help VUStudentshttp://vujannat.ning.comBest Website To Help VUStudents
 
 
2
 
When an object of a class is defined inside another class then,Destructor of enclosing class will be called firstDestructor of inner object will be called firstConstructor and Destructor will be called simultaneously None of the given optionsConsider the following code segment. Which of the following will be called whileexecuting code at line 2? String s1 , s2; s1 = s2 ;Copy constructor Default constructor Assignment operator Parameterized constructor We cannot increment ________________. pointersarraysreferencesvariablesIn statement Matrix m2 = m1 ;Assignment operator is being usedCopy constructor is being used.Statement has syntax error  None of the given optionsFrom the following; which on is the correct syntax of an array declaration: array size is 5and it is of float data type?float [5] name;name[5] float;float name[5]; None of the given optionsIf an array has 50 elements, what is allowable range of subscripts?0 – 491 – 490 – 501 – 50
http://vujannat.ning.comBest Website To Help VUStudentshttp://vujannat.ning.comBest Website To Help VUStudents
 
 
3
 
A structure is a collection of _____________under a single name.valuesvariablesdata None of the givenIf a function has not been declared before its definition, It is alogical error syntax error run time error  None of theseWhen the if statement consists more than one statement then enclosing these statement incurly braces is, Not requiredGood programmingRelevantMust __________ allow us to have a memory location and use it as int or char interchangeablystructuresunionconstruct None of the givenIn Analysis, we try to have a______________ Determined the inputsBreak up of problemPrecise problem statement None of the given _______________function give the position of the next character to be read from thatfile.tellp()tellg()seekg()seekp()
http://vujannat.ning.comBest Website To Help VUStudentshttp://vujannat.ning.comBest Website To Help VUStudents

Activity (20)

You've already reviewed this. Edit your review.
nastyheart added this note
so nice job man
nastyheart liked this
1 thousand reads
1 hundred reads
Saba Amir liked this
David Bagudu liked this
Shamsher Khan liked this
Zia Rehman liked this
kdevika000 liked this
Hamsa Bnjr liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->