stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Duplicate of CSP Python Basics Flashcards | StudBud
Explore
/
Duplicate of CSP Python Basics
Duplicate of CSP Python Basics
12 terms
·
StudBud Administration
·
9 plays
Review questions for quiz in Computer Science Principles, on Python basics
Flashcards
12 cards
F
Practice quiz
P
Host live
L
Questions
12
Answers
1
Which of the following Boolean expressions evaluates to TRUE?
False AND True
NOT True
False OR True
False OR False
2
In the Python program below, line 1 is an example of:
selection (branch) statement
iteration (repetition)
variable initialization
variable increment
3
The computer language we are learning to program in is called:
C++
Java
PyCharm
Python
4
IDE stands for:
Integrated Development Environment
Integrated Decision Early
Integrated Ducklings Everywhere
Introduction to Engineering Design
5
The symbol != means
greater than or equal to
two things are equal and I'm really excited about that
less than or equal to
not equal to
6
The IDE we are using for Python is called:
PyCharm
Anaconda
CanoPy
Scratch
7
After running this code, what is the value of the variable total?
2
7
5
12
8
In the Python program below, how many times will the while loop execute?
9
8
it will repeat forever.
7
9
Which of the following terms is used for iteration loops?
print
if
while
else
10
Which of the following words is used in creating selection statements?
for
if
while
variable
11
In the Python program below, lines 2-4 taken together are an example of:
variable initialization
iteration (repetition)
selection (branch) statement
variable increment
12
After running this code, what is the value of the variable goodbye?
1
4
2
6