
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
20 questions
C Programming Unit-1 Test-2
Quiz
•
University
15 questions
HTML Quiz
Quiz
•
11th Grade - University
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
10 questions
Microsoft Word
Quiz
•
University
17 questions
Đề ôn tập cuối HKI lớp 5
Quiz
•
6th Grade - University
10 questions
Ke-Al Azhar 8 an
Quiz
•
7th Grade - University
20 questions
Review Quiz (Chapter 3&4)
Quiz
•
University
20 questions
ĐC CNTT_Chương 1
Quiz
•
University
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
