Creating and using classes in Python

Creating and using classes in Python

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Interstate Competition

Interstate Competition

7th - 10th Grade

11 Qs

Vocabulary Quiz - Computer - 01

Vocabulary Quiz - Computer - 01

12th Grade - University

10 Qs

Uji Pemahaman Microsoft Word X TKJ 1

Uji Pemahaman Microsoft Word X TKJ 1

12th Grade

20 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

Creating and using classes in Python

Creating and using classes in Python

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Adrian Ortiga

Used 18+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

DRAG AND DROP QUESTION

1 min • 1 pt

In ​ (a)   programming you write ​ (b)   that represent ​ (c)   things and situations, and you create ​ (d)   based on these classes.

object-oriented
classes
real-world
objects

2.

DRAG AND DROP QUESTION

1 min • 1 pt

Making an object from a class is called ​ (a)   , and you work with ​ (b)   of a class.

instantiation
instances

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword to create a class in Python?

function
variable
method
class

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a method in Python?

A conditional statement in Python
A type of variable in Python

A function that is part of a class

A built-in module in Python

5.

HOTSPOT QUESTION

1 min • 1 pt

Highlight the name of the class.

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the special method that Python runs automatically whenever we create a new instance of a class?

7.

HOTSPOT QUESTION

1 min • 1 pt

Highlight the __init__ method.

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

Already have an account?