
MTA 98-381 Quiz
Authored by John Khoury
Other
8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Python?
Python is a database management system used for storing and retrieving data.
Python is a markup language used for creating web pages.
Python is a high-level programming language known for its simplicity and readability.
Python is a low-level programming language used for system programming.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a data type in Python?
int
str
list
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for error handling in Python?
try: except ExceptionType:
try: except:
try: except ErrorType:
try: # code that may raise an exception except ExceptionType: # code to handle the exception
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? x = 5 y = '10' print(x + y)
510
TypeError
TypeError: unsupported operand type(s) for +: 'int' and 'str'
SyntaxError: invalid syntax
15
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid data type in Python?
string
boolean
integer
character
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to handle an exception in Python?
Using if-else statements.
Using for loops.
Using switch statements.
Using try-except blocks
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? x = 'Hello' print(x[2:])
llo
lo
ell
llo
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
8 questions
Inquiry
Quiz
•
6th - 8th Grade
13 questions
Lego
Quiz
•
KG - Professional Dev...
12 questions
MGT Quiz Finals
Quiz
•
KG - 12th Grade
10 questions
food chains & food webs
Quiz
•
8th Grade
15 questions
Football Quiz
Quiz
•
KG - Professional Dev...
11 questions
Asphalt 8
Quiz
•
5th - 12th Grade
12 questions
Guess the Naruto character (Easy)
Quiz
•
KG - 12th Grade
10 questions
Jules LeBlanc
Quiz
•
KG - University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
20 questions
7th grade ELA Vocabulary Review
Quiz
•
7th - 8th Grade
22 questions
Phases of the moon
Quiz
•
8th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
14 questions
finding slope from a graph
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
7 questions
Path and Ortho Greek bases
Quiz
•
6th - 8th Grade
20 questions
Relative Pronouns
Quiz
•
4th - 8th Grade
8 questions
8th U6L1: Organizing Data
Quiz
•
8th Grade