Berpikir komputasi dan pemograman
Quiz
•
Information Technology (IT)
•
11th Grade
•
Hard
Muchammad Ichwan
Used 1+ times
FREE Resource
Enhance your content
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
45 questions
ProgLang - FA3
Quiz
•
University
39 questions
CC 102 Quiz 2
Quiz
•
University
35 questions
Pendalaman Materi AI - INF19
Quiz
•
9th Grade - University
41 questions
Soal Pilihan Ganda Jaringan Komputer
Quiz
•
12th Grade
42 questions
Quiz Teknologi dan Informasi
Quiz
•
12th Grade - University
43 questions
SUMBER25-INFORMATIKA-KELAS7-VENY
Quiz
•
7th Grade - University
40 questions
Quiz on Search Algorithms
Quiz
•
University
35 questions
Informatique - Acronymes
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade