Milestone Exkul SMP SMA - Q5_2022_Basic Python Syntax

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
KKT Perbu
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What symbol is used for commenting out code in Python?
#
%
&
*
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is a valid variable name in Python?
my-variable
1variable
my_variable
my variable
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which statement is used to display output in Python?
print()
input()
scan()
read()
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the result of the following Python code?
x = 3
y = 5
print(x+y)
8
15
"8"
"15"
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is not a Python data type?
float
string
boolean
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the correct way to declare a Python list?
list = [1, 2, 3]
list = (1, 2, 3)
list = {1, 2, 3}
list = "1, 2, 3"
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following code?
x = "hello"
print(x[1])
"h"
"e"
"l"
"o"
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
20 questions
Basic Python Quiz for Beginners

Quiz
•
3rd - 6th Grade
20 questions
6-сынып python

Quiz
•
6th Grade
12 questions
Year 7 Python

Quiz
•
7th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
20 questions
Python First Steps Homework Quiz

Quiz
•
7th - 9th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade
15 questions
Decimal Operations

Quiz
•
6th Grade
10 questions
Plotting Points on the Coordinate Plane

Quiz
•
7th - 8th Grade