
Programming Constructs & Techniques Part 2
Presentation
•
Computers
•
10th - 12th Grade
•
Hard
Jane Sampson
Used 5+ times
FREE Resource
7 Slides • 5 Questions
1
Programming Constructs & Techniques
Part 2
2
Logical operators
Special symbols used to perform special tasks
3
Basic Logic Operators
+
-
*
/
4
The ones we will look at are used to join conditions in IF statements and loops
Here's a simple IF statement:
If password == "secret":
print "Correct"
5
Questions coming up on this code:
Be ready
6
Multiple Choice
password is an example of a ...
variable
logical operator
command word
string
7
Multiple Choice
== is an example of a ...
string
command word
logical operator
variable
8
Multiple Choice
"Correct" is an example of a ...
variable
command word
string
variable
9
Multiple Choice
print is an example of a ...
string
variable
command word
logical operator
10
Logical operations
These join more than one condition together
if len(password) >=8 and <=15;
print ("Password changed successfully!)
11
Multiple Choice
Increment means to subtract one from
True
False
12
Task 4.20 Logical operators
Compare and contrast logical operators in different programming languages
Programming Constructs & Techniques
Part 2
Show answer
Auto Play
Slide 1 / 12
SLIDE
Similar Resources on Wayground
8 questions
Operators in c#
Presentation
•
11th Grade
12 questions
Logical Fallacies
Presentation
•
11th Grade
11 questions
Multi-step inequalities
Presentation
•
KG
6 questions
Kinematic Equations Recap
Presentation
•
9th - 12th Grade
10 questions
Authentication and Control part 1
Presentation
•
9th - 12th Grade
8 questions
Internet segura
Presentation
•
9th - 12th Grade
9 questions
05-25 Security Best Practices
Presentation
•
9th - 12th Grade
10 questions
JKI XI
Presentation
•
11th Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade
Discover more resources for Computers
20 questions
Early Computing
Quiz
•
7th - 12th Grade
20 questions
Module 1 Topic 1 Vocabulary
Quiz
•
9th - 12th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
39 questions
Safety Review
Quiz
•
9th - 12th Grade
20 questions
Digital Citizenship
Quiz
•
8th - 12th Grade
22 questions
Electronic Computing
Quiz
•
8th - 12th Grade