
Technical Assesment
Authored by Echo Admin
Professional Development
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to define a function in Python?
def
function
define
func
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of type([]) in Python?
list
[]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is NOT a valid Python data type?
tuple
dict
array
set
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 3 * 'ab'?
'ab3'
'ababab'
'ab ab ab'
['ab', 'ab', 'ab']
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you handle exceptions in Python?
try/except
do/catch
try/catch
try/handle
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to create a generator in Python?
return
yield
gen
await
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the with statement in Python?
Create loops
Create context managers
Import modules
Create functions
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?