php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs302 quiz online fall 2010 on date 15/01/2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
MC090405816 : Sohail Aslam



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



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


Attached Files
.doc   CS304 TODAYS QUIZ SHARED BY ANJUM 14-1-2011.doc (Size: 32.5 KB / Downloads: 968)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ACC501 Brininess Finance Quiz No: 03 Discussion Spring Fall 2014 education-2014 0 3,165 07-19-2014, 01:55 PM
Last Post: education-2014
  ISL201-Islamic Studies VU Online Quiz 3 Solution Last Date 04-01-2013 vuassignments 0 2,559 01-03-2013, 04:11 PM
Last Post: vuassignments
  CS403 Database Management Systems Quiz Fall Semester 2012 Vuhelper 0 2,692 11-29-2012, 03:54 PM
Last Post: Vuhelper
  MGT503 Principles of Management Quiz NO. 2 Fall Semester 2012 Vuhelper 0 2,285 11-23-2012, 03:18 PM
Last Post: Vuhelper
  cs304 Quiz no 2 fall January 2012 Vuhelper 0 2,954 01-11-2012, 08:03 PM
Last Post: Vuhelper
  CS 604 Quiz January 2012 Vuhelper 0 3,028 01-07-2012, 04:00 PM
Last Post: Vuhelper
  cs614 1st Quize 17 nov-2011 msmunirm1 0 3,290 11-17-2011, 04:19 PM
Last Post: msmunirm1
  cs610 today quizes atmpt 4 persons 01-07-2011 msmunirm1 0 2,603 07-01-2011, 10:32 PM
Last Post: msmunirm1
  mgt501 quize 4rth 30-06-2011 msmunirm1 1 2,653 06-30-2011, 04:13 PM
Last Post: Xpert
  mgt503 quize 4rth 30-06-2011 msmunirm1 1 2,635 06-30-2011, 04:13 PM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support