
Dasar Pemrograman Berorientasi Objek
Quiz
•
Information Technology (IT)
•
11th Grade
•
Practice Problem
•
Medium
Sam One
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu pemrograman berorientasi objek?
Pemrograman berorientasi objek adalah paradigma pemrograman yang menggunakan objek untuk merepresentasikan data dan metode.
Pemrograman berorientasi objek hanya digunakan dalam pengembangan web.
Pemrograman berorientasi objek adalah metode untuk mengelola database.
Pemrograman berorientasi objek adalah teknik untuk menulis dokumen.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sebutkan tiga prinsip dasar OOP!
Encapsulation, Inheritance, Polymorphism
Aggregation
Composition
Abstraction
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan kelas dalam OOP?
Kelas adalah fungsi yang hanya mengembalikan nilai tanpa parameter.
Kelas adalah jenis data yang tidak memiliki atribut.
Kelas adalah metode untuk menghapus objek dari memori.
Kelas adalah cetak biru untuk membuat objek yang mendefinisikan atribut dan metode.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jelaskan perbedaan antara objek dan kelas!
Kelas dan objek adalah hal yang sama.
Kelas hanya digunakan dalam pemrograman fungsional.
Kelas adalah template, sedangkan objek adalah instansi dari kelas.
Objek adalah template, sedangkan kelas adalah instansi dari objek.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu enkapsulasi dalam OOP?
Enkapsulasi adalah proses pengulangan kode dalam OOP.
Enkapsulasi adalah cara untuk meningkatkan kecepatan program.
Enkapsulasi adalah penyembunyian detail implementasi objek dan pengendalian akses ke data dan metode dalam OOP.
Enkapsulasi adalah teknik untuk menduplikasi objek dalam OOP.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sebutkan contoh penggunaan pewarisan dalam Python!
class Hewan: def suara(self): return 'Suara Hewan' class Kucing(Hewan): def suara(self): return 'Meow' kucing = Kucing() print(kucing.suara()) # Output: Meow
class Hewan: def suara(self): return 'Meow'
class Kucing(Hewan): def suara(self): return 'Woof'
class Kucing: def suara(self): return 'Meow' kucing = Kucing()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan polimorfisme?
Polimorfisme adalah teknik untuk mengoptimalkan kode.
Polimorfisme adalah kemampuan objek untuk mengambil banyak bentuk.
Polimorfisme adalah cara untuk mendefinisikan variabel.
Polimorfisme adalah proses penggabungan data.
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
11 questions
Quiz BAB 1 - Berpikir Komputasional
Quiz
•
9th - 12th Grade
10 questions
Informatika "Topologi Jaringan"
Quiz
•
11th Grade
15 questions
INFORMATIKA KELAS 7A DAN TB
Quiz
•
7th Grade - University
15 questions
Kegiatan Ramadhan dan Kesehatan
Quiz
•
4th Grade - University
10 questions
Ice Breaking Informatika
Quiz
•
10th Grade - University
10 questions
Praktik Lintas Bidang (Permasalahan Knapsack)
Quiz
•
11th Grade
15 questions
Quiz ip address
Quiz
•
11th Grade
13 questions
ULANGAN HARIAN 1 (ANALISIS DATA)
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University
