Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Ibrahim Riaz Project 1


A brief summary of the project, in your own words. This should be no more than a few sentences. Give the reader context and identify the key purpose of the assignment.

Writing an effective abstract is an important skill. Consider the following questions while writing it.

  • Does it describe the CS concepts of the project (e.g. writing well-organized and efficient code)?
  • Does it describe the specific project application?
  • Does it describe your the solution or how it was developed (e.g. what code did you write/circuits did you build)?
  • Does it describe the results or outputs (e.g. did your code work as expected)?
  • Is it concise?
  • Are all of the terms well-defined?
  • Does it read logically and in the proper order?

Task 1:

Do this per task

I used basic turtle commands to create a simple shape as shown above. A combination of forward and left and right helped me create this.


Task 2: 


Similar to Image 1, I created a second image, image 2.


Task 3: 


Using code from task 1 and 2 and then calling them within a function with parameters, I achieved the following.

1.) Created a new which combines shape 1 and 2. 

2. Allow the user the ability to influence size of said shape and distance between these shapes using parameters.

3. Call combined shape with different sizes multiple times within one function.



For my first extension, I used commands to create a function which creates an asymmetric shape using the combination shape. Moreover, I give the user to create this shape at their desired size through the use of parameters.


For my second instruction, I employ the idea of calling functions within functions and take parameters to the next level with randomization. My code creates four different symmetric shapes with a random magnitude and with random starting points between 0, 200 for x and y coordinates in 4 different colors.

For my last extension, I just called all the functions to create a new graphic for a t shirt I want to make and that was pretty cool to see.


Questions I was asked:

1. A variable is a form of storage and a parameter. A variable lets us use interchangeable values within functions.

2.A function is a set of instructions the computer can understand. They are the implementation of algorithms and help the computer execute a task.

3. A parameter is a variable that can be changed therefore allowing a user greater control over the output and the ability to recall function with a different value(parameter) as opposed to write a separate hardcode.

4. Functions save code because we can write a set of functions and call them multiple times as opposed to writing a new code to execute a task. For example if I want to have 5 boxes on screen, I call a function to create a box 5 times. If I use parameters, I can change size too just by changing one input/parameter, this prevents me writing 5 different codes for 5 boxes.

5. I like drawing 11. I do not think I can make it because I am not good enough at CS.



A brief description (1-3 sentences) of what you learned. Think about the answer to this question in terms of the stated purpose of the project. What are some specific things you had to learn or discover in order to complete the project?



  • No labels