Python Quiz

Python Quiz

12th Grade

14 Qs

quiz-placeholder

Similar activities

Intro to Python Programming Quiz 9C

Intro to Python Programming Quiz 9C

10th Grade - University

12 Qs

Chapter 1 - Approaches to Psychology Vocab

Chapter 1 - Approaches to Psychology Vocab

9th - 12th Grade

14 Qs

Викторина по Python

Викторина по Python

12th Grade

12 Qs

creativity

creativity

8th Grade - University

15 Qs

Revision Learning Aim A

Revision Learning Aim A

12th Grade

13 Qs

Engineering game (3 types)

Engineering game (3 types)

8th Grade - Professional Development

11 Qs

Logic Pro X - 101

Logic Pro X - 101

2nd Grade - University

10 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Other

12th Grade

Medium

Created by

Tieka North

Used 13+ times

FREE Resource

AI

Enhance your content

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 3 pts

What is the correct syntax to define a function in Python?

def function_name(parameters):

function_name(parameters):

def function_name:

function_name:

2.

MULTIPLE CHOICE QUESTION

5 mins • 3 pts

Which of the following is the correct way to comment a single line in Python?

*/

/*

//

#

3.

MULTIPLE CHOICE QUESTION

5 mins • 3 pts

What is the correct way to call a function in Python?

call_function()

function()

my_function

my_function()

4.

MULTIPLE CHOICE QUESTION

5 mins • 3 pts

Which of these is a valid Karel command?

move

turn_right

drop_ball()

take_ball()

5.

MULTIPLE CHOICE QUESTION

5 mins • 3 pts

Which one of these is NOT a command that Karel knows?

turn left

turn right

put down a ball

pick up a ball

6.

FILL IN THE BLANK QUESTION

5 mins • 3 pts

______ is giving commands to a computer.

7.

MULTIPLE CHOICE QUESTION

5 mins • 3 pts

Media Image

If Karel starts at Street 1 and Avenue 3 facing East, what street (row) and avenue (column) will Karel be on after this code runs?

street 2 avenue 4

street 6 avenue 2

street 2 avenue 6

street 5 avenue 6

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?