Programming Concepts Quiz

Quiz
•
Computers
•
10th Grade
•
Easy

Rhonda Sherman
Used 1+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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
Similar Resources on Wayground
22 questions
J277 - basic testing and errors

Quiz
•
9th - 12th Grade
24 questions
Intro to Programming with Karel

Quiz
•
9th - 12th Grade
22 questions
IST CodeHS Unit 8 JavaScript Review

Quiz
•
9th - 12th Grade
24 questions
S3 Python datatypes and variables

Quiz
•
8th - 10th Grade
22 questions
Web Development

Quiz
•
9th - 12th Grade
31 questions
Python Course Selection

Quiz
•
7th - 11th Grade
25 questions
Python

Quiz
•
9th - 12th Grade
25 questions
Unit 2 - Turtle Graphics Quiz for Python Computer Programming I

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade