Gateway Level 3 Python Quiz 3

Gateway Level 3 Python Quiz 3

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Reverse Python quiz

Reverse Python quiz

8th - 9th Grade

20 Qs

GCSE Computing - Subprograms

GCSE Computing - Subprograms

9th - 10th Grade

14 Qs

Subroutines

Subroutines

9th - 11th Grade

16 Qs

Python Programming: Functions and Procedures

Python Programming: Functions and Procedures

9th - 11th Grade

12 Qs

09-Subroutines-GCSE-Python

09-Subroutines-GCSE-Python

11th Grade

15 Qs

Subroutine

Subroutine

10th Grade

15 Qs

Higher SDD - Subroutines

Higher SDD - Subroutines

10th Grade

10 Qs

OCR GCSE Computer Science Subroutines

OCR GCSE Computer Science Subroutines

12th Grade

19 Qs

Gateway Level 3 Python Quiz 3

Gateway Level 3 Python Quiz 3

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Samuel Markham

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the built in function to get user input in Python?

read_input()
user_input()
get_input()
input()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Python keyword is used to create functions?

create
def
function
return

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the meaning of a parameter in Python functions?

A parameter in Python functions is a keyword that defines the type of data that can be passed into a function.
A parameter in Python functions is a variable that is used to receive data from a function.
A parameter in Python functions is a variable that is used to pass data into a function.
A parameter in Python functions is a variable that is used to store the return value of a function.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the meaning of a argument in Python functions?

A variable used within a function
A keyword used to define a function
A data type used in Python functions
A value passed to a function when it is called

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the short hand to update a python variable by one?

++ 1

+= 1

-= 1

*= 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What mode is used to create a new file in Python when the file does not exist?

r
a
w
x

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What mode is used to write to a file in Python without overwriting the contents?

x
w

a

r

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?