Conditional Coding micro-lesson
Do you struggle with balancing your kids’ screen time with their education? Say hello to 1Question, the app that solves this problem with a fun twist! Our app lets your child earn screen time minutes in their favourite apps by watching educational videos and correctly answering quiz questions. And the best part? You get to decide which apps to lock behind learning using 1Question.
Kids learn by watching short, engaging video lessons.
When we answer questions in a game, we need to know if the answer is correct or incorrect. Conditional coding tells the program what to do when a correct answer is given, or an incorrect answer is given. In Scratch, we can use the If-then-else command to create conditional coding. This tells the game what to do when it is given a correct or an incorrect answer. The If-then-else command can be found in the Control section. If the input is equal to the correct answer, then we want the output to do one thing. Else, meaning if anything else is entered, then we want the output to do something else. To do this, we go to the Operators tab and choose the Something Equals Something block and put it after if. If, our answer you’re going to send in, and drag across answer. If answer equals, and then we need to enter the correct answer, what month comes after September? We type in October. If the answer equals October, then what do we want to happen? We could have the sprite moving forward 20 steps. Else, so if anything else is entered, we could have this spite moving back 20 steps, so minus 20.
Kids earn more screen time by answering fun educational questions.
Here are some example of questions about this video that kids may be asked in the 1Question app to earn screen time.
What is conditional coding?1) Coding that tells the computer what to do when something specific happens2) Coding that can change its mind3) Coding that can work out the right answer4) A coding language
Where can the answer block be found?1) In the sensing tab2) In the control tab3) In the operators tab4) In the variables tab
Where can the 'if, then, else' command be found?1) In the control tab2) In the sensing tab3) In the operators tab4) In the variables tab
Where can the equals block be found?1) In the operators tab2) In the variables tab3) In the control tab4) In the sensing tab
Is typing in'October' an input?1) Yes2) No
Is the sprite moving forward an output?1) Yes2) No
Recreational screen time
Kids can use the screen time minutes they earned to unlock the apps selected by their parent e.g. games, social media, streaming, etc.
Out of time
When screen time minutes run out, kids are locked out and need to complete more learning in 1Question to earn more time.
Meet your educator
Our micro-courses are developed and delivered by qualified educators from around the world.
We all love playing computer games, action games, simulation games, or puzzle games. But have…