Python

Quiz
•
Computers
•
10th Grade
•
Hard
MIZANUL HAKIM
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
Unit 3 Python Minor assessment

Quiz
•
10th - 12th Grade
20 questions
Python year 9

Quiz
•
8th - 11th Grade
14 questions
Python Syntax

Quiz
•
6th - 12th Grade
16 questions
algorithms and programming

Quiz
•
8th - 10th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
15 questions
Computer science paper 2

Quiz
•
10th Grade
16 questions
Variables and Data Types Knowledge Check

Quiz
•
9th - 12th Grade
10 questions
Variables and Data Types

Quiz
•
3rd - 10th Grade
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