
Виключення в Python
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
alex reyda
Used 1+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Clase 17-10
Quiz
•
University
20 questions
Pemrograman Blokly
Quiz
•
9th Grade - University
20 questions
Pretest Alpro Dasar
Quiz
•
University
20 questions
HT-10 Identifica principales aplicaciones del NLP.
Quiz
•
University
20 questions
HT-14 Define los histogramas
Quiz
•
University
20 questions
Google Sheets Quiz - 17/09/2024
Quiz
•
University
20 questions
2D-2 | Google Sheets Quiz | 09.12.2024
Quiz
•
University
15 questions
Python for loop/lists
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
