CS304 Mega Solved MCQs File
CS304 Mega Solved MCQs File
CS304 Mega Solved MCQs File
net
For Assignment Solution, GDB, Online Quizzes, Helping Study material, Past Solved Papers, Solved MCQs, Current Papers, E-Books & more.
VUSTUENTS.NET is a community formed to overcome the disadvantages of distant learning and virtual environment, where pupils dont have any formal contact with their mentors, This community provides its members with the solution to current as well as the past Assignments, Quizzes, GDBs, and Papers. This community also facilitates its members in resolving the issues regarding subject and university matters, by providing text e-books, notes, and helpful conversations in chat room as well as study groups. Only members are privileged with the right to access all the material, so if you are not a member yet, kindly SIGN UP to get access to the resources of VUSTUDENTS.NET Regards VUSTUDENTS.NET TEAM. Virtual University of Pakistan
Date: 08-11-2010 Question # 1 of 10 Information hiding can be achieved through__________. 1. Encapsulation, Inheritance 2. Encapsulation, Polymorphism 3. Encapsulation, Abstraction 4. Overloading Question # 2 of 10 ( Start time: 01:11:21 AM ) Total Marks: 1 A good model is ................ related to a real life problem. Select correct option: 1. Loosely 2. Openly 3. Closely Question # 3 of 10 ( Start time: 01:12:33 AM ) Total Marks: 1
Which of the following features of OOP is used to derive a class from
another?
Select correct option:
1. Encapsulation 2. Polymorphism
3. Data hiding 4. Inheritance Question # 4 of 10 ( Start time: 01:13:51 AM ) Total Marks: 1 Which of the following is a weak relationship between two objects? Select correct option: 1. Inheritance 2. Composition 3. Aggregation 4. None of given Question # 5 of 10 ( Start time: 01:14:56 AM ) Total Marks: 1
Data items in a class must be private.
Select correct option:
1. True 2. False Question # 6 of 10 ( Start time: 01:15:52 AM ) Total Marks: 1 Which one is a class association Select correct option: 1. Simple Association 2. Inheritance 3. Composition 4. Aggregation
Question # 7 of 10 ( Start time: 01:16:55 AM ) Total Marks: 1 Suppose there is an object of type Person, which of the following can be considered as one of its attributes Select correct option: 1. Name 2. Age 3. Work() 4. Both Name and Age Question # 8 of 10 ( Start time: 01:17:52 AM ) Total Marks: 1
Which one is not an object association?
Select correct option:
1. Simple association 2. Inheritance 3. Aggregation 4. Association Question # 9 of 10 ( Start time: 01:18:50 AM ) Total Marks: 1 Using encapsulation we can achieve Select correct option: 1. Information hiding 2. Least interdependencies among modules 3. Implementation independence 4. All of given options
If MyClass has a destructor what is the destructor named? 1. MyClass 2. ~MyClass 3. My~Class 4. MyClass~ Question # 4 of 10:
Class abc{ ----- }; Is a valid class declaration?
1. yes 2. no Question # 5of 10: Without using Deep copy constructor, A ____________ problem can occur 1. System crash 2. Memory Leakage 3. Dangling pointer 4. All of the given Question # 6 of 10: If only one behaviour of a derived class is incompatible with base class, then it is: 1. Generalization 2. Specialization 3. Extension
4. Inheritance Question # 7 of 10: Which of the following may not be an integral part of an object? 1. state 2. behavior 3. Protected data members 4. All of given Question # 8 of 10: Only tangible things can be chosen as an object. 1. True 2. False
1.
2. Question # 1 of 10
Question # 6 of 10 ( Start time: 01:15:52 AM ) Total Marks: 1 Which one is a class association Select correct option: Simple Association Inheritance Composition Aggregation Question # 7 of 10 ( Start time: 01:16:55 AM ) Total Marks: 1 Suppose there is an object of type Person, which of the following can be considered as one of its attributes Select correct option: Name Age Work() Both Name and Age
Question # 9 of 10 ( Start time: 01:18:50 AM ) Total Marks: 1 Using encapsulation we can achieve Select correct option: Information hiding Least interdependencies among modules
Implementation independence
All of given options
Question # 10 of 10 ( Start time: 01:19:43 AM ) Total Marks: 1
In constant member function the type of this pointer is:
Select correct option:
Constant pointer
Constant pointer to object Constant pointer to class Constant pointer to constant object Question # 1 of 10 Which of the following is the way to extract common behavior and attributes from the given classes and make a separate class of those common behaviors and attributes? Generalization Sub-typing Specialization Extension Question # 2 of 10 The ability to derive a class from more than one class is called Single inheritance Encapsulation Multiple inheritance Polymorphism
Question # 3 of 10:
If MyClass has a destructor what is the destructor named?
MyClass
~MyClass My~Class
MyClass~
Question # 4 of 10:
Class abc{ ----- }; Is a valid class declaration?
yes no Question # 5of 10: Without using Deep copy constructor, A ____________ problem can occur System crash Memory Leakage Dangling pointer
Class is not a mechanism to create objects and define user data types. 1. true 2. false
Memory is allocated to non static members only, when: 1. 2. 3. 4. Class is created Object is defined Object is initialized Object is created
The sub-objects life is not dependent on the life of master class in ___________. 1. Composition 2. Aggregation 3. Separation 4. non of the given Unary operators and assignment operator are right associative.
1. true 2. false
The >= operator can't be overloaded. 1. true 2. false _____ is creating objects of one class inside another class. 1. Association 2. Composition 3. Aggregation 4. Inheritance
If we are create array of objects through new operator, then 1. 2. 3. 4. We can call overloaded constructor through new We cant call overloaded constructor through new We can call default constructor through new None of the given
Object can be declared constant with the use of Constant keyword. 1. true 2. false __________ Operator will take only one operand. 1. 2. 3. 4. New int object none of the given
4. All of the given choices this pointer does not pass implicitly to __________ functions. 1. 2. 3. 4. Static Member Non-Static Member Instance Number None of the given
Operator overloading is 1. making C++ operators work with objects. 2. giving C++ operators more than they can handle. 3. giving new meanings to existing Class members. 4. making new C++ operators
MC100202262 : Muhammad Naveed Anjum Quiz Start Time: 09:57 AM Time Left 90 sec(s) Question # 1 of 10 ( Start time: 09:57:41 AM ) Total Marks: 1 Consider the code below, class class1{ public: void func1(); }; class class2 : private class1 { }; Function func1 of class1 is ______ in class2, Select correct option: public protected private none of the given options Click here to Save Answer & Move to Next Question MC100202262 : Muhammad Naveed Anjum Quiz Start Time: 09:57 AM Time Left 88 sec(s) Question # 2 of 10 ( Start time: 09:59:01 AM ) Total Marks: 1 User can make virtual table explicitly. Select correct option: True False Click here to Save Answer & Move to Next Question
MC100202262 : Muhammad Naveed Anjum Quiz Start Time: 09:57 AM Time Left 76 sec(s) Question # 3 of 10 ( Start time: 10:00:15 AM ) Total Marks: 1 In private inheritance derived class pointer can be assigned to base class pointer in, Select correct option: Main function In derived class member and friend functions In base class member and friend functions None of the given options Click here to Save Answer & Move to Next Question MC100202262 : Muhammad Naveed Anjum Quiz Start Time: 09:57 AM Time Left 85 sec(s) Question # 4 of 10 ( Start time: 10:01:15 AM ) Total Marks: 1 In C++, we declare a function virtual by preceding the function header with keyword Inline Select correct option: True False Click here to Save Answer & Move to Next Question MC100202262 : Muhammad Naveed Anjum Quiz Start Time: 09:57 AM Time Left 87 sec(s) Question # 5 of 10 ( Start time: 10:02:45 AM ) 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. Click here to Save Answer & Move to Next Question MC100202262 : Muhammad Naveed Anjum Quiz Start Time: 09:57 AM Time Left 86 sec(s) Question # 6 of 10 ( Start time: 10:03:10 AM ) Total Marks: 1 Friend Functions of a class are _________ members of that class. Select correct option: Public Private Protected None of the given options.
Click here to Save Answer & Move to Next Question MC100202262 : Muhammad Naveed Anjum Time Left 89 sec(s) Quiz Start Time: 09:57 AM Question # 7 of 10 ( Start time: 10:03:54 AM ) Total Marks: 1 Consider the following two lines of code written for a class Student, 1. Student sobj1,sobj2; 2. sobj2 = sobj1; In line No.2 what constructor of Student class will be called, Select correct option: Default constructor of Student class.
Copy constructor of student class
Both default and copy constructer of Student class
No constructor will be called.
Click here to Save Answer & Move to Next Question
MC100202262 : Muhammad Naveed Anjum Quiz Start Time: 09:57 AM Time Left 87 Class is not a mechanism to create objects and define user data types. 1. 2. true false
Memory is allocated to non static members only, when: 1. 2. 3. 4. Class is created Object is defined Object is initialized Object is created
The sub-objects life is not dependent on the life of master class in ___________. 1. 2. 3. 4. Composition Aggregation Separation non of the given
Unary operators and assignment operator are right associative. 1. 2. true false
_____ is creating objects of one class inside another class. 1. 2. 3. 4. Association Composition Aggregation Inheritance
If we are create array of objects through new operator, then 1. 2. 3. 4. We can call overloaded constructor through new We cant call overloaded constructor through new We can call default constructor through new None of the given
Object can be declared constant with the use of Constant keyword. 1. 2. true false
__________ Operator will take only one operand. 1. 2. 3. 4. New int object none of the given
Which of the following operator(s) take(s) one or no argument if overloaded? 1. 2. 3. 4. ++ * % All of the given choices
this pointer does not pass implicitly to __________ functions. 1. 2. 3. 4. Static Member Non-Static Member Instance Number None of the given
Operator overloading is 1. 2. 3. 4. making C++ operators work with objects. giving C++ operators more than they can handle. giving new meanings to existing Class members. making new C++ operators
Time Left
88 sec(s)
Quiz Start Time: 10:39 PM Question # 1 of 8 ( Start time: 10:39:47 PM ) Total Marks: 1 Which of the following operator(s) take(s) one or no argument if overloaded? Select correct option:
++
Time Left
89 sec(s)
Quiz Start Time: 10:39 PM Question # 2 of 8 ( Start time: 10:40:38 PM ) Object can be declared constant with the use of Constant keyword. Select correct option:
True
Total Marks: 1
False
Time Left
89 sec(s)
Quiz Start Time: 10:39 PM Question # 3 of 8 ( Start time: 10:41:41 PM ) Static data members are called ____________ variable Select correct option:
Class
Total Marks: 1
Object
Structure
Time Left
89 sec(s)
Quiz Start Time: 10:39 PM Question # 4 of 8 ( Start time: 10:42:35 PM ) Associatively can be change in operator overloading. Select correct option:
True
Total Marks: 1
False
Time Left
89 sec(s)
Quiz Start Time: 10:39 PM Question # 5 of 8 ( Start time: 10:43:56 PM ) ________ and ______ methods may not be declared abstract. Select correct option:
Pr ivate,static
Total Marks: 1
pr ivate,public
static,public
Time Left
89 sec(s)
Quiz Start Time: 10:39 PM Question # 6 of 8 ( Start time: 10:45:17 PM ) Total Marks: 1 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 tw o arguments.
Time Left
88 sec(s)
Quiz Start Time: 10:39 PM Question # 7 of 8 ( Start time: 10:46:48 PM ) To initialize an array of objects, only _____________ will be called Select correct option:
Def ualt Constructor
Total Marks: 1
Time Left
87 sec(s)
Quiz Start Time: 10:39 PM Question # 8 of 8 ( Start time: 10:47:49 PM ) __________ provide the facility to access the data member. Select correct option:
accesser function
Total Marks: 1
pr ivate f unction
inline f unction
sec(s) Question # 8 of 10 ( Start time: 10:04:41 AM ) Total Marks: 1 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, Select correct option: Default constructor of Student class. Copy constructor of student class Both default and copy constructer of student class None the given options Click here to Save Answer & Move to Next Question MC100202262 : Muhammad Naveed Anjum Quiz Start Time: 09:57 AM Time Left 87 sec(s) Question # 9 of 10 ( Start time: 10:05:09 AM ) Total Marks: 1 Consider the code below, class class1{ protected: void func1(); }; class class2 : protected class1 { }; Function func1 of class1 is ______ in class2, Select correct option: public protected private none of the given options Click here to Save Answer & Move to Next Question MC100202262 : Muhammad Naveed Anjum Quiz Start Time: 09:57 AM Time Left 88
sec(s) Question # 10 of 10 ( Start time: 10:05:50 AM ) Total Marks: 1 Virtual functions allow you to Select correct option: create an array of type pointer-to-base class that can hold pointers to derived classes.
create functions that can never be accessed.
group objects of different classes so they can all be accessed by the same function code.
use the same function call to execute member functions of objects from different classes.
Click here to Save Answer & Move to Next Question
Question # 1 of 10
Information hiding can be achieved through__________.
1. Encapsulation, Inheritance 2. Encapsulation, Polymorphism 3. Encapsulation, Abstraction 4. Overloading
Question # 2 of 10 ( Start time: 01:11:21 AM ) Total Marks: 1 A good model is ................ related to a real life problem. Select correct option: 1. Loosely 2. Openly 3. Closely Question # 3 of 10 ( Start time: 01:12:33 AM ) Total Marks: 1
Which of the following features of OOP is used to derive a class from another?
Select correct option:
1. Encapsulation 2. Polymorphism 3. Data hiding 4. Inheritance Question # 4 of 10 ( Start time: 01:13:51 AM ) Total Marks: 1 Which of the following is a weak relationship between two objects? Select correct option: 1. Inheritance 2. Composition 3. Aggregation 4. None of given Question # 5 of 10 ( Start time: 01:14:56 AM ) Total Marks: 1 Data items in a class must be private.
Question # 6 of 10 ( Start time: 01:15:52 AM ) Total Marks: 1 Which one is a class association Select correct option: 1. Simple Association 2. Inheritance 3. Composition 4. Aggregation Question # 7 of 10 ( Start time: 01:16:55 AM ) Total Marks: 1 Suppose there is an object of type Person, which of the following can be considered as one of its attributes Select correct option: 1. Name 2. Age 3. Work() 4. Both Name and Age
4.
Question # 10 of 10 ( Start time: 01:19:43 AM ) Total Marks: 1 In constant member function the type of this pointer is: Select correct option: 1. Constant pointer 2. Constant pointer to object 3. Constant pointer to class 4. Constant pointer to constant object Question # 1 of 10 Which of the following is the way to extract common behavior and attributes from the given classes and make a separate class of those common behaviors and attributes? 1. Generalization 2. Sub-typing 3. Specialization 4. Extension Question # 2 of 10 The ability to derive a class from more than one class is called 1. Single inheritance 2. Encapsulation 3. Multiple inheritance 4. Polymorphism Question # 3 of 10:
If MyClass has a destructor what is the destructor named?
1. MyClass 2. ~MyClass 3. My~Class 4. MyClass~ Question # 4 of 10:
Class abc{ ----- }; Is a valid class declaration?
1. yes 2. no Question # 5of 10:
Without using Deep copy constructor, A ____________ problem can occur
1. System crash 2. Memory Leakage 3. Dangling pointer
4.
Question # 6 of 10:
If only one behaviour of a derived class is incompatible with base class, then it is:
1. Generalization 2. Specialization 3. Extension 4. Inheritance Question # 7 of 10:
Which of the following may not be an integral part of an object?
1. state 2. behavior 3. Protected data members 4. All of given Question # 8 of 10:
Only tangible things can be chosen as an object.
1. True 2. False
Time Left
79 sec(s)
Quiz Start Time: 08:14 PM Question # 1 of 10 ( Start time: 08:14:14 PM ) When we create objects, then space is allocated to: Select correct option:
Member f unctions
Total Marks: 1
Data members
Time Left
87 sec(s)
Quiz Start Time: 08:14 PM Question # 2 of 10 ( Start time: 08:15:18 PM ) Constructor and destructor can be declared constant Select correct option:
True
Total Marks: 1
False
Time Left
88 sec(s)
Quiz Start Time: 08:14 PM Question # 3 of 10 ( Start time: 08:16:04 PM ) Information hiding can be achieved through__________. Select correct option:
Encapsulation, Inher itance
Total Marks: 1
Encapsulation, Polymorphism
Encapsulation, Abstraction
Time Left
88 sec(s)
Quiz Start Time: 08:14 PM Question # 4 of 10 ( Start time: 08:16:47 PM ) Total Marks: 1 A real world object can be transformed into programming entity by defining its respective Select correct option:
Class
Function
Only states
Time Left
88 sec(s)
Quiz Start Time: 08:14 PM Question # 5 of 10 ( Start time: 08:17:50 PM ) Which of the following is a weak relationship between two objects? Select correct option:
Inher itance
Total Marks: 1
Compos ition
Aggregation
None of given
Time Left
88 sec(s)
Quiz Start Time: 08:14 PM Question # 6 of 10 ( Start time: 08:18:45 PM ) Which of the following is a necessary ingredient in an object model? Select correct option:
Class
Total Marks: 1
Objects
Assoc iation
All of given
Time Left
88 sec(s)
Quiz Start Time: 08:14 PM Question # 7 of 10 ( Start time: 08:19:48 PM ) If a class A inherits from class B, then class A is called. Select correct option:
Child c lass
Total Marks: 1
Parent c lass
Time Left
88 sec(s)
Quiz Start Time: 08:14 PM Question # 8 of 10 ( Start time: 08:20:54 PM ) Total Marks: 1 Which of the following is the way to extract common behaviour and attributes from the given classes and make a separate class of those common behaviours and attributes? Select correct option:
Generalization
Sub-typing
Spec ialization
Extens ion
Time Left
87 sec(s)
Quiz Start Time: 08:14 PM Question # 9 of 10 ( Start time: 08:21:27 PM ) Total Marks: 1 The ______ keyword tells the compiler to substitute the code within the function definition for every instance of a function call Select correct option:
virtual
inline
instance
Time Left
88 sec(s)
Quiz Start Time: 08:14 PM Question # 10 of 10 ( Start time: 08:22:16 PM ) Total Marks: 1 The process of hiding unwanted details from users is called __________. Select correct option:
Protection
Encapsulation
Argumentation
Abstraction
Time Left
70 sec(s)
Quiz Start Time: 12:40 PM Question # 1 of 10 ( Start time: 12:40:20 PM ) Total Marks: 1 Which of the following is the way to extract common behaviour and attributes from the given classes and make a separate class of those common behaviours and attributes? Select correct option:
Generalization
Sub-typing
Spec ialization
Extens ion
Time Left
69 sec(s)
Quiz Start Time: 12:40 PM Question # 2 of 10 ( Start time: 12:41:52 PM ) Total Marks: 1 A fan has wings. Which type of relation exists between fan and wings in this sentence?
Select correct option:
Aggregation
Assoc iation
Generalization
Compos ition
Time Left
75 sec(s)
Quiz Start Time: 12:40 PM Question # 3 of 10 ( Start time: 12:42:46 PM ) A good model is ................ related to a real life problem. Select correct option:
Loosely
Total Marks: 1
Openly
Closely
Not
Time Left
65 sec(s)
Quiz Start Time: 12:40 PM Question # 5 of 10 ( Start time: 12:44:45 PM ) When we create objects, then space is allocated to: Select correct option:
Member f unctions
Total Marks: 1
Data members
Time Left
79 sec(s)
Quiz Start Time: 12:40 PM Question # 6 of 10 ( Start time: 12:45:21 PM ) There is only one form of copy constructor. Select correct option:
True
Total Marks: 1
False
Time Left
22 sec(s)
Quiz Start Time: 12:40 PM Question # 7 of 10 ( Start time: 12:45:38 PM ) Total Marks: 1 Which of the following features of OOP is used to deal with only relevant details? Select correct option:
Abstraction
Object
Inheritance
Time Left
59 sec(s)
Quiz Start Time: 12:40 PM Question # 8 of 10 ( Start time: 12:48:26 PM ) Total Marks: 1 Suppose there is an object of type Person, which of the following can be considered as one of its attributes Select correct option:
Age
Work()
Time Left
64 sec(s)
Quiz Start Time: 12:40 PM Question # 9 of 10 ( Start time: 12:56:04 PM ) Through interface we access object_________________. Select correct option:
States
Total Marks: 1
Data members
Behav iour
Time Left
75 sec(s)
Quiz Start Time: 12:40 PM Question # 10 of 10 ( Start time: 12:57:00 PM ) If a class A inherits from class B, then class A is called. Select correct option:
Child c lass
Total Marks: 1
Parent c lass
Time Left
66 sec(s)
Quiz Start Time: 12:59 PM Question # 1 of 10 ( Start time: 12:59:51 PM ) Total Marks: 1 If some of objects exhibit identical characteristics, then they belong to: Select correct option:
Dif f erent c lasses
Multiple c lasses
Same c lass
Time Left
82 sec(s)
Quiz Start Time: 12:59 PM Question # 2 of 10 ( Start time: 01:00:41 PM ) ________ is automatically called when the object is created. Select correct option:
member f unction
Total Marks: 1
object
constructor
Time Left
18 sec(s)
Quiz Start Time: 12:59 PM Question # 3 of 10 ( Start time: 01:03:09 PM ) Which is true about sub-typing in case of inheritance? Select correct option:
In sub-typing a new c lass is derived from ex isting w
Total Marks: 1
In sub-typing a new c lass is derived from ex isting w In sub-typing a c lass is der ived f rom ex isting one w h
Time Left
67 sec(s)
Quiz Start Time: 12:59 PM Question # 4 of 10 ( Start time: 01:04:28 PM ) If a class involves dynamic memory allocation, then: Select correct option:
Def ault copy constructor, shallow copy is implement
Total Marks: 1
Time Left
81 sec(s)
Quiz Start Time: 12:59 PM Question # 5 of 10 ( Start time: 01:05:37 PM ) Which one is a class association Select correct option:
Simple Assoc iation
Total Marks: 1
Inheritance
Compos ition
Aggregation
Time Left
83 sec(s)
Quiz Start Time: 12:59 PM Question # 6 of 10 ( Start time: 01:06:50 PM ) Data items in a class must be private. Select correct option:
True
Total Marks: 1
False
Time Left
68 sec(s)
Quiz Start Time: 12:59 PM Question # 7 of 10 ( Start time: 01:07:16 PM ) Three main characteristics of "Object Oriented programming" are, Select correct option:
Encapsulation,dynamc binding,polymarhpishm i
Total Marks: 1
Time Left
70 sec(s)
Quiz Start Time: 12:59 PM Question # 8 of 10 ( Start time: 01:08:14 PM ) Total Marks: 1 Which of the following is the way to extract common behaviour and attributes from the given classes and make a separate class of those common behaviours and attributes? Select correct option:
Generalization
Sub-typing
Spec ialization
Extens ion
Time Left
69 sec(s)
Quiz Start Time: 12:59 PM Question # 9 of 10 ( Start time: 01:09:04 PM ) Total Marks: 1 The sentence Object Oriented Programming book in bookshelf is an example of: Select correct option:
Assoc iation
Aggregation
Time Left
79 sec(s)
Quiz Start Time: 12:59 PM Question # 10 of 10 ( Start time: 01:16:05 PM ) Data members are the attributes of objects. Select correct option:
True
Total Marks: 1
False
Time Left
81 sec(s)
Quiz Start Time: 01:18 PM Question # 1 of 10 ( Start time: 01:18:48 PM ) Constructor have same name as the class name. Select correct option:
True
Total Marks: 1
False
Time Left
70 sec(s)
Quiz Start Time: 01:18 PM Question # 2 of 10 ( Start time: 01:19:03 PM ) Total Marks: 1 Which of the following features of OOP is used to derive a class from another? Select correct option:
Encapsulation
Polymorphism
Data hiding
Inher itance
Time Left
81 sec(s)
Quiz Start Time: 01:18 PM Question # 3 of 10 ( Start time: 01:19:29 PM ) Class abc{ ----- }; Is a valid class declaration? Select correct option:
Yes
Total Marks: 1
No
Time Left
82 sec(s)
Quiz Start Time: 01:18 PM Question # 6 of 10 ( Start time: 01:22:47 PM ) Which of the following is a weak relationship between two objects? Select correct option:
Inher itance
Total Marks: 1
Compos ition
Aggregation
None of given
Time Left
79 sec(s)
Quiz Start Time: 01:18 PM Question # 4 of 10 ( Start time: 01:20:47 PM ) Total Marks: 1 Without using Deep copy constructor, A ____________ problem can occur Select correct option:
System crash
Memory Leakage
Dangling pointer
Time Left
60 sec(s)
Quiz Start Time: 01:18 PM Question # 5 of 10 ( Start time: 01:21:20 PM ) An abstract class shows ____________ behaviour. Select correct option:
Overr iding
Total Marks: 1
Spec if ic
General
Time Left
35 sec(s)
Quiz Start Time: 01:18 PM Question # 7 of 10 ( Start time: 01:22:59 PM ) Which of the following are benefits of encapsulation? Select correct option:
All var iables can be manipulated as Objects instead
Total Marks: 1
Time Left
80 sec(s)
Quiz Start Time: 01:18 PM Question # 8 of 10 ( Start time: 01:24:19 PM ) If a class A inherits from class B, then class A is called. Select correct option:
Child c lass
Total Marks: 1
Parent c lass
Time Left
77 sec(s)
Quiz Start Time: 01:18 PM Question # 9 of 10 ( Start time: 01:24:44 PM ) Total Marks: 1 Consider the statement room has chair Which of the following type of association exists between room and chair? Select correct option:
Inher itance
Compos ition
Aggregation
Time Left
88 sec(s)
Quiz Start Time: 01:18 PM Question # 10 of 10 ( Start time: 01:25:05 PM ) Total Marks: 1 The dot operator (or class member access operator) connects the following two entities (reading from left to right): Select correct option:
A c lass member and a c lass object