C++ 3B

C++ 3B

University

40 Qs

quiz-placeholder

Similar activities

AP CS A unit 1

AP CS A unit 1

11th Grade - University

36 Qs

Operators in Python

Operators in Python

University

43 Qs

Elements of a C# program

Elements of a C# program

University

40 Qs

StrukData1

StrukData1

University

40 Qs

Python Operators

Python Operators

University

35 Qs

Loop Control Statement in C

Loop Control Statement in C

University

41 Qs

Mind Scribble On C Lang

Mind Scribble On C Lang

University

40 Qs

Java Quiz

Java Quiz

University

40 Qs

C++ 3B

C++ 3B

Assessment

Quiz

Computers

University

Medium

Created by

Dr. Joselene Suzan Jennifer Patrick

Used 1+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?