
C++ Quiz Percabangan
Authored by Fauzul Karomi
Others
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'if' statement in the code?
To output text to the console
To check if a number is even or odd
To perform a loop
To declare a variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed if the input number is 4?
Angka 4 adalah angka negatif.
Angka 4 adalah angka positif.
Angka 4 adalah angka genap.
Angka 4 adalah angka ganjil.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to output the variable 'angka' in the cout statement?
cout << 'angka';
cout << angka;
cout << 'Angka' << angka;
cout << 'Angka ' + angka;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if the input number is 3?
It will print that the number is odd.
It will cause a compilation error.
It will not print anything.
It will print that the number is even.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is missing in the else block of the code?
A return statement
A variable declaration
An output statement
A closing brace
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
BISKATERA
Quiz
•
9th - 12th Grade
10 questions
Spelling Team: Manatees
Quiz
•
9th - 12th Grade
10 questions
Gerund or Infinitive – Verb Patterns Quiz
Quiz
•
9th - 12th Grade
10 questions
PENGUKURAN DAN KINEMATIKA
Quiz
•
9th - 12th Grade
10 questions
INTERJECTION
Quiz
•
9th - 12th Grade
10 questions
Ulangan Komunikasi Bisnis
Quiz
•
10th Grade
9 questions
不定詞②
Quiz
•
9th - 12th Grade
10 questions
OTORITAS JASA KEUANGAN
Quiz
•
10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Others
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade