|||

Y9 – AU1.4 – Conditional Sequences and Relational Operators

Accessibility Settings

⏱️ 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




πŸ”—Useful Links:


πŸŽ“ Mini Whiteboard | πŸ“ Cornell Notes | πŸ—ΊοΈ Mind Map App |

πŸ‘₯ Peer Review |πŸ›°οΈ Jupyter Lite | πŸ€– AI Tutor | 🐍Snakify

⏲️ Time 2 Code | 🐍 TGGCS Python Projects | πŸ›°οΈData Rep | πŸͺ¨Runestone Python