
python essL2

Quiz
•
Information Technology (IT)
•
4th Grade
•
Medium
stemate stemate
Used 7+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
p("hello world)
echo("hello world")
echo "hello world"
print("hello world")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Python code?
// This is comment
#This is comment
/*this is comment /*
""
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these collections defines a LIST?
{"apple", "banana", "cherry"}
("apple", "banana", "cherry")
{"name": "apple", "color": "green"}
["apple", "banana", "cherry"]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start writing an if statement in Python?
if (x > y)
if x > y then:
if x > y:
none of the bove
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start writing a while loop in Python?
while x > y:
while x > y {
x > y while{
while (x > y)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
x = int(5)
x = 5
Both the other answers are correct
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to multiply numbers?
%
#
*
x
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator can be used to compare two values?
><
=
==
<>
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
20 questions
Place Value

Quiz
•
4th Grade
18 questions
Subject and Predicate Practice

Quiz
•
4th Grade
5 questions
Remembering 9/11 Patriot Day

Lesson
•
3rd - 5th Grade
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
20 questions
place value

Quiz
•
4th Grade
20 questions
Place Value and Rounding

Quiz
•
4th Grade
15 questions
Place Value

Quiz
•
4th Grade