
Python Phase 1

Quiz
•
Engineering
•
University
•
Medium
Data Science undefined
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following variable names is invalid in Python?
data_value
3data
_data
DataValue
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is NOT a keyword in Python?
pass
break
def
print
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the data type of the following variable?
<class 'int'>, <class 'int'>
<class 'str'>, <class 'int'>
<class 'str'>, <class 'str'>
<class 'int'>, <class 'str'>
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following code snippet?
3, 3
3, 3.33
3, 3.0
Error
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the result of the following expression?
7
8
5
6
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the result of the following operation?
2
3
4
1
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will happen when the following code is executed?
print("Hello)
Hello will be printed.
An error will occur.
Nothing will be printed.
It will print None.
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Tech Quiz

Quiz
•
University
25 questions
PodiumRound

Quiz
•
University
25 questions
css exam

Quiz
•
University
31 questions
Techno trivia

Quiz
•
University
26 questions
Software Engineering Midterm Review

Quiz
•
University
30 questions
POWER ELECTRONICS_UNIT_V_DC-AC Converters_Day-Day Assessment

Quiz
•
University
25 questions
PLTW Robotics Final Exam

Quiz
•
8th Grade - University
35 questions
2.3.3 - Code of Ethics for Engineers

Quiz
•
10th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade