Programming Concepts Quiz

Programming Concepts Quiz

10th Grade

26 Qs

quiz-placeholder

Similar activities

Programming Basics: Statements & Functions

Programming Basics: Statements & Functions

9th - 12th Grade

21 Qs

CodeHS Tracy the Turtle Final Test

CodeHS Tracy the Turtle Final Test

6th - 10th Grade

30 Qs

CodeHS Python Final

CodeHS Python Final

6th - 10th Grade

30 Qs

J277 Test, trace and validate

J277 Test, trace and validate

9th - 11th Grade

21 Qs

Karel's Programming Quiz

Karel's Programming Quiz

9th - 11th Grade

21 Qs

Inscoe - MICS Unit 1 and 2 Study Guide

Inscoe - MICS Unit 1 and 2 Study Guide

9th - 12th Grade

25 Qs

Computer Science Vocab

Computer Science Vocab

6th Grade - Professional Development

21 Qs

AP CSP Exam Review

AP CSP Exam Review

10th - 12th Grade

27 Qs

Programming Concepts Quiz

Programming Concepts Quiz

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Rhonda Sherman

Used 1+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

When the following for loop is complete, how many spaces will Tracy have moved?

50 spaces

60 spaces

10 spaces

5 spaces

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you write a function. How many times can you call the function in your code?

Once

Not more than the number of commands the function holds

It depends on the function

As many times as you want

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following situations would it be best to make a function?

You want Tracy to draw a blue line, and your program requires lots of blue lines.

You need Tracy to move forward by 100.

You need Tracy to turn right and then turn left.

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Which of the following pieces of code will make Tracy do the following actions three times: go forward, change colors, and then turn around?

A

B

C

D

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Suppose you want to make Tracy draw a mountain range, like the one shown below, starting from the left side. Which of the following functions would be the most useful function to write in order to solve this problem?

A

B

C

D

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a command you can give to Tracy?

color

turn

backward

left

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the statements below is true about indentation in Python?

Indentation only matters in for loops. Then, everything must be indented one level.

Indentation never matters in Python. You can align your code any way you like, but indentation makes your code easier to read.

Indentation always matters in Python. Every statement must be aligned correctly.

Indentation only matters in functions. Then, everything must be indented one level.

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?