How To Exam?

a knowledge trading engine...


Sikkim-Manipal University of Health Medical and Technological Sciences (SMUHMTS) 2008-2nd Sem M.C.A Model for of Manipal University. - Question Paper

Monday, 10 June 2013 11:45Web

These are model ques. paper for SMU learner of MCA second semester.

Subject Code : MC0066
Subject : OOPS USING C++/ADVANCE CONCEPTS OF OOPS USING C++
(1-MARK questions)

1. The destructor is used for
a. initializing of variables
b. deallocation of memory
c. construction of variable
d. all of the above

2. If header of operator function is: Operator++() then this performs
a. prefix increment
b. postfix increment
c. none of a and b
d. this kind of header is not possible
3. Out of which represent the matrix
a. int a[2][3][4]
b. int a[2]
c. int a[2][3]
d. int a[2][3][4][5]

4. In a class definition the default access for the members is of the kind
a. public
b. private
c. protected
d. there is no default access

5. Inheritance is called as
a. “kind of” relationship
b. “has a” relationship
c. “is a” relationship
d. none of the above

6. Run time polymorphism is done by
a. Virtual function
b. Static binding
c. Constructor overloading
d. Operator overloading

7. Dynamic memory is allocated from
a. Program stack
b. Heap
c. Both a and b
d. None of the above

8. Run time allocation of memory is done by
a. new operator
b. delete operator
c. size of operator
d. none of the above

9. Copy constructor are used
a. To change the name of member function
b. To copy 1 object to other one
c. To make a copy of a class
d. To verify the object

10. If a class is derived from more than 1 base class then inheritance is called
a. Multilevel inheritance
b. Multiple inheritance
c. Hierarchical inheritance
d. Compound inheritance

11. Global variable are accessed using
a. ::
b. :
c. *
d. ->

12. Compile time polymorphism is achieved by
a. overloading
b. overriding
c. inheritance
d. none of the above

13. A virtual function that is declared but not described in a base class is referred to as:
a. pure virtual function
b. constructor
c. destructor
d. none of the above

14. C++ provides 2 types of templates:
a. function , structure
b. class , structure
c. function , class
d. none of the above

15. Best way to handle runtime errors in C++ is
a. To use templates
b. To use exceptions
c. To use streams
d. To use manipulators

16. The Graphics-mode functions allow you to draw
a. Only dots and lines
b. Only circles ,ellipse and rectangles
c. Both i and ii
d. None of the above

17. The window function takes
a. Two arguments
b. Four arguments
c. Three arguments
d. None of the above

18. detectgraph() function returns
a. Two values
b. One value
c. Three value
d. Does not return any value


19. “A” is a ___________ while ‘A’ is a ___________
a. Alphabet , letter
b. String , character
c. Both are character
d. None of the above



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Sikkim-Manipal University of Health Medical and Technological Sciences (SMUHMTS) 2008-2nd Sem M.C.A Model for of Manipal University. - Question Paper