This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-10-26 15:16:00

Sun-woo
New Scratcher
Registered: 2011-10-26
Posts: 6

School Assignment

Hi, I was looking for some help with my School work. I don't know if that's allowed in here but I thought I would try. HELP not DO.

Assigment:

Part 1 – Drawing Skyscrapers

One of the things that Scratch can easily allow you to do is create drawings using “turtle geometry” (see the book Turtle Geometry by Abelson and diSessa for more on this, if you are interested –http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=7287).  In this part of the assignment you will play with this concept by having a sprite draw skyscrapers on the stage.

(a)   Draw a line across the stage to represent the ground.  You can edit in other background elements if you want to decorate the stage more elaborately.

(b)  Choose a sprite from the sprite library to represent a construction worker (you can be creative here – it doesn’t have to look in any way like a real construction worker and you can edit it as you wish).

(c)   Then write a script so the construction worker “builds” (2 dimensional) skyscrapers of an arbitrary number of storeys from the ground up.  Each storey consists of a square of 50 distance units on a side.  Each building should bottom out on the ground, and the number of storeys should not be allowed to exceed the height of the stage

Part 2 – Converting from Metric

One of the things that separates the older generation from the younger generation is the insistence of many “oldsters” on sticking with the British system of units.  In this part of the assignment you will create sprites that can translate measurements from the metric system to the British system.

(a)   Find a sprite from the sprite library that represents a young “metric-centric” person (again you can be creative in this selection and edit the sprite to suit your artistic sensibilities if you like).

(b)  Write five separate Scratch scripts for this sprite to convert

a.     temperatures in Celsius to temperatures in Fahrenheit

b.     distances in centimetres to inches

c.     distances in kilometres to miles

d.     weights in kilograms to pounds

e.     volumes in litres to gallons.

The sprite should use a speech bubble to state the answer.

(c)   Find a sprite from the sprite library that represents an old person (again be creative).

(d)  Write a script for the old sprite that asks the user (presumably a human oldster) in a speech bubble to specify a measurement (eg. 20) and then in another speech bubble to specify the metric unit represented by the measurement (eg. Celsius).  The old sprite then asks the young sprite do the conversion to the equivalent British measurement (using the appropriate script).  The young sprite states the answer in a speech bubble (eg. 20 Celsius is 68 Fahrenheit).

(e)   Find a nice landscape from the palette of stage designs to form the background for the young and old sprites (again you can be creative here).

(f)   Bonus: what if the old sprite asks for both the measurement and the metric unit in the same question (eg. the user enters the string “20 Celsius” in a single text box in response to a single question from the old sprite)?  Can you figure out how the script can break out the unit and the measurement from this single string so part 2(d) can then be carried out?  If you can modify the old sprite script to do this it is worth a bonus 5 marks, although the maximum you can get on the assignment is 100 so if you've already earned > 95 marks your mark will be at most 100

------------------------------------------
Please don't be mad at me ^_^

Offline

 

#2 2011-10-26 23:19:43

Sun-woo
New Scratcher
Registered: 2011-10-26
Posts: 6

Re: School Assignment

well everybody, i tried to do this on my own and i have absolutely no idea how to even begin. haha all i can do is draw the stage (a line) and add a sprite.

I have no idea how to go about it and make an algorithm and get him to draw a skyscraper onto the stage. If anyone can help, please help!

Offline

 

#3 2011-10-26 23:48:42

Sun-woo
New Scratcher
Registered: 2011-10-26
Posts: 6

Re: School Assignment

I drew a make shift skyscraper now... but how do i get the sprite to "build" it?

Offline

 

#4 2011-10-26 23:52:01

applejack
Scratcher
Registered: 2010-03-23
Posts: 100+

Re: School Assignment

Do you know of the stamp block?


http://i.imgur.com/zKzps.png
http://blocks.scratchr.org/API.php?action=onlineStatus&type=square&user=applejack -I'm http://blocks.scratchr.org/API.php?action=onlineStatus&type=text&user=applejack

Offline

 

#5 2011-10-26 23:52:53

kamesh
Scratcher
Registered: 2007-07-05
Posts: 100+

Re: School Assignment

What do you mean by build? Also, if you  want to make an algorithm, try using the "green" operator bricks/blocks.


I came. I saw. I conquered.~ Julius Caesar

Offline

 

#6 2011-10-27 14:17:48

Sun-woo
New Scratcher
Registered: 2011-10-26
Posts: 6

Re: School Assignment

By build, I think my teacher means: the sprite has to "build" the sky scraper -- like make it appear.

Lol I really think this is hopeless (for myself). It doesn't seem too hard but I really do not have the knowledge for what ever techniques that need to be implemented.

Like question 2: Make a "young sprite" convert A-to-E conversions then get an "old sprite" to ask the young sprite to convert 20 Degrees Celsius to Fahrenheit. Questions and answers are asked via speech bubbles.

Offline

 

#7 2011-10-27 14:20:53

Sun-woo
New Scratcher
Registered: 2011-10-26
Posts: 6

Re: School Assignment

If someone could "TEACH" me rather than "DO" it.

I would be forever thankful! I'd prefer to understand how to do it than cheat.

^^^^^^^^^^^ really sincere when i say this ^^^^^^^^^^^^^^^^

Offline

 

#8 2011-10-27 14:27:59

Sun-woo
New Scratcher
Registered: 2011-10-26
Posts: 6

Re: School Assignment

hmm, sorry for the multiple posts, but I think i found some lectures that cover some of the questions that need answering. I'll give it a whirl quickly and get back to anyone who cares enough to respond.

Offline

 

#9 2011-10-27 18:11:52

kamesh
Scratcher
Registered: 2007-07-05
Posts: 100+

Re: School Assignment

The  thing with scratch is that, you can't really have anyone teach you. You actually learn more yourself if you pay around and experiment with Scratch. But to answer  your question about  the algorithm,  you can use this. http://scratch.mit.edu/projects/kamesh/2108663
(Be sure to download it!)
See if you understand it. If you have any questions, feel free to ask ;D

Last edited by kamesh (2011-10-27 18:12:19)


I came. I saw. I conquered.~ Julius Caesar

Offline

 

Board footer