
Pre-Assessment Test: Python Basics

Quiz
•
Other
•
University
•
Medium
Sushma Sushma
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to output data in Python?
print()
echo()
write()
show()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is immutable in Python?
List
Tuple
Dictionary
Set
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of: type(3.5)?
int
float
double
number
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation in Python?
^
**
//
%%
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add an item to a list?
append()
insert()
push()
add()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? x = [1, 2, 3] total = 0 for i in x: total += i print(total)
1
3
6
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output? for i in range(1, 5): if i % 2 == 0: print(i) else: print('Odd')
Odd 2 Odd 4
Odd Even Odd Even
Odd 2 Odd 4
Error
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
Analisis Regresi Linier

Quiz
•
University
30 questions
Section-B MLP LA-1 Quuiz

Quiz
•
University
22 questions
Cognitive Development

Quiz
•
University
30 questions
Latihan UTS Pengukuran dan Instrumentasi

Quiz
•
University
20 questions
Moda, tendencia, megatendencia

Quiz
•
University
27 questions
Python 2do Parcial

Quiz
•
University
20 questions
Avancemos 3 U3L2 Vocab

Quiz
•
KG - University
20 questions
Quanta

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University