
PYTHON
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Pushpa RN
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of these is floor division?
\
\
\\
//
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Python code?
//
#
*
/*
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used for function in Python language?
Function
def
Define
Fun
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
i = 1
while True:
if i%3 == 0:
break
print(i) i + = 1
1 2 3
error
1 2
none of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a core data type in Python programming?
Tuples
Lists
Class
Dictionary
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet?
for i in [1, 2, 3, 4][::-1]:
print (i)
4 3 2 1
error
1 2 3 4
none of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python statement?
>>>"a"+"bc"
bc
abc
a
bca
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
15 questions
Object Oriented Programming Assessment 1
Quiz
•
University
19 questions
Programación Básica Prácticas Tema 2
Quiz
•
University
11 questions
Tutorium 1 - Prog2
Quiz
•
University
10 questions
computer Networks
Quiz
•
University
19 questions
DBMS - Fundamentals
Quiz
•
University
13 questions
PWM y ADC con el MSP430F5529
Quiz
•
University
20 questions
Control Structures C#
Quiz
•
University
14 questions
Sains Komputer Tingkatan 4 - 2.2.3 Menghasilkan gambar rajah
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
