
C++ Unit 1 Review
Authored by Richard Ghiorse
Computers
9th - 12th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Every C++ program will have a function that is called ____.
start
begin
main
int
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code is the correct way to display the message Hello World! to the console screen?
cout << Hello World!;
cout << "Hello World!"
cout << "Hello World!";
cout >> "Hello World!';
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will correctly declare an integer variable called num?
num;
num int;
int num
int num;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will correctly read in a value to the integer variable named num?
cin << num;
input >> num;
cin >> num;
cin >> num
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will display the value of the integer variable named num?
output << num;
cout >> num;
cout << num;
cout << "num";
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the division 35 / 4 in C++?
8
9
8.75
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct C++ translation of the mathematical expression below?
10a2 + b2
10a^2 + b^2
10 * (a * a) + b * b
(10a) * (10a) + b * b
10 * a ^ 2 + b ^ 2
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Basic Parts of Speech EPS
Quiz
•
9th - 10th Grade
20 questions
Introducción a las bases de datos
Quiz
•
12th Grade
10 questions
COMPUTER PROGRAMMING Q2_FLOWCHART (2 points each)
Quiz
•
11th - 12th Grade
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
Quiz 5 - Excel
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade