1.3aFree
Your guide: Miss HiraExplains computers with chai, cricket and your phone.
Ali changes his phone number. He tells the fee office, which updates its file. The library and the exam branch keep their own files, still with the old number. Next week his roll number slip goes to a phone that no longer exists.
A database fixes this by bringing logically related files together, so one fact is kept once and every program uses that one copy.
Step 1 / 7
Ali changes his phone number. He tells the fee office, which updates its file. The library and the exam branch keep their own files, still with the old number. Next week his roll number slip goes to a phone that no longer exists.
A database fixes this by bringing logically related files together, so one fact is kept once and every program uses that one copy.
A database is a collection of logically related data sets or files: a computerized record-keeping system that keeps information available at any time. Its three objectives are data integration, data integrity and data independence.
Q1. Name the component of a database system: (a) the hard disk, (b) the database administrator, (c) backup utilities, (d) students' marks.
hardware · personnel · software · data
Q2. Name the facility: (a) starting an empty file for a new session, (b) entering new admissions, (c) printing one student's details, (d) dropping an old, unused file.
add file · insert · retrieve · remove file
Q3. Which objective does each show? (a) Fee and exam data stored on two campuses but used as one. (b) A student's CNIC kept once. (c) The disk layout changes and no program is rewritten.
integration · integrity · independence
✗ Writing “data interdependence” as an objective.
✓ The book prints “interdependence”, but the idea described is data independence: data and programs can change without forcing each other to change.
✗ Defining a database as one big file.
✓ A database is a collection of logically related files, often of different nature and purpose, managed as one system.
✗ Treating “deleting data” and “removing files” as the same facility.
✓ Deleting removes data from an existing file. Removing takes a whole file out of the database, empty or otherwise.
1. A collection of logically related data sets or files is a:
(c) That is the book's definition of a database.
2. Database administrators belong to which component?
(d) Personnel: programmers/analysts, end users and database administrators.
3. Keeping only one copy of each data item mainly supports:
(a) With one copy, no file can disagree with another, so data stays consistent.
4. Changing how data is organized without re-programming is:
(b) This is data independence (printed as “interdependence” in 1.3.1).
5. Taking an entire unused file out of the database is:
(b) Removing works on whole files, empty or otherwise; deleting works on data inside a file.