β±οΈ Do It Now
Create a OneNote Page
Copy both the title and the DIN task – then complete the DIN task:
Y9 β AU1.4 β Conditional Sequences and Relational Operators
| π Do It Now |
| Answer each of the following: (1) Explain the difference between integer and float data (2) Explain why we cast data from a user input (3) Write the code for casting the value of a variable to integer data |
π― Learning Objectives
| 1) We will be able to explain the following terms: Relational Operator | Conditional Sequence | Branching Conditional Sequence 2) We will be able to identify the different relational operators used by conditional sequences. 3) We will be able to construct a simple conditional sequence that compares two numeric values 4) We will be able to construct a branched conditional sequence that compares one numeric value against multiple other values |
π Understanding Relational Operators

β¨οΈ Activity 1 β Relational Operators Quiz
| (1) Click this link to complete the quiz about relational operators (2) Screenshot your result and paste it into OneNote (3) Give it the title Activity 1 (4) Write corrections for any questions you got wrong |
β¨οΈ Activity 2 β Working With Conditional Sequences
| (1)Open this linkΒ to access the code for Activity 2 (2)The code requires you to: a) Cast both inputs to an appropriate data type b) Use the most appropriate relational operator on line 15 c) Add code in for Task C and Task D (you can copy the code for Task B), making sure the most appropriate relational operator and messages are used. (3)Screenshot your complete code into OneNote, with the title Activity 2 |
β¨οΈ Activity 2 β Extension
| (1)Open this link to access the code for Activity 2 Extension (2)Complete all tasks outlined in the code comments (3)Screenshot your complete code into OneNote, with the title Extension |
π Branched Conditional Sequences

β¨οΈ Activity 3 β Branched Conditional Sequences
| (1)Open this link to access the code for Activity 3 (2)Read through the comments in the code, then attempt both tasks (3)Screenshot your complete code into OneNote, with the title Activity 3 |