

CMPT 101 - Reviewing and Extending Learning on Selection
Presentation
•
Computers
•
University
•
Practice Problem
•
Easy
Careene McCallum
Used 3+ times
FREE Resource
15 Slides • 28 Questions
1
Let's REVIEW the lab specifications.
2
Word Cloud
3
Take 15 minutes to complete coding for user inputs.
4
Lab 3
SELECTION
5
Template for Sequential Ifs
6
What stands out to you?
7
Multiple Choice
What will the program output if the user enters 20 as their age?
8
Multiple Choice
What type of control structure is used in this program?
Loop
Nested if statements
Sequential if statements
if-else statements
9
Multiple Choice
If the user is 15 years old, what will be printed?
10
Multiple Choice
What will the program output if the user enters 16 as their age?
11
What stands out to you?
12
Multiple Choice
What will the program output if the user enters 19 as their age?
13
Multiple Choice
What happens if the user is 17 years old?
14
Template for simple nested ifs
15
What stands out to you?
16
Multiple Choice
What will the program output if the user enters 20 as their age?
17
Multiple Choice
What will the program print if the user enters 17 as their age?
18
Multiple Choice
Which of the following is true about the program?
The program checks if the user is 18 or older before checking if they are 21 or older.
The program checks if the user is 21 or older, and then checks if they are 18 or older.
The program only checks if the user is 21 or older.
19
Word Cloud
20
Template for if-elif-else
21
What stands out to you?
22
Multiple Choice
What inputs would generate this output?
You have access to extended privileges and additional perks. You have successfully joined the email list.
Thank you for being a valued participant!
level = "a"
subscribe = "y"
level = "a"
subscribe = "yes"
level = "s"
23
Multiple Choice
What inputs would generate this output?
You have full access to all exclusive options and priority services. Thank you for being a valued participant!
level = "s"
subscribe = "yes"
level = "a"
subscribe = "no"
level = "e"
24
Multiple Select
What inputs would generate this output?
You have access to extended privileges and additional perks. You chose not to join the email list. Thank you for being a valued participant!
(Select all that apply)
level = "a"
subscribe = "n"
level = "a"
subscribe = "no"
level = "a"
subscribe = "y"
25
Multiple Select
What inputs would generate this output?
You have limited privileges to standard options. Thank you for being a valued participant!
(Select all that apply)
level = "S"
level = "s"
level = "K"
26
What's different?
27
What's different? No .lower()
28
Multiple Select
What inputs will give the following output.
You have limited privileges to standard options. Thank you for being a valued participant!
(Select all that apply)
level = "S"
level = "s"
level = "a"
level = "A"
29
Multiple Select
What inputs will give the following output.
You have access to extended privileges and additional perks. You chose not to join the email list. Thank you for being a valued participant!
(Select all that apply)
level = "a"
subscribe = "Yes"
level = "a"
subscribe = "y"
level = "a"
subscribe = "no"
level = "a"
subscribe = "yes"
30
Multiple Choice
If the input is 'YES' and the code uses .lower(), what will the value of the input become?
Yes
yes
YES
31
Multiple Choice
If the input is 'hello world' and the code uses .title(), what will the value of the input become?
Hello world
Hello World
HELLO WORLD
32
Multiple Select
Which methods allow the program to handle input in a way that makes it not case-sensitive?
(Select all that apply)
.lower()
.title()
.upper()
33
Word Cloud
34
Take 30 minutes to do sequential ifs, as needed, in the lab.
What do you want to happen each time you get a YES or NO?
35
What stands out for you?
36
Fill in the Blanks
Type answer...
37
Multiple Choice
What is the output?
True
False
38
Multiple Choice
What is the output?
True
False
39
Multiple Choice
What is the output?
True
False
40
Multiple Choice
What is the output?
True - Student passes with good standing.
True - Student qualifies for the honor roll.
False - Student does not meet the criteria.
41
Multiple Choice
BIY
Biy
biy
en
42
Open Ended
43
Let's REVIEW the lab specifications.
Show answer
Auto Play
Slide 1 / 43
SLIDE
Similar Resources on Wayground
37 questions
Tragedy Notes
Presentation
•
12th Grade
38 questions
Stereotype, Bias, Discrimination, and Prejudice
Presentation
•
University
40 questions
Topic 8 Multimedia Network Communication
Presentation
•
University
38 questions
System Implementation
Presentation
•
University
39 questions
Konsep Dasar Algoritma
Presentation
•
University
39 questions
Gamification Lesson B2
Presentation
•
University
36 questions
KKA MODUL 3 - SMP
Presentation
•
University
38 questions
ETECH - Computational Thinking
Presentation
•
12th Grade
Popular Resources on Wayground
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
10 questions
Cinco de Mayo Trivia Questions
Interactive video
•
3rd - 5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Math Review
Quiz
•
3rd Grade
30 questions
GVMS House Trivia 2026
Quiz
•
6th - 8th Grade
Discover more resources for Computers
55 questions
Post Malone Addtion (Tres)
Quiz
•
12th Grade - University
20 questions
Disney Trivia
Quiz
•
University
50 questions
AP Biology Exam Review 2017
Quiz
•
11th Grade - University
24 questions
5th Grade Math EOG Review
Quiz
•
KG - University
12 questions
Star Wars Trivia - Easy
Quiz
•
KG - University
215 questions
8th Physical Science GA Milestones Review
Quiz
•
KG - University
40 questions
Famous Logos
Quiz
•
7th Grade - University
14 questions
(5-3) 710 Mean, Median, Mode & Range Quick Check
Quiz
•
6th Grade - University