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

Quiz
•
Information Technology (IT)
•
University
•
Medium
alex reyda
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
HT - 07 Identifica principales aplicaciones

Quiz
•
University
20 questions
MS2024 Pre-Quiz #5

Quiz
•
University
17 questions
Codean - Java Loop

Quiz
•
University
20 questions
21 MARET PRAK PEMROGRAMAN

Quiz
•
University
15 questions
Java_MCQ_3

Quiz
•
University
20 questions
KELAS 7 BAB 6 ANALISIS DATA C. Pengolahan Data Dasar

Quiz
•
7th Grade - University
22 questions
Java Basics

Quiz
•
12th Grade - University
24 questions
Codean | Rest API Error Handling in Spring Boot

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University