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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
JavaScript Quiz

Quiz
•
University
8 questions
PAS PBO Kelas 11 RPL

Quiz
•
11th Grade - University
15 questions
Web Dev Quizz 1

Quiz
•
University
15 questions
Quiz -3: JavaScript & PHP (AIML)/CC/1st Year

Quiz
•
University
15 questions
II CSM A & B

Quiz
•
University
10 questions
Básicas de JavaScript

Quiz
•
University
10 questions
Java Questions & Answers

Quiz
•
University
10 questions
Java Arrays

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University