MODULES,ERROR AND EXCEPTION HANDLING

MODULES,ERROR AND EXCEPTION HANDLING

11th Grade

10 Qs

quiz-placeholder

Similar activities

Python Exceptions and Debugging

Python Exceptions and Debugging

9th - 12th Grade

8 Qs

Identify the Line with Syntax Error

Identify the Line with Syntax Error

10th - 11th Grade

15 Qs

Concept of Programming Statements & Logics - II

Concept of Programming Statements & Logics - II

11th Grade

10 Qs

Java 1

Java 1

11th Grade

10 Qs

Eduqas Computer Science Component 1 - 1.8 Program Construction

Eduqas Computer Science Component 1 - 1.8 Program Construction

9th - 11th Grade

9 Qs

GCSE - 2.3 Producing Robust Programs

GCSE - 2.3 Producing Robust Programs

9th - 11th Grade

15 Qs

Python Casting and Input

Python Casting and Input

8th - 11th Grade

15 Qs

2.5 Translators & Facilities - OCR GCSE Computer Science

2.5 Translators & Facilities - OCR GCSE Computer Science

7th - 12th Grade

13 Qs

MODULES,ERROR AND EXCEPTION HANDLING

MODULES,ERROR AND EXCEPTION HANDLING

Assessment

Quiz

Computers

11th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?