OOP DASAR pada PHP - Class dan Object
Interactive Video
•
Information Technology (IT)
•
10th Grade
•
Easy
Amelya Anggraeni
Used 2+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan Class dalam pemrograman berorientasi objek?
Sebuah implementasi nyata dari suatu objek.
Sebuah cetak biru atau template untuk membuat instance dari objek.
Sebuah variabel yang menyimpan banyak nilai.
Sebuah fungsi yang melakukan tugas tertentu.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam pemrograman berorientasi objek, Class dapat menyimpan apa saja?
Data dan perilaku yang disebut properti dan metode.
Hanya perilaku.
Hanya data
Hanya variabel global.
3.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
Apakah Anda menikmati pelajaran video tersebut?
Ya
Tidak
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa definisi dari Object dalam konteks pemrograman berorientasi objek?
Sebuah cetak biru untuk membuat kelas.
Sebuah template untuk mendefinisikan data.
Sebuah fungsi yang tidak memiliki properti.
Sebuah instance nyata yang didefinisikan oleh Class.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Keyword apa yang digunakan untuk membuat sebuah Object (instance) dari sebuah Class?
create
make
new
instanceof
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara membuat instance objek dari sebuah kelas di PHP?
$obj = new ClassName();
$obj = ClassName();
$obj = create ClassName;
$obj = ClassName->new();
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika Anda ingin membuat instance objek lain dari kelas yang sama, apa yang perlu Anda lakukan?
Membuat kelas baru dengan nama yang berbeda.
Menggunakan variabel yang sama dan mengisinya kembali dengan new NamaKelas().
Membuat variabel baru dengan nama yang berbeda dan mengisinya dengan new NamaKelas().
Menggunakan fungsi clone pada objek yang sudah ada.
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
6 questions
Video Pembuatan Sabun Cair
Interactive video
•
10th Grade
6 questions
kuis asesmen istima'
Interactive video
•
11th Grade
11 questions
Unity and JSON Integration Concepts
Interactive video
•
9th - 10th Grade
4 questions
organ tumbuhan
Interactive video
•
11th Grade
11 questions
Understanding the Church's Role and Purpose
Interactive video
•
9th Grade
11 questions
BPUPKI and the Path to Indonesian Independence
Interactive video
•
10th - 12th Grade
11 questions
Geography Concepts and Historical Developments
Interactive video
•
10th - 12th Grade
11 questions
Quantitative Research Concepts
Interactive video
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Parallel Lines Cut by a Transversal
Quiz
•
10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University