Pages

Friday 9 August 2019

DTE Javascript - Conditionals Reflection

For our second semester in DTE we've been doing some coding using javascript. Javascript is one of the most common programming languages. We've used Spheroedu as a way to learn how to program with javascript.

For one of our task we've been using Conditionals which is a thing when a condition is met such as a certain speed has been reached it will play a audio. This conditional was used in a game where we pass the ball the each other and it will play an animal sound.

Relfection:

Where did you struggle the most in this activity
I struggle the most typing out code cause it's really confusing and it's hard to remember what each code does.

What was the easiest part for you
The easiest part was probably coding it to show colours because it's one of the most easiest code to remember.

What is a Conditional
Conditional is when a action is performed when a certain condition is met.

What was the Conditional in the game
The conditional was when a certain speed was reached even if you don't throw it then it will play a animal sound.

Why does the while loop never stop
There was a code with no stopping case so it will repeat the action.

If you wanted it to stop, how might you write this differently
Change the while loop statement to false instead of true.



No comments:

Post a Comment

To support my learning I ask you to comment as follows:
1. Something positive - something you like about what I have shared.
2. Thoughtful - A sentence to let us know you actually read/watched or listened to what I had to say
3. Something thoughtful - how have you connected with my learning? Give me some ideas for next time or ask me a question.

Note: only a member of this blog may post a comment.