+ Link For Assignments, GDBs & Online Quizzes Solution |
+ Link For Past Papers, Solved MCQs, Short Notes & More |
CS201 All current final term paper Spring 2015 at one place from 22nd August to 2nd September.
You Can Download Solved Mid Term Papers, Short Notes, Lecture Wise Questions Answers Files, Solved MCQs, Solved Quizzes , Solved Mid Term Subjective Papers , Solved Mid Term Objective Papers From This Discussion For Preparation Mid Term Papers of Fall 2014
For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.
For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.
Or visit this link
You Can download papers by a simple click on file. All the uploaded filed are in Zip file or PDF format So Install Adobe Reader and Winrar Software’s to open these Files
Note: If you download files with Internet Download Manager (IDM), you would face problem of damage files. All files are correct and no damage file, If you face this problem, Open IDM > Click on Options > Click on File Types > Remove PDF and ZIP from files types and save. After it download again files, files will work properly.OR Press alt+click the file ...
Thanks and Regards,
VU Students.ning Social Network
Tags:
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)
+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)............
MY TODAY PAPER
MY TODAY PAPER
Cs201 DATE:22/8/15
FINAL TERM
Question No: 1 ( Marks: 1 ) - Please choose one
A Pointer is a special variable that contain
► Data values
► Memory Address (Page 267)
► Both data and values
► None of the given option
Question No: 2( Marks: 1 ) - Please choose one
The stream insertion and stream extraction operators are already overloaded for ______.
► User-defined data types
► Built-in data types http://www.sstutor.com/cpp/stream1.htm
► User-defined and built-in data types
► None of the given options
Question No: 3( Marks: 1 ) - Please choose one
Which kind of functions can access private member variables of a class?
► Friend functions of the class (Page 374)
► Private member functions of the class
► Public member functions of the class
► Friend, private and public functions
Question No: 4 ( Marks: 1 ) - Please choose one
Friend function of a class is ______________ .
► Member function
► Non-member function (Page 348)
► Private function
► Public function
Question No: 5 ( Marks: 1 ) - Please choose one
All preprocessor directives are started with the symbol______.
► *
► +
► @
► # (Page 269)
Question No: 6 ( Marks: 1 ) - Please choose one
Structure is a collection of ______________ under a single name.
► Only Functions
► Only Variables (Page 229)
► Both Functions and Variables
► None of the given options
Question No: 7 ( Marks: 1 ) - Please choose one
If text is a pointer of class Stringthen what is meant by the following statement?
text = new String [5];
► Creates an array of 5 string objects statically
► creates an array of 5 string objects dynamically
► Creates an array of pointers to string
► Creates a string Object
Question No: 8 ( Marks: 1 ) - Please choose one
Memory allocated at run time is a system resource and it is the responsibility of _____ to de-allocate the
memory.
► System
► Programmer (Page 331)
► User of program
► None of given options
Question No: 9 ( Marks: 1 ) - Please choose one
The statement cin.get ();is used to,
► Read a string from keyboard
► Read a character from keyboard (Page 426)
► Read a string from file
► Read a character from file
Question No: 10 ( Marks: 1 ) - Please choose one
When an operator function is defined as member function for a binary Plus (+) operator then the number of
argument it take is/are.
► Zero
► One
► Two (Page 371)
► N arguments
Question No: 11 ( Marks: 1 ) - Please choose one
For which array, the size of the array should be one more than the number of
elements in an array?
► int
► double
► float
► char (Page 113)
Question No: 12 ( Marks: 1 ) - Please choose one
For cin, the source is normally a ________ and destination can be ______.
► File, native data type
► Disk, user-define type
► Keyboard, variable (Page 424)
► File, user-define type
SHORT AND LONG Q’NS
Question 1:
Identify the errors in the following member operator function and also correct them.
math * operator(math m);
math * operator (math m)
{
math temp;
temp.number= number * number;.2
return number;
Answer:-
The errors are in the arguments of the member operation function and
also in the body of operator member function.
Correct function should be
math *operator(math *m);
math *operator (math *m)
{
math temp;
temp = m;
temp.number= number * number;
return temp.number;
Question No: 2 ( Marks: 2 )
How the data members of a class are initialized with meaningful values?
Answer: Page 334
The C++ compiler generates a default constructor for a class if the programmer does not provide it. But the
default constructor does not perform any data members initialization. Therefore, it is good practice that
whenever you write a class, use a constructor function to initialize the datamembers to some meaningful values.
Question No: 3 ( Marks: 2 )
What is difference between endl and \n?
Answer:
Endl is manipulator and it inserts new line character and flushes the
stream.
Page. No. 6/15
\n is control character which is used to insert line break.
Share Your Current Final Term Papers (Questions/Pattern) 22 August 2015 ~ 02 September 2015 to help each other. Thanks
For more papers & Final Tem Papers Preparation Material check all the featured discussions in this group one by one discussion.
How you can check all the featured discussions in this group .Visit this link
Lectures for Final Term Exam | Dated: Aug 19, 15 |
Dear Students, Upcoming Final Term Exam Spring 2015 will cover Lecture 1 to 40 (20% paper will be from first 22 lectures (midterm course) and 80% from lecture 23-40). All the students are advised to prepare these lectures accordingly. |
M.Tariq bhai.. Hats off for you. JAZAK'ALLAH U KHAIRAN. May you get the bestest reward for helping students:)
Hoor ul Nisa Welcome & thanks :-)
paper had STATIC mostly
other questions about class and its objects , members n functions etc.....
about 4 progs were given for writing remaining code for particular tasks... including one prog for correction in mistakes....
writing a prog for changing decimal into octal using user defined manipulator....
Assalam O Alaikum!
please tell that only 12 mcqs and 3 long or short questions are included???
Please tell me.
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We are user-generated contents site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post