STM 20483 QUIZ 1

STM 20483 QUIZ 1

University

10 Qs

quiz-placeholder

Similar activities

Hyrje në SO

Hyrje në SO

University

10 Qs

basic computer design

basic computer design

University

10 Qs

Application Development Midterm Quiz

Application Development Midterm Quiz

University

15 Qs

QUIZZ 1 : DATABASE FUNDAMENTALS

QUIZZ 1 : DATABASE FUNDAMENTALS

University

10 Qs

General Ict Quiz

General Ict Quiz

4th Grade - University

15 Qs

01. Proceso de Programación de Software

01. Proceso de Programación de Software

University

10 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

STM 20483 QUIZ 1

STM 20483 QUIZ 1

Assessment

Quiz

Computers

University

Medium

Created by

Rosnani (KKHL)

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?