<< Chapter < Page
  Teaching beginners to code     Page 9 / 9
Chapter >> Page >

Once you locate the project on the Scratch web site, you can execute it online. You can also download the project and open it in the Scratch ProgrammingEnvironment on your computer by following the instructions under Download this project!

Summary

I began by explaining structured programming, the sequence structure, the selection structure, and the loop structure. Then I presented andexplained a Scratch program that illustrates the selection structure. (The sequence structure is so simple that it doesn't require an explanation. The loop structure will be explained in a future module.) The program also illustrates the handling of mouse events and Cartesian coordinates.

Finally, I provided the specifications for a student-programming project for you to write to demonstrate your understanding of what you learned from thefirst program.

Copies of both programs have been posted online for your review (see Resources for the URL) . If you don't find the program using that URL, search the Scratch site for the usernamed dbal .

What's next?

In the next module, I will teach you about arithmetic operators. In the two modules following that one, I will teach you about relational and logicaloperators and how to use those operators to write the conditional expressions used in selection and loop structures.

Resources

Miscellaneous

This section contains a variety of miscellaneous information.

Housekeeping material
  • Module name: Scr0130: Sequence, Selection, and Loop
  • File: Scr0130.htm
  • Published: 03/26/13
Disclaimers:

Financial : Although the Connexions site makes it possible for you to download a PDF file for thismodule at no charge, and also makes it possible for you to purchase a pre-printed version of the PDF file, you should beaware that some of the HTML elements in this module may not translate well into PDF.

I also want you to know that, I receive no financial compensation from the Connexions website even if you purchase the PDF version of the module.

In the past, unknown individuals have copied my modules from cnx.org, converted them to Kindle books, and placed them for sale on Amazon.com showing me as the author. Ineither receive compensation for those sales nor do I know who does receive compensation. If you purchase such a book, please beaware that it is a copy of a module that is freely available on cnx.org and that it was made and published withoutmy prior knowledge.

Affiliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX.

-end-

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Teaching beginners to code. OpenStax CNX. May 27, 2013 Download for free at http://cnx.org/content/col11498/1.20
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Teaching beginners to code' conversation and receive update notifications?

Ask