MODULES,ERROR AND EXCEPTION HANDLING

Quiz
•
Computers
•
11th Grade
•
Medium
JALAJA SANU
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java Math

Quiz
•
9th - 12th Grade
12 questions
Programming - Output

Quiz
•
KG - 12th Grade
10 questions
Iterative Development Process

Quiz
•
9th - 12th Grade
15 questions
GCSE - 2.3 Producing Robust Programs

Quiz
•
9th - 11th Grade
15 questions
Python Casting and Input

Quiz
•
8th - 11th Grade
12 questions
Syntax and Logic Errors

Quiz
•
9th - 11th Grade
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade