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
18 questions
Python basics

Quiz
•
7th - 10th Grade
20 questions
6-сынып python

Quiz
•
6th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
20 questions
quiz dasar python

Quiz
•
1st Grade - University
20 questions
Compuscholar Python Chapter 1 Review

Quiz
•
8th Grade
10 questions
รู้จักภาษาไพทอน

Quiz
•
6th - 8th Grade
10 questions
สอบปลายภาคชั้นม.2

Quiz
•
8th Grade
20 questions
Intro to Python Vocabulary

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade