CS Python Fundamentals Quiz 7 Review

CS Python Fundamentals Quiz 7 Review

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Python programming -recap

Python programming -recap

7th - 10th Grade

12 Qs

Python IF ELSE

Python IF ELSE

10th Grade

11 Qs

CSC401- G9[GEN]_53

CSC401- G9[GEN]_53

9th Grade

10 Qs

The Design Process

The Design Process

10th - 12th Grade

15 Qs

Unit 4 Code.org Csd

Unit 4 Code.org Csd

10th - 12th Grade

15 Qs

Flow Charts (OCR GCSE)

Flow Charts (OCR GCSE)

7th - 11th Grade

10 Qs

GCSE Computing: Computational Logic 2.4

GCSE Computing: Computational Logic 2.4

11th - 12th Grade

15 Qs

Python Lists v2

Python Lists v2

9th - 12th Grade

15 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?