SKILL QUIZ
Quiz
•
Computers
•
University
•
Medium
kanishka G
Used 2+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following math function
import math
print(math.ceil(252.4))
print(math.floor(252.4))
252
252
252
253
253
252
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the add() function call
def add(a, b):
return a+5, b+5
result = add(3, 2)
print(result)15
8
(8, 7)
Syntax Error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following list function?
sampleList = [10, 20, 30, 40, 50]
sampleList.pop()
print(sampleList)
sampleList.pop(2)
print(sampleList)[20, 30, 40, 50]
[10, 20, 40]
[10, 20, 30, 40]
[10, 20, 30, 50]
[10, 20, 30, 40]
[10, 20, 40]
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following print() function
print('%d %d %.2f' % (11, '22', 11.22))
11 22 11.22
TypeError
11 ’22’ 11.22
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following range() function
for num in range(2,-5,-1):
print(num, end=", ")2, 1, 0
2, 1, 0, -1, -2, -3, -4, -5
2, 1, 0, -1, -2, -3, -4
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following
sampleDict = dict([
('first', 1),
('second', 2),
('third', 3)])
print(sampleDict)[ (‘first’, 100), (‘second’, 200), (‘third’, 300) ]
Options: SyntaxError: invalid syntax
{‘first’: 1, ‘second’: 2, ‘third’: 3}
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which method is used to read file line by line
read(1)
readlines(1)
readline()
line()
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
52 questions
computer memory and storage
Quiz
•
University
50 questions
IUTCS Freshers
Quiz
•
University
50 questions
Computer System Servicing
Quiz
•
University
50 questions
Quiz
Quiz
•
University
50 questions
MS Excel Quiz
Quiz
•
University
53 questions
EEP
Quiz
•
University
52 questions
webdev ii
Quiz
•
University
54 questions
Ôn Tập CUỐI KÌ I Tin 8
Quiz
•
8th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
