
G9 - Python - Quiz

Quiz
•
Computers
•
9th Grade
•
Hard
Thirumalai P
Used 1+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator has the highest precedence in Python?
*
**
//
%
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of 9 // 2?
4.5
5
4
4.0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A SyntaxError occurs when:
An operation is mathematically impossible
Rules of Python symbols are violated
A variable is reassigned
Data type is mismatched
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name?
2name
name_2
name-2
@name
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which built-in function checks the data type of a value?
type()
dtype()
datatype()
check()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will int(-99.9) return?
-100
-99.9
-99
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator returns True only if both conditions are True?
or
not
and
==
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Robotics I Fall Semester Test

Quiz
•
9th - 12th Grade
52 questions
Repaso MF0973-GRABACIÓN DE DATOS

Quiz
•
3rd Grade - University
50 questions
Algoritma

Quiz
•
9th - 10th Grade
51 questions
LATIHAN TKJ 3

Quiz
•
1st Grade - University
50 questions
Data Science

Quiz
•
9th - 12th Grade
46 questions
Python Programming Quiz

Quiz
•
9th Grade
48 questions
Google Sheets 3.3 Review

Quiz
•
9th Grade
46 questions
GCSE Computer Science [Component 1]

Quiz
•
9th 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
20 questions
Analog vs Digital

Quiz
•
9th - 12th 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