WorksheetsPython handle errors
Total questions: 8
Worksheet time: 4mins
Name
Class
Date
1.
Divide by zero
a)
Syntax Error
b)
Run-time Error
c)
Logical Error
2.
Input("Enter num1")
a)
Syntax Error
b)
Run-time Error
c)
Logical Error
3.
infinite repetition
a)
Syntax Error
b)
Run-time Error
c)
Logical Error
4.
print("Here is some text")
print(1/0)
a)
Syntax Error
b)
Run-time Error
c)
Logical Error
5.
print("Here is some text"
print(6/2)
a)
Syntax Error
b)
Run-time Error
c)
Logical Error
6.
print(Here is some text")
print(2/2)
a)
Syntax Error
b)
Run-time Error
c)
Logical Error
7.
x = 2
y = 6
average = x + y / 2
print(average)
a)
Syntax Error
b)
Run-time Error
c)
Logical Error
8.
prnt("Hello World")
a)
Syntax Error
b)
Run-time Error
c)
Logical Error
100 %
