Python Recap

Python Recap

University

7 Qs

quiz-placeholder

Similar activities

Google Calendar

Google Calendar

University

10 Qs

Quiz 10 Susulan  Teori Bahasa dan Otomata 2022-1

Quiz 10 Susulan Teori Bahasa dan Otomata 2022-1

University

10 Qs

PowerPoint 1

PowerPoint 1

12th Grade - University

10 Qs

ロジックテスト (Đề kiểm tra năng lực IT)

ロジックテスト (Đề kiểm tra năng lực IT)

University

12 Qs

¿Cuánto sabes sobre la tecnología que cambia al mundo?

¿Cuánto sabes sobre la tecnología que cambia al mundo?

University

10 Qs

CHUONG 4: KT CÁC NVTT

CHUONG 4: KT CÁC NVTT

University

10 Qs

Examen Tema 1 - Simulación

Examen Tema 1 - Simulación

University

11 Qs

Post Test #4 - Python Fundamental #3

Post Test #4 - Python Fundamental #3

University

10 Qs

Python Recap

Python Recap

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

P zet

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

7 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What do you call a class which you inherit from?

Ultra class

Parent class

Super class

Mega class

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to access super class attributes and methods?

super()

parent()

top()

self()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a built-in data type in Python?

String (str)

Integer (int)

list

void

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct way to create a list of integers from 1 to 5?

(1, 2, 3, 4, 5)

[1, 2, 3, 4, 5]

{1, 2, 3, 4, 5}

1, 2, 3, 4, 5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about classes in Python is true?

A class is used to create conditional statements.

A class is an instance of an object.

A class is a blueprint for creating objects.

A class is a collection of elements such as integers.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following calculation: 5 % 2

2.5

2

1

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

5

"MyClass"

"x"

None

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?