Lesson 8: Error Handling

Lesson 8: Error Handling

University - Professional Development

5 Qs

quiz-placeholder

Similar activities

PRACTICE  SET FOR INTERMEDIATE 2

PRACTICE SET FOR INTERMEDIATE 2

Professional Development

10 Qs

Taller de desarrollo de SW

Taller de desarrollo de SW

University

10 Qs

PTD - 1A

PTD - 1A

University

10 Qs

TEST SOP LOGICAL ACCESS

TEST SOP LOGICAL ACCESS

1st Grade - Professional Development

10 Qs

PW CT Quiz

PW CT Quiz

Professional Development

10 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

PRÁCTICA  N° S-01 -5MFT52-18 (2024A05)

PRÁCTICA N° S-01 -5MFT52-18 (2024A05)

Professional Development

10 Qs

WN-CELLULAR CONCEPT

WN-CELLULAR CONCEPT

University

10 Qs

Lesson 8: Error Handling

Lesson 8: Error Handling

Assessment

Quiz

Computers

University - Professional Development

Practice Problem

Medium

Created by

Recode Masterclass

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Error Handling?

A way to tell the user that the app/software has started

A way to tell the user that the app/software is about to, or has failed

A way to tell the user that the app/software has been handled

A way to tell the user that the app/software is about to close

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What is the best way for a software to fail? You may choose more than one answer.

Give details on what could the user have done

By closing the application entirely

Silently and keep it secret from the user

Obviously and let the user know what happened

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are examples of processes that may fail:

Division of a number

Getting inputs from user

Reading and/or writing data to/from files

Calling an external REST API

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, how do we handle exceptions?

By using the try... catch statement

By using the try... except statement

By using the do... but statement

By using the if... else statement

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following inputs from the user, will cause the code the in image to break?

123

12.5

Strawberries

54

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?