Python Programming 1: print, strings, variables, casting
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Ezra Teh
Used 2+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct file extension for Python files?
.py
.pt
.python
.pyt
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
True or False: Indentation in Python is for readability only.
True
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a correct way to declare a Python variable?
int x = 5
x = 5
5 = x
declare x = 5
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which is NOT a legal variable name in Python?
my_var
myVar
2myvar
my_var2
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
True or False: Variable names are not case-sensitive in Python.
True
False
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Consider the following code: print('Hello', 'World'). What will be the printed result?
HelloWorld
Hello,World
Hello World
'Hello' 'World'
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which is NOT a legal numeric data type in Python?
int
float
double
Create a free account and access millions of resources
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
12 questions
Tin học 2
Quiz
•
11th Grade
15 questions
ICT 0513 - Chapter 4 : System Unit
Quiz
•
University
20 questions
Informatika
Quiz
•
10th Grade
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
Logika Fuzzy
Quiz
•
University
15 questions
History of Computers
Quiz
•
6th - 12th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
