Storage Quiz: RAM, ROM Related Questions

20 Questions | Total Attempts: 35

SettingsSettingsSettings
Please wait...
Storage Quizzes & Trivia

.


Questions and Answers
  • 1. 
    Random access memory is __________.
    • A. 

      Persistent

    • B. 

      Volatile

    • C. 

      Permanent

    • D. 

      Sequential

  • 2. 
    A collection of data stored on a nonvolatile device in a computer system is a(n) __________.
    • A. 

      Application

    • B. 

      computer file

    • C. 

      Operating system

    • D. 

      Memory map

  • 3. 
    Which of the following is not permanent storage?
    • A. 

      RAM

    • B. 

      A hard disk

    • C. 

      A USB drive

    • D. 

      All of these

  • 4. 
    When you store data in a computer fi le on a persistent storage device, you are __________.
    • A. 

      Reading

    • B. 

      directing

    • C. 

      Writing

    • D. 

      Rooting

  • 5. 
    Which of the following is not a File class method?
    • A. 

      Create()

    • B. 

      Delete()

    • C. 

      Exists()

    • D. 

      End()

  • 6. 
    In the data hierarchy, a group of characters that has some meaning, such as a last name or ID number, is a __________.
    • A. 

      Byte

    • B. 

      Field

    • C. 

      File

    • D. 

      Record

  • 7. 
    When each record in a fi le is stored in order based on the value in some fi eld, the fi le is a(n) __________ file.
    • A. 

      Random access

    • B. 

      Application

    • C. 

      Formatted

    • D. 

      Sequential

  • 8. 
    A channel through which data flows between a program and storage is a __________.
    • A. 

      Path

    • B. 

      folder

    • C. 

      stream

    • D. 

      Directory

  • 9. 
    Which of the following is not part of a FileStream constructor?
    • A. 

      The file size

    • B. 

      The file mode

    • C. 

      The filename

    • D. 

      The type of access

  • 10. 
    When a fi le’s mode is Create, a new fi le will be created __________.
    • A. 

      Even if one with the same name already exists

    • B. 

      Only if one with the same name does not already exist

    • C. 

      Only if one with the same name already exists

    • D. 

      Only if the access is Read

  • 11. 
    Which of the following is not a FileStream property?
    • A. 

      CanRead

    • B. 

      CanExist

    • C. 

      CanSeek

    • D. 

      CanWrite

  • 12. 
    Which of the following is not a fi le Access enumeration?
    • A. 

      Read

    • B. 

      Write

    • C. 

      WriteRead

    • D. 

      ReadWrite

  • 13. 
    A character used to specify the boundary between data items in text fi les is a __________.
    • A. 

      Sentinel

    • B. 

      Stopgap

    • C. 

      Delimiter

    • D. 

      margin

  • 14. 
    Which character can be used to specify a boundary between characters in text fi les?
    • A. 

      A comma

    • B. 

      A semicolon

    • C. 

      Either of these

    • D. 

      Neither of these

  • 15. 
    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 the fi le

    • C. 

      Store one line at a time in a fi le

    • D. 

      split a string into tokens

  • 16. 
    Th e argument to the String class Split() method is __________.
    • A. 

      void

    • B. 

      the number of fi elds into which to split a record

    • C. 

      The character that identifi es a new fi eld in a string

    • D. 

      A string that can be split into tokens

  • 17. 
     Th e String class Split() method stores its results in __________.
    • A. 

      A string

    • B. 

      An array of strings

    • C. 

      an appropriate data type for each token

    • D. 

      an array of bytes

  • 18. 
    A file’s __________ holds the byte number of the next byte to be read.
    • A. 

      Index indicator

    • B. 

      Position pointer

    • C. 

      Header file

    • D. 

      Key field

  • 19. 
    The process of converting objects into streams of bytes is __________.
    • A. 

      Extrication

    • B. 

      Splitting

    • C. 

      Mapping

    • D. 

      Serialization

  • 20. 
    Which of the following is serializable?
    • A. 

      An int

    • B. 

      an array of ints

    • C. 

      A string

    • D. 

      All of the above