Search Header Logo

Intro to Python Practice

Authored by Jessica Guthrie

Computers

9th - 12th Grade

Used 1+ times

Intro to Python Practice
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the output of the following line of code?

print(pow(4, 3))

12

43

64

81

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the output of the following line of code?

print(pow(2, 5) + sqrt(25))

37.0

15.0

44.5

30.0

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the output of the following line of code?

print(pow(sqrt(9), 5))

243.0

15.0

22.5

125.0

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the output of the following line of code?

print(abs(4) - pow(5, 2))

-21

-6

-29

-28

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What would this code output?

print( 14//3 )

4.6666666667

4

14//3

4.7

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is used to define a String in computer science?

( )

" "

[ ]

< >

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which of the following symbols represents multiplication in Python?

x

*

.

$

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?