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 2019 Ayra Suleman 0 81 11-29-2019, 12:16 AM
Last Post: Ayra Suleman
  CS304 Assignment Solution Fall 2019 Ayra Suleman 0 57 11-26-2019, 11:29 PM
Last Post: Ayra Suleman
  CS304 Assignment Solution Spring 2019 Ayra Suleman 0 878 07-20-2019, 05:41 PM
Last Post: Ayra Suleman
  CS304 Assignment Solution Spring 2019 Mishi Khan 0 511 05-28-2019, 02:34 AM
Last Post: Mishi Khan
  CS304 Assignment Solution Spring 2019 Mishi Khan 0 298 05-11-2019, 10:45 PM
Last Post: Mishi Khan
  CS304 GDB solution Mishi Khan 0 828 02-13-2019, 05:55 PM
Last Post: Mishi Khan
  CS304 MidTerm Past Paper Mishi Khan 0 782 12-14-2018, 09:54 PM
Last Post: Mishi Khan
  CS304 Assignment 2 Solution Fall 2017 Admin 0 5,307 11-23-2017, 09:08 PM
Last Post: Admin
  CS304 Assignment 1 Solution Fall 2017 Pakistani 0 6,490 11-06-2017, 10:58 AM
Last Post: Pakistani
  CS304 GDB Solution Pakistani 2 5,851 07-28-2017, 07:54 AM
Last Post: Admin



Users browsing this thread:
1 Guest(s)