Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Big Java Binder Early Objects
Quiz 20: Streams and Binary Inputoutput
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
Which line completes this code fragment to define a text file named txtfile for reading? ____________________________________________________ String line = scan.nextLine() ;
Question 2
Multiple Choice
Which of the following statements enables you to write output to a text file?
Question 3
Multiple Choice
Which class is used for input of text data?
Question 4
Multiple Choice
Which of the following reads binary data from a disk file?
Question 5
Multiple Choice
You use _________ and FileOutputStream objects to write data to a disk file in text or binary form respectively.
Question 6
Multiple Choice
Which file storage method is in human-readable form?
Question 7
Multiple Choice
Which is an advantage of storing numbers in binary format? I fast access II less storage needed III easy to read in a text editor
Question 8
Multiple Choice
The ____ class is used when writing text files.
Question 9
Multiple Choice
Which file storage method stores data in bytes?
Question 10
Multiple Choice
A byte is composed of ____ bits and can denote ____ values.
Question 11
Multiple Choice
To read text data from a disk file, you should create a(n) ____________________ object.
Question 12
Multiple Choice
Which line completes this code fragment so it creates a text file called "mychars.txt" and writes the characters 'A', 'B', and 'C' into the file? _____________________ Fw) write('A') ; Fw) write('B') ; Fw) write('C') ;