Search Header Logo

Programming A - Repetition in Shapes

Authored by Emma Frost

Computers

5th Grade

Used 1+ times

Programming A - Repetition in Shapes
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Following a 'pen down' command (PD), which of these commands would draw the longest line?

FD 10

LT 90

FD 50

LT 20

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of a count-controlled loop? (Only one answer is correct.)

FD 100 RT 90 FD 100 RT 90

REPEAT 2 [FD 100 RT 90]

FD 100 FD 100 FD 100 FD 100

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Following a 'pen down' command (PD), which of these code snippets would draw a square?

REPEAT 3 [FD 100 RT 120]

REPEAT 4 [FD 100 RT 90]

REPEAT 4 [FD 90 RT 100]

REPEAT 4 [FD 100 RT 45]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why doesn't this code for a triangle work? (Only one answer is correct.)

REPEAT 3 [FD 100 RT120]

A command is spelt incorrectly

A space is missing

There should be a 4 after REPEAT

The value after FD is incorrect

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Match the code below to the algorithm for an octagon: Repeat 8 times Draw a side 50 long Turn 45 degrees

REPEAT 8 [FD 45 LT 90]

REPEAT 45 [FD 8 RT 50]

REPEAT 8 [FD 50 RT 45]

[REPEAT 8 FD 50 RT 45]

6.

OPEN ENDED QUESTION

3 mins • 1 pt

What would be a sensible name for this procedure - it draws a triangle?

TO _____________ REPEAT 3 [FD 100 RT 120] END

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This is a procedure for… (Only one answer is correct.) TO *********** repeat 6 [fd 100 rt 60] END

A square

A hexagon

A decagon

A rectangle

Access all questions and much more by creating a free account

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?