Call Us: 0800 357 9129 West Sussex, United Kingdom

## Get Revising!

### >

What does this logical operator do?

### Returns True if the first number is greater than the second number

Note: The "More Than" operator only works with numbers

### <

What does this logical operator do?

### Returns True if the first number is Less Than the second number

Note: The "Less Than" operator only works with numbers

### !=

What is the alternative symbol used for this logical operator?

### <>

The "Not Equal To" logical operator can be represented at != or <>

## Programming Challenges

The code below uses Pythagorus Theroem to calculate what the hypotenuse of a right angled triangle should be. Update the code to show the following:

• If the calculation is less than the entered hypotenuse, then the triangle is Obtuse
• If the calculation is more than the entered hypotenuse, then the triangle is Acute
• If they are the same, then the triangle is a right angled triangle

The program below has begun to calculate what year group the user should be in. Complete the code to include all year groups up to year 13, and a final output if they are older than 18.

In Python, we have used IF, ELIF as this is the only selective statement available. To make this more efficient in pseudocode, what selective statement would be preferable?

The Logical Operators in Programming Scribbl.it Notes provide a structured way for you to revise topic areas in a visual way. You don’t have to be an artist as it’s all been drawn out for you (or you can use this as inspiration to create your own!). Print the notes, then colour in areas of importance, add doodles and colour, then add more detail to the notes page being as creative as possible.

There are known benefits to using Scribbl.it Notes (whether structured like these, or independently created):

• Increased Attention
• Reduction of stress levels
• Increased memory for content
• Deeper learning