What are the disadvantages to writing data to a text file using tokens and delimiters as opposed to writing an entire object to a file at once?
What will be an ideal response?
Writing to a text file allows you to store data for later use. However, there are two disadvantages to writing to a text file:
* Data in a text file is easily readable in a text editor such as Notepad. Although this feature is useful to developers when they test programs, it is not a very secure way to store data.
* When a record in a data file contains many fields, it is cumbersome to convert each field to text and combine the fields with delimiters before storing the record on a disk. Similarly, when you read a text file, it is somewhat unwieldy to eliminate the delimiters, split the text into tokens, and convert each token to the proper data type. Writing an entire object to a file at once would be more convenient.
You might also like to view...
Which of the following is a disadvantage of the auto-negotiation protocol?
a. It is useful only in LANs that have multiple connection capabilities. b. A failed negotiation on a functioning link can cause a link failure. c. It’s recommended for use in critical network data paths. d. It works at 10Mbps.
Change the encode function so that punctuation is simply skipped.
What will be an ideal response?
Which of the following could be an exploit that occurs at the Network layer? (Choose all that apply.)
A. exploits that involve TCP ports B. exploits that involve packet addressing C. exploits that involve routing D. exploits that involve DNS
The term ____ uniquely identifies the element in row 1, column 3.
A. val[3][1] B. val[1][3] C. val[3,1] D. val[1,3]