What is an example of an object-oriented programming language?
Apakah contoh bahasa pengaturcaraan berorientasikan objek?
STM 20483 QUIZ 1
Quiz
•
Computers
•
University
•
Medium
Rosnani (KKHL)
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is an example of an object-oriented programming language?
Apakah contoh bahasa pengaturcaraan berorientasikan objek?
Java
Pascal
Assembly
COBOL
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What are the main elements of an object in object-oriented programming?
Apakah elemen utama objek dalam pengaturcaraan berorientasikan objek?
Variable and Function
Pembolehubah dan Fungsi.
Attribute and Behavior
Atribut dan Kelakuan.
Input and Output
Syntax and Logic
Sintaksis dan Logik
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Choose the statement that describes the concept of Inheritance in OOP:
Pilih pernyataan yang menerangkan konsep Inheritance dalam OOP:
Allowing an object to call external functions
Membenarkan objek memanggil fungsi luaran
Enabling a class to inherit attributes and methods from another class
Membolehkan satu kelas mewarisi atribut dan kaedah daripada kelas lain
Restricting access to certain attributes
Mengehadkan akses kepada atribut tertentu
Combining data and functions in a single class
Menggabungkan data dan fungsi dalam satu kelas
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the main difference between a Class and an Object?
Apakah perbezaan utama antara Class dan Object?
A class is a real-world instance, while an object is a blueprint.
Kelas adalah contoh nyata, manakala objek adalah cetak biru.
A class is a blueprint, while an object is a real-world instance.
Kelas adalah cetak biru, manakala objek adalah contoh nyata.
A class contains only data, while an object contains methods.
Kelas hanya mengandungi data, manakala objek mengandungi kaedah.
There is no difference between a class and an object.
Tiada perbezaan antara kelas dan objek
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Who created the Java programming language?
Siapa pencipta Bahasa Pengaturcaraan Java
Dennis Ritchie
James Gosling
Bjarne Stroustrup
Linus Torvalds
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is a feature of Java?
Manakah antara berikut yang merupakan ciri Java?
Low-level Programming
Pengaturcaraan Tahap Rendah
Platform-dependent
Bergantung kepada Platform
Object-oriented
Berorientasikan Objek
No Garbage Collection
Tiada Pengumpulan Sampah
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the role of the main( ) method in a Java program?
Apakah peranan fungsi main( ) dalam program Java?
Determines the overall structure of the program
Menentukan struktur keseluruhan program
Executes the first code when the program starts
Menjalankan kod pertama semasa program dimulakan
Declares all variables
Mengisytiharkan semua pemboleh ubah
Connects between multiple classes
Menghubungkan antara pelbagai kelas
10 questions
Java
Quiz
•
University
12 questions
Java
Quiz
•
University
15 questions
Quiz Pemrograman Berorientasi Obyek
Quiz
•
University
10 questions
Topik 2: Ciri-ciri Object Oriented Programming (OOP)
Quiz
•
University
10 questions
Talent Next Java MCQ-1
Quiz
•
University
14 questions
UAS - Teknik Pemrograman
Quiz
•
University
10 questions
Latihan 3
Quiz
•
University
10 questions
Introduction to Java
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade