stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Basics of Python Programming Flashcards | StudBud
Explore
/
Basics of Python Programming
Basics of Python Programming
15 terms
·
StudBud Administration
·
481 plays
Review of Basic Python programming concepts data types, sequence syntax
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
What is an example of an integer?
6
"word up"
17.1
[4, 5, 7]
2
What will print based on code? (1) jelly=grape (2) print(jelly)
Jelly
Grape
Nothing
Print
3
What is an example of a string?
8**2
#4
"word up"
.02
4
Which expression would return a float?
4 * 2
4.2/3
16
9/8
5
What is an example of a Boolean?
7 + 8 = 15
True/False
Input
input = ("Pick a color")
6
What is the variable in this line of code? Gus = 1
1
Gus
=
None
7
Which is NOT a proper name for a variable?
#love it
feb42017
thisisgreat
dixie_cup
8
What symbol is used for inline comments?
@
&
'''
#
9
What_is_this_type_of_variable_name_notation_called?
Snake case
Llama case
Camel case
underline case
10
What if anything is returned in this command? name = input("Name?")
Print Cue
Nothing
Input
Name
11
What is a string?
Anything with ( )s around it
A sequence of characters
A long piece of thread
A list of numbers
12
When creating a print command what is not proper syntax?
Using [ ]s
Using " "s
Using ( )s
Typing the word print in lower case
13
Which is an example of a float?
6**6
-50
8/9
4.5
14
Inline comments are comments used to describe functions.
False
True
15
What is meant by sequence in an algorithm?
making a choice from 2 instructions
returning to an earlier instruction
Instructions follow in the correct order
Instructions are all working no errors