
Milestone Exkul SMP SMA - Q5_2022_Basic Python Syntax
Authored by KKT Perbu
Computers
6th - 8th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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"
Access all questions and much more by creating a free account
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
16 questions
Python programming
Quiz
•
6th - 12th Grade
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
15 questions
Coding Terms Quiz
Quiz
•
7th Grade
10 questions
Coding
Quiz
•
3rd - 6th Grade
10 questions
DASAR TIK
Quiz
•
7th Grade
20 questions
ว21104 หน่วยที่ 2 การออกแบบและการเขียนโปรแกรมเบื้องต้น
Quiz
•
7th Grade
20 questions
Software
Quiz
•
8th Grade
10 questions
Intro to CSS
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade