Friday

Programming for kids - Course 3 Artist Functions

Let us look at the Fifth stage of the third course in Code.org code studio. You will learn how to draw different geometric patterns by programming. We are introduced the concept of a function. We will learn how to create a separate code block as a function and use it in the main program. This reduces the recurring code and makes the program tidy. There are 10 levels. First 9 levels are exercises, last level is a Question.


https://studio.code.org/s/course3/stage/5/puzzle/1

Below are the images of incomplete picture in each level along with the code needed to complete that picture and the completed picture.



Code for Level 2
 (draw a square is a defined function which is coded separately)
Code for Level3

Level 4



Level 5 

  (draw a hexagon is a defined function which is coded separately)



Level 6



Level 7 

 (draw a flower is a defined function which is coded separately)


Level 8 
 (draw a snowflake is a defined function which is coded separately)




Level 9




 (big gear and small gear are defined functions which are coded separately)




Featured Post

Creating Games in Scratch for ICSE Class 6

An Introduction to Creating Games in Scratch  for ICSE Class 6 Hello friends, I hope you have already read the previous post on An Int...