Programming Concepts Flashcard

Programming Concepts Flashcard

Assessment

Flashcard

Computers

10th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

24 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Media Image

Back

50 spaces

2.

FLASHCARD QUESTION

Front

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

Back

As many times as you want

3.

FLASHCARD QUESTION

Front

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.

Back

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

4.

FLASHCARD QUESTION

Front

Which function would be the most useful to make Tracy draw a mountain range, starting from the left side?

Media Image

Back

A

5.

FLASHCARD QUESTION

Front

Which of the following is NOT a command you can give to Tracy? color, backward, left

Back

turn

6.

FLASHCARD QUESTION

Front

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.

Back

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

7.

FLASHCARD QUESTION

Front

Which of the following statements are true about for loops? A, C, and F; A, B, C, and F; A, B, C, E and F; A and C

Media Image

Back

A, C, and F

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

Already have an account?

Discover more resources for Computers