C++ Fundamentals

C++ Fundamentals

4th Grade

10 Qs

quiz-placeholder

Similar activities

Repaso Estructura de datos U1

Repaso Estructura de datos U1

1st Grade - University

10 Qs

7.02 going online

7.02 going online

4th - 9th Grade

10 Qs

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

Ozzy's Super Mario

Ozzy's Super Mario

2nd - 4th Grade

15 Qs

QUIZZ SESSION

QUIZZ SESSION

1st - 5th Grade

12 Qs

ZOOM QUIZ

ZOOM QUIZ

1st - 12th Grade

10 Qs

Challenge 3 Fourth grade

Challenge 3 Fourth grade

4th Grade

11 Qs

Privacy and Personal Information

Privacy and Personal Information

1st - 10th Grade

10 Qs

C++ Fundamentals

C++ Fundamentals

Assessment

Quiz

Computers

4th Grade

Practice Problem

Medium

Created by

DHANJIT SARMA

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used to store whole numbers in C++?

float

int

double

char

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

String name = 'Charlie', is it a correct string variable initialization?

Yes

No, we don't have to store value during initialization

No, the '=' is not needed.

No, the name Charlie should be written within double quotation marks

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which control structure is used to execute a block of code repeatedly as long as a specified condition is true?

if statement

for loop

switch case

while loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax to output a variable's value in C++?

cout << variableName;

print(variableName)

output(variableName)

display(variableName)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used to store decimal numbers in C++?

bool

float or double

char

int

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 10 / 3?

3.3

3.0

3.33

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to compare two values in C++?

+

=

==

||

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?