1.
Write a Java program to read a student’s name, roll number, and marks from the
keyboard and display them in a formatted manner on the console using BufferedReader
and InputStreamReader.
2. Write a Java program to display a neatly formatted multi-line address on the console
using character stream output with OutputStreamWriter and BufferedWriter.
3. Write a Java program to read the contents of a text file and write the same content into
another file after converting all characters to uppercase using FileReader and
FileWriter.
4. Write a Java program to copy the contents of one file to another file such that both text
and binary files are copied correctly using FileInputStream and FileOutputStream.
5. Write a Java program to store student roll number and marks in a binary file and then
read and display the stored data using DataOutputStream and DataInputStream.
6. Write a Java program to redirect the standard output to a file, write program output into
that file, and then restore output back to the console using PrintStream.
7. Write a Java program to generate a formatted student result report file containing
headings, aligned columns, total marks, and grade using PrintWriter.