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
11 terms
·
StudBud Administration
·
47 plays
Review of Basic Python programming concepts data types, sequence syntax
Flashcards
11 cards
F
Practice quiz
P
Host live
L
Questions
11
Answers
1
What is meant by sequence in an algorithm?
returning to an earlier instruction
making a choice from 2 instructions
Instructions are all working no errors
Instructions follow in the correct order
2
What is a string?
Anything with ( )s around it
A long piece of thread
A list of numbers
A sequence of characters
3
When creating a print command what is not proper syntax?
Using [ ]s
Using ( )s
Typing the word print in lower case
Using " "s
4
What if anything is returned in this command? name = input("Name?")
Input
Nothing
Print Cue
Name
5
What will print based on code? (1) jelly=grape (2) print(jelly)
Grape
Jelly
Print
Nothing
6
What is an example of an integer?
6
[4, 5, 7]
"word up"
17.1
7
What symbol is used for inline comments?
&
#
@
'''
8
Which expression would return a float?
16
4 * 2
9/8
4.2/3
9
What is the variable in this line of code? Royle = 1
Royle
1
=
None
10
What is an example of a string?
#4
.02
8**2
"word up"
11
Which is an example of a float?
4.5
-50
8/9
6**6