When working with random access files, the ____ function resets the current position to the start of the file.

A. rewind()
B. reset()
C. fseek()
D. flush()


Answer: A

Computer Science & Information Technology

You might also like to view...

Carefully identify, define each term and give differences between the implementation and the interface of an abstract data type (ADT). This requires a bit more writing of English than other question on this test.

What will be an ideal response?

Computer Science & Information Technology

What will be the result of the following statements?

``` FileInputStream fstream = new FileInputStream("Input.dat"); DataInputStream inFile = new DataInputStream(fstream); ``` a. The inFile variable will reference an object that is able to read random access data from the Input.dat file. b. The inFile variable will reference an object that is able to read text data from the Input.dat file. c. The inFile variable will reference an object that is able to read binary data from the Input.dat file. d. The inFile variable will reference an object that is able to write binary data to the Input.dat file.

Computer Science & Information Technology

Which of the following is NOT a typical scenario for using Client Hyper-V?

A. to make use of old workstations with few resources B. testing updates to the OS C. to provide app compatibility with older apps D. to run an alternate operating system

Computer Science & Information Technology

Which layer does wireless communication rely heavily upon?

A. MAC sublayer of the Network layer B. MAC sublayer of the Data Link layer C. LLC sublayer of the Data Link layer D. LLC sublayer of the Transport layer

Computer Science & Information Technology