midterm past paper quiz
midterm past paper quiz

CS304 Midterm Past Paper

You have come here while searching for CS304 midterm past papers. But before going to download the CS304 midterm past paper. I have a better option for you. That is, that you can attempt the online quiz of CS304.

Practice Quiz from CS304 Midterm Past Paper

This quiz will evaluate your preparation for the CS304 midterm examination and it is based on the past papers of CS304. The purpose of this quiz is to evaluate your performance in this subject. If you can pass this quiz, then there is a great chance that you can secure good marks in your exams.





0%
0 votes, 0 avg
0

Your Time starts now

Times Up


Created on By faisal_faisi

CS304

midterm past paper quiz

CS304 Midterm Past Papers Practice Quiz

Welcome to CS304 Midterm Online Practice Quiz.

You can check your preparation of CS304 for your Exams here.

Questions Will be different every time you will attempt.

1 / 30

Category: CS304-mid

1. The members of a class that can be accessed without creating the object of the class is called

2 / 30

Category: CS304-mid

2. _______ is a relationship

3 / 30

Category: CS304-mid

3. _______ remain in memory even when all objects of a class have been destroyed

4 / 30

Category: CS304-mid

4. _______ remain in memory even when all objects of a class have been destroyed

5 / 30

Category: CS304-mid

5. A generalization-specialization relation between classes are implemented using

6 / 30

Category: CS304-mid

6. A C++ class is similar to --------------------

7 / 30

Category: CS304-mid

7. Suppose there is an object of type Person, which of the following can be considered as one of its attributes

8 / 30

Category: CS304-mid

8. In OOP a class is an example of _____

9 / 30

Category: CS304-mid

9. We can use "this" pointer in the constructor in the body and even in the initialization list of any class if we are careful,

10 / 30

Category: CS304-mid

10. Static variable can be initialized more than once.

11 / 30

Category: CS304-mid

11. The >= operator can be overloaded

12 / 30

Category: CS304-mid

12. C++ compiler does not allow to dynamically allocate memory for objects

13 / 30

Category: CS304-mid

13. Given the following class class Base{ int Age=33; } How you can improve above class with respect to accessing the field Age?

14 / 30

Category: CS304-mid

14. ________ is/are used to access information hidden within an object?

15 / 30

Category: CS304-mid

15. For classes with common behavior, you can save effort by placing the common behavior in a __________.

16 / 30

Category: CS304-mid

16. Inheritance is a way to

17 / 30

Category: CS304-mid

17. Static variables act like a global variable in the context or scope of the class.

18 / 30

Category: CS304-mid

18. Suppose you have been given the following design,
"A person has a name, age, address and sex. You are designing a class to represent a type of person
called a patient. This kind of person may be given a diagnosis, have a spouse and may be alive".
Given that the person class has already been created, what of the following would be appropriate to
include when you design the patient class?

19 / 30

Category: CS304-mid

19. Which part of an object exhibits its state?

20 / 30

Category: CS304-mid

20. A member function having the same name as that of a class and a ~ sign with it is called,

21 / 30

Category: CS304-mid

21. Static variable can be initialized more than once.

22 / 30

Category: CS304-mid

22. A generalization-specialization relation between classes are implemented using

23 / 30

Category: CS304-mid

23. Which of the following is not an example of multiple inheritances?----------

24 / 30

Category: CS304-mid

24. Which of the following are an advantage of OOP?

25 / 30

Category: CS304-mid

25. What problem(s) may occur when we copy objects without using deep copy constructor?

26 / 30

Category: CS304-mid

26. Inheritance is a way to

27 / 30

Category: CS304-mid

27. The ________ relationship indicates that an object contains other objects.

28 / 30

Category: CS304-mid

28. 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.

29 / 30

Category: CS304-mid

29. Suppose that the Test class does not have an overloaded assignment operator. What happens when an assignment a=b; is given for two Test objects a and b?

30 / 30

Category: CS304-mid

30. A C++ class is similar to --------------------

Your score is

The average score is 0%

Share your results with your fellow students

LinkedIn Facebook Twitter VKontakte
0%

Exit

Note before downloading CS304 midterm past paper

One thing to note dear fellows that you must don’t rely on these papers only. They can be a source of help but not an ultimate solution. If you want to get good marks in your exams you are advised to go through all of your handouts and must watch all of the video lectures.

Golden rules for good marks in VU Exams.

As per my experience, I have developed some golden rules for getting good marks in Virtual University Exams based on experience. I got 3.96 CGPA by following these rules. So here they are:

  1. Never miss your Quiz, Assignment, or GDB.
  2. Always try to do your Assignment on your own.
  3. Try your best to finish your video lectures 10 days before exams.
  4. Try your best to read your handouts twice before exams.
  5. Read forward attempt backward.
  6. Never schedule more than one paper on the same day.
  7. Your most difficult paper should have a gap of 1 or more days.
  8. Toughest paper must be scheduled first.
  9. Read questions forward and attempt backward.
  10. Don’t waste your time during a paper on illegal activities.




You can also download the Latest VU Handouts

To download the CS304 midterm past paper click here.