
C++ Week 2 #1 CS172
Authored by Mr. Martin
Computers
11th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of C++?
To develop applications for multiple platforms
To make programming fun and easy
To switch between different programming languages
To output values
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can be stored in a char variable?
Integer values
Character values
String values
Boolean values
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare multiple variables of the same type?
int a, b, c;
int a; int b; int c;
int a; int b, c;
int a; b; c;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an assignment statement?
To declare a variable
To assign a value to a variable
To create a named storage location
To generate a compiler error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of a boolean variable in C++?
int
char
bool
string
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the bool data type store?
True or false
Integer values
Character values
Floating-point values
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the modulo operator (%)?
To perform addition
To perform subtraction
To perform multiplication
To find the remainder of a division
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
10 questions
Spoljna memorija - HDD
Quiz
•
9th - 11th Grade
10 questions
Working with tables
Quiz
•
5th - 12th Grade
10 questions
E-Tech Lesson 1
Quiz
•
11th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
13 questions
RAM&HDD/SSD
Quiz
•
10th - 12th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade