Gateway Level 3 Python Quiz 3

Gateway Level 3 Python Quiz 3

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Binary

Binary

6th - 9th Grade

11 Qs

ICT as Social Change

ICT as Social Change

12th Grade

10 Qs

EmTech Q2 Post Test 5

EmTech Q2 Post Test 5

11th Grade

15 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

HTML & Google Site Seatwork

HTML & Google Site Seatwork

12th Grade

10 Qs

Gateway Level 3 Python Quiz 3

Gateway Level 3 Python Quiz 3

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Samuel Markham

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?