CS Python Fundamentals Quiz 7 Review

CS Python Fundamentals Quiz 7 Review

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Hummingbird Robotics

Hummingbird Robotics

6th - 9th Grade

12 Qs

Flow Chart Review

Flow Chart Review

9th - 12th Grade

11 Qs

9.1.2 - Starter Quiz

9.1.2 - Starter Quiz

7th - 11th Grade

14 Qs

Global and local variables

Global and local variables

10th - 12th Grade

10 Qs

Create with Code

Create with Code

10th - 12th Grade

15 Qs

GCSE Computing - Subprograms

GCSE Computing - Subprograms

9th - 10th Grade

14 Qs

Code.org Unit 5 Lesson 15 Assessment

Code.org Unit 5 Lesson 15 Assessment

9th - 12th Grade

15 Qs

Python - Flow control

Python - Flow control

11th Grade

10 Qs

CS Python Fundamentals Quiz 7 Review

CS Python Fundamentals Quiz 7 Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Scott Chamberlain

Used 9+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Which of the following does NOT describe a specific purpose of using functions in code?

Select ALL that apply.

To simplify code through abstraction.

To prompt the user for input.

To allow for re-use of code.

To stop a program from repeating,

To improve the debugging process.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Python keyword used to create a function?

fun

cre

begin

def

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable received in the definition of a function is called a(an)

argument

parameter

boolean

library

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How many parameters are optional for the function defined below?

def heatcheck(a, m, c=0, q=1)

0

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is output by the program shown here?

7

10

11

14

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is output by the program shown here?

2

5

7

10

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is output by the program shown here if the user enters 8 and 9?

0

17

64

72

81

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?