Похожие презентации:
Coding Fundamentals
1. Coding Fundamentals
Uranus’ Rings and Neptune’sMoon
2.
3. Important Vocabulary
There are some important things for us to understand before webegin playing– let’s review some concepts first!
Debugging
Persistence
Attention to Detail
the process of finding
and removing errors in
code
not giving up
ability to achieve
accuracy in completing a
task
3
4. The debugging process
1. Look at the code and read the directions for what process the code is tobe completing.
2. Run the code.
o Does it work? If yes, then the code is correct.
o If no, where does the code stop working? Identify the particular area
that is broken.
3. Remove the code snippets that are wrong, if applicable, and run the code
one more time. Does it execute the way you thought it would?
4. Find where the mistake in the code is and correct the error.
5. Run the repaired code. If it works, you are ready to move on to your next
bug. If it does not work, repeat steps 2-4 until the code runs successfully.
4
5. Remember…
Every error is an opportunity to learn!5
6. Goal for the day
Welcome Space Explorers!We will venture out to the rings of Uranus to
see a field of different ore types. Afterwards,
we travel on to Neptune’s moon, Triton. Like
Uranus and other planets, Neptune does not
have a solid surface. While extremely cold,
scientists on Earth have detected its
atmosphere is slowly growing warmer… we
will head over to investigate!
6
7. Welcome!
78. Code snippet #1
89. Code snippet #2
910. Code snippet #3
1011. Welcome
1112. Talk to Commander cadfield
This is the pop-up screen we willsee on our screen.
When there is a longer message,
we will see a bar on the side. We
will need to slide the bar down to
read the rest of the message.
Remember, you can use the Immersive Reader feature if you
need help reading the words.
After reading/listening to the
message, click the “I’m ready”
button.
12
13. Welcome to Uranus’ Rings
1314. Coding Activity #1
This task is very different thanall previous coding tasks…
The coding snippets have been
provided for you in the coding
palette. Based on the handouts,
you are going to select the
correct code to run. You will
need to slide the bar over to
see all of the code snippets.
Be extra careful- you only have
one chance!
14
15. Test Your code
1516. Digitize the block
1617. Success!
1718. Talk to Commander cadfield
This is the pop-up screen we willsee on our screen.
When there is a longer message,
we will see a bar on the side. We
will need to slide the bar down to
read the rest of the message.
Remember, you can use the Immersive Reader feature if you
need help reading the words.
After reading/listening to the
message, click the “I’m ready”
button.
18
19. Welcome to Neptune’s moon
1920. Coding Activity #2
This task is very different thanall previous coding tasks…
The coding snippets have been
provided for you in the coding
palette. Based on the handouts,
you are going to select the
correct code to run. You will
need to slide the bar over to
see all of the code snippets.
Be extra careful- you only have
one chance!
20
21. Test Your Code
2122. Digitize the block
2223. Success!
2324. Recap
What you’ve done today:Tested and debugged my code.
Used an effective debugging
process.
Exercised persistence and
attention to detail while solving
coding puzzles.
Collaborated with my peers to
problem-solve and accomplish
tasks.