MC090405816 : Sohail AslamView more random threads:
- mkt 621 advertising & promotion quiz online fall 2010...
- MGT 502 Current Quizzzz # 4 29/01/2011
- cs605 mid term paper spring 2011
- object, a new request is generated which redirects the user...
- mgt501 quize 4rth 30-06-2011
- sta630 research method latest quiz 28 December fall 2010
- cs508 new quiz 27/01/2011 download the attachment
- Pak301 Mcqs and quiz fall 2010 can be downloaded
- CS403 Database Management Systems Quiz Fall Semester 2012
- cs614 1st Quize 17 nov-2011
Quiz Start Time: 12:20 PM Time Left 67
sec(s)
Question # 1 of 10 ( Start time: 12:20:12 PM ) Total Marks: 1
Which statement will be true for concrete class?
Select correct option:
it implements an virtual concept.
it can be instantiated
it cannot be instantiated
none of given
MC090405816 : Sohail Aslam
Sponsored Links
Quiz Start Time: 12:20 PM Time Left 73
sec(s)
Question # 3 of 10 ( Start time: 12:21:57 PM ) Total Marks: 1
Adding a derived class to a base class requires fundamental changes to the base class.
Select correct option:
True
False
MC090405816 : Sohail Aslam
Quiz Start Time: 12:20 PM Time Left 75
sec(s)
Question # 4 of 10 ( Start time: 12:22:32 PM ) Total Marks: 1
It is sometimes useful to specify a class from which no objects will ever be created.
Select correct option:
True
Flase
MC090405816 : Sohail Aslam
Quiz Start Time: 12:20 PM Time Left 41
sec(s)
Question # 5 of 10 ( Start time: 12:22:55 PM ) Total Marks: 1
Consider the code below, class class1{ private: void func1(); }; class class2 : private class1 { }; Function func1 of class1 is ______ in class2,
Select correct option:
public
protected
private
none of the given options
MC090405816 : Sohail Aslam
Quiz Start Time: 12:20 PM Time Left 60
sec(s)
Question # 6 of 10 ( Start time: 12:23:50 PM ) Total Marks: 1
Child class can call constructor of its,
Select correct option:
Direct base class
Indirect base class
Both direct and indirect base classes
None of these
MC090405816 : Sohail Aslam
Quiz Start Time: 12:20 PM Time Left 56
sec(s)
Question # 7 of 10 ( Start time: 12:24:27 PM ) Total Marks: 1
We can access public members of the class from outside the class using ______ operator with its object pointer.
Select correct option:
->
.
&
@
MC090405816 : Sohail Aslam
Quiz Start Time: 12:20 PM Time Left 80
sec(s)
Question # 8 of 10 ( Start time: 12:25:08 PM ) Total Marks: 1
User can make virtual table explicitly.
Select correct option:
True
False
MC090405816 : Sohail Aslam
Quiz Start Time: 12:20 PM Time Left 74
sec(s)
Question # 9 of 10 ( Start time: 12:25:24 PM ) Total Marks: 1
When we want to implement one class in terms of another class then we use,
Select correct option:
Public inheritance
Protected inheritance
Private inheritance
None of these options
MC090405816 : Sohail Aslam
Quiz Start Time: 12:20 PM Time Left 69
sec(s)
Question # 10 of 10 ( Start time: 12:25:47 PM ) Total Marks: 1
A parent class can call constructor of its child class through,
Select correct option:
Its constructor initialization list
Its constructor body
Both from its constructor initialization list or body
Can not call the constructor of its child class
MC100200755 : Waleed Ahmed
Quiz Start Time: 12:27 PM Time Left 55
sec(s)
Question # 1 of 10 ( Start time: 12:27:30 PM ) Total Marks: 1
Consider the code below, class c1{ }; class c2 : public c1 { }; class c3 : public c2 { }; Then c2 is,
Select correct option:
Direct base class of c3
Direct child class of c3
Direct base class of c1
None of these
MC100200755 : Waleed Ahmed
Quiz Start Time: 12:27 PM Time Left 77
sec(s)
Question # 2 of 10 ( Start time: 12:28:13 PM ) Total Marks: 1
We can have ___________ type of member functions in a class.
Select correct option:
Public
Private
Protected
All of these options
MC100200755 : Waleed Ahmed
Quiz Start Time: 12:27 PM Time Left 64
sec(s)
Question # 3 of 10 ( Start time: 12:28:33 PM ) Total Marks: 1
We can call base class assignment operator in derived class user defined assignment operator,
Select correct option:
Implicitly
Explicitly
Using both of these options
Using none of these options
MC100200755 : Waleed Ahmed
Quiz Start Time: 12:27 PM Time Left 78
sec(s)
Question # 4 of 10 ( Start time: 12:29:06 PM ) Total Marks: 1
Which statement will be true for concrete class?
Select correct option:
it implements an virtual concept.
it can be instantiated
it cannot be instantiated
none of given
MC100200755 : Waleed Ahmed
Quiz Start Time: 12:27 PM Time Left 72
sec(s)
Question # 5 of 10 ( Start time: 12:29:24 PM ) Total Marks: 1
Outside world can access only __________ members of a class using its object.
Select correct option:
Public
Private
Protected
No member is accessible.
MC100200755 : Waleed Ahmed
Quiz Start Time: 12:27 PM Time Left 70
sec(s)
Question # 6 of 10 ( Start time: 12:29:48 PM ) Total Marks: 1
Static casting is,
Select correct option:
C++ way of calling base class functions from derived class
C way of calling base class functions from derived class
Both of these
None of these
MC100200755 : Waleed Ahmed
Quiz Start Time: 12:27 PM Time Left 45
sec(s)
Question # 7 of 10 ( Start time: 12:30:13 PM ) Total Marks: 1
Consider the code given below, Class base{ Public: int i; }; Class derived1: private base{}; Class derived2: public derived1 {}; Then int member i of base class is accessible in class,
Select correct option:
derived1 only
derived2 only
both derived1 and derived2
none of the given options
MC100200755 : Waleed Ahmed
Quiz Start Time: 12:27 PM Time Left 67
sec(s)
Question # 8 of 10 ( Start time: 12:31:06 PM ) Total Marks: 1
In case of dynamic memory allocation in a class we should use,
Select correct option:
User defined default constructor
User defined copy constructor
Both of these
None of these
MC100200755 : Waleed Ahmed
Quiz Start Time: 12:27 PM Time Left 73
sec(s)
Question # 9 of 10 ( Start time: 12:31:33 PM ) Total Marks: 1
Consider the code below, class class1{ protected: int i; }; class class2 : protected class1 { }; Then int member i of class1 is ______ in class2,
Select correct option:
public
protected
private
none of the given options
Please download the attachment
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
There are currently 1 users browsing this thread. (0 members and 1 guests)