
Python Programming Test

Quiz
•
Engineering
•
University
•
Hard
Divyanshu Sinha
Used 5+ times
FREE Resource
75 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code : print 9//2
4.5
4.0
4
Error
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which function overloads the >> operator?
more()
gt()
ge()
rshift()
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following program : i = 0 while i < 3: print i print i+1
0 2 1 3 2 4
0 1 2 3 4 5
0 1 1 2 2 3
1 0 2 4 3 5
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which module in Python supports regular expressions?
re
regex
pyregex
None of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following program : print 0.1 + 0.2 == 0.3
True
False
Machine dependent
Error
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these is not a core data type?
Lists
Dictionary
Tuples
Class
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the expression : 3*1**3
27
9
3
1
Create a free account and access millions of resources
Similar Resources on Wayground
70 questions
Marine Automation Midterm Exam

Quiz
•
University
71 questions
Engineering Sector Quiz

Quiz
•
10th Grade - University
73 questions
Practice and Theory 6

Quiz
•
University
76 questions
MT-2 PY

Quiz
•
University
79 questions
Kuis Kebutuhan Air di Sawah untuk Padi

Quiz
•
University
79 questions
TUANNQ2

Quiz
•
University
73 questions
IS439 Chapter2 (1,2,3)

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Engineering
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University