
KP9-Events n Exceptions
Authored by MrsT Voci
Education
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A programmer tries to run the following code. What error is likely to be raised in this instance?
print('Hello world')s
GrammarError
EOLerror
SyntaxError
ValueError
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A programmer tries to run the following code. What error is likely to be raised in this instance?
print(int('cat'))
EOLerror
SyntaxError
GrammarError
ValueError
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A programmer accidentally attempts to convert the type of an object and receives the error: 'int() cannot convert 'dog' into an integer'. What error was likely raised in this instance?
ValueError
AttributeError
NameError
TypeError
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Consider a program that has a module that provides a framework of sorts to short declarative one-file scripts that writes. Which of the following words is suitable for describing the previous program.
A request loop
A module callback
A chapter
An event
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is a programming paradigm where programs are constructed by applying and composing functions?
Functional Programming
Event Driven Programming
Response Oriented Programming
Object Oriented Programming
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A programmer accidentally attempts to call a function or use an operator on something of the incorrect type. What error is likely to be raised in this instance?
AttributeError
NameError
ValueError
TypeError
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A programmer has created a string with a single speech mark on one side and double speech mark on the other. What error is likely to be raised in this instance?
var1 = 'Hello"
GrammarError
SyntaxError
ValueError
EOLerror
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
15 questions
Hazardous Materials
Quiz
•
Professional Development
13 questions
Convivencia Escolar Asunto de Todos
Quiz
•
Professional Development
10 questions
What is water
Quiz
•
KG - Professional Dev...
10 questions
flipped classroom
Quiz
•
Professional Development
15 questions
Segurança Net 1º Ciclo
Quiz
•
Professional Development
10 questions
Teacher Roles
Quiz
•
University - Professi...
15 questions
Singapore
Quiz
•
12th Grade - Professi...
13 questions
citación apa
Quiz
•
9th Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Education
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...