Python and Karel Programming Quiz (50 minutes)

Python and Karel Programming Quiz (50 minutes)

9th Grade

19 Qs

quiz-placeholder

Similar activities

JavaScript and Karel Quiz Review

JavaScript and Karel Quiz Review

9th - 12th Grade

19 Qs

Fundamentals of Programming (GCSE Computer Science AQA)

Fundamentals of Programming (GCSE Computer Science AQA)

9th - 11th Grade

22 Qs

for loops quiz coding

for loops quiz coding

9th - 12th Grade

23 Qs

Karel the Dog Review

Karel the Dog Review

9th - 12th Grade

20 Qs

Programming With Karel Vocabulary Quiz

Programming With Karel Vocabulary Quiz

9th - 12th Grade

20 Qs

App Inventor

App Inventor

7th - 9th Grade

18 Qs

Javascript Basics Test

Javascript Basics Test

7th - 12th Grade

20 Qs

Study for Quiz #4

Study for Quiz #4

9th - 12th Grade

15 Qs

Python and Karel Programming Quiz (50 minutes)

Python and Karel Programming Quiz (50 minutes)

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Kerubo Omwoyo

Used 1+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the three components of a variable?

A. Name, value, and size

B. Name, type, and value

C. Type, size, and value

D. Name, size, and memory location

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

1st_variable

my-variable

my_variable

my variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the variable greeting = "Hello, world!"?

int

float

str

bool

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Python function can you use to determine the type of a variable?

findtype()

type()

get_type()

variable_type()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the variable my_number = 50?

A. int

B. float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Karel command is used to pick up a tennis ball?

collect_ball()

pick_ball()

get_ball()

take_ball()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen if Karel tries to pick up a ball when there are no balls present?

Nothing happens

Karel will crash

Karel will automatically place a ball instead

Karel will move forward

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?