Try the CS-304 Final Term Exams Preparation Virtual University.
Total Questions10
Time Allowed10
Ch. # | Test Name | MCQs Available | PDF File | Answers Mode | Launch Test |
---|---|---|---|---|---|
1 | CS-304 Final Term Exams Preparation Virtual University | 193 | Download PDF | MCQ Answers | Launch Test |
Here you can prepare cs-304 Test. Click the button for cs-304 100% free full practice test.
Sr. # | Questions | Answers Choice |
---|---|---|
1 | What is a class? | A class is a section of computer memory containing objects. A class is a section of the hard disk reserved for object oriented programs A class is the part of an object that contains the variables A class is a description of a kind of object. |
2 | When a variable is define as static in a class then all object of this class, | Have different copies of this variable Have same copy of this variable Can not access this variable None of given |
3 | Destructor can be overloaded | True False Not Sure |
4 | this pointers are not accessible for static member functions. | True False Not Sure |
5 | Friend functions are _____________ functions of a class. | None of given object member non-member data member |
6 | An STL container can not be used to, | hold objects of class employee. store elements in a way that makes them quickly accessible compile c++ programs organize the way objects are stored in memory |
7 | If a class D has been derived using protected inheritance from class B (If B is a protected base and D is derived class) then public and protected members of B -------- accessed by member functions and friends of class D and classes derived from D | can be cannot be does restirct to be does restirct to be |
8 | If there is a pointer p to objects of a base class, and it contains the address of an object of a derived class, and both classes contain a nonvirtual member function, ding(), then the statement p->ding(); will cause the version of ding() in the _____ class to be executed. | Base Derived Abstract virtual |
9 | Which of these are examples of error handling techniques? | Abnormal Termination Graceful Termination Return the illegal all of the given |
10 | Which type of inheritance is being represented by the following statement, class X : public A, public B { ... ... }; | Single inheritance Multiple inheritance Double inheritance None of the given options |