Question
Question 1 3 pts (TCOs 1, 5, and 6) Which of the following classes is NOT used for file input? BufferedWriter FileReader FileInputStream Formatter Question
Question 1 3 pts (TCOs 1, 5, and 6) Which of the following classes is NOT used for file input? BufferedWriter FileReader FileInputStream Formatter
Question 2 3 pts (TCOs 1, 5, and 6) Which is not a device for long-term retention of data? System memory Hard disks DVDs Flash drives
Question 3 3 pts (TCOs 1, 5, and 6) When reading a sequential file, the data will be read in alphabetical order. in the order in which it was written. in binary order. in random order.
Question 4 3 pts (TCOs 1, 5, and 6) Many file operations in Java require the use of a for loop. if statements. try/catch block. switch statement.
Question 5 3 pts (TCOs 1, 5, and 6) Which JFileChooser method returns the file the user selected? getSelectedFile getFile getOpenDialog showOpenDialog
Question 6 3 pts (TCOs 1, 5, and 6) In a three-tier architecture, operations relating to user interaction with the application are placed in the _____ tier. presentation business rules data It depends on the application
Question 7 3 pts (TCOs 1, 5, and 6) Which type of exception occurs if the file cannot be created by a FileWriter object? FileError FileException FileIOException IOException
Question 8 3 pts (TCOs 1, 5, and 6) A string with delimiters can be parsed into separate fields using the _____ class. StringParse ParseString StringTokenizer TokenizeString
Question 9 3 pts (TCOs 1, 5, and 6) Streams that input bytes from and output bytes to files are known as bit-based streams. byte-based streams. character-based streams. unicode-based streams.
Question 10 3 pts (TCOs 1, 5, and 6) A(n) _____ path contains all directories that lead to a certain file or directory, starting with the root directory. absolute relative parallel comparative
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started