
PYTHON

Quiz
•
Computers
•
University
•
Hard
Pushpa RN
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Introduction to Python

Quiz
•
University
10 questions
Python Basics

Quiz
•
University
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
20 questions
Python

Quiz
•
University
20 questions
Python Quiz - BPLCK105B

Quiz
•
University
10 questions
Python Round 2

Quiz
•
University
20 questions
Basic Python

Quiz
•
University
20 questions
Python Lists

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade