
Comparison & Logical Operators
Presentation
•
Computers
•
6th Grade
•
Practice Problem
•
Hard
ANDRES FELIPE GOMEZ-CASSERES ESPINOSA
Used 45+ times
FREE Resource
11 Slides • 5 Questions
1
By Andrés
2
In this warm-up, you will face some questions about comparison operators. It has five questions, each harder than the previous one.
3
Draw
Draw the symbol used to represent a conditional in flowcharts
4
Fill in the Blanks
The central part of a conditional is called
5
Draw
Draw the not equal to operator
6
Multiple Choice
If you want to know if the variable AGE is greater than 45, which comparison operator can you choose?
Remember that the condition must follow the form: variable OPERATOR number.
7
Multiple Select
Johan (Reasoning) wants to know if he has enough money to buy a brand-new computer that costs USD 1200. Which conditions can you use to build a program that tells Johan if he can buy the computer?
Johan_money > 1200
Johan_money < 1200
Johan_money >= 1200
Johan_money == 1200
8
In programming, you often want to compare a value with another value. To do that, you use comparison operators.
Comparison Operators
9
You will need them when you want to make a choise in your code. Therefore, you will always see these operators inside conditionals (forming the condition)
Comparison Operators
10
Let's check this problem together
Create a flowchart that asks the user for a day of the week. If the day of the week is a weekday, the program should print "Go to school." Otherwise, the program should print "Enjoy your weekend!"
11
A logical operator is a symbol or word used to connect two or more expressions (conditions) such that the value of the compound expression produced depends only on that of the original expressions and on the meaning of the operator.
Formal definition
Operand | AND | OR | NOT |
|---|---|---|---|
Meaning | Returns True if both conditions are true | Returns true if either condition are true | Reverses a result, so if something is True, not turns it False |
12
Create a flowchart that asks the user for a day of the week. If the day of the week is a weekday, the program should print "Go to school." Otherwise, the program should print "Enjoy your weekend!"
13
Create a flowchart that asks the user for a day of the week. If the day of the week is a weekday, the program should print "Go to school." Otherwise, the program should print "Enjoy your weekend!"
14
Create a flowchart that asks the user for a day of the week. If the day of the week is a weekday, the program should print "Go to school." Otherwise, the program should print "Enjoy your weekend!"
15
Create a flowchart that asks the user for a day of the week. If the day of the week is a weekday, the program should print "Go to school." Otherwise, the program should print "Enjoy your weekend!"
16
We are going to play with conditions
and with your classmates
By Andrés
Show answer
Auto Play
Slide 1 / 16
SLIDE
Similar Resources on Wayground
10 questions
2.5 Distance on the Coordinate Plane
Presentation
•
6th Grade
15 questions
Programming
Presentation
•
6th Grade
11 questions
Interior Angles of Triangles
Presentation
•
6th Grade
11 questions
Ratios & Ratio Tables Review
Presentation
•
6th Grade
11 questions
Ordering Integers
Presentation
•
6th Grade
11 questions
Matter
Presentation
•
6th Grade
11 questions
Weather Patterns & Climate Factors
Presentation
•
6th Grade
12 questions
Absolute Value
Presentation
•
6th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade