Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.


CS304 Grand Quiz + Mid Term Quiz Fall 2020 Prepartion Material Due Date: 28-12-2020

Dear Students, please share your Current Midterm Paper (Grand Quiz) Fall 2020. This will be helpful for many students who are looking for help/assistance regarding there Grand Quiz.

Let's help each other in Grand Quiz and make vustudents into a better community for VU students.

Just copy text of each MCQ of your Grand Quiz and paste here or save in a MS Word/PDF file and upload in replies.

 

VU Students team will post here Grand quiz about this subject, to help VU Students. Let's discuss here abouth Grand QUIZ, clear your concepts, improve learning and help each other. Good luck 

 

 

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

CS304

View All Featured Discussions

Views: 1239

Replies to This Discussion

CS304 Grand Quiz Solved Spring 2020

27-06-2020

 

id: 1
Question: ___ is a relationship.

1: Polymarphism
2: abstraction
3: Inheritance
4: encapsulation
Correct Answer: 3

id: 2
Question: ____ satisfy the condition of polymorphism.

1: Carbon
2: Diamond
3: Coal
4: all of the given
Correct Answer: 4

id: 3
Question: A generalization-specialization relation between classes are implemented using

1: data hiding
2: friend classes
3: encapsulation
4: inheritance
Correct Answer: 4

id: 4
Question: In order to free the memory occupied by the object, we use -------------.

1: Constructor
2: Destructor
3: Shallow Copy
4: Deep Copy
Correct Answer: 2

id: 5
Question: Which of the following is not an example of multiple inheritances?----------.

1: Mermaid
2: Woman
3: None of the given
4: Amphibious Vehicle
Correct Answer: 2

id: 6
Question: A generic class showing all the common attributes and a behavior of other classes represents a very important feature in oop called --------

1: Inheritance
2: Polymarphism
3: Encapsulation
4: Abstraction
Correct Answer: 2

id: 7
Question: We can get only one unique value which can be used by all the objects of that class by the use of,

1: dynamic variables
2: static variables
3: instance variables
4: data members
Correct Answer: 2

id: 8
Question: A member function having the same name as that of a class and a ~ sign with it is called,

1: Constructor
2: Getter
3: Setter
4: Destructor
Correct Answer: 4

id: 9
Question: Using encapsulation we can achieve

1: Information hiding
2: Least inter dependencies among modules
3: Implementation independence
4: All of given options
Correct Answer: 1

id: 10
Question: Inheritance is a way to

1: pass arguments to objects of classes.
2: improve data hiding and encapsulation.
3: make general classes into more specific classes.
4: providing class growth through natural selection.
Correct Answer: 3

id: 11
Question: For classes with common behavior, you can save effort by placing the common behavior in a ___.

1: Derived Class
2: Base class
3: Deprived Class
4: Named class
Correct Answer: 2

id: 12
Question: Which of the following are an advantage of OOP?

1: OOP makes it easy to re-use the code.
2: It provides an ability to create one user defined data type by extending the other.
3: It provides the facility of defining Abstract data types through which real world entities can be defined better.
4: All of the given options
Correct Answer: 4

id: 13
Question: In OOP a class is an example of ___.

1: Data Type
2: Abstract Type
3: User Defined Type
4: None of the given
Correct Answer: 3

id: 14
Question: A class can be identified from a statement by -------------.

1: Pronoun
2: Verb
3: Noun
4: Adverb
Correct Answer: 3

id: 15
Question: The members of a class that can be accessed without creating the object of the class is called

1: Private member
2: Data Member
3: Public Member
4: Static
Correct Answer: 3

id: 16
Question: Suppose there is an object of type Person, which of the following can be considered as one of its attributes

1: Name
2: Age
3: Work()
4: Both Name and Age
Correct Answer: 4

id: 17
Question: What a derived class can add?

1: New data members
2: New member functions and New friend functions
3: New constructors and destructor
4: All of given
Correct Answer: 4

id: 18
Question: ____ is/are used to access information hidden within an object?

1: Interface
2: Private data members
3: Private member functions
4: Both public and private members
Correct Answer: 3

id: 19
Question: Given the following class
class Base{
int Age=33;
}
How you can improve above class with respect to accessing the field Age?

1: Define the variable Age as private
2: Define the variable Age as protected
3: Define the variable Age as private and create a get method that returns it and a set method that updates it
4: Define the variable Age as protected and create a set method that returns it and a get method that updates it
Correct Answer: 3

id: 20
Question: Which of the following operators always takes no argument if overloaded?

1: /
2: +
3: -
4: ++
Correct Answer: 4

CS304 Object Oriented Programming Grand Quiz (Current Midterm Papers) Spring 2020


CS304 Grand Quiz Solved Spring 2020

27-06-2020

 

id: 1
Question: Assume a class C with objects obj1, obj2, and obj3. For the statement obj3 = obj1 - obj2 to work correctly, if the overloaded - operator must

1: take two arguments
2: return a value
3: create a named temporary object
4: take four arguments
Correct Answer: 2

id: 2
Question: We achieve independence of internal implementation from its external interface through-----------.

1: Encapsulation
2: Information Hiding
3: Abstraction
4: both encapsulation and information hiding
Correct Answer: 3

id: 3
Question: Which one of the following is not an object association?

1: Simple Association
2: Inheritance
3: Aggregation
4: Composition
Correct Answer: 2

id: 4
Question: We capture the object attributes and behavior in Object Oriented programming using---------------.

1: Class
2: Function
3: Data Members
4: Instances
Correct Answer: 2

id: 5
Question: The return type of a constructor is of -------------.

1: Integer
2: Chracter
3: Double
4: No type
Correct Answer: 4

id: 6
Question: Which one of the following terms best represents the statement given below,”Hiding details of an object from the other parts of a program”

1: Obfuscation
2: Data Mining
3: Compilation
4: Encapsulation
Correct Answer: 4

id: 7
Question: The process of hiding unwanted details from users is called ____.

1: Protection
2: Argumentation
3: Encapsulation
4: Abstraction
Correct Answer: 3

id: 8
Question: An employee working in an organization has
1. Name
2. Past experience
3. Age
4. Relatives
5. Hobbies in spare times
Keeping in view the principle of abstraction, which of the above information the company needs to save
as employee’s record?

1: 2, 4
2: 1, 3, 5
3: 1, 2, 3
4: 1, 2, 3, 4
Correct Answer: 3

id: 9
Question: The concept of derived classes is involved in,

1: inheritance
2: encapsulation
3: structure
4: array
Correct Answer: 1

id: 10
Question: Which construct is the source for the creation of an object?

1: Destructor of the class
2: New operator
3: Delete operator
4: Constructor of the class
Correct Answer: 2

id: 11
Question: When a variable is define as static in a class then all object of this class,

1: Have different copies of this variable
2: Have same copy of this variable
3: Can not access this variable
4: None of given
Correct Answer: 2

id: 12
Question: The life of sub object is not dependent on the life of master class in _____.

1: Composition
2: Aggregation
3: Separation
4: None of the given
Correct Answer: 2

id: 13
Question: Which one is not keyword in C++?

1: operator
2: const
3: B_op
4: None of given
Correct Answer: 3

id: 14
Question: A template provides a convenient way to make a family of

1: variables and data members
2: functions and classes
3: classes and exceptions
4: programs and algorithms
Correct Answer: 2

id: 15
Question: Which one of the following terms must relate to polymorphism?

1: Static allocation
2: Static typing
3: Dynamic binding
4: Dynamic allocation
Correct Answer: 3

id: 16
Question: What is true about function templates?

1: The compiler generates only one copy of the function template
2: The compiler generates a copy of function respective to each type of data
3: The compiler can only generate copy for the int type data
4: None of the given
Correct Answer: 2

id: 17
Question: Which of the following is the best approach if it is required to have more than one functions having exactly same functionality and implemented on different data types?

1: Templates
2: Overloading
3: Data hiding
4: Encapsulation
Correct Answer: 1

id: 18
Question: Assume a class Derv that is privately derived from class Base. An object of class Derv located in main() can access

1: public members of Derv
2: protected members of Derv
3: private members of Derv
4: protected members of Base
Correct Answer: 1

id: 19
Question: In order to define a class template, the first line of definition must be:

1: template <typename T>
2: typename <template T>
3: Template Class <ClassName>
4: Class <Template T>
Correct Answer: 1

id: 20
Question: When the base class and the derived class have a member function with the same name, you must be more specific which function you want to call (using _____).

1: scope resolution operator
2: dot operator
3: null operator
4: Operator overloading
Correct Answer: 4

CS 304 GRAND QUIZ solved 27,2020

CS 304 GRAND QUIZ solved 2020 

  • cs304 midterm solved mcqs papers by moaaz
  • cs304 midterm solved papers by waqar
  • cs304 midterm mcqs solved past papers
  • cs304 solved mcqs mega file
  • cs403 midterm solved mcqs by moaaz
  • cs304 solved midterm past papers by moaaz
  • cs304 final term solved papers by waqar
  • cs304 short notes for mid term
  • CS304 MidTerm Solved MCQs
  • CS304 MidTerm solved Subjective
  • CS304 MidTerm solved papers mega file
  • CS304 MidTerm Solved Up to date
  • CS304 MidTerm solved papers mega file
  • CS304 MidTerm Solved MCQs and Subjective with References by Moaaz
  •  

Cs304-Midterm Solved Mcqs With References by Moaaz click on the below link 

https://www.scribd.com/document/436728705/Cs304-Midterm-Solved-Mcqs...

CS304-midterm-solved-subjective-by-Moaaz.pdf  click on the below link 

https://www.yumpu.com/en/document/view/28762063/cs304-midterm-solve...

DOWNLOAD CS304 SOLVED MCQS WITH REFERENCE

Cs304_OOP_solved_mcqs_with_reference.pdf

CS304 MidTerm past papers mega files solved

CS304 Mid term Solved MCQs and Subjective With References by Moaaz,

CS304 past papers,

CS304 Mid term Solved MCQs and Subjective With References by Moaaz,

CS304 MidTerm Solved MCQs

CS304 MidTerm solved Subjective

CS304 MidTerm solved papers mega file

CS304 MidTerm Solved Up to date

CS304 MidTerm solved papers mega file

CS304 MidTerm Solved MCQs and Subjective with References by Moaaz

CS304 Mid term Solved MCQs and Subjective With References by Moaaz,

Here is the download link to solved mcqs.

Download MCQS

CS304 Grand Quiz Solution||Fall 2020

Dec 28, 2020

cs302 Grand quiz 2020 with 100% Correct solution #CS302 solved #GrandQuiz

RSS

Looking For Something? Search Below

VIP Member Badge & Others

How to Get This Badge at Your Profile DP

------------------------------------

Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

Latest Activity

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service