
Struktur Kontrol pada Java
Quiz
•
Information Technology (IT)
•
11th Grade
•
Hard
Fath Mubarak
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Fungsi utama dari struktur kontrol dalam pemrograman Java untuk ...
meningkatkan kecepatan eksekusi program
menentukan alur eksekusi dari sebuah program
mengelola input dan output data
mengatur penggunaan memori
membuat antarmuka pengguna
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Pernyataan if digunakan dalam struktur kontrol untuk ...
mengulang suatu blok kode program beberapa kali
memilih di antara dua atau lebih kondisi yang mungkin
menangani kesalahan yang terjadi selama eksekusi
menghentikan eksekusi program secara paksa
menjalankan blok kode tanpa syarat
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Perbedaan utama antara pernyataan if...else dan switch dalam Java yaitu ...
switch lebih cepat dari if...else
switch hanya dapat digunakan dengan variabel string
switch memiliki blok kode yang lebih terstruktur dibandingkan if...else
switch tidak memerlukan break setelah setiap blok kasus
switch tidak dapat digunakan dengan tipe data char
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Dari struktur kontrol berikut yang memungkinkan program untuk membuat beberapa kondisi dengan beberapa konsekuensi yaitu ...
if
if...else
if...else if
switch
for
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Ketika kita ingin menggunakan struktur perulangan yang akan selalu mengeksekusi blok kode setidaknya satu kali, struktur kontrol yang harus kita gunakan adalah ...
for
while
do...while
switch
if...else
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Perhatikan kode berikut! Output yang dihasilkan dari kode tersebut adalah ...
p adalah bilangan genap.
Dua kali q lebih besar dari p.
Jumlah p dan q habis dibagi 3.
Tidak ada kondisi yang terpenuhi.
Tidak ada output karena error
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Perhatikan kode berikut! Output yang muncul dari kode tersebut adalah ...
Perulangan ke-0
Perulangan ke-1 hingga Perulangan ke-4
Perulangan ke-1 hingga Perulangan ke-5
Perulangan ke-5 hingga Perulangan ke-1
Tidak ada output karena kondisi tidak pernah terpenuhi
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
9 questions
Web 2.2 Bacaan
Quiz
•
11th Grade
5 questions
Kuis greedy, char + string
Quiz
•
11th Grade
15 questions
Penerapan Teknologi di Bidang Kesahatan dan Pertanian
Quiz
•
11th Grade
15 questions
Asesmen Awal Berpikir Komputasional
Quiz
•
9th - 12th Grade
10 questions
AP XI Pertemuan 12
Quiz
•
9th - 12th Grade
10 questions
Web 3.6 Quiz
Quiz
•
11th Grade
15 questions
BAB 4 | 4.1 KOD ARAHAN | SUBTOPIK 4.1.2
Quiz
•
2nd Grade - University
10 questions
Web 2.1 Bacaan
Quiz
•
11th Grade
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