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
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
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Data Structure

Quiz
•
University
21 questions
OOP - session 2.1 - JVM, Array, Stack

Quiz
•
University
12 questions
Python Quiz

Quiz
•
University
20 questions
Day 10 - ONLINE TEST - PL03 PYTHON PROGRAMMING

Quiz
•
University
21 questions
quiz 2nd/3rd year

Quiz
•
University
20 questions
Python Functions and File Operations Quiz

Quiz
•
University
20 questions
Computer Literacy Final Assessment

Quiz
•
6th Grade - University
22 questions
c++

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade