Which of the following functions is used to open a file in Python? a. open{}             b.  open() c.  open[]            d.  Open() What is a file object also known as? a. Object...


Which of the following functions is used to open a file in Python?


a. open{}             b.  open()


c.  open[]            d.  Open()


What is a file object also known as?


a. Object source                               b. File


c.  Object file                     d. Handle


Which of the following is the default mode while opening a file?


a. Binary                                               b. Number


c.  Text                                                 d. None


What are the two modes that are used to open a file?


a. Text or Binary                               b.   Number or Text


c.   Number or Binary      d.   Text or Number


Which of the following is incorrect when we use the binary mode?


a. Image Files     b. Text Files


c.  exe Files        d. Non-Text Files


May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here