Quiz 2 Internship on Fundamentals of Python
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Hard
Dr. Lakshmi Bhaskar Bhaskar
Used 9+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the definition for packages in Python?
A set of main modules
A folder of python modules
A number of files containing Python definitions and statements
A set of programs making use of Python modules
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum possible length of an identifier in Python?
79 characters
31 characters
63 characters
none of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python program?
error
0 1 2 0
0 1 2
none
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To open a file c:\scores.txt for reading, we use _____________
infile = open(“c:\scores.txt”, “r”)
infile = open(“c:\\scores.txt”, “r”)
infile = open(file = “c:\scores.txt”, “r”)
infile = open(file = “c:\\scores.txt”, “r”)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Python code will print True?
a = foo(2)
b = foo(3)
print(a<b)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function overloads the + operator?
__add__()
__plus__()
__sum__()
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Only problems that are recursively defined can be solved using recursion.
True
False
May be
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
Introduction to Physiology and Cell Physiology
Quiz
•
Professional Development
16 questions
Wellness Event
Quiz
•
Professional Development
18 questions
Яндекс Лицей (Функции)
Quiz
•
Professional Development
15 questions
Terminal Linux
Quiz
•
Professional Development
18 questions
GCE Level 1
Quiz
•
Professional Development
15 questions
Circular Linked List
Quiz
•
Professional Development
10 questions
Introduction to business analytics
Quiz
•
Professional Development
20 questions
UI/UX Testing
Quiz
•
Professional Development
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
