PYTHON QUIZ-1 2024-25

PYTHON QUIZ-1 2024-25

University

35 Qs

quiz-placeholder

Similar activities

HTML and CSS

HTML and CSS

University

30 Qs

Dessain WEB Dinamis MM A

Dessain WEB Dinamis MM A

University

33 Qs

PowerPoint  2016

PowerPoint 2016

7th Grade - University

40 Qs

Kuis Aplikasi Kamus Digital

Kuis Aplikasi Kamus Digital

8th Grade - University

35 Qs

Pre-Test: JavaScript Fundamentals (Part 1)

Pre-Test: JavaScript Fundamentals (Part 1)

University

30 Qs

Pemrograman Web Lanjut

Pemrograman Web Lanjut

University

30 Qs

ย้อนหลัง กลางภาค Java ระดับต้น

ย้อนหลัง กลางภาค Java ระดับต้น

KG - University

40 Qs

Grade 6-Sistem Komputer

Grade 6-Sistem Komputer

6th Grade - University

40 Qs

PYTHON QUIZ-1 2024-25

PYTHON QUIZ-1 2024-25

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Ruchi Talwar

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function convert a string to a float in python?

int(x [,base])

long(x [,base] )

float(x)

str(x)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code : print(9//2)

4.5

4.0

4

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function overloads the >> operator?

more()

gt()

ge()

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is overloaded by the or() function?

||

|

//

/

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the expression : 3*1**3

27

9

3

1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? print(3 ** 3)

9

27

81

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression not(10 == 10) evaluate to?

True

False

Error

None of the above

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?