Search Header Logo

C++ 3B

Authored by Dr. Joselene Suzan Jennifer Patrick

Computers

University

Used 1+ times

C++ 3B
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not part of the C++ character set?

Whitespace characters
Extended Unicode characters
Control characters like the null character (\0)
Printable ASCII characters

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the ASCII value of the character 'A'?

64
70
66
65

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many characters are allowed in a C++ identifier?

No strict limit, but recommended under 2048 characters.
At least 256 characters are required.
Identifiers can only be 128 characters long.
C++ identifiers must be exactly 100 characters long.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid C++ identifier?

1variable
variable-name
variable@1
variable1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum number of keywords in C++?

100
95
90
85

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid identifier in C++?

123value

name1

variable-name

break 

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a keyword in C++?

A keyword in C++ is a type of variable.
A keyword in C++ is a user-defined function.
A keyword in C++ is a comment in the code.
A keyword in C++ is a reserved word with a specific meaning in the language.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?