Techno India University Python Quiz Contest
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Rahul Mahato
Used 6+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
If a=(1,2,3,4), a[1:-1] is _________
Error, tuple slicing doesn’t exist
[2,3]
(2,3,4)
(2,3)
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output of the following Python code snippet?
a={1:"A",2:"B",3:"C"}
for i,j in a.items():
print(i,j,end=" ")
1 2 3
1:”A” 2:”B” 3:”C”
A B C
1 A 2 B 3 C
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output of the following Python expression?
print(4.00/(2.0+2.0))
Error
1.00
1.0
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the output when the following code is executed?
"Welcome to Python".split()
('Welcome', 'to', 'Python')
{'Welcome', 'to', 'Python'}
['Welcome' 'to', 'Python']
'Welcome', 'to', 'Python'
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
1
3
5
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the output of the following piece of code?
a=list((45,)*4)
print((45)*4)
print(a)
180
[(45),(45),(45),(45)]
(45,45,45,45)[45,45,45,45]
180
[45,45,45,45]
Syntax error
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
How are keyword arguments specified in the function heading?
one star followed by a valid identifier
two stars followed by a valid identifier
one underscore followed by a valid identifier
two underscores followed by a valid identifier
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
15 questions
PROBLEM SOLVING USING R UNIT I MCQS
Quiz
•
University
10 questions
Lenguaje Perl
Quiz
•
University
15 questions
Adobe Illustrator Workshop Quiz
Quiz
•
University
15 questions
Operator dan Kontrol Struktur PHP
Quiz
•
2nd Grade - University
10 questions
TIU Quiz-9
Quiz
•
University
10 questions
Classification in Machine Learning2
Quiz
•
University
10 questions
Asesmen Diagnostik Sistem Komputer
Quiz
•
10th Grade - University
15 questions
python basics
Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
