Pages

Friday 9 August 2019

Dte: Conditionals

  • What is Java
Java is a general-purpose programming language that is class-based, object-oriented, and designed to have as few implementation dependencies as possible. 
  • Where did you struggle most in this activity?
Using text to write the code because it is a lot different from blocks.
  • What was the easiest part for you?
The easiest part was using the blocks the help me write the code in text by transfer what I had already learnt.
  • What is conditional?
Conditional is a subject to one or more conditions or requirements being met.
  • What was conditional in the game?
The conditional in the game was when you toss the ball and it makes an animal sound.
  • Why does the while loop never stop?
We want it not to stop so the game will continue, so we program the code to do so. 
  • If you wanted it to stop, how might you write this differently?
If we want to stop the game using the code we could take away the led and the delay and tell the game to stop.

No comments:

Post a Comment

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