C++ 3B

C++ 3B

University

40 Qs

quiz-placeholder

Similar activities

PAS Genap Pemrograman Dasar Kelas X

PAS Genap Pemrograman Dasar Kelas X

University

40 Qs

Data Structures and Algorithms Midterm

Data Structures and Algorithms Midterm

University

45 Qs

Java JVM JDK

Java JVM JDK

University

42 Qs

UTS PEMROGRAMAN DASAR

UTS PEMROGRAMAN DASAR

University

40 Qs

Quiz Draft

Quiz Draft

University

40 Qs

Techno Excellent

Techno Excellent

University

40 Qs

C++ Basics

C++ Basics

University

40 Qs

CodeChef (Secret Snippet)

CodeChef (Secret Snippet)

University

35 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?