Python and Karel Programming Quiz (50 minutes)

Python and Karel Programming Quiz (50 minutes)

9th Grade

19 Qs

quiz-placeholder

Similar activities

Karel the Dog Study Test

Karel the Dog Study Test

9th - 12th Grade

20 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

IST CodeHS Unit 2 Robot Coding Review

IST CodeHS Unit 2 Robot Coding Review

9th - 12th Grade

20 Qs

Programming with Karel Quiz

Programming with Karel Quiz

9th - 12th Grade

23 Qs

Javascript Quiz 1

Javascript Quiz 1

9th - 12th Grade

15 Qs

JavaScript Basics CodeHS

JavaScript Basics CodeHS

7th - 12th Grade

20 Qs

Karel and Programming Basics

Karel and Programming Basics

9th Grade

22 Qs

JavaScript - Karel

JavaScript - Karel

9th - 10th Grade

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