Simulasi 4
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Nur Hasanah
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut adalah beberapa keuntungan menggunakan Access Modifier dalam OOP, kecuali…
Meningkatkan keamanan data dengan membatasi akses
Mempermudah kolaborasi antar programmer dengan standarisasi akses
Meningkatkan readability kode dengan struktur yang jelas
Mempermudah akses data dari luar class tanpa kontrol
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sebuah program OOP memiliki beberapa class dengan struktur hirarki. Manakah Access Modifier yang paling tepat untuk diterapkan pada variabel yang hanya boleh diakses oleh class turunan dan class parent?
Public
Private
Protected
Default
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan code program dibawah ini
public class x_rpl {
public String nama;
public void cetakNama() {
System.out.println("Nama: " + nama);
}
public static void main(String[] args) {
x_rpl siswa = new x_rpl ();
siswa.nama = " nama siswa";
siswa.cetakNama();
} }
Access Modifier yang digunakan pada program diatas adalah
Public
Private
Protected
Default
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan Access Modifier Private …
Dapat diakses oleh class itu sendiri dan sub class nya
Hanya dapat diakses oleh class itu sendiri
Dapat diakses oleh semua class dalam program
Dapat diakses oleh semua class dalam package yang sama
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tujuan dari penggunaan Access Modifier adalah …
Meningkatkan keamanan data
Mempermudah proses debugging
Menjaga integritas data dan kode dalam program berorientasi objek
Meningkatkan efisiensi kode
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara penulisan Access Modifier Default dalam Bahasa pemrograman java …
public class xrpl {
String nama = "Ana";
int umur = 23 ;
public class xrpl {
private String nama = "Ana";
private int umur = 23 ;
public class xrpl {
protected String nama = "Ana";
protected int umur = 23 ;
public class xrpl {
public String nama = "Ana";
public int umur = 23 ;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Enkapsulasi dalam pemrograman berorientasi objek adalah…
Teknik untuk membuat kode lebih mudah dibaca dan dipahami
Teknik untuk meningkatkan efisiensi kode
Teknik untuk menyembunyikan detail implementasi sebuah class
Teknik untuk meningkatkan portabilitas kode
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
Kuis Komunikasi Daring
Quiz
•
10th Grade
15 questions
Dasar Kompetensi Keahlian IPv6
Quiz
•
10th Grade
10 questions
LATIHAN SOAL
Quiz
•
10th Grade
15 questions
HTML kalbos testas_LENTELĖS 10 KL.
Quiz
•
10th Grade
10 questions
Quiz Kelas 4
Quiz
•
10th Grade
10 questions
Android1
Quiz
•
1st Grade - University
10 questions
Pretest Sorting (Pengurutan)
Quiz
•
9th - 12th Grade
15 questions
Sejarah Komputer 2
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
