
Vocab Practice
Authored by James Luong
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if (i > 0) {}
is considered a...
conditional statement
input statement
output statement
variable declaration
Answer explanation
if statements are called conditional statements because they define a block of code that runs depending on a CONDITION
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int i = 1 is an example of...
ONLY a variable declaration
ONLY a variable initialization
BOTH a variable declaration and initialization
NEITHER a variable declaration or initialization
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this output......................
int num1 = 2.2;
int num2 = 2;
cout << num1/num2;
This code will produce an error
1
1.1
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For a small decimal number (~3 digits) I will declare a ________ type variable
float
double
int
char
string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x = 5;
int y = 2;
cout << x%y;
2
1
5
2.5
Answer explanation
Remember that % means to get the remainder after division
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cout << "Please type something in: " is considered a...
input statement
output statement
conditional statement
variable initialization
Answer explanation
All cout statements are output statements.
Even if they ask you to type something in, you can't type something in unless there is in a cin.
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
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
2025 python class first quiz
Quiz
•
9th Grade - University
10 questions
แบบทดสอบก่อนเรียน ครั้งที่4 (การสร้างเว็บเพจ)
Quiz
•
10th - 12th Grade
10 questions
Kuis Refleksi 2
Quiz
•
9th - 12th Grade
10 questions
Bài 8- CĐ F-TH10
Quiz
•
9th - 12th Grade
10 questions
Jenis Data
Quiz
•
7th - 12th Grade
10 questions
Avaliação Pensamento Computacional - Prático
Quiz
•
1st Grade - Professio...
10 questions
Penormalan
Quiz
•
11th - 12th 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