
PYTHON QUIZ-1
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
ENDURO SRM
Used 2+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the extension of Python file?
pt
py
pyt
ptn
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the mistake -
x = input()
print(x+1)
input is not type-casted
x is not put in quotes ("")
x was not declared
There is no error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be output of 7.5//3?
2.5
2.0
2
0
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be output of type(7.5//3)?
string
int
float
complex
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can we get square of a number x in Python?
x**2
x*2
x^2
Both A and B
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid variable name?
#Name
Name#
Name1
1Name
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
x = "World"
print("Hello",x)
HelloWorld
Hellox
Hello World
It will give error
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
10 questions
Pengantar Coding
Quiz
•
University
10 questions
Firewall & IDS
Quiz
•
University
10 questions
JTable en Java
Quiz
•
University
10 questions
FST Class 2023- Quiz 2
Quiz
•
University
10 questions
UTS Aplikasi Komputer 4C
Quiz
•
University
11 questions
SMITE 6.0: Get to Know Cybersecurity
Quiz
•
University
10 questions
วิทยาการคำนวณ p.5
Quiz
•
University
11 questions
Access
Quiz
•
10th Grade - 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
