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
Java

Quiz
•
University
15 questions
Visual Basic

Quiz
•
University
15 questions
Sains Komputer Tingkatan 5 - 1.2.4 Membincangkan penterjemah

Quiz
•
1st Grade - Professio...
10 questions
Unit 24 - Java Basics

Quiz
•
University
15 questions
Chapter 1 Introduction to Computers and Java

Quiz
•
University
10 questions
Visual Basic Intro

Quiz
•
University
10 questions
Java

Quiz
•
University
10 questions
JAVA Abbreviation Quiz

Quiz
•
University
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