-
Home
- Teaching beginners to code
- Scratch v1.4
- Scr0130: sequence, selection,
The purpose of this module is to teach you about structured programming; the sequence structure, the selection structure, and the loop structure. The module will also teach you how to write a Scratch program that illustrates the selection structure, mouse events, and Cartesian coordinates.
Table of contents
Preface
This module is one in a collection of modules designed to help beginners
of all ages
(8 and up) learn how to create the code for computer
programs. Information is provided not only for the beginners themselves butalso for their parents and teachers where appropriate.
The purpose of this module is to teach you about structured programming; the sequence structure, the selection structure, and the loop structure.
The module will also teach you how to write a Scratch program that illustrates the selection structure, mouse events, and Cartesian coordinates.
The module also presents a student project by which you can demonstrate your
understanding of the concepts learned by studying the module.
Viewing tip
I recommend that you open another copy of this module in a separate
browser window and use the following links to easily find and view the imageswhile you are reading about them.
Images
-
Image 1 . The sequence structure
in pseudocode.
-
Image 2 . The selection
structure in pseudocode.
-
Image 3 . The loop structure in
pseudocode.
-
Image 4 . User interface for the
program named IfSimple01.
-
Image 5 . A paraphrased version
of the Scratch code.
-
Image 6 . Program code for the
left beach ball
-
Image 7 . Initializing the
position and orientation of the basketball.
-
Image 8 . All of the code that
applies to the basketball.
-
Image 9 . Pseudocode for a
selection structure.
-
Image 10 . Two independent
decisions.
-
Image 11 . Selection control
structures available in Scratch.
-
Image 12 . Programming blocks
belonging to the Sensing group.
-
Image 13 . Programming blocks
belonging to the Motion group.
-
Image 14 . Initial output from
the program named IfWithVar01.
-
Image 15 . Program output after
having clicked twice in the Stage area.
Questions & Answers
I'm interested in biological psychology and cognitive psychology
what does preconceived mean
How can I develope my cognitive domain
why is communication effective
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
compare and contrast skinner's perspective on personality development on freud
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
interpersonal relationships
What would be the best educational aid(s) for gifted kids/savants?
treat them normal, if they want help then give them.
that will make everyone happy
Saurabh
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.