Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

■CS201 All current final term paper Spring 2015 at one place from 22nd August to 2nd September■

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 

Click Here For Detail.

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

Views: 3429

Replies to This Discussion





                                    Cs201                     DATE:22/8/15



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

► 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


► 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






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;


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?


Endl is manipulator and it inserts new line character and flushes the


Page. No. 6/15

\n is control character which is used to insert line break.

ALL Final Term Papers Spring 2015 & Past Final Term Papers at One Place from 22 August 2015 ~ 02 September 2015


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 

Click Here For Detail.

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.


Looking For Something? Search Below

Latest Activity

© 2022   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service