stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Python Basics Flashcards | StudBud
Explore
/
Python Basics
Python Basics
12 terms
·
StudBud Administration
·
6 plays
Test your knowledge on fundamental concepts and data types in Python programming
Flashcards
12 cards
F
Practice quiz
P
Host live
L
Questions
12
Answers
1
Which method adds an item to a list?
append()
insert()
add()
extend()
2
True or false: Python is case-sensitive
False
True
3
What does the continue statement do?
Pauses loop
Starts loop
Ends loop
Skips iteration
4
Which function converts to string?
int()
list()
str()
float()
5
What does a loop do?
Repeats code
Defines functions
Ends program
Creates variables
6
True or false: Lists can be empty
False
True
7
Which operator checks equality?
!=
=
Empty choice
==
8
What does the break statement do?
Continues loop
Exits loop
Pauses loop
Starts loop
9
What does the len() function do?
Sorts data
Removes items
Counts items
Creates list
10
True or false: Lists can hold different data types
True
False
11
Which is not a Python data type?
List
Integer
Character
String
12
What is a list in Python?
Only numbers
Ordered collection
Fixed size
Random values