The prgm below discusses the disk usage and login names of different users:
printf("total disk space of the partition: %ld MB
\n",((stat.f_bsize)*(stat.f_blocks))/(1024*1024));
printf("total free disk space of the partition: %ld MB
\n",((stat.f_bsize)*(stat.f_bfree))/(1024*1024));
printf("total used disk space of the partition: %ld MB
\n",((stat.f_bsize)*(stat.f_blocks-stat.f_bfree))/(1024*1024));
break;
case 5:
fp=fopen("/etc/passwd","r");
printf("the login names of the connected users:\n ");
do
{
p=fgetpwent(fp);
if(p!=NULL)
{
printf("%s \n",p->pw_name);
count++;
}
else;
}while(p!=NULL);
printf("the number of connected users: %d \n",count);
break;
Library System Project The library at the University stores different items that can be borrowed, including...
This project supposed to develop a database system for a library for a university. The system contains information about books, book authors, students, and faculty. Students and faculty are allowed to borrow books from the library. You should design the system to contain entities and attributes to store data that makes the system able to report the requested information by executing the queries. SQL Queries: 1. List the names and email for students who borrowed books along with the number...
This case is a simplified (initial draft) of a new system for the University Library. Of course, the library system must keep track of books. Information is maintained about both book titles and the individual book copies. Book titles maintain information about title, author, publisher, and catalog number. Individual copies maintain copy number, edition, publication year, ISBN, book status (whether it is on the shelf or loaned out), and date due back in. The library also keeps track of patrons...
Design an ER diagram for a library management system. The library manages books, members, and books borrowed by members. The library has several branches around the city. Each branch has a name and address and is identified by a branch ID. Each book in the system is identified by a unique ISBN along with its title, author(s), and publisher. A publisher is identified by its name, address, and phone. Note that publishers may be based anywhere around...
Design an ER diagram for a library management system. The library manages books, members, and books borrowed by members. The library has several branches around the city. Each branch has a name and address and is identified by a branch ID. Each book in the system is identified by a unique ISBN along with its title, author(s), and publisher. A publisher is identified by its name, address, and phone. Note that publishers may be based anywhere around...
Case Study:UniversityLibrarySystem This case is a simplified (initial draft) of a new system for the University Library. Of course, the library system must keep track of books. Information is maintained about both book titles and the individual book copies. Book titles maintain information about title, author, publisher, and catalog number. Individual copies maintain copy number, edition, publication year, ISBN, book status (whether it is on the shelf or loaned out), and date due back in. The library also keeps track...
Can somebody help me with the Use Case Diagram . I am confused of what I am suppose to do. Here are the instructions : Your team should produce a Use Case Diagram and the associated Use Case Descriptions/Narratives for all the use cases in the diagram. The resulting document should havethe “professional look” and produced by a word processor, graphics/presentation/drawing software, and/or a CASE tool (e.g., Microsoft Word, Microsoft PowerPoint, ArgoUML, Dia, Visual Paradigm, Visio, etc.). All project documentation...
Java Lab Exam Example You are asked to develop a Library system demo for the librarian. The system should allow the following functions: 1. Check-in Books a. The system will request users to input the following fields information about books i. Title ii. Price iii. Number of copies to be checked in b. Notes and hints: i. There should have no limit of how many books to be checked in at a time. ii. You can use JOptionPanel or any...
The CIS Department at Tiny College maintains the Free Access to
Current Technology (FACT) library of e- books. FACT is a collection
of current technology e-books for use by faculty and students.
Agreements with the publishers allow patrons to electronically
check out a book, which gives them exclusive access to the book
online through the FACT website, but only one patron at a time can
have access to a book. A book must have at least one author but can...
In this project, you will construct an Object-Oriented framework for a library system. The library must have books, and it must have patrons. The patrons can check books out and check them back in. Patrons can have at most 3 books checked out at any given time, and can only check out at most one copy of a given book. Books are due to be checked back in by the fourth day after checking them out. For every 5 days...
Valley View Town Library has grown to a stage where, due to the increased number of loans, it is becoming increasingly difficult to maintain accurate records manually. Your company has been approached to design a suitable system to handle the required functionality of this system. Discussions with the head librarian, Mr. Lachlan Ward have resulted in the specific requirements of this system which have been detailed in the following paragraphs. Before people can borrow books from the library, they must...