FA Topic 1 STM 21683

FA Topic 1 STM 21683

University

10 Qs

quiz-placeholder

Similar activities

H466 - Paradigms and High-Level Programming Languages

H466 - Paradigms and High-Level Programming Languages

12th Grade - University

15 Qs

Basic java

Basic java

University

10 Qs

Pemrograman Berorientasi Objek

Pemrograman Berorientasi Objek

University

15 Qs

JAVA FOR ANDROID-JAVA

JAVA FOR ANDROID-JAVA

University

10 Qs

JAVA UNIT 1 PART 2

JAVA UNIT 1 PART 2

University

15 Qs

Pretest PO-1 A

Pretest PO-1 A

University

8 Qs

Java Questions & Answers

Java Questions & Answers

University

10 Qs

Computer Language Quiz

Computer Language Quiz

University

10 Qs

FA Topic 1 STM 21683

FA Topic 1 STM 21683

Assessment

Quiz

Computers

University

Hard

Created by

Syahida Man

Used 7+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is an example of an object-oriented programming language?

HTML

Python

SQL

CSS

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the term for a blueprint that defines the structure and behavior of objects in object-oriented programming?

Object

Class

Method

Function

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which concept in OOP is best described as "wrapping data and functions into a single unit"?

Inheritance

Polymorphism

Encapsulation

Abstraction

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which statement correctly describes the relationship between class and object?

A class is a real-world entity and an object is a blueprint.

A class is an instance of an object.

A class is a blueprint and an object is its instance.

An object and a class are the same.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following best illustrates polymorphism in OOP?

Creating multiple objects from a class

Using the same method name with different implementations

Accessing private data from another class

Creating a superclass from multiple subclasses

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the main benefit of data abstraction?

It hides the internal details and shows only essential features

It allows one class to inherit another

It restricts access to specific class members

It allows multiple methods with the same name

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If a student object has attributes like name and ID, and behavior like register() and submitAssignment(), which concept is illustrated?

Abstraction

Object

Encapsulation

Inheritance

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?