Skip to main content

Posts

Showing posts from April, 2026

Concept of file management (OS)

5.1 Introduction to file management File management is a critical function of an operating system (OS) that allows users to store, retrieve, organize, and manipulate files efficiently. It ensures efficient handling of files, enabling the creation, reading, updating, and deletion of files. A file management system has limited capabilities and is designed to manage individual or group files, such as special office documents and records. It may display report details, like owner, creation date, state of completion and similar features useful in an office environment. A file management system is also known as a file manager. 5.2 File naming, file operations, file extension and file system layout File Naming Descriptive file names are an important part of organizing, sharing, and keeping track of data files. Develop a naming convention based on elements that are important to the project. File naming best practices: ●         Files should be ...

I/O and Java Applets

7.1 I/O Stream in Java In Java, an I/O stream (short for Input/Output stream) is a fundamental concept used for reading data from and writing data to various sources and destinations, such as files, network connections, or memory. It provides a way to transfer data in a sequential and consistent manner, regardless of the source or destination. I/O streams are typically categorized into two main types:             Input Streams: These streams are used for reading data from a source. They allow you to retrieve data from various sources, like files, keyboard input, or network sockets. Some common classes that represent input streams include FileInputStream , BufferedInputStream , and ObjectInputStream .                           Output Streams: These streams are used for writing data to a destination. The...