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

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

University

20 Qs

quiz-placeholder

Similar activities

Quiz tentang App Inventor

Quiz tentang App Inventor

11th Grade - University

21 Qs

2F-1 | Python Quiz | 14/10/2024

2F-1 | Python Quiz | 14/10/2024

University

20 Qs

Use Cases and  Domain Classes

Use Cases and Domain Classes

University

15 Qs

Sistem Komputer- Fase E

Sistem Komputer- Fase E

10th Grade - University

17 Qs

Kuis Data Science Pertemuan 3

Kuis Data Science Pertemuan 3

University

20 Qs

Problem-Solving

Problem-Solving

University

20 Qs

Python Library Routines Quiz

Python Library Routines Quiz

10th Grade - University

18 Qs

SUMMATIVE TEST IN COMPUTER 5

SUMMATIVE TEST IN COMPUTER 5

5th Grade - University

20 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

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?