
C++ Week 2 #1 CS172

Quiz
•
Computers
•
11th Grade
•
Easy
Mr. Martin
Used 12+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java Arrays Prt 1Quiz

Quiz
•
9th - 12th Grade
10 questions
APCSA - Unit 3

Quiz
•
9th - 12th Grade
10 questions
Operators in C

Quiz
•
9th - 12th Grade
14 questions
CMU Academy 1.2

Quiz
•
9th - 12th Grade
7 questions
Java Basics #2

Quiz
•
10th - 12th Grade
15 questions
Control statements in C++

Quiz
•
9th - 12th Grade
10 questions
Arrays and Lists

Quiz
•
6th - 12th Grade
12 questions
CodeHS 3.5 String Methods

Quiz
•
9th - 12th 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