
Post Test 1: Percabangan C
Authored by Hadziq Agasta
Science
11th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Yang bukan merupakan statemen algoritma percabangan pada bahasa C adalah ...
if
else if
elif
else
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sintak yang benar untuk menerapkan statemen percabangan C adalah ...
if (kondisi) {
// blok kode
}
if {
// blok kode
}
if (blok kode)
// kondisi
if (blok kode) {
// kondisi
}
3.
DRAG AND DROP QUESTION
45 sec • 1 pt
Lengkapilah kode program berikut
if ( (a) (b) (c) ) {
printf("lebih tinggi");
}
4.
DRAG AND DROP QUESTION
1 min • 1 pt
Susunlah statemen if else berikut
(a) ( (b) ) (c)
// block of code to be executed if the condition is true
(d) (e) {
// block of code to be executed if the condition is false
}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Statemen else akan dieksekusi jika statement if bernilai false
benar
salah
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output yang dihasilkan dari kode program berikut adalah ...
int time = 20;
if (time < 18) {
printf("Good day.");
} else {
printf("Good evening.");
}
Good day
Good evening
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Pernyataan berikut yang benar adalah ....
else if digunakan jika terdapat lebih dari satu kondisi
else if tidak memerlukan kondisi
kondisi baru perlu disebutkan pada else if jika kondisi if bernilai false
jika kondisi else if bernilai true, maka blok else tidak akan dijalankan
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
Genetics: Complex Inheritance
Quiz
•
9th - 12th Grade
10 questions
Understanding Weather Map Symbols
Quiz
•
6th Grade - University
12 questions
Rocks and Minerals by Dr. D.
Quiz
•
9th - 12th Grade
12 questions
ESS Intro Unit Review
Quiz
•
9th - 12th Grade
10 questions
Nonrenewable Energy Limitations and Impact
Quiz
•
9th - 12th Grade
12 questions
Fire Forensics Review - Part 2
Quiz
•
7th - 12th Grade
10 questions
Lab Safety
Quiz
•
9th - 12th Grade
10 questions
Heat transfers in a thermos flask
Quiz
•
7th - 11th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Science
15 questions
Chemical Reactions (Types of Chemical Reactions)
Interactive video
•
11th Grade
10 questions
Symbiotic Relationships
Lesson
•
9th - 12th Grade
17 questions
Sex-Linked, Co and Incomplete Dominance
Quiz
•
9th - 12th Grade
5 questions
Greenhouse Effect and Climate Change
Interactive video
•
11th - 12th Grade
9 questions
The Mole Concept
Lesson
•
9th - 12th Grade
10 questions
ACT Science #1
Quiz
•
11th Grade
20 questions
Speed, Velocity, and Acceleration Quiz
Quiz
•
9th - 12th Grade
11 questions
Photosynthesis and ATP
Lesson
•
9th - 12th Grade