Python Data Types and Lists ( level easy )

Quiz
•
Computers
•
12th Grade
•
Medium
Saranya S
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type used to represent whole numbers in Python?
bool
str
int
float
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The answer for the following code is
print(" 27+43= ")
70
"27+43=70"
"27+43"
73
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of '5 + 3' in Python?
10
7
2
8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the difference between 'float' and 'integer' methods in Python lists.
both has decimal numbers
float has decimal numbers and integers are whole numbers
both has whole numbers
float has text and integers has decimal numbers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type used to represent text in Python?
integer
character
string
boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you check the length of a list in Python?
count(your_list_name)
size(your_list_name)
length(your_list_name)
len(your_list_name)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'in' keyword do when used with lists in Python?
Adds a value to the end of a list
Removes a value from a list
Sorts the list in descending order
Checks if a value exists in a list
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
14 questions
Python Numeric Types

Quiz
•
12th Grade
15 questions
CPM9.1-9.3 Quiz Review

Quiz
•
9th - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
15 questions
Problem Solving using Python and R - UNIT II - Tuples

Quiz
•
12th Grade
14 questions
Python List Basics

Quiz
•
12th Grade
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

Quiz
•
10th - 12th Grade
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade