Coding Fundamentals

Слайд 2

WHAT WE WILL LEARN TODAY? I will test and debug my

WHAT WE WILL LEARN TODAY?

I will test and debug my code.
I

will use an effective debugging process.
I will exercise persistence and attention to detail while solving coding puzzles.
I will collaborate with my peers to problem-solve and accomplish tasks.
Слайд 3

IMPORTANT VOCABULARY There are some important things for us to understand

IMPORTANT VOCABULARY

There are some important things for us to understand

before we begin playing– let’s review some concepts first!
Слайд 4

THE DEBUGGING PROCESS Look at the code and read the directions

THE DEBUGGING PROCESS

Look at the code and read the directions for

what process the code is to be completing.
Run the code.
Does it work? If yes, then the code is correct.
If no, where does the code stop working? Identify the particular area that is broken.
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?
Find where the mistake in the code is and correct the error.
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.
Слайд 5

REMEMBER… Every error is an opportunity to learn!

REMEMBER…

Every error is an opportunity to learn!

Слайд 6

GOAL FOR THE DAY Welcome Space Explorers! We will venture out

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!
Слайд 7

WELCOME! Today is going to be a little different than usual.

WELCOME!

Today is going to be a little different than usual.
We are

going to work in small groups (3-4 students).
You will receive a handout with 3 code snippets.
You need to read the code, write what the code is trying to achieve, and draw what the Agent movement would be.
Although there are 3 code snippets, only 2 of the code snippets will be used in-game; the 3rd code snippet is not applicable to the activities.
If you can correctly decipher what each code snippet does, you should not have an issue selecting the correct code snippet to execute in-game!
Слайд 8

CODE SNIPPET #1

CODE SNIPPET #1

Слайд 9

CODE SNIPPET #2

CODE SNIPPET #2

Слайд 10

CODE SNIPPET #3

CODE SNIPPET #3

Слайд 11

WELCOME

WELCOME

Слайд 12

TALK TO COMMANDER CADFIELD This is the pop-up screen we will

TALK TO COMMANDER CADFIELD

This is the pop-up screen we will see

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.
After reading/listening to the message, click the “I’m ready” button.

Remember, you can use the Immersive Reader feature if you need help reading the words.

Слайд 13

WELCOME TO URANUS’ RINGS

WELCOME TO URANUS’ RINGS

Слайд 14

CODING ACTIVITY #1 This task is very different than all previous

CODING ACTIVITY #1

This task is very different than all 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!


Слайд 15

TEST YOUR CODE

TEST YOUR CODE


Слайд 16

DIGITIZE THE BLOCK Follow the same steps as before to digitize

DIGITIZE THE BLOCK


Follow the same steps as before to digitize

the blocks.
Click on the Agent; move the blocks from the inventory to the hotbar.
Click on the Digitizer; move the blocks from your hotbar into the Material Digitizer.
Слайд 17

SUCCESS!

SUCCESS!

Слайд 18

TALK TO COMMANDER CADFIELD This is the pop-up screen we will

TALK TO COMMANDER CADFIELD

This is the pop-up screen we will see

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.
After reading/listening to the message, click the “I’m ready” button.

Remember, you can use the Immersive Reader feature if you need help reading the words.

Слайд 19

WELCOME TO NEPTUNE’S MOON

WELCOME TO NEPTUNE’S MOON

Слайд 20

CODING ACTIVITY #2 This task is very different than all previous

CODING ACTIVITY #2

This task is very different than all 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!


Слайд 21

TEST YOUR CODE

TEST YOUR CODE

Слайд 22

DIGITIZE THE BLOCK Follow the same steps from before to digitize

DIGITIZE THE BLOCK

Follow the same steps from before to digitize the

block.
Click on the Agent; move the blocks from the inventory to the hotbar.
Click on the Digitizer; move the blocks from your hotbar into the Material Digitizer.
Слайд 23

SUCCESS!

SUCCESS!


Слайд 24

Recap What you’ve done today: Tested and debugged my code. Used

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.