Виключення в Python

Виключення в Python

University

20 Qs

quiz-placeholder

Similar activities

Cuestionario 1 BA UMG Old

Cuestionario 1 BA UMG Old

University

15 Qs

HO - 32 Implementa algoritmo de regresión lineal simple con Pyth

HO - 32 Implementa algoritmo de regresión lineal simple con Pyth

University

20 Qs

quiz1B1

quiz1B1

7th Grade - University

20 Qs

Tarea 01 - Introducción a Power Pivot

Tarea 01 - Introducción a Power Pivot

University

20 Qs

Quiz Pemrograman Python

Quiz Pemrograman Python

10th Grade - University

15 Qs

Kuis Sistem Terdistribusi

Kuis Sistem Terdistribusi

1st Grade - University

20 Qs

Eva_Est_P1_11_PMV

Eva_Est_P1_11_PMV

4th Grade - University

20 Qs

Module 5: Creating Dynamic Web Pages with Scripting

Module 5: Creating Dynamic Web Pages with Scripting

University

15 Qs

Виключення в Python

Виключення в Python

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

alex reyda

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Який базовий клас для всіх виключень у Python?

BaseException

Exception

Error

Throwable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Яка конструкція використовується для обробки виключень у Python?

try-except

do-catch

begin-rescue

try-catch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Що станеться, якщо виключення не буде оброблене в програмі?

Програма продовжить виконання

Програма завершиться з помилкою

Виключення буде проігнороване

Виключення буде автоматично оброблене

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Який блок коду виконується незалежно від того, чи виникло виключення?

else

catch

finally

end

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Як підняти власне виключення в Python?

throw Exception()

raise Exception()

except Exception()

assert Exception()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Яке виключення виникає при спробі доступу до неіснуючого індексу списку?

KeyError

IndexError

ValueError

AttributeError

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Яке виключення виникає при спробі перетворити рядок, що не є числом, на ціле число?

TypeError

ValueError

SyntaxError

NameError

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?