
Uji Pemrograman Berorientasi Objek
Quiz
•
Engineering
•
12th Grade
•
Practice Problem
•
Easy
sri wahyuni
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Apa yang dimaksud dengan pewarisan dalam OOP?
Pewarisan adalah proses penghapusan kelas dalam OOP.
Pewarisan adalah cara untuk menggabungkan dua kelas menjadi satu.
Pewarisan adalah teknik untuk mengubah nama kelas dalam OOP.
Pewarisan adalah mekanisme di OOP yang memungkinkan sebuah kelas untuk mewarisi sifat dan perilaku dari kelas lain.
2.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Sebutkan contoh pewarisan dalam bahasa pemrograman!
Contoh pewarisan: Kelas 'Mobil' mewarisi dari kelas 'Kendaraan' dalam Java.
Kelas 'Sepeda' mewarisi dari kelas 'Kendaraan' dalam C++.
Kelas 'Kendaraan' mewarisi dari kelas 'Mobil' dalam Python.
Kelas 'Kendaraan' tidak memiliki subclass dalam Java.
3.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Apa keuntungan dari menggunakan pewarisan?
Membuat kode lebih sulit dipahami
Keuntungan dari menggunakan pewarisan adalah efisiensi dalam pengembangan dan pemeliharaan kode.
Mengurangi fleksibilitas dalam pengembangan
Meningkatkan kompleksitas kode
4.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Jelaskan konsep polimorfisme dalam OOP!
Polimorfisme hanya berlaku untuk kelas yang sama.
Polimorfisme mengharuskan semua objek memiliki metode yang sama.
Polimorfisme tidak mempengaruhi struktur kode dalam OOP.
Polimorfisme memungkinkan objek dari kelas yang berbeda untuk diakses melalui antarmuka yang sama, meningkatkan fleksibilitas dan reusabilitas kode.
5.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Sebutkan dua jenis polimorfisme!
Polimorfisme generik dan polimorfisme objek
Polimorfisme sederhana dan polimorfisme kompleks
Polimorfisme terstruktur dan polimorfisme fungsional
Polimorfisme statis dan polimorfisme dinamis
6.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Apa perbedaan antara polimorfisme statis dan dinamis?
Polimorfisme statis vs dinamis: statis pada kompilasi, dinamis pada runtime.
Polimorfisme statis terjadi pada runtime, dinamis pada kompilasi.
Polimorfisme statis dan dinamis tidak memiliki perbedaan.
Polimorfisme dinamis hanya digunakan dalam bahasa pemrograman tertentu.
7.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Jelaskan apa itu enkapsulasi!
Enkapsulasi adalah cara untuk menduplikasi objek dalam pemrograman.
Enkapsulasi adalah teknik untuk menyembunyikan data dan hanya memperlihatkan metode yang diperlukan untuk berinteraksi dengan objek.
Enkapsulasi adalah proses mempercepat eksekusi program.
Enkapsulasi adalah teknik untuk mengoptimalkan penggunaan memori.
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?
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Engineering
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
