
PYTHON-QUIZ-2023
Authored by Shubha V
Computers
University
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
OPEN ENDED QUESTION
45 sec • Ungraded
USN
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
45 sec • Ungraded
NAME
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
20 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”)
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
1. To read the entire remaining contents of the file as a string from a file object infile, we use ____________
infile.read(2)
infile.readline()i
infile.read()
infile.readlines()
5.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
The readlines() method returns ____________
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The character * is used in ________.
Insert Query
Delete query
Select Query
All of the above
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python DB-API is
Is a Python module
connectivity modules
is used to access
Specification for database SQLite database
None of these
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
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
20 questions
Designing Network Infrastructure and Network Security
Quiz
•
KG - University
18 questions
Memory-Mobo-Hard/Software
Quiz
•
University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
14 questions
Archivos Digitales
Quiz
•
9th Grade - University
17 questions
Microprocessor - Intel 8088 - Part 1
Quiz
•
University
20 questions
Google SketchUp Tool
Quiz
•
KG - University
13 questions
CIS2303 Week_3 CLO2
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