Intro to Python Practice

Intro to Python Practice

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Operators in Python

Operators in Python

9th Grade - Professional Development

17 Qs

Basic Python Coding

Basic Python Coding

11th - 12th Grade

15 Qs

Variables, Inputs and Concatenation

Variables, Inputs and Concatenation

9th Grade

16 Qs

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

Python Programming - Iteration

Python Programming - Iteration

9th Grade

12 Qs

Java Strings

Java Strings

9th - 12th Grade

12 Qs

Python Iteration

Python Iteration

10th Grade

13 Qs

Python Lists

Python Lists

9th - 12th Grade

15 Qs

Intro to Python Practice

Intro to Python Practice

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Jessica Guthrie

Used 1+ times

FREE Resource

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

*

.

$

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?