programming 1- Tracy - lessons 13-15 quiz

programming 1- Tracy - lessons 13-15 quiz

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Basketball Rules

Basketball Rules

9th - 12th Grade

10 Qs

Circle Equations

Circle Equations

10th - 11th Grade

10 Qs

Parts of circle

Parts of circle

KG - University

10 Qs

Equations of Circles (centre origin)

Equations of Circles (centre origin)

8th - 12th Grade

10 Qs

Circle Circumference Area Radius Diameter

Circle Circumference Area Radius Diameter

7th Grade - University

10 Qs

Circumference

Circumference

7th - 11th Grade

10 Qs

Center and Radius of Circle

Center and Radius of Circle

9th - 12th Grade

10 Qs

Netball Rules: Quiz Time!

Netball Rules: Quiz Time!

7th - 9th Grade

10 Qs

programming 1- Tracy - lessons 13-15 quiz

programming 1- Tracy - lessons 13-15 quiz

Assessment

Quiz

9th - 12th Grade

Medium

Created by

Luke Marvulli

Used 29+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is my code from 2.13.4 What is wrong with this code?

The "color_choice" variable is not defined

There is not an "int" with the input when asking for a numerical value

In the bottom line of my function I should just be going forward my "radius", not "radius*2"

I should not have "" marks in front and at the end of my colors in "make_circle"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Here is my code for Tracy 2.13.5. I have my input and telling it to perform my two functions. what am I missing?

Telling it to start at a starting point so the square and circle are centered. The following code should be added.


penup()

right(90)

forward(radius)

left(90)

Telling it to start at a starting point so the square and circle are centered. The following code should be added.


penup()

left(90)

forward(radius)

right(90)

In the for loop, there is a parameter of "radius*2" in it. There should just be a parameter of radius.

The functions "make_circle" and "make_square" need to be combined into one function for it to work properly.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

attached is my code for 2.13.6. I have an error though and it won't make a snowman that reduces the size of each snowball in half. What is the error?

In the for loop, after entering the "make_circle" function, it should be "radius = radius/2"

In the for loop, after entering the "make_circle" function, it should have the "radius = radius - 25" first in the loop.

in the function, after I make a circle, I should go right(90), forward, and then left(90) to up to form my smaller circle.

in the function, after I make a circle, I should only go up forward my "radius" to get to the starting point of my next circle.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is my code for Geometry 2.14.4 to make geometric shapes. Where is the error?

I should have an setposition of (-150, 0) instead of (0, -150)

My radius should be doubling (radius = radius*2) in the assignment.

My radius of my circle is always set for 25. The 25 should be taken out and I should input "radius".

I should have an "i" in my for loop, so it should look like "for i in range(i):"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Attached is my code for 2.15.4. I need to make 4 circles. The circles should be 25, 50, 75, 100. why will it not make my circle of 100.

the for loop, should have 4 instead of (25, 100, 25)

the for loop, should have an "i" in it instead of (25, 100, 25). It should look like "for i in range(i):"

I am telling it to stop at 100, so it will not make the circle at 100. the 100, should be changed to either 101 or 125.

I am telling it to stop at 100, so it will not make the circle at 100. the 100, should be changed to 150.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Attached is my code for 2.15.5. I am wanting Tracy to make 4 bars imitating what a "wifi" signal might look like. What is wrong with the code?

The code is never telling Tracy to finish making a square. It just has her go forward then up.

The parameters are wrong. The middle value of the parameter in the for the i loop should be 50. So it should look like "for i in range(10, 50, 10):

The parameters are wrong. The first value of the parameter in the for the i loop should be 20. So it should look like "for i in range(20, 60, 10):

The forward 25 at the end of the code should not be there. Putting the forward 25 will end up stacking the boxes on top of one another.