
G12- Selection and Decision Making- Flash cards
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Sherin Kamel
Used 4+ times
FREE Resource
Student preview

16 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the purpose of selection in a computer program?
Back
Selection is used to make decisions based on conditions.
2.
FLASHCARD QUESTION
Front
What keywords are used for selection in Python?
Back
The keywords are if, elif, and else.
3.
FLASHCARD QUESTION
Front
What does the elif keyword stand for?
Back
elif stands for 'else if'.
4.
FLASHCARD QUESTION
Front
What is the significance of indentation in Python?
Back
Indentation is crucial as it defines the blocks of code under if, elif, and else statements.
5.
FLASHCARD QUESTION
Front
What will happen if you forget to include a colon at the end of an if statement?
Back
It will produce a syntax error.
6.
FLASHCARD QUESTION
Front
What is the difference between a single = and a double == in Python?
Back
A single = is an assignment operator, while a double == is an equality operator used for comparison.
7.
FLASHCARD QUESTION
Front
What does the comparison operator >= mean?
Back
>= means 'greater than or equal to'.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?