ByteTheSnake

ByteTheSnake

University

20 Qs

quiz-placeholder

Similar activities

2F-3 | Python Quiz | 14/11/2024

2F-3 | Python Quiz | 14/11/2024

University

20 Qs

Bài 30

Bài 30

10th Grade - University

15 Qs

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

11th Grade - University

16 Qs

Selection Programming_If condition

Selection Programming_If condition

8th Grade - University

15 Qs

Algoritma Struktur Data

Algoritma Struktur Data

University

20 Qs

Web Application - PHP Repetition

Web Application - PHP Repetition

University

15 Qs

Python Quiz Girls in ICT Day

Python Quiz Girls in ICT Day

University

20 Qs

Pyhton Debugging Questions

Pyhton Debugging Questions

University

25 Qs

ByteTheSnake

ByteTheSnake

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Vigacini Chandrasekaran

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of print(2 == 2.0 is True)?

 True

False

Error

 None

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does slots do in Python?

Limits instance attributes

Defines private variables

Increases execution speed

Both A and C

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of print(5 and 0 or 3)?

0

3

5

Error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

print({True: 'yes', 1: 'no', 1.0: 'maybe'})

{True: 'yes', 1: 'no', 1.0: 'maybe'}

{True: 'maybe'}

 {True: 'yes'}

{True: 'maybe'}

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will print(hash((1, 2, 3))) return?

A unique integer

A string

An error

None

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of print(0.1 + 0.2 == 0.3)?

True

False

Error

None

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of bool(set())?

True

False

Error

none

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?