ETS Pemrograman Berorientasi Obyek

ETS Pemrograman Berorientasi Obyek

University

15 Qs

quiz-placeholder

Similar activities

QUIZ 1 KARTOGRAFI

QUIZ 1 KARTOGRAFI

University

18 Qs

Cuestionario sobre Incendios y Equipos Eléctricos

Cuestionario sobre Incendios y Equipos Eléctricos

University

14 Qs

Hackharbor 3.0 Day 4:Tech

Hackharbor 3.0 Day 4:Tech

University

20 Qs

Pre-test Pelatihan PPIC

Pre-test Pelatihan PPIC

University

10 Qs

GENERAL PACKET RADIO SERVICES (GPRS)

GENERAL PACKET RADIO SERVICES (GPRS)

University

15 Qs

KUIS MATERI POPULASI DAN SAMPEL STATISTIKA

KUIS MATERI POPULASI DAN SAMPEL STATISTIKA

University

20 Qs

VOLUME PEKERJAAN KOLOM

VOLUME PEKERJAAN KOLOM

11th Grade - University

20 Qs

PENGANTAR PERANCANGAN PRODUK MANUFAKTUR (2)

PENGANTAR PERANCANGAN PRODUK MANUFAKTUR (2)

University

10 Qs

ETS Pemrograman Berorientasi Obyek

ETS Pemrograman Berorientasi Obyek

Assessment

Quiz

Engineering

University

Practice Problem

Easy

Created by

Dimas Wardhana

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 4 pts

Apa hasil dari kode berikut? class A: def __init__(self): print("Kelas A") class B(A): def __init__(self): super().__init__() print("Kelas B") obj = B()

Tidak ada output

Kelas A

Kelas B

Kelas A dan Kelas B

2.

MULTIPLE CHOICE QUESTION

2 mins • 4 pts

Apa fungsi dari super() dalam Python?

Menjalankan konstruktor objek

Mengakses fungsi global

Mengakses metode parent class

Menginisialisasi variabel lokal

3.

MULTIPLE CHOICE QUESTION

2 mins • 4 pts

Manakah pernyataan berikut yang benar tentang OOP?

OOP tidak mendukung reuse kode

OOP membuat program lebih kompleks

OOP menyatukan data dan fungsi dalam satu unit

OOP tidak digunakan di dunia nyata

4.

MULTIPLE CHOICE QUESTION

2 mins • 4 pts

Jika class Karyawan mewarisi dari class Manusia, maka disebut?

Aggregasi

Polymorphism

Encapsulation

Inheritance

5.

MULTIPLE CHOICE QUESTION

2 mins • 4 pts

Manakah berikut ini yang termasuk prinsip OOP?

Selection

Encapsulation

Iteration

Compilation

6.

OPEN ENDED QUESTION

5 mins • 8 pts

Jelaskan konsep encapsulation dalam OOP dan berikan contohnya dalam Python.

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

5 mins • 8 pts

Apa yang dimaksud dengan inheritance? Jelaskan manfaatnya dengan contoh kasus sederhana.

Evaluate responses using AI:

OFF

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?