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

1. random access memory is? a. persistent b. volatile c. permanent 2. which of t

ID: 3820820 • Letter: 1

Question

1. random access memory is?
a. persistent
b. volatile
c. permanent
2. which of the following is not permanent storage?
a. ram
b. a hard disk
c. a usb drive
d. All of these
3. which of the following is not a file class method?
a. create ()
b. delete ()
c. exists ()
d. end ()
4. when each record in a file is stored in order based on the value in some field, the file is a(n) ______ file?
a. random access
b. application
c. formatted
d. sequential
5. which of the following is not part of a filestream constructor?
a. the file size
b. All file mode
c. the filename
d. the type of access
6. which of the following is not a filestream property?
a. canread
b. canexist
c. canseek
d. canwrite
7. a character used to specify the boundary between data items on text files is a________?
a. sentinel
b. stopgap
c. delimiter
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
b. retrieve one character at a time from a file
c. store one line at a time in a file
d. split a string into tokens
9. the string class Split() method stores it's results in?
a. a string
b. and array of Strings
c. an appropriate data type for each token
d. an array of bytes
10. the process of converting objects into streams of bytes is?
a. extraction
b. splitting
c. mapping
d. serialization

Explanation / Answer

1) volatile because if system power has gone then data loss from ram so it is volatile.

2) Ram is not permanent storage

3) end () is not file class method

4)sequential

5)The file size is not part of filestream constructor. so (a) is right

6) b option is right because canexist is not property of filestream

8) a option is right retrive on line at a time from a file

9) array of strings

10 )serialization