You Scored:
Ranking:
C and C++ Past Papers MCQs Questions Answers
1. “C” is a:
High Level Language with some low level features (Answer)
Low Level Language
Low level language with some high level features
High Level Language
2. In C++ a function contained within a class is called:
A class function
An operator
A member function (Answer)
A method
3. C++ was originally developed by:
Bjarne Stroustrup (Answer)
Donald Knuth
Nicolas Wirth
Ken Thompson
4. A class having no name:
Can’t be passed as an argument
Is not allowed
Can’t have a destructor (Answer)
Can’t have a constructor
5. C++ name was suggested by
Rrick Mascitti (Answer)
Ken Thompson
Donald Knuth
Bjarne Stroustrup
6. The operator << is called
An insertion operator
Either a or b (Answer)
Put to operator
None of these
7. The standard C++ comment:
None of these
/* and */
/
// (Answer)
8. Length of the string “Correct” is:
7 (Answer)
8
5
6
9. What is a reference?
A reference is an alias for an object (Answer)
Used to rename an object
None of these
An operator
10. “C” was primarily developed as a:
General Purpose Language
Systems Programming Language (Answer)
Data Processing Language