Exam 21: Advanced Input/Output
Exam 1: Introduction76 Questions
Exam 2: Using Objects82 Questions
Exam 3: Implementing Classes108 Questions
Exam 4: Fundamental Data Types124 Questions
Exam 5: Decisions119 Questions
Exam 6: Loops107 Questions
Exam 7: Arrays and Array Lists117 Questions
Exam 8: Designing Classes88 Questions
Exam 9: Inheritance99 Questions
Exam 10: Interfaces100 Questions
Exam 11: Input/Output and Exception Handling108 Questions
Exam 12: Object-Oriented Design104 Questions
Exam 13: Recursion99 Questions
Exam 14: Sorting and Searching100 Questions
Exam 15: The Java Collections Framework102 Questions
Exam 16: Basic Data Structures102 Questions
Exam 17: Tree Structures102 Questions
Exam 18: Generic Classes75 Questions
Exam 19: Stream Processing85 Questions
Exam 20: Graphical User Interfaces75 Questions
Exam 21: Advanced Input/Output90 Questions
Exam 22: Multithreading81 Questions
Exam 23: Internet Networking74 Questions
Exam 24: Relational Databases75 Questions
Exam 25: XML74 Questions
Select questions type
Fill in the blank in the following code snippet that displays the names of directories in the current directory.

(Multiple Choice)
4.9/5
(39)
Assume we have a RandomAccessFile object, file, which stores a set of records of class MyData, each needing MyData.RECORD_SIZE bytes for storage.If the file pointer is currently on the 24th record, which expression represents the offset to the beginning of the 25th record?
(Multiple Choice)
4.9/5
(33)
Which methods are not in the Serializable interface?
i.readObject
II.writeObject
III.serializeObject
(Multiple Choice)
4.7/5
(37)
A Caesar cipher uses a shift of each character by a key with a value between 1 and 255.An a with a shift of 3 becomes a d.For the encrypt method below, select the correct body.Assume the key shift property is accessible to the method.
public int encrypt(int b)
{
__________
}
(Multiple Choice)
4.8/5
(41)
Fill in the blank in the following code snippet that displays the directory structure for the current directory, i.e., including the descendants of the current directory that are directories.

(Multiple Choice)
4.7/5
(37)
Which interface allows classes to be written to an ObjectOutputStream?
(Multiple Choice)
4.9/5
(36)
Fill in the blank in the following code snippet that filters log warning messages to a file.

(Multiple Choice)
4.7/5
(38)
If you store information in binary form, as a sequence of bytes, you will use the ____ class(es) and their subclasses.
(Multiple Choice)
4.9/5
(35)
The read method of the FileInputStream class reads binary data.What type is actually returned from a call to read?
(Multiple Choice)
4.7/5
(30)
A Caesar cipher uses a shift of each character by a key with a value between 1 and 255.An a with a shift of 3 becomes a d.A z with a shift of 3 would become a c, wrapping around the alphabet.Which is the decryption of exmmv for a key = -3?
(Multiple Choice)
4.9/5
(45)
Which method in the RandomAccessFile class provides for random access?
(Multiple Choice)
4.8/5
(30)
What is the highest value for a signed (negative and positive) byte?
(Multiple Choice)
4.8/5
(41)
A Caesar cipher uses a shift of each character by a key with a value between 1 and 255.An a with a shift of 3 becomes a d.A z with a shift of 3 would become a c, wrapping around the alphabet.Which key should you use to encrypt picture into mfzqrob?
(Multiple Choice)
4.9/5
(34)
A Caesar cipher uses a shift of each character by a key with a value between 1 and 255.An a with a shift of 3 becomes a d.A z with a shift of 3 would become a c, wrapping around the alphabet.Which is the encryption of picture for a key = -3?
(Multiple Choice)
4.9/5
(43)
Which statement reads the configuration file named config.txt into a collection for later processing?
(Multiple Choice)
4.7/5
(43)
Showing 61 - 80 of 90
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)