# Pages CS 151 Computational Thinking Fall 2012 Ibrahim Riaz CS 151

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

Version 1

# Abstract:

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?

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.

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

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.

Extensions

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.

If you completed the task insert image of the completed task and write a few sentences describing the image/what you did. This should be a description of the form and functionality of your final code. Note any unique computational solutions you developed or any insights you gained from your code's output.

If you didn't complete the task insert an image of how far you got. Write a few sentences describing how much you completed, where you got stuck and what what solutions you tried.

You may want to incorporate code snippets in your description to point out relevant features. Code snippets should be small segments of code--usually less than a whole function--that demonstrate a particular concept. If you find yourself including more than 5-10 lines of code, it's probably not a snippet.

## Extensions:

### Extension 1:

Create a heading for each extension.

Write a description of each extension you undertook, including text output or images demonstrating those extensions. If you added any modules, functions, or other design components, note their structure and the algorithms you used.

## Questions:

The answers to any follow-up questions (there will be 3-4 for each project).

## Conclusion:

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?

## Acknowledgements:

A list of people you worked with, including TAs and professors. Include in that list anyone whose code you may have seen, such as those of friends who have taken the course in a previous semester.

A list of any resources that you used.  This includes textbooks, lecture notes, python documentation, library documentation or forums.  If you used a specific website, please link to it.

Put the label cs151s20project# on your wiki page.

Labels
• No labels