Question
QUESTION 1 when opening a file, the wt parameter indicated that we: want to append to the end of the text file. want to write
QUESTION 1
-
when opening a file, the wt parameter indicated that we:
want to append to the end of the text file.
want to write data to a text file.
that we are opening a binrary file.
that we are reading from a text file.
1 points
QUESTION 2
-
when opening a file, the rt parameter indicated that we:
want to append to the end of the text file.
want to write data to a text file.
that we are opening a binary file.
that we are reading from a text file.
1 points
QUESTION 3
-
when using the with keyword and opening a file, we must remember to close the file once we are done.
True
False
1 points
QUESTION 4
-
the import command can be used to bring into your Python program, additional code contained in other Python code files.
True
False
1 points
QUESTION 5
-
Which keyword is used in conjunction with the import command to selectively import objects from an external python code file?
from
for
include
eval
1 points
QUESTION 6
-
You can set an infinite loop using the command: while True:
True
False
1 points
QUESTION 7
-
Where can you learn more about pre-built python modules that can be used in your python program?
Python Reference website
Python community site
Python Library Reference website
All of the above
1 points
QUESTION 8
-
An important component to becoming an effective programmer is:
Existing knowledge
Research
Reinventing the wheel
Having a good IDE
1 points
QUESTION 9
-
We can open and access a text file directly and do not have to create a file object.
True
False
1 points
QUESTION 10
-
Accessing a text file requires the text file to be created before we can open the file using the wt parameter.
True
False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started