
C++ Basics for Grade 7 Students
Quiz
•
Instructional Technology
•
7th Grade
•
Practice Problem
•
Hard
Gabriel Solano
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the data type used to store whole numbers in C++?
double
int
char
float
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which control structure is used to execute a block of code repeatedly as long as a condition is true?
while loop
if statement
for loop
switch case
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of a function in C++?
The purpose of a function in C++ is to encapsulate a set of instructions that perform a specific task.
The purpose of a function in C++ is to confuse the programmer.
Functions in C++ are used for decorative purposes only.
Functions in C++ are designed to slow down program execution.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which loop structure is used when the number of iterations is known?
do-while loop
for loop
while loop
if-else loop
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In C++, how do you check if a condition is true before executing a block of code?
if (condition) then { // code block to execute }
while (condition) { // code block to execute } else { // code block to execute }
for (condition) { // code block to execute } else if (condition) { // code block to execute }
if (condition) { // code block to execute }
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a variable in C++?
int
var
integer
char
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type used to store decimal numbers in C++?
double
char
integer
floating
Create a free account and access millions of resources
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
14 questions
Keyboard Shortcuts
Quiz
•
7th - 8th Grade
20 questions
Articoli
Quiz
•
6th - 10th Grade
15 questions
Email Etiquette Review
Quiz
•
6th - 12th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
20 questions
[POST-TEST] Unit1 - I Love the Internet
Quiz
•
7th - 12th Grade
14 questions
If/Else Introduction (Logic)
Quiz
•
3rd - 8th Grade
10 questions
Microsoft Word QCM 1
Quiz
•
5th - 12th Grade
20 questions
Online communication and collaboration (grade)
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Instructional Technology
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
10 questions
Exploring Europe: Geography, History, and Culture
Interactive video
•
5th - 8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
7th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
20 questions
Context Clues
Quiz
•
7th Grade
