C++ 3B

C++ 3B

University

40 Qs

quiz-placeholder

Similar activities

Decision and Case Control Statements in C

Decision and Case Control Statements in C

University

35 Qs

Technical MCQ

Technical MCQ

University

45 Qs

C pro test

C pro test

8th Grade - Professional Development

35 Qs

InfoMeraki2020

InfoMeraki2020

University

39 Qs

python

python

11th Grade - University

35 Qs

UAS Ceritanya

UAS Ceritanya

University

40 Qs

Ujian Tengah Semester Informatika

Ujian Tengah Semester Informatika

10th Grade - University

40 Qs

Test Algoritma

Test Algoritma

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?