stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
PYTHON Flashcards | StudBud
Explore
/
PYTHON
PYTHON
8 terms
·
StudBud Administration
·
6 plays
Imported from external platform
Flashcards
8 cards
F
Practice quiz
P
Host live
L
Questions
8
Answers
1
What is the output of the following code?
6
4
5
3
2
Which of the following statements about variables in Python is TRUE?
Variable names must be in uppercase.
Variable names can include spaces.
Variable names cannot be the same as built-in function names.
Variable names can start with a number.
3
The
.append()
method adds the item inside the parentheses to the
end
of the list.
True
False
4
True / False
True
False
5
What operator is used to concatenate two strings in Python?
/
*
+
-
6
Which of the following is NOT a primitive data type in Python?
Boolean
Integer
List
String
7
What is Python primarily used for?
Web development
Mobile app development
Game development
Data analysis and visualization
8
What will the following code output?
Hello, Alice.
greeting, name.
Error
Hello Alice.