
QUIZ -21
Authored by shanmugaraja .
Computers
12th Grade - University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is incorrect file handling mode in Python?
r
x
t+
b
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code
print('PYnative ', end='//')
print(' is for ', end='//')
print(' Python Lovers', end='//')
PYnative /
is for /
Python Lovers /
PYnative //
is for //
Python Lovers //
PYnative // is for // Python Lovers //
PYnative /is for /Python Lovers /
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
def func(val1, val2=2, val3=7, val4=1):
return val1**val2**val3
print(func(val2=2, val1=2, val3=4))
256
32768
65536
This code raises an exception
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How will you not create a dictionary?
d = {'milk': 50, 'celery': 40}
d = dict(milk=50, celery=40)
d = dict([ ('milk', 50), ('celery', 40) ])
d = { ('milk', 50), ('celery', 40) }
d = {} d['milk'] = 50 d['celery'] = 40
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code print?
a = [1, 2, 3]
a is a[:]
True
False
This code raises an exception
Error
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these can you use as a dictionary key?
Please select 3 correct answers
'key'
'count;
['1','2']
('key','count')
5j
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of round(12.5) – round(11.5)?
1
0
2
3
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
10 questions
6 - Изменение размеров и формы объектов
Quiz
•
University
11 questions
Herramientas WEB
Quiz
•
6th Grade - Professio...
10 questions
Control y Robótica
Quiz
•
12th Grade
12 questions
Характеристики зображення та засобів його відтворення
Quiz
•
1st - 12th Grade
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
Hyrje në SO
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade