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) The STL makes abundant use of inheritance and virtual functions.


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) False. These were avoided for performance reasons.

Computer Science & Information Technology

You might also like to view...

Many times, you cannot find a(n) ____________________ that precisely represents your topic.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A(n) ________ is made up of two parts, the user name of the recipient, and the domain name

A) mail server B) email address C) outbox D) inbox

Computer Science & Information Technology

If you manually enter a task start or finish date, you might create a constraint on that task that restricts Project 2010's ability to reschedule that task.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What are the two ways that SQL injections can cause destruction and create vulnerabilities?

What will be an ideal response?

Computer Science & Information Technology