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
10 questions
Python Variables

Quiz
•
7th - 12th Grade
20 questions
AQA GCSE Computer Science - 3.2.10 Subroutines

Quiz
•
8th - 10th Grade
10 questions
Code.org Unit 5 Vocab Quiz 1

Quiz
•
9th - 12th Grade
20 questions
AQA GCSE Computer Science -3.1.1 Representing algorithms

Quiz
•
8th - 10th Grade
20 questions
Programming

Quiz
•
9th - 11th Grade
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
20 questions
TEST1.PY

Quiz
•
10th Grade - University
15 questions
Python Quiz

Quiz
•
9th - 12th Grade
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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade