ASESMEN SUMATIF (POST-TEST)

Quiz
•
Computers
•
10th Grade
•
Medium
Muhammad Faishaluddin
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Mengapa OOP lebih mudah untuk proses debugging dibandingkan dengan pemrograman prosedural?
Karena semua kode disimpan dalam satu file besar
Karena OOP menyembunyikan semua error dari pengguna
Karena struktur OOP yang modular memungkinkan isolasi kesalahan
Karena OOP menggunakan lebih sedikit sintaks dibanding prosedural
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Seorang siswa membuat method jalan() di luar class Mobil. Apa konsekuensinya?
Method akan tetap bisa dipanggil oleh objek Mobil
PHP akan mengabaikan method tersebut
Program tetap berjalan tetapi output akan kosong
Akan terjadi error karena method tidak dikenali dalam class
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Manakah yang merupakan kelebihan property dalam OOP dibanding variabel global dalam pemrograman prosedural?
Property hanya bisa digunakan dalam HTML
Property memiliki tipe data yang berubah otomatis
Property dapat diakses oleh semua program secara bebas
Property hanya aktif dalam konteks objeknya, lebih aman dan terstruktur
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Jika kamu membuat sistem pendataan siswa, manakah struktur class yang paling tepat?
Class: Siswa, Property: echo, Method: for
Class: Data, Property: echo, Method: html()
Class: Siswa, Property: nama, kelas, Method: tampilkanData(), ubahKelas()
Class: Kelas, Property: if, Method: switch()
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Perhatikan kode berikut. Apa kesalahan dalam kode ini?
Tidak ada kesalahan
Method makan seharusnya berada di luar class
Property nama tidak didefinisikan dalam class
echo seharusnya diganti print
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Manakah analogi terbaik untuk menjelaskan perbedaan antara class dan object?
Class seperti resep masakan, dan object adalah masakan yang dibuat dari resep itu
Class adalah makanan dan object adalah resepnya
Class dan object adalah hal yang sama
Class seperti sendok, dan object seperti meja
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Mengapa OOP sangat cocok untuk proyek besar seperti sistem rumah sakit atau e-commerce?
Karena bisa dijalankan tanpa koneksi internet
Karena OOP memiliki warna kode lebih menarik
Karena OOP memudahkan pengorganisasian kode secara modular dan reusable
Karena OOP tidak membutuhkan syntax PHP
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
AP CSA Unit 1 Review

Quiz
•
9th - 12th Grade
12 questions
APCSA Unit 7

Quiz
•
9th - 12th Grade
11 questions
Python Classes and Objects

Quiz
•
9th - 12th Grade
15 questions
Unit 1. Introduction to Object-Oriented Programming Concepts

Quiz
•
9th - 10th Grade
10 questions
Pemrograman Berorientasi Objek

Quiz
•
10th Grade - University
10 questions
การเขียนโปรแกรมเบื้องต้น

Quiz
•
9th Grade - University
14 questions
Creating Java Programs

Quiz
•
10th - 12th Grade
15 questions
Unit 8 - Searching and Sorting

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