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
10 questions
Объекты в JavaScript: Создание объектов

Quiz
•
6th Grade
10 questions
Python Math

Quiz
•
1st - 12th Grade
12 questions
Python Programming Basics

Quiz
•
7th - 11th Grade
12 questions
Основи Python

Quiz
•
7th - 12th Grade
20 questions
Python-ICT

Quiz
•
8th Grade
16 questions
Тест 7-кл информатика

Quiz
•
7th Grade
10 questions
Banana Tales Part I (1-40)

Quiz
•
6th - 8th Grade
17 questions
ICT Grade 8 REVISION

Quiz
•
8th Grade
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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade