Lesson 8: Error Handling

Lesson 8: Error Handling

University - Professional Development

5 Qs

quiz-placeholder

Similar activities

Creating Apps with Devices

Creating Apps with Devices

University

10 Qs

3.1 Manual Testing Quiz

3.1 Manual Testing Quiz

Professional Development

10 Qs

Microsoft 365

Microsoft 365

Professional Development

10 Qs

IT ENGLISH: Research Project Topics - Windows Operating System

IT ENGLISH: Research Project Topics - Windows Operating System

Professional Development

10 Qs

Understanding Operating Systems

Understanding Operating Systems

University

10 Qs

System Architecture

System Architecture

University

10 Qs

TPG Basics of web3 and programming

TPG Basics of web3 and programming

University

10 Qs

Identificación de Software

Identificación de Software

University

10 Qs

Lesson 8: Error Handling

Lesson 8: Error Handling

Assessment

Quiz

Computers

University - Professional Development

Medium

Created by

Recode Masterclass

Used 2+ times

FREE Resource

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