USN
PYTHON-QUIZ-2023

Quiz
•
Computers
•
University
•
Medium
Shubha V
Used 11+ times
FREE Resource
17 questions
Show all answers
1.
OPEN ENDED QUESTION
45 sec • Ungraded
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
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Java, part I

Quiz
•
11th Grade - University
20 questions
Google SketchUp Tool

Quiz
•
KG - University
12 questions
JavaScript Quiz

Quiz
•
University
15 questions
ARRAYLIST - JAVA

Quiz
•
University
20 questions
РЭУ тест по Python

Quiz
•
University
15 questions
Java Programming

Quiz
•
University
22 questions
Kotlin

Quiz
•
University
20 questions
numpy_test

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade