C++ Quiz Percabangan
Quiz
•
Others
•
10th Grade
•
Hard
Fauzul Karomi
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Evaluation
Quiz
•
10th Grade
10 questions
Music Quarter 3 Quiz#3
Quiz
•
10th Grade
10 questions
Quiz on Dorian Gray Leage of Ex Gent
Quiz
•
10th Grade
10 questions
Health Insurance Quiz
Quiz
•
10th Grade
9 questions
Laws Enacted in the People's Republic of China
Quiz
•
9th - 12th Grade
8 questions
Medieval and Modern Historiography Quiz
Quiz
•
10th Grade
8 questions
Quiz on Famous Indian Mathematicians and Their Contributions
Quiz
•
9th - 12th Grade
10 questions
REDUCING ADVERB CLAUSE
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Others
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
