• 1. 
    The members of a class are accessed using ..........

  • dot operator
  • new operator
  • size of operator
  • + operator
  • 2. 
    A member function calling another function directly is called as

  • inline functions
  • recursive functions
  • friend functions
  • nesting functions
  • 3. 
    Which of the following is a way to bind the data and its associated functions together?

  • data
  • functions
  • methods
  • class
  • 4. 
    Which of the following is not a valid class specifier?

  • public
  • private
  • protected
  • pointer
  • 5. 
    The member function of a class can receive arguments of ..........

  • C++ data type only
  • C++ data type or object data type
  • Only object data type
  • None of these
  • 6. 
    :: is a?

  • Short circuit OR
  • Not operator
  • Short circuit AND
  • Scope resolution operator
  • 7. 
    Every class declaration is terminated by

  • ,(comma)
  • .(dot)
  • ::(double colon)
  • ;(semicolon)
  • 8. 
    Which of the following is a user defined data type?

  • Public
  • Protected
  • Object
  • Class
  • 9. 
    In a class data members are called as

  • dimensions
  • abstracts
  • attributes
  • properties
  • 10. 
    ......... member variable are initialized only once when the first object of its class is created.

  • Inline
  • Static
  • Public
  • Private
  • 11. 
    In C++, the class variables are called as?

  • functions
  • constants
  • methods
  • objects
  • 12. 
    Which one of the following langauge features classes?

  • C++
  • C
  • Basic
  • Fortran
  • 13. 
    OOP stands for?

  • Object to Object Programming
  • Object Oriented Programming
  • Online Objects Programming
  • Object Oriented Processes
  • 14. 
    The class body has ......... access specifiers?

  • 1
  • 2
  • 4
  • 3
  • 15. 
    The binding of data and functions together into a single entity is known as?

  • Polymorphism
  • Inheritance
  • Encapsulation
  • Overloading
Report Question
warning
access_time
  Time