Question

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

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

0 0
Add a comment Improve this question Transcribed image text
Answer #1

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 ..

Add a comment
Know the answer?
Add Answer to:
Random access memory is _________________ . a. Persistent                    c. permanent b....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. What characteristic of Random Access Memory (RAM) memory makes it NOT suitable for permanent storage?...

    1. What characteristic of Random Access Memory (RAM) memory makes it NOT suitable for permanent storage? O A. Too slow O B. Unreliable ° C. It is volatile D. Too bulky

  • QUESTION 1 Match the following: an SQL command that retrieves data A. Communicate B. RETRIEVE C....

    QUESTION 1 Match the following: an SQL command that retrieves data A. Communicate B. RETRIEVE C. exception D. ReadFile E. STORE F. array G. try - catch block H. Connection I. Disconnect0) J. StreamReader K. Respond L. SQL M. Fork N. Query O. BlowUp P. SELECT Q. Close0 R. StreamWriter S. WriteFile T. UPDATE an SQL command that changes data ., class that can be used to read data from a file , establishing communication with a database a method...

  • In this lab you will write a spell check program. The program has two input files:...

    In this lab you will write a spell check program. The program has two input files: one is the dictionary (a list of valid words) and the other is the document to be spellchecked. The program will read in the words for the dictionary, then will read the document and check whether each word is found in the dictionary. If not, the user will be prompted to leave the word as is or type in a replacement word and add...

  • Let’s build a dynamic string tokenizer! Start with the existing template and work on the areas...

    Let’s build a dynamic string tokenizer! Start with the existing template and work on the areas marked with TODO in the comments: Homework 8 Template.c Note: If you turn the template back into me without adding any original work you will receive a 0. By itself the template does nothing. You need to fill in the code to dynamically allocate an array of strings that are returned to the user. Remember: A string is an array. A tokenizer goes through...

  • The Tokenizer.java file should contain: A class called: Tokenizer Tokenizer should have a private variable that...

    The Tokenizer.java file should contain: A class called: Tokenizer Tokenizer should have a private variable that is an ArrayList of Token objects. Tokenizer should have a private variable that is an int, and keeps track of the number of keywords encountered when parsing through a files content. In this case there will only be one keyword: public. Tokenizer should have a default constructor that initializes the ArrayList of Token objects Tokenizer should have a public method called: tokenizeFile tokenizeFile should...

  • Please Help in C#, Let me know if you have any questions. Please make sure the...

    Please Help in C#, Let me know if you have any questions. Please make sure the program passes the checks Checks: Question: My code works, it just this needs to be added there which I don't know what I need to do.    In order to prepend the $ to currency values, the program will need to use the CultureInfo.GetCultureInfo method. In order to do this, include the statement using System.Globalization; at the top of your program and format the output...

  • Complete the following java program in which infix expressions should be converted to postfix expressions /**...

    Complete the following java program in which infix expressions should be converted to postfix expressions /** * An algebraic expression class that has operations such as conversion from infix * expression to postfix expression, * and evaluation of a postfix expression */ public class Expression { /** * The infix of this expression */ private String infix; /** * Constructs an expression using an infix. */ public Expression(String infix){ this.infix = infix; } /** * Converts an infix expression into...

  • For this assignment, you will use your knowledge of arrays and ArrayLists to write a Java...

    For this assignment, you will use your knowledge of arrays and ArrayLists to write a Java program that will input a file of sentences and output a report showing the tokens and shingles (defined below) for each sentence. Templates are provided below for implementing the program as two separate files: a test driver class containing the main() method, and a sentence utilities class that computes the tokens and shingles, and reports their values. The test driver template already implements accepting...

  • Review Questions 1. Which of the following opens the employ.txt file and allows the computer to...

    Review Questions 1. Which of the following opens the employ.txt file and allows the computer to write new data to the end of the file's existing data? a. outFile = IO.File.AddText("employ.txt") b. outFile = IO.File. AppendText("employ.txt") c. outFile = 10.File. InsertText("employ.txt") d. outFile = IO.File.WriteText("employ.txt") If the file to be opened exists, which method erases the file's contents? a. Append Text c. Insert Text b. Create Text d. Open Text Which of the following reads a line of text from...

  • Zander Inc. stores employee IDs and salaries in a sequential access file named Employees.txt. Open the...

    Zander Inc. stores employee IDs and salaries in a sequential access file named Employees.txt. Open the VB2015\Chap10\Zander Solution\Zander Solution (Zander Solution.sln) file. Open the Employees.txt file, which is contained in the project’s bin\Debug folder. The ID and salary information appear on separate lines in the file. Close the Employees.txt window. a. Define a structure named Employee. The structure should contain two member variables: a String variable to store the ID and a Double variable to store the salary. b. Declare...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT