C++ MCQ Questions And Answers
C++ MCQs : This section focuses on the "Basics" in C++ programming langauge. These Multiple Choice Questions (MCQ) should be practiced to improve the C++ programming skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.
1. C++ is a middle-level programming language developed by?
A. Dennis M. Ritchie
B. Bjarne Stroustrup
C. Guido van Rossum
D. Yukihiro
View Answer
Ans : B
Explanation: C++ is a general-purpose, object-oriented programming language developed by Bjarne Stroustrup.
2. C++ developed in?
A. 1977
B. 1978
C. 1979
D. 1980
View Answer
Ans : C
Explanation: C++ developed in 1979 at Bell Labs.
3. C++ is an extension of C language?
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, C++ is an extension of C language.
4. C++ comprises a combination of?
A. high-level language
B. low-level language
C. high-level and low-level language
D. Can not say
View Answer
Ans : C
Explanation: C++ comprises a combination of both high-level and low-level language features.
5. C++ runs on ?
A. Windows
B. MacOS
C. UNIX
D. All of the above
View Answer
Ans : D
Explanation: C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
6. Which of the following is true about C++?
A. C++ is very close to hardware
B. C++ programming gives you a clear understanding about Object Oriented Programming
C. C++ is one of the every green programming languages and loved by millions of software developers.
D. All of the above
View Answer
Ans : D
Explanation: All of the above true about C++.
7. Which of the following applications of C++ programming?
A. Application Software Development
B. Programming Languages Development
C. Computation Programming
D. All of the above
View Answer
Ans : D
Explanation: All of the above applications of C++ Programming.
8. How many pillars of object-oriented development?
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : C
Explanation: C++ fully supports object-oriented programming, including the four pillars of object-oriented development.
9. A programming language is said to use static typing when type checking is performed during compile-time as opposed to run-time.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, A programming language is said to use static typing when type checking is performed during compile-time as opposed to run-time.
10. C++ is standardized by the International Organization for Standardization (ISO).
A. True
B. False
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, C++ is standardized by the International Organization for Standardization (ISO).
Discussion