Wednesday, 5 December 2012

[discussion_vu] Check out "FaBulous DiaMond RiNgs" on VU Cafe

Place To Have Fun
Vu Cafe
Check out the discussion 'FaBulous DiaMond RiNgs'
FaBulous DiaMond RiNgs

Discussion posted by Dark Beauty:



Discussion link:
FaBulous DiaMond RiNgs

About VU Cafe
Leading social and educational platform which is known as VuCafe holds everything that you want according to your need & room to entertain.
VU Cafe 154 members
87 photos
15 songs
16 videos
151 discussions
7 Events
14 blog posts
 
To control which emails you receive on VU Cafe, click here

[discussion_vu] Check out "*Winter Collection For Male*" on VU Cafe

Place To Have Fun
Vu Cafe
Check out the discussion '*Winter Collection For Male*'
*Winter Collection For Male*

Discussion posted by cafeterian:

Winter collection for smart guys!!!!

Discussion link:
*Winter Collection For Male*

About VU Cafe
Leading social and educational platform which is known as VuCafe holds everything that you want according to your need & room to entertain.
VU Cafe 154 members
87 photos
15 songs
16 videos
151 discussions
7 Events
14 blog posts
 
To control which emails you receive on VU Cafe, click here

[discussion_vu] Check out "MTH401 MIDTERM PAPERS 2012" on VU Cafe

Place To Have Fun
Vu Cafe
Check out the discussion 'MTH401 MIDTERM PAPERS 2012'
mth401 midterm spring 2012 solved paper by vucafeteam

Discussion posted by cafeterian:

find attechment here mth401 midterm spring 2012 solved paper by vucafeteam.pdf mth401 subjective.pdf   any student have mth401 midterm pape...

Discussion link:
MTH401 MIDTERM PAPERS 2012

About VU Cafe
Leading social and educational platform which is known as VuCafe holds everything that you want according to your need & room to entertain.
VU Cafe 154 members
87 photos
15 songs
16 videos
151 discussions
7 Events
14 blog posts
 
To control which emails you receive on VU Cafe, click here

[discussion_vu] Check out "CS501 - Advance Computer Architecture Assignment # 2 idea solution and discussion due date Dec 04, 2012" on Virtual University of Pakistan

Leading Student's Social Network Worldwide!
+ M.Tariq Mal…
Check out the discussion 'CS501 - Advance Computer Architecture Assignment # 2 idea solution and discussion due date Dec 04, 2012'

Discussion posted by ║ShafiQ KhaN™║:

    Assignment No. 02       Due Date: Your assignment must be uploaded/submitted before or on 4th Dec 2012   Uploading instructions:   Plea...

Discussion link:
CS501 - Advance Computer Architecture Assignment # 2 idea solution and discussion due date Dec 04, 2012

About Virtual University of Pakistan
Leading Students Social Network Community In World of Education For Virtual University of Pakistan Students & Other Universities Worldwide.
Virtual University of Pakistan 38821 members
26502 photos
6547 videos
25023 discussions
40 Events
9605 blog posts
 
To control which emails you receive on Virtual University of Pakistan, click here

[discussion_vu] Check out "Solution of Assignment 2 Of PHY301 Due Date 4 Dec 2012" on Virtual University of Pakistan

Leading Student's Social Network Worldwide!
+ M.Tariq Mal…
Check out the discussion 'Solution of Assignment 2 Of PHY301 Due Date 4 Dec 2012'

Discussion posted by Syed Faizan ul Hassan:

Assignment 2(Fall 2012)                           Circuit Theory (Phy301) Marks: 20 Due Date: December 04, 2012   DON'T MISS THESE Importan...

Discussion link:
Solution of Assignment 2 Of PHY301 Due Date 4 Dec 2012

About Virtual University of Pakistan
Leading Students Social Network Community In World of Education For Virtual University of Pakistan Students & Other Universities Worldwide.
Virtual University of Pakistan 38811 members
26501 photos
6547 videos
25015 discussions
40 Events
9605 blog posts
 
To control which emails you receive on Virtual University of Pakistan, click here

[VUSR] 66126 CS304 Quiz No.2 Rescheduled Dated Dec 05, 2012

CS304 – Quiz No.2 ReScheduled

Dated 05-12-2012

 

Select correct line of code for inheritance relationship between "Gender" class and "Male" class. "Gender" is parent class while "Male" is child class.

Select correct option:

class Male: public Gender

class Gender: public Male

class Male:: public Gender

class Gender:: public Male

 

 

In______________, a pointer or reference to an object is created inside a class.

Select correct option:

Aggregation

Composition

Inheritance

Association

 

Select correct line of code for inheritance relationship between "Person" class and "Supervisor" class. "Person" is parent class while "Supervisor" is child class.

Select correct option:

class Supervisor: public Person

class Person: public Supervisor

class Supervisor:: public Person

class Person:: public Supervisor

 

 

The direction specifies which object contains the other object. In composition direction is must.

No

Yes

 

Select correct line of code for inheritance relationship between "Keys" class and "SpecialKeys" class. "Person" is parent class while "SpecialKeys" is child class.

Select correct option:

class SpecialKeys: public Keys

class Keys: public SpecialKeys

class SpecialKeys:: public Keys

class Keys:: public SpecialKeys

 

 

 

 

 

 

 

 

"Keyboard" class is composed of "keys" class. What will be the order of execution of constructor of "Keyboard" class and "Keys" class?

Select correct option:

First Detructor::Keys..

Second Destructor::Keyboard..

First Destructor:: Keyboard..

Second Destructor:: Keys..

 

"A fan has wings". Which type of relationship exists between fan and wings?

Aggregation

Association

Composition

Inheritance

 

What type of relationship exists between "Account" class and "SavingAccount" class?

Inheritance

Composition

Aggregation

Association

 

 

Select correct line of code for inheritance relationship between "Nationality" class and "Citizen" class. "Nationality" is parent class while "Citizen" is child class.

class Citizen: public Nationality

class Nationality: public Citizen

class Citizen:: public Nationality

class Nationality:: public Citizen

 

 

Identify which of the following overloaded operator function's declaration is appropriate for the given call? Rational_number_1 + 2.325 Where Rational_number_1 is an object of user defined class Rational_number.
Select correct option:
Rational_number operator+( Rational_number & obj);
None of the given choices
Rational_number operator+(Rational_number &obj, double& num);
operator+(double& obj);


In _______________ a pointer or reference to an object is created inside a class
Select correct option:
Aggregation
Composition
Seperation
None of the given


Sub-Object can not be initialized using the constructor
Select correct option:
True
False

To initialize an array of objects, only _____________ will be called
Select correct option:
Defualt Constructor
Overloaded Constructor
Default Object
None of the above

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
Select correct option:
take two arguments.
None of the given choices
take single argument
take three arguments


Copy constructor is called when:
Select correct option:
An object is created in term of pre existence object
An object is created
An object is initialized
None of the given

Which of the following operator doesn't take any argument if overloaded?
Select correct option:
/
-
+
None of the given choices


Object can be declared constant with the use of Constant keyword.
Select correct option:
True
False


Always make pointer to null, whenever dynamic memory is deleted.
Select correct option:
True
False

__________ provide the facility to access the data member.
Select correct option:
accesser function
private function
inline function
None of the given



Person" class is composed off "Nationality" class. What will be the order of execution of constructor of "Keyboard" class and "Keys" class
First Constructor:: Nationality..
Second Constructor:: Person..

First Constructor:: Person..
Second Constructor:: Nationality..


The direction specifies which object contains the other object. In aggregation direction is must
Yes
No


Select correct line of code for inheritance relationship between "Account" class and "SavingAccount" class. "Account" is parent class while "SavingAccount" is child clas

class SavingAccount : public Account
class Account: public SavingAccount
class SavingAccount :: public Account
class Account :: public SavingAccount



 

"Keyboard" class is composed off "keys" class. What will be the order of execution of destructor of "Keyboard" class and "Keys" class
First Detructor::Keys..
Second Destructor::Keyboard..
First Destructor:: Keyboard..
Second Destructor:: Keys..


Select correct line of code for inheritance relationship between "Keys" class and "StandardKeys" class. "Person" is parent class while "StandardKeys" is child class.

class StandardKeys: public Keys
class Keys: public StandardKeys
class StandardKeys:: public Keys
class Keys:: public StandardKeys

Select correct line of code for inheritance relationship between "Gender" class and "Male" class. "Gender" is parent class while "Male" is child class.
class Male: public Gender
class Gender: public Male
class Male:: public Gender
class Gender:: public Male

What will be most appropriate C++ data type for variable "InterestRate
Int
long int
double
float

Select correct line of code for composition relationship between "Keyboard" class and "Keys" class

class keyboard { Keys type;};
class keys{ KeyBoard type; };
class keyboard : private keys
class keys: private KeyBoard


Method "getInterestRate()" should belongs to class
Account()
SavingAccount()
CurrentAccount()
None of the given options

Can we access methods of composed object in the same way as we can access methods of other objects?
Yes
No

The sub-object's life is not dependant on the life of master class in ___________.

Composition

Aggregation

Seperation

non of the given

 

Select correct line of code for inheritance relationship between "Nationality" class and "Foreigner" class. "Nationality" is parent class while "Foreigner" is child class.

"Foreigner" is child class.

class Foreigner: public Nationality

class Nationality: public Foreigner

class Foreigner:: public Nationality

 

Select correct line of code for aggregation relationship between "Person" class and "Phone" class.

class Person { Phone * p; };

class Phone { Person * p; };

class Person { Phone p; };

class Phone { Person p; };

In ______________destructor of sub-object is called after destructor of master class.

smilechat: options

Aggregation

Composition

Inheritance

Association

correct line of code for inheritance relationship between "Gender" class and "Female" class. "Gender" is parent class while "Female" is child

class.

class Female: public Gender

class Gender: public Female

class Female:: public Gender

class Gender:: public Female

Account" is parent class while "CurrentAccount" is child class. Can I inherit the destructor of "account" class?

Yes

No

 

Select correct line of code for aggregation relationship between "Person" class and "Address" class.

class Person { Address * a; };

class Address { Person * a; };

class Person { Address a; };

class Address { Person a; };

 

In ______________constructors of the sub-objects are always executed before the constructors of the master class.

Select correct option:

Aggregation

Composition

Inheritance

Association

 

What will be most appropriate C++ data type for variable "MinimumBalance"?

Select correct option:

int

long int

float

double

 

Person" class is composed off "Nationality" class. What will be the order of execution of constructor of "Keyboard" class and "Keys" class
First Constructor:: Nationality..
Second Constructor:: Person..

First Constructor:: Person..
Second Constructor:: Nationality..

The direction specifies which object contains the other object. In aggregation direction is must
Yes
No

Select correct line of code for inheritance relationship between "Account" class and "SavingAccount" class. "Account" is parent class while "SavingAccount" is child clas
class SavingAccount : public Account
class Account: public SavingAccount
class SavingAccount :: public Account
class Account :: public SavingAccount


"Keyboard" class is composed off "keys" class. What will be the order of execution of destructor of "Keyboard" class and "Keys" class
First Detructor::Keys..
Second Destructor::Keyboard..

First Destructor:: Keyboard..
Second Destructor:: Keys..


Select correct line of code for inheritance relationship between "Keys" class and "StandardKeys" class. "Keys" is parent class while "StandardKeys" is child class.

class StandardKeys: public Keys
class Keys: public StandardKeys
class StandardKeys:: public Keys
class Keys:: public StandardKeys

Select correct line of code for inheritance relationship between "Gender" class and "Male" class. "Gender" is parent class while "Male" is child class.
class Male: public Gender
class Gender: public Male
class Male:: public Gender
class Gender:: public Male


What will be most appropriate C++ data type for variable "InterestRate
Int
long int
double
float

Select correct line of code for composition relationship between "Keyboard" class and "Keys" class
class keyboard { Keys type;};
class keys{ KeyBoard type; };
class keyboard : private keys
class keys: private KeyBoard

Method "getInterestRate()" should belongs to class
Account()
SavingAccount()
CurrentAccount()
None of the given options

Can we access methods of composed object in the same way as we can access methods of other objects?
Yes
No

Identify which of the following overloaded operator function's declaration is appropriate for the given call? Rational_number_1 + 2.325 Where Rational_number_1 is an object of user defined class Rational_number.

Select correct option:

Rational_number operator+( Rational_number & obj);

None of the given choices

Rational_number operator+(Rational_number &obj, double& num);

operator+(double& obj);

 

In _______________ a pointer or reference to an object is created inside a class

Select correct option:

Aggregation

Composition

Seperation

None of the given

 

Sub-Object can not be initialized using the constructor

Select correct option:

True

False

 

To initialize an array of objects, only _____________ will be called

Select correct option:

Defualt Constructor

Overloaded Constructor

Default Object

None of the above

 

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

Select correct option:

take two arguments.

None of the given choices

take single argument

take three arguments

 

Copy constructor is called when:

Select correct option:

An object is created in term of pre existence object

An object is created

An object is initialized

None of the given

 

Which of the following operator doesn't take any argument if overloaded?

Select correct option:

/

-

+

None of the given choices

Object can be declared constant with the use of Constant keyword.

Select correct option:

True

False

 

Always make pointer to null, whenever dynamic memory is deleted.

Select correct option:

True

False

__________ provide the facility to access the data member.

Select correct option:

accesser function

private function

inline function

None of the given

 

_____ is creating objects of one class inside another class.

Association

Composition

Aggregation

Inheritance

 

 



--
Zindagi mein 2 Logo ka buhat khayal rahkoooo
Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo
(Father)
2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)
Regards,
Umair Saulat Mc100403250

--
Please visit http://vusr.net for Old and Latest Papers, Assignments, Quiz and GDBs.
 
http://VUSR.net The ultimate VU Study Resource
 
You received this message because you are subscribed to the Google
Groups "VUSR" group.
 
 
To unsubscribe
vusr+unsubscribe@googlegroups.com
To Visit Group Home Page
http://groups.google.com/group/vusr?hl=en?hl=en

[discussion_vu] Check out "Quiz Fall eng 301-Due date 05-12-2012 (i think round about 20 marks included in this quiz)" on Virtual University of Pakistan

Leading Student's Social Network Worldwide!
+ M.Tariq Mal…
Check out the discussion 'Quiz Fall eng 301-Due date 05-12-2012 (i think round about 20 marks included in this quiz)'

Discussion posted by + ((( A V.U Group ))) +:

upload ur current quiz file

Discussion link:
Quiz Fall eng 301-Due date 05-12-2012 (i think round about 20 marks included in this quiz)

About Virtual University of Pakistan
Leading Students Social Network Community In World of Education For Virtual University of Pakistan Students & Other Universities Worldwide.
Virtual University of Pakistan 38809 members
26498 photos
6547 videos
24998 discussions
40 Events
9603 blog posts
 
To control which emails you receive on Virtual University of Pakistan, click here