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
20 questions
KELAS DKV 1 PTS PLD SEMESTER 2
Quiz
•
11th Grade
20 questions
BÀI 24-25 TIN 10
Quiz
•
10th Grade
18 questions
Lenguaje de Definición de Datos
Quiz
•
University
10 questions
Câu hỏi trắc nghiệm Tin Học 10 - Bài 10
Quiz
•
10th Grade
20 questions
Computer Science - X
Quiz
•
8th - 10th Grade
20 questions
UH1_INFO_XII
Quiz
•
11th Grade
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
20 questions
TIK 9 - Penggunaan Browser Untuk Akses Internet
Quiz
•
11th - 12th 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
