Berpikir komputasi dan pemograman
Quiz
•
Information Technology (IT)
•
11th Grade
•
Hard
Muchammad Ichwan
Used 1+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Manakah pernyataan berikut yang benar tentang fungsi if–else dalam pemrograman?
If–else selalu diakhiri dengan return 0;.
If–else hanya bisa digunakan untuk tipe data int.
If–else digunakan untuk memilih tindakan berdasarkan kondisi logika.
If–else digunakan hanya untuk melakukan perulangan.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Output dari program di atas adalah …
A
B
C
Tidak ada Output
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Dari kode berikut, bagian mana yang menunjukkan kondisi logika?
printf("Bukan sepuluh");
(x != 10)
if
{ ... }
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Jika nilai variabel x adalah 12, maka output program berikut adalah …
Tidak ada output
10
Dalam rentang
Di luar rentang
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Output program adalah …
A
B
C
D
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Jika sebuah kondisi if bernilai salah dan tidak ada blok else, maka …
Program akan berhenti.
Akan muncul error.
Program akan tetap menjalankan blok if.
Program akan melewati blok if dan melanjutkan baris berikutnya.
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Mengapa kurung kurawal {} penting digunakan dalam struktur if–else?
Agar program bisa dijalankan di IDE C.
Untuk menandai kondisi logika.
Agar if dan else bisa ditukar urutannya.
Untuk menandai awal dan akhir dari blok kode yang dieksekusi.
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
41 questions
Quiz MikroTik dan Mikhmon
Quiz
•
12th Grade
40 questions
PKPJ Re Open September 2025
Quiz
•
11th Grade
40 questions
Sistem Komputer
Quiz
•
10th Grade - University
35 questions
ASTS TIK 5 GENAP
Quiz
•
5th Grade - University
40 questions
Ujian Akhir TIK Kelas V
Quiz
•
5th Grade - University
40 questions
REMEDIAL PSAS (TULIS NAMA LENGKAP DAN KELAS)
Quiz
•
10th Grade - University
35 questions
Quiz 2 - Pengantar Teknologi Informasi
Quiz
•
University
40 questions
Asesmen Semester Ganjil 2024 Kelas XII TKJ
Quiz
•
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 Information Technology (IT)
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
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
13 questions
Halloween Movie Trivia
Quiz
•
9th - 12th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
