Evaluasi Pembelajaran Materi Dasar OOP C++

Quiz
•
Computers
•
10th Grade
•
Medium
Dede Supriadi
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa tujuan dari penggunaan ' virtual' pada metode 'RasaBuah( )' di kelas 'Buah'?
Agar metode bisa dipanggil dari dalam konstruktor
Agar bisa diakses oleh kelas turunan
Agar bisa di-override oleh kelas turunan
Agar menjadi metode privat
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa output dari fungsi 'TampilkanInfo( )' ketika objek 'Buah' bernama "Mangga Harum Manis" dan rasa "manis"?
Mangga Harum Manis memiliki rasa manis
Buah manis
Jenis Buah : Mangga Harum Manis , Rasa : manis
Mangga Harum Manis : manis
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Mengapa program menggunakan pointer Buah* buah1 = new Mangga(...); bukan langsung Mangga buah1(...);?
Untuk menghindari error saat compile
Untuk menerapkan polimorfisme
Agar objek tidak bisa dihapus
Supaya bisa mengakses variabel private
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa yang akan ditampilkan jika rasa lama dan rasa baru yang dimasukkan sama saat memanggil UbahRasa()?
Rasa tidak berubah karena sama.
Program akan berhenti
Program tetap melanjutkan tanpa mengubah rasa
Objek buah dihapus
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Jika pengguna menjawab 't' saat ditanya apakah ingin mengubah rasa buah, apa yang akan terjadi?
Program akan berhenti
Program tetap melanjutkan tanpa mengubah rasa
Program akan meminta ulang input
Objek buah dihapus
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Perulangan do...while pada program digunakan untuk...
Mengulang seluruh proses input dan perubahan rasa sampai pengguna selesai
Menjalankan pengulangan tanpa kondisi
Memastikan program berhenti saat ulang = 'y'
Meminta input hanya satu kali
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa yang akan terjadi jika metode RasaBuah() tidak di-override dalam kelas turunan seperti Jeruk?
Tidak bisa dipanggil
Akan memanggil metode dari kelas dasar Buah
Akan error saat runtime
Program tidak bisa di-compile
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Access Modifier PBO

Quiz
•
10th Grade
15 questions
Simulasi & Komunikasi Digital

Quiz
•
10th - 12th Grade
15 questions
PTS INFORMATIKA SMK PK 2021

Quiz
•
10th Grade
15 questions
Komputer dan jaringan dasar

Quiz
•
10th Grade
13 questions
Quiz Algoritma dan Flowchart

Quiz
•
10th Grade
10 questions
QUIZZ NEW

Quiz
•
9th - 12th Grade
10 questions
POST TEST

Quiz
•
10th Grade
10 questions
X.12_Project2_SMANSA

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade