Python
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
MIZANUL HAKIM
Used 5+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is a correct way to declare a Python variable?
_x = 5
2 x = 5
2.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
True or False:
You can declare string variables with single or double quotes.
x = "Sma Muhammadiyah 8 Ciputat"
# is the same as
x = 'Sma Muhammadiyah 8 Ciputat'
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
True or False:
Variable names are not case-sensitive.
x = 7
# is the same as
X = 7
False
True
4.
DRAG AND DROP QUESTION
20 sec • 4 pts
Select the correct functions to print the data type of a variable:
(a) ( (b) ( variabel))
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
If name = "indah", what is a correct syntax for printing the data type of the variable name?
6.
FILL IN THE BLANK QUESTION
20 sec • 2 pts
I have a variable and I want to print its data type, what is the data type of the variable?
data = "Andriano M. Daffa"
7.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What will be the result of the following code:
x1 = 90.597
x2 = int(x1)
print(str(x2))
90.597
90,597
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Advantages and Disadvantages of Collecting Data
Quiz
•
10th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
16 questions
Základní části počítače a ergonomie
Quiz
•
9th - 10th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
13 questions
WJEC GCSE ICT Unit 1 E-Mail
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
