-
Home
- Teaching beginners to code
- Scratch v2.0
- Scr0380: the forever and repeat
The second program uses a
forever block in conjunction with an
embedded
if block and a counter variable to create a counter loop.
That program was used as the jumping-off point for a discussion of thesimilarities and differences between a
forever/if block combination and a
repeat block.
The third program uses a
repeat until block to cause a sprite to run
in a small circle until the user pressesthe space bar. I pointed out that
unlike the
forever block, it is possible to connect another block to
the bottom of a
repeat until block. Therefore, it is not necessary for a
repeat until block to be the last block in a script.
Finally, I provided the specifications for a student-programming project for
you to demonstrate your understanding of what you learned from the threeprograms listed above and from earlier modules.
What's next?
One of the new features of Scratch v2.0 is the ability for you to create your
own blocks. The next module will discuss that feature.
Resources
General resources
Programs used in this series
Miscellaneous
This section contains a variety of miscellaneous information.
Housekeeping material
- Module name: Scr0380: The forever and repeat until loops
in Scratch 2.0
- File: Scr0380.htm
- Published: 05/19/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-
Questions & Answers
the diagram of the digestive system
allimentary cannel
Ogenrwot
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
Genetics is the study of heredity
Misack
how does twins formed?
Misack
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
the study of living organisms and their interactions with one another and their environments
AI-Robot
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Diversity of living thing
ISCONT
Cell division is the process by which a single cell divides into two or more daughter cells. It is a fundamental process in all living organisms and is essential for growth, development, and reproduction. Cell division can occur through either mitosis or meiosis.
AI-Robot
life is defined as any system capable of performing functions such as eating, metabolizing,excreting,breathing,moving,Growing,reproducing,and responding to external stimuli.
Mohamed
Got questions? Join the online conversation and get instant answers!
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.