Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Random access memory is _________________ . a. Persistent c. permanent b. Volati

ID: 3830305 • Letter: R

Question

Random access memory is _________________ .

a. Persistent                    c. permanent

b. Volatile                        d. sequential

2. Which of the following is not permanent storage?

      a. RAM                       c. A USB drive

      b. a hard disk                   d. all of these

3. Which of the following is not a File class method?

        a. Create()                       c. Exists()

        b. Delete()                       d. End()

4. When each record in a file is stored in order based on the value in some filed, the file is a(n) _______________ file.

a. random access                       c. formatted

b. application                            d. sequential.

5. Which of the following is not part of a Filestream constructor?

a. the file size c. the filename

b. the file mode                           d. the type of access

6. Which of the following is not a filestream property?

a. CanRead                           c. CanSeek

b. CanExist                           d. CanWrite

7. A character used to specify the boundary between data items in text files is a ________________.

a. sentinel                           c. delimiter

b. stopgap                           d. margin

8. After a StreamReader has been created, the ReadLine() method can be used to _______________.

a. retrieve one line at a time from the file           c.store one line at a time in a file.

b. retrieve one character at a time               d. split a string into tokens

9. The String class Split() method stores its results in _________________ .

a. a string c. an appropriate data type for each token

b. an array of strings               d. an array of bytes

10. The process of converting object into streams of bytes is _______________ .

a. extrication                    c. mapping

b. splitting                       d. serialization

Explanation / Answer

1)Answer:b. Volatile

Explanation:

Most RAM (random access memory) used for primary storage in personal computers is volatile memory. RAM is much faster to read from and write to than the other kinds of storage in a computer, such as the hard disk or removable media.

2)Answer: a. RAM

Explanation:

RAM reffered as Random Access Memory.it is the indespensable short term memory.whic is used to store data and program temporarily for the short period of time.

3)Answer:  d. End()

Explanation:

file class:The File class is intended to provide an abstraction that deals with most of the machine dependent complexities of files and pathnames in a machine-independent fashion.

File class represents the files and directory pathnames in an abstract manner. This class is used for creation of files and directories, file searching, file deletion, etc.

4)Answer:d. sequential

sequential file:sequential file. A file that contains records or other elements that are stored in a chronological order based on account number or some other identifying data. In order to locate the desired data, sequential files must be read starting at the beginning of the file.

5)Answer: a.the file size

The file size is not part of a Filestream constructor.

6)Answer:b. CanExist

CanExist  is not a filestream property.

7)Answer: c. delimiter

Explanation

:A delimiter is a sequence of one or more characters used to specify the boundary betweenseparate, independent regions in plain text or other data streams. An example of a delimiter is the comma character, which acts as a field delimiter in a sequence of comma-separated values.

8)Answer:a. retrieve one line at a time from the file

9)Answer:b. an array of strings

The String class Split() method stores its results in an array of strings.

10)Answer: d. serialization

Explanation:

serialization is the process of translating data structures or object state into a format that can be stored (for example, in a file or memory buffer, or transmitted across a network connection link) and reconstructed later in the same or another computer environment ..