Python Programming Quiz

Python Programming Quiz

1st Grade

28 Qs

quiz-placeholder

Similar activities

TIK Kelas 6

TIK Kelas 6

1st - 5th Grade

25 Qs

jsakDSAKDhJ!@#i(DBMS)

jsakDSAKDhJ!@#i(DBMS)

1st - 5th Grade

26 Qs

Quiz sur HTML et WordPress

Quiz sur HTML et WordPress

1st - 5th Grade

28 Qs

Mengenal Word Art

Mengenal Word Art

1st Grade

30 Qs

M107 - Rappel des fondamentaux

M107 - Rappel des fondamentaux

1st Grade

30 Qs

Canva Quiz

Canva Quiz

1st - 5th Grade

32 Qs

AES and Cryptography Quiz

AES and Cryptography Quiz

1st Grade

31 Qs

1ºESO - TECNOLOGIA - REPASO TEMA 1

1ºESO - TECNOLOGIA - REPASO TEMA 1

1st Grade

24 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Information Technology (IT)

1st Grade

Practice Problem

Hard

Created by

Khaled Abdellatif

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function returns the square root of a number in Python?

sqrt()

square()

pow()

root()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will math.ceil(4.2) return?

4

5

4.2

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function gives the value of π in the math module?

math.pi()

math.pi

math.PI

pi

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of pow(2, 3)?

5

6

8

9

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will math.floor(-3.7) return?

-3

-4

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "hello".upper() return?

"Hello"

"HELLO"

"hello"

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method removes whitespace at the beginning and end of a string?

strip()

remove()

trim()

clean()

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?