Search Header Logo

FA Topic 1 STM 21683

Authored by Syahida Man

Computers

University

Used 16+ times

FA Topic 1 STM 21683
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?