CS304 Midterm Past Paper online Practice Quiz

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

2 / 30

Category: CS304-mid

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

3 / 30

Category: CS304-mid

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

4 / 30

Category: CS304-mid

4. The >= operator can be overloaded

5 / 30

Category: CS304-mid

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

6 / 30

Category: CS304-mid

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

7 / 30

Category: CS304-mid

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

8 / 30

Category: CS304-mid

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

9 / 30

Category: CS304-mid

9. In order to free the memory occupied by the object, we use -------------

10 / 30

Category: CS304-mid

10. Inheritance is a way to

11 / 30

Category: CS304-mid

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

12 / 30

Category: CS304-mid

12. _______ is a relationship

13 / 30

Category: CS304-mid

13. The life of sub object is not dependant on the life of master class in ___________.

14 / 30

Category: CS304-mid

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

15 / 30

Category: CS304-mid

15. 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?

16 / 30

Category: CS304-mid

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

17 / 30

Category: CS304-mid

17. A class can be identified from a statement by -------------

18 / 30

Category: CS304-mid

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

19 / 30

Category: CS304-mid

19. this pointers are not accessible for static member functions.

20 / 30

Category: CS304-mid

20. We achieve independence of internal implementation from its external interface through-----------

21 / 30

Category: CS304-mid

21. Which construct is the source for the creation of an object?

22 / 30

Category: CS304-mid

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

23 / 30

Category: CS304-mid

23. What a derived class can add?

24 / 30

Category: CS304-mid

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

25 / 30

Category: CS304-mid

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

26 / 30

Category: CS304-mid

26. In object orientated programming, a class of objects cans _____________ properties from another class of objects

27 / 30

Category: CS304-mid

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

28 / 30

Category: CS304-mid

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

29 / 30

Category: CS304-mid

29. When a variable is define as static in a class then all object of this class,

30 / 30

Category: CS304-mid

30. Which part of an object exhibits its state?

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.