
Python Fundamentals Assessment

Quiz
•
Professional Development
•
Professional Development
•
Medium
Samuel Okon
Used 1+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
What is the correct way to declare a variable in Python?
x : 10
x = 10
let x = 10;
var x = 10;
2.
MULTIPLE CHOICE QUESTION
30 sec • 15 pts
Which of the following is not a data type in Python?
string
boolean
float
character
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What data structure is used to store multiple items in a single variable?
Set
Queue
List
Map
4.
MULTIPLE CHOICE QUESTION
30 sec • 17 pts
What is the output of the following code: print(type(5))?
<class str>
<class int>
<class float>
<class bool>
5.
MULTIPLE CHOICE QUESTION
30 sec • 15 pts
Which keyword is used to define a function in Python?
method
def
function
define
6.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
What will be the output of the following code: print(3 * 'Python')?
PythonPython
3PythonPython
PythonPythonPython
Python3Python
7.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
Which of the following is a mutable data type in Python?
tuple
list
set
frozenset
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
D&D Trivia, part 1.

Quiz
•
KG - Professional Dev...
20 questions
CSS & RWD 測驗

Quiz
•
University - Professi...
20 questions
Google Educator Level 1_Sites Quiz

Quiz
•
Professional Development
18 questions
Monday.com Quiz (Sales & Registrars)

Quiz
•
Professional Development
20 questions
Pre-primary Program AY2324

Quiz
•
Professional Development
20 questions
Dashboard Rules

Quiz
•
Professional Development
20 questions
Basics of Python Programming Unit-1

Quiz
•
University - Professi...
21 questions
Automation Testing with Playwright

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade