CS304 Quiz 1 Questions Solved
#1
CS304 Object Oriented Programming

First quiz was announced for spring semester 2017, here are the solved questions.

Quiz 1 MCQs solved.

 
1. Main characteristic of information hiding is:
 
1. Limited access
2. Unlimited access
3. Keep the model interesting
4. Keep the model simple
 
2. Which of the following is directly related to polymorphism?
1. Overriding
2. Hierarchy
3. Whole-part
4. Encapsulation
 
3. Which of the following is a class association?
 
1. Simple Association
2. Inheritance
3. Composition
4. Aggregation
 
4. If MyClass has a destructor what is the destructor named?
1.MyClass
2.~MyClass
3.My~Class
4.MyClass~
 
5. Without using Deep copy constructor, A ____________ problem can
occur
1.System crash
2.Memory Leakage
3.Dangling pointer
4.All of the given
 
6. Sub-typing means base class can be replaced by the derived class

True
False
 
7. ________ are also called user defined data types.
1. Functions
2. Classes
3. Attributes
4. Sub-Routines



More questions will also be added to list later. You can also share your questions below, and they will be solved and added to the list.
#2
Rainbow 
(05-06-2017, 03:03 PM)Pakistani Wrote: CS304 Object Oriented Programming

First quiz was announced for spring semester 2017, here are the solved questions.

Quiz 1 MCQs solved.

 
1. Main characteristic of information hiding is:
 
1. Limited access
2. Unlimited access
3. Keep the model interesting
4. Keep the model simple
 
2. Which of the following is directly related to polymorphism?
1. Overriding
2. Hierarchy
3. Whole-part
4. Encapsulation
 
3. Which of the following is a class association?
 
1. Simple Association
2. Inheritance
3. Composition
4. Aggregation
 
4. If MyClass has a destructor what is the destructor named?
1.MyClass
2.~MyClass
3.My~Class
4.MyClass~
 
5. Without using Deep copy constructor, A ____________ problem can
occur
1.System crash
2.Memory Leakage
3.Dangling pointer
4.All of the given
 
6. Sub-typing means base class can be replaced by the derived class

True
False
 
7. ________ are also called user defined data types.
1. Functions
2. Classes
3. Attributes
4. Sub-Routines



More questions will also be added to list later. You can also share your questions below, and they will be solved and added to the list.
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  CS304 Assignment 2 Solution Fall 2017 Admin 0 93 11-23-2017, 09:08 PM
Last Post: Admin
  CS304 Assignment 1 Solution Fall 2017 Pakistani 0 1,188 11-06-2017, 10:58 AM
Last Post: Pakistani
  CS304 GDB Solution Pakistani 2 1,051 07-28-2017, 07:54 AM
Last Post: Admin
  CS304 Assignement 1 full Solution 2017 Rubaisha(Moody Girl) 0 662 04-28-2017, 09:34 PM
Last Post: Rubaisha(Moody Girl)
  CS304 Assignment 1 Solution - Fall 2016 Admin 1 1,395 11-10-2016, 08:45 AM
Last Post: Pakistani
  CS304 All Current Final Term Papers 20 August 2016 to 02 September 2016 Rubaisha(Moody Girl) 2 1,116 08-28-2016, 06:23 PM
Last Post: Rubaisha(Moody Girl)
  CS304 GDB Solution Rubaisha(Moody Girl) 0 801 08-10-2016, 01:05 PM
Last Post: Rubaisha(Moody Girl)
  CS304 GDB Admin 0 968 08-04-2016, 02:10 PM
Last Post: Admin
  CS304 assignment #3 2nd solution Rubaisha(Moody Girl) 0 596 07-30-2016, 07:47 PM
Last Post: Rubaisha(Moody Girl)
  CS304 Assignment #3 solution Rubaisha(Moody Girl) 4 1,582 07-30-2016, 12:35 PM
Last Post: Rubaisha(Moody Girl)



Users browsing this thread:
1 Guest(s)