
KP9-Events n Exceptions

Quiz
•
Education
•
Professional Development
•
Medium
MrsT Voci
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Teaching methods

Quiz
•
KG - Professional Dev...
7 questions
BEGINNING TEACHER#2

Quiz
•
Professional Development
10 questions
Pre-test Panel Data dengan STATA

Quiz
•
Professional Development
10 questions
GLIM PGPM NLP, quiz1_General+Preproc

Quiz
•
Professional Development
15 questions
CON TAC TIC

Quiz
•
Professional Development
8 questions
Florina Smart City Quiz

Quiz
•
Professional Development
11 questions
Preguntas sobre Liquidación de Corte

Quiz
•
Professional Development
10 questions
'Data Validation' Excel Quiz

Quiz
•
6th Grade - Professio...
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 Education
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development