Cs 304 Midterm Important Repeated Mcqs Quiz

Cs 304 MidTerm Important Repeated Mcqs Online Quiz

Cs 304 quiz helps us to increase our knowledge

1 / 23

Keeping in view the principle of abstraction, which of the above information the company needs to save
as employee’s record?

2 / 23

Which operator can not be overloaded?

3 / 23

Friend class and friend function can be used as an alternate to each other

4 / 23

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

5 / 23

this pointers are not accessible for static member functions.

6 / 23

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

7 / 23

In OOP a class is an example of _____

8 / 23

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

9 / 23

A static member function cannot be declared.

10 / 23

Inheritance is a way to

11 / 23

The >= operator can be overloaded.

12 / 23

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

13 / 23

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

14 / 23

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

15 / 23

The technique in which we visualize our programming problems according to real life’s problems is
called

16 / 23

Which operator can not be overloaded?

17 / 23

The statement objA=objB; will cause a compiler error if the objects are of different classes.

18 / 23

Friend functions are _____________ functions of a class.

19 / 23

A static member function cannot be declared.

20 / 23

this pointers are not accessible for static member functions.True

21 / 23

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

22 / 23

Inheritance is a way to

23 / 23

Which part of an object exhibits its state?

Your score is

The average score is 0%

0%