State which of the following are true and which are false. If false, explain why.
1) Searching all records in a random-access file to find a specific record is unnecessary.
2) Records in random-access files must be of uniform length.
3) Member functions seekp and seekg must seek relative to the beginning of a file.
4) Every Entity must have a unique name.
1) True.
2) False. Records in a random-access file normally are of uniform length.
3) False. It is possible to seek from the beginning of the file, from the end of the file and from the current position in the file.
4) True.
You might also like to view...
Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?
a) Reset b) Origin c) Seek d) Beginning
When there are many folders and subfolders involved, ____________________ pathnames can be cumbersome and confusing.
Fill in the blank(s) with the appropriate word(s).
When adding a float property to an element, if you neglect to give it a width, the browser doesn't know how much space to set aside for the element, so the results are predictable.
Answer the following statement true (T) or false (F)
In the figure above, identify the name of the pen icon on the Layers panel labeled "E."
What will be an ideal response?