Python Programming Quiz

Python Programming Quiz

1st Grade

28 Qs

quiz-placeholder

Similar activities

Express-MangoDB

Express-MangoDB

1st Grade

30 Qs

Lat klx 1 TIK

Lat klx 1 TIK

1st Grade

30 Qs

Literasi Digital

Literasi Digital

1st Grade

25 Qs

Kuis Fungsi IF di Excel

Kuis Fungsi IF di Excel

1st Grade

30 Qs

Battle Friday

Battle Friday

1st Grade

30 Qs

bài 7(ux)

bài 7(ux)

1st Grade

32 Qs

Câu hỏi về hệ thống máy tính

Câu hỏi về hệ thống máy tính

1st Grade

29 Qs

KUIS DASAR DASAR PPLG - PART 1

KUIS DASAR DASAR PPLG - PART 1

1st Grade

33 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Information Technology (IT)

1st Grade

Hard

Created by

Khaled Abdellatif

Used 1+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?