What is a correct syntax to output "Hello World" in Python?
Class VIII_Basic Python Programming Quiz

Quiz
•
Computers
•
8th Grade
•
Medium
TANU NIRWAL
Used 102+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
p("Hello World")
Print("Hello World")
print("Hello World")
print(Hello World)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Python code?
//This is a comment//
//*This is a comment
#This is a comment
*This is a comment*
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is NOT a legal variable name?
My-Var
My1_Var
my_VAr
_MYVar
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
X = 5.0
X = 5
5 = X
All options are correct
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct file extension for Python files?
.pt
.pyt
.py
.pyp
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the floating number 2.8?
Y = 2.0
Y = 2.8
int = 2.8
All options are wrong
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to output the type of a variable or object in Python?
print(type(W))
Both are correct
print = type(W)
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Basic Python Programming_Class VIII

Quiz
•
8th Grade
10 questions
python quiz

Quiz
•
6th Grade - Professio...
10 questions
Python Basics

Quiz
•
8th - 10th Grade
10 questions
My Python : About Me

Quiz
•
6th - 8th Grade
10 questions
Python - Printing, Variables and Syntax

Quiz
•
8th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
11 questions
Quiz#2

Quiz
•
6th - 8th Grade
10 questions
Programming in Java

Quiz
•
8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade