when opening a file, the “wt” parameter indicated that we, Programming Essentials quiz help

Anonymous
timer Asked: Jul 12th, 2016
account_balance_wallet $5

Question Description

Question 1

  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

  1.  

    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

  1.  

    when using the ‘with’ keyword and opening a file, we must remember to close the file once we are done.

1 points  

Question 4

  1.  

    the import command can be used to bring into your Python program, additional code contained in other Python code files.

1 points  

Question 5

  1.  

    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

  1.  

    You can set an infinite loop using the command:  while True:

1 points  

Question 7

  1.  

    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

  1.  

    An important component to becoming an effective programmer is:

    Existing knowledge

    Research

    Reinventing the wheel

    Having a good IDE

1 points  

Question 9

  1.  

    We can open and access a text file directly and do not have to create a file object.

1 points  

Question 10

  1.  

    Accessing a text file requires the text file to be created before we can open the file using the “wt” parameter.


Tutor Answer

DrCS
School: Duke University

Q1)want to write data to a text ...

flag Report DMCA
Review

Anonymous
Thank you! Reasonably priced given the quality not just of the tutors but the moderators too. They were helpful and accommodating given my needs.

Similar Questions
Hot Questions
Related Tags
Study Guides

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors