Quiz#2

Quiz
•
Computers
•
6th - 8th Grade
•
Easy
Eman Shatnawe
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does Python use to define blocks of code (e.g., in loops, functions, etc.)?
Semicolons ;
Curly braces {}
Indentation
D) Parentheses ()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid comment in Python?
// This is a comment
/* This is a comment */
# This is a comment
<!-- This is a comment -->
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python used for?
To create functions
To store data
To print messages on the screen
To create loops
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
1stVariable
my-variable
my_variable
my variable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type would you use to store the value 3.14?
int
str
bool
float
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a Boolean value in Python?
Yes
1
True
"True"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
10
"55"
5
Error
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Python Basics Quiz

Quiz
•
6th Grade
14 questions
Python Basic Unit 1

Quiz
•
7th - 8th Grade
10 questions
My Python : About Me

Quiz
•
6th - 8th Grade
10 questions
Grade 7 & 8 First quiz term 3

Quiz
•
7th Grade
14 questions
Variables and Data Types

Quiz
•
8th Grade
16 questions
Python - Variables and Input

Quiz
•
1st - 10th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
9 questions
Python quiz for beginners

Quiz
•
5th - 6th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade