CDCDAC Prep
C-CATSection B: C, C++, DSA, OS, Networking & AI•20 Questions

C++ and Object-Oriented Programming Practice MCQs

Topic Covered in this Question Set

History & Classification of Languages; Difference between C and C++

Click on an option to check your answer immediately. Full solution & explanation provided for every question.

Interactive Practice Mode

C++ and Object-Oriented Programming Free MCQs

Select an option to test your knowledge with real exam questions and instant explanations.

Total20
Correct0
Wrong0
Progress: 0 of 20 answered0% Accuracy
Q1 of 20

In which year was C++ invented?

Open topic in App →
Q2 of 20

On which machine did Bjarne Stroustrup originally design C++?

Open topic in App →
Q3 of 20

Which is the first object-based language?

Open topic in App →
Q4 of 20

Which of the following is NOT a limitation of C as compared to C++?

Open topic in App →
Q5 of 20

C++ was restructured / standardised by ANSI in the year __.

Open topic in App →
Q6 of 20

___ is the only language which is purely OOP.

Open topic in App →
Q7 of 20

C++ is developed by ___.

Open topic in App →
Q8 of 20

___ is the first POP (procedure-oriented) language.

Open topic in App →
Q9 of 20

Which name was originally used before the language was named "C++"?

Open topic in App →
Q10 of 20

How many keywords are available in (unmanaged) C++?

Open topic in App →
Q11 of 20

Which is the correct difference between `struct` in C and `struct` in C++?

Open topic in App →
Q12 of 20

In C++ we can declare variables __.

Open topic in App →
Q13 of 20

C++ adds which of the following data types over C?

Open topic in App →
Q14 of 20

Which comment style is introduced by C++ in addition to C?

Open topic in App →
Q15 of 20

Size of `bool` in C++ is __.

Open topic in App →
Q16 of 20

___ is the first OOP language (1960).

Open topic in App →
Q17 of 20

Why is a new programming language designed?

Open topic in App →
Q18 of 20

Which approach is followed by Procedure-Oriented Programming?

Open topic in App →
Q19 of 20

Which of the following is NOT an advantage of C?

Open topic in App →
Q20 of 20

Which approach is followed by Object-Oriented Programming?

Open topic in App →
Need to review the concepts?

Read C++ and Object-Oriented Programming Study Notes

Review complete topic notes, syntax guides, code examples, and summary tables.

Read Free Study Notes →