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
15 questions
CICS Test 2 Review

Quiz
•
9th - 12th Grade
15 questions
Web I: CSS Debug

Quiz
•
9th - 12th Grade
10 questions
OOP

Quiz
•
9th - 12th Grade
10 questions
Latihan Interface

Quiz
•
9th - 12th Grade
15 questions
Kuizi 13 - Web

Quiz
•
10th Grade - University
5 questions
ASESMEN DIAGNOSTIK KOGNITIF (PRE-TEST)

Quiz
•
10th Grade
15 questions
QUIZ PBO 1

Quiz
•
10th Grade
8 questions
PHP class and object

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade