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.


Quiz No. 2 Announcement Dated: Jan 14, 16

Dear Students,

It is intimated that you are going to appear for the second graded quiz of CS304 on Wednesday, January 20, 2016 which will open for two daysThe quiz will start on Wednesday, January 20, 2016 and end on Thursday, January 21, 2016. The quiz will have questions from lecture 18 to lecture 25.

Lets share your quizzes here.

Views: 2238

Replies to This Discussion

CS304 Object Oriented Programming Quiz No. 03 Solution and Discussion Fall 2013 Due Date Jan 16, 2013, 11:59 PM
Read more at http://vustudents.ning.com/group/cs304objectorientedprogramming/for...

 Jazak Allah for sharing.

CS 304 Quiz no 03:

 
01:
We can access public members of the class from outside the class using ______ operator with its object pointer.
 
->
 
 
02:
In Private Inheritance the public members of base class become __________ in derived class.
 
Private
 
03:
Consider the following two lines of code written for a class Student, 1. Student sobj1; 2. Student sobj2 = sobj1; In line No.1 what constructor of student class will be called,
 

Default constructor of Student class.


04:
In C++, which of the following is defined as stream insertion operator?
 
 
05:
Which one of the following operators is used to access members of reference data types,
->
 
 
06:
Let Suppose a class Student with objects std1, std2, and std3. For the statement std3 = std1 - std2 to work correctly, if the overloaded - operator must
 
 
 take two arguments.
 
07:
If we have not given any constructor for the class, compiler generates which of the following constructors?
 
Base class pointer can be used as Derived class pointer (not sure)
 
08:
Which of the following is TRUE,
 
C++ way of calling base class functions from derived class (not sure)
09:
In Protected Inheritance the public members of base class become __________ in derived class.
 
Private (not sure).
One is missing. :(

RSS

Looking For Something? Search Below

VIP Member Badge & Others

How to Get This Badge at Your Profile DP

------------------------------------

Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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