Classes in (OOP)

Classes in (OOP)

11th Grade

12 Qs

quiz-placeholder

Similar activities

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Calidad y Atributos del Servicio

Calidad y Atributos del Servicio

9th - 12th Grade

12 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

Quiz #2 ETEC 486 | Spr. 16

Quiz #2 ETEC 486 | Spr. 16

KG - University

10 Qs

Parcial - Módulo IV

Parcial - Módulo IV

1st Grade - University

15 Qs

HARD DISK DRIVE

HARD DISK DRIVE

11th - 12th Grade

10 Qs

TRẮC NGHIỆM TIN 12 KỲ II

TRẮC NGHIỆM TIN 12 KỲ II

10th - 12th Grade

10 Qs

Classes in (OOP)

Classes in (OOP)

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Margaret Sifuna

Used 22+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

What do objects instantiated from a class contain?

Variables

Attributes

Predefined actions

2.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

What do objects instantiated from a class contain?

Class variables

Methods

Predefined Functions

3.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What is the purpose of a method in a class?

To define new data types.

To organise code in a modular way.

To perform actions or behaviours.

To generate random numbers.

4.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What is the term used to refer to an object in OOP?

Identifier

Blueprint

Instance

Class variable

5.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What is a class in the context of Object-Oriented Programming (OOP)?

A blueprint for creating objects.

A specific instance of an object

A method for organising code.

A predefined set of actions

6.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What are attributes in the context of OOP?

Actions or behaviours within a class

Predefined set of functionalities

Variables within a class

Identifiers for objects

7.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Which of the following is an example of a predefined class in Python?

Animal()

Int()

Student()

Object()

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?