C++ Fundamentals

Quiz
•
Computers
•
4th Grade
•
Medium
DHANJIT SARMA
Used 8+ times
FREE Resource
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++?
+
=
==
||
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Dash and Dot Vocabulary Level A

Quiz
•
3rd - 5th Grade
10 questions
microbit

Quiz
•
4th Grade
9 questions
Block Coding

Quiz
•
3rd - 9th Grade
15 questions
Dash & Dot Programming

Quiz
•
3rd - 5th Grade
10 questions
Grade4-Unit3-L2

Quiz
•
4th Grade
10 questions
Introduction to Python - Loops and Logic

Quiz
•
1st - 6th Grade
10 questions
Flow Charts

Quiz
•
1st - 10th Grade
13 questions
KS3 Python Quiz

Quiz
•
3rd - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
place value

Quiz
•
4th Grade
10 questions
Order of Operations No Exponents

Quiz
•
4th - 5th Grade
20 questions
Place Value and Rounding

Quiz
•
4th Grade
12 questions
Text Structures

Quiz
•
4th Grade
15 questions
Subject-Verb Agreement

Quiz
•
4th Grade
15 questions
Place Value

Quiz
•
4th Grade
10 questions
Input Output Tables

Quiz
•
4th Grade
15 questions
Singular and Plural Nouns

Quiz
•
4th Grade