0% found this document useful (0 votes)
110 views

C++ Multiple Choice Questions Answers

This document contains 5 multiple choice questions about C++ with their answers. The questions ask about who developed C++, which option is a keyword, the smallest individual unit in a program, what a constant containing a single character in single quotes is called, and which character is used for the modulus operator. The answers provided are Bjarne Stroutstrup, Switch, Token, Character, and %.

Uploaded by

Shahzada Ali
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views

C++ Multiple Choice Questions Answers

This document contains 5 multiple choice questions about C++ with their answers. The questions ask about who developed C++, which option is a keyword, the smallest individual unit in a program, what a constant containing a single character in single quotes is called, and which character is used for the modulus operator. The answers provided are Bjarne Stroutstrup, Switch, Token, Character, and %.

Uploaded by

Shahzada Ali
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

C++ Multiple Choice Questions and Answers Pdf

Question: 1

C++ was developed by ___

(A) Thomas Kushz

(B) John Kemney

(C) Bjarne Stroutstrup

(D) James Goling

Ans: C

Bjarne Stroutstrup

Question: 2

Which one of the following is a keyword?

(A) Size

(B) Key

(C) Jump

(D) Switch

Ans: D

Switch

Question: 3
____ is the smallest individual unit in a program.

(A) Variable

(B) Control

(C) Character

(D) Token

Ans: D

Token

Question: 4

What is a constant that contains a single character enclosed


within single quotes?

(A) Character

(B) Numeric

(C) Fixed

(D) Floating point

Ans: A

Character

Question: 5

The modulus operator uses ___ character.

(A) +
(B) *

(C) /

(D) %

Ans: D

You might also like