
MODULES,ERROR AND EXCEPTION HANDLING
Authored by JALAJA SANU
Computers
11th Grade
Used 5+ 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
2 mins • 1 pt
a+b=c,Identify the type of error.
Syntax Error
Logical Error
Semantics
Run time Error
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
When the grammatical rules of a programming language ,it will result in:
Semantics
Syntax Error
Logical Error
RunTime Error
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Trying to access a list element ,dictionary value which does not exist , results……………………………of error.
Runtime error
Logical Error
Syntax Error
Semantics Error
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
------------------ and -------------------- statements are used to prevent an exception from terminating a program
try,catch
try,except,
try
try,else
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Generates a random number from 0 to 1.
randomint()
random()
randomrange()
randoint()
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
a=20, B=10, C=a+b ;Will result in …………………………… exception.
ValueError
NameError
TypeError
Attribute Error
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Can we create a breakpoint using set,trace() ?
Yes
No
Maybe
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
15 questions
Technology and Society
Quiz
•
9th - 12th Grade
12 questions
J808 LO4.4 Preventative Measures (Logical)
Quiz
•
10th - 11th Grade
13 questions
Python Fundamentals and Programming
Quiz
•
11th - 12th Grade
11 questions
Execl Quiz
Quiz
•
7th Grade - University
10 questions
CodeTigers Python 101
Quiz
•
KG - Professional Dev...
10 questions
Computational Thinking
Quiz
•
9th - 11th Grade
15 questions
Python Basics
Quiz
•
KG - University
15 questions
Grade 12-Python selection&iteration
Quiz
•
11th - 12th Grade
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade