C++ Programming MCQ Quiz Questions and Answers Pdf - 1

Question: 1

The smallest individual unit in a program is

(A) Algorithm

(B) Flowchart

(C) Tokens

(D) Program

Ans: C

Tokens

Question: 2

Which of the character is used as a suffix to indicate a floating-point value?

(A) C

(B) D

(C) L

(D) F

Ans: D

F

Question: 3

Who invented the C++ language?

(A) Bjarne Stroustrup

(B) Linus Torvalds

(C) Rick Mascitti

(D) Dennis Ritchie

Ans: A

Bjarne Stroustrup

Question: 4

C++ language was developed during

(A) 1979

(B) 1989

(C) 1999

(D) 2009

Ans: A

1979

Question: 5

Bjarne Stroustrup named his new language as ______

(A) C with Classes

(B) C with Objects

(C) C with Structures

(D) None of these

Ans: A

C with Classes

Question: 6

C++is called a ______ language.

(A) Hybrid

(B) Hierarchical

(C) Homogeneous

(D) None of these

Ans: A

Hybrid

Question: 7

Which year the name was changed to C++ by Rick Mascitti?

(A) 1973

(B) 1983

(C) 1993

(D) 2003

Ans: B

1983

Question: 8

______ is used to set the number of decimal places to be displayed.

(A) Set precision

(B) Garbage

(C) Constant

(D) All the above

Ans: A

Set precision

Question: 9

______ is the language of choice for multi device, multi-platform app development.

(A) C++

(B) ADA

(C) BCPL

(D) Simula

Ans: A

C++

Question: 10

Which of the following operator is extraction operator of C++?

(A) >>

(B) <<

(C) <>

(D) ^^

Ans: A

>>