Skip to main content

Posts

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 ...
Recent posts

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...

JAVA PRACTICAL

  Write a program to find simple interest of any principal amount taking all input from user. 2. Write a program to find the sun of n natural numbers and also find the average of those. 3. Writre  program to display whether the year entered by user is leap year or not. 4. Write a program to find find whether the number entered by user is palindrome or not. 5. Write a program to find the smallest among 3 numbers. 6. Write a program to print the factorial of numbers. 7. Write a program to print multiplication table of any numbers. 8. Write a program to print the fibonacci series upto n numbers. 9.  Develop a  Student Result Processing System  that takes a student’s name and marks of five subjects, then calculates the total and percentage. If any subject mark is below 40, the student is  Fail . Otherwise, assign division based on percentage: 80%+ Distinction, 60–79 First, 50–59 Second, 40–49 Third.  Finally, display total, percentage, division, and Pass/F...

Unit-6 Linux

 Introduction LINUX  is an operating system or a kernel distributed under an open-source license. The kernel is a program at the heart of the Linux operating system that takes care of fundamental stuff, like letting(permit) hardware communicate with software. Linux is Unix-like operating system (OS) that was first created by Linus Torvalds in 1991   Basic Features Following are some of the important features of the Linux Operating System. ●         Portable  − Portability means software can works on different types of hardware in same way. Linux kernel and application programs supports their installation on any kind of hardware platform. ●         Open Source  − Linux source code is freely available and it is community based development project. Multiple teams work in collaboration to enhance the capability of Linux operating system and it is continuously evolving. ●  ...