
Python-Quiz1

Quiz
•
Computers
•
12th Grade
•
Medium
Shalini Sharma
Used 6+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How many file objects would you need to manage to process four files sequentially ?
Three objects are needed
Four objects are needed
Two objects are needed
One object is needed
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How many file objects would you need to manage to merge two sorted files into third file ?
Three objects are needed
Four objects are needed
Two objects are needed
One object is needed
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The readlines( ) method returns :
string
A list of integers
A list of single characters
A list of lines
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which command is used to read the remaining lines of the file from a file object fobj?
fobj.read(2)
fobj.read()
fobj.readline()
fobj.readlines()
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which command is used to read two characteters from a file object fobj?
fobj.read(2)
fobj.read()
fobj.readline()
fobj.readlines()
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In python _____ are interpreted as a sequence or stream of bytes stored on some storage media.
Data
Files
Stream
Binary
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which method is used to remove/ delete a file?
data()
remove()
kll()
close()
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
Powerpoint Smabali

Quiz
•
12th Grade
35 questions
Evaluasi Ms. Word [Divisi Office-UKM CC]

Quiz
•
7th Grade - University
40 questions
Semester Final 2025

Quiz
•
10th Grade - University
38 questions
Microsoft Word 2016

Quiz
•
9th - 12th Grade
40 questions
Introduction to Microsoft Word

Quiz
•
8th - 12th Grade
39 questions
adobe photoshop 2015 certification quiz 1

Quiz
•
9th - 12th Grade
44 questions
Python Test 2

Quiz
•
7th - 12th Grade
35 questions
Ms Word IMC

Quiz
•
9th - 12th Grade
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
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University