Thursday, September 24, 2009

The Fields and the Data Types

The Fields and the Data Types

1. To add new field, one must provide a name to the field. A Field name which consists of spaces, letters or numbers used descriptive name for easy understanding.

2. After deciding what specific field name to use, consider the following:

• Know the kind of value you allow in the field

• Specify the storage space allotted in the field

• The types of operations to be performed on the values of certain field

• Are the values in field can be indexed or sorted

Strategies in Planning a Database

Strategies in Planning a Database

Steps in Planning a Database

1. Determine the purpose of your database.

• Know the information you want for your database and determine what subjects you need to store facts about (the tables) and what facts you need to store about each subject (the fields in the tables).

• Discuss your designed database to the person who will use it. Sketch out the reports you want to produce, and gather the forms you currently use to record you data.

2. Determine the tables you need in the database.

• The information gathered should be analyzed

Example: Information for Students’ Admission

Student no., student name, address, course, year/section, adviser


1232 Montana, Miley Jaguar St. Marikina City BS ComSci IV-B Mrs. Patria Vazques


1233 Guzman, Shaynee Pete St. Angeles City BS Psycho II-A Mr. Lobo Cruz

For this example, you may design your table and name it as menu table like the student information, year and section and its adviser. The above example is just an example only.


• Be sure that the table should not duplicate any information. Each table should contain information about one subject and know what field is need in the table.

3. Identify fields with unique values. In designation of a primary key, uniqueness must be guarantee.

Primary key is a field or a set of fields that identifies individual records in a unique way.


4. Re-examine what fields will go into your database. Define the Data type and properties so that the fields form an accurate description of types of data needed in the database.




Designing a Database

Designing a Database

The Database Objects

• Table a collection of stored data that is organize into fields. It consists of organized data into column and rows.

Record – a row represents a set of information.

Field – a column represents a specific of information.

• Query it filters a database to change, view, and analyze records in different ways to meet specific criteria used to retrieve a specific group of record from a table.

Dynaset is the resulted output.

• Form it is where you can enter a new record, study existing data, view data from a table or a query, or simply print information or any combination of these tasks.

• Report it is a carefully organized presentation of data from a table of query. It can show group of data with subtotals and totals from a summary of information from a table or query. One can print the data in acceptable manner, which is easier to read using report, but you cannot edit data in it.

Data Types Processing Files

Data Types Processing Files

• Master File, a file consists of permanent or semi-permanent data consolidated for referencing and updating. It updated to reflect the status of the data contents like Stock Master File, Payroll Master File and others.

• Work File a temporary file used in sorting of immediate data for further processing.

• Transaction File a file that contains source data or transaction data about recorded events used to update the master file.

Example:

Sales transaction file used to update the stock master file

• Security or Backup File a backup copy of a file to safeguard against damaged or loss of current, versions.

• Transition File a temporary file created during processing for a specific use like customer details extracted from master and transaction files to form a statement detailed file. It is use for printing of monthly customer statements.

• Audit File a particular type of transactions file that enables the auditor to check the correct functioning of computer-based procedures by keeping a copy of all transactions that cause permanent files to be changed.

Wednesday, September 23, 2009

Ways to Retrieve Information

Ways to Retrieve Information

To retrieve information is one of the file processing methods, which aim to produce accurate and useful information.
• Retrieval it is the act of transferring a record from secondary storage to main memory to access data within a fields
• Insertion it is the process of adding a new record to an existing files
• Writing it is the process of transferring records from main memory to secondary storage
• Updating it makes changes to the contents of a record maintained on a file to reflect its new status
• Merging it could be a record merging or a file merging. It is a combination of two or more files in same sequence into a single output file
• Sorting it is the act of rearranging the records in a file to produce ordered reports
• Searching to satisfy specific criteria that involves looking for records with a certain key value
• Matching is to compare two or more records against other records in order to ensure that there is a complete set of records for each key. Mismatch records highlighted for subsequent action.

The File Organization

The File Organization

What is a File Organization?

File organization is a physical arrangement of data using storage devices such as magnetic tapes or discs, and organized in different ways and different methods of accessing its records.


Types of Files

• System Files, It is an operating system program where data files holds data that is related to applications software; such as memo you typed using word processing software.
-is used to start the computer system, and provides services. It controls software and files as you proceed. It creates a command that invokes the program name if you need to use the operating system files directly.
• Application Software Files, It is software needed for a specific application such as word processing. Data files uses applications supply input data, or use to store files you created.
• Data Files are the input data created in school or company; but most users deal with output data files mostly considered as personal data files on diskettes wherein the user has an exclusive control to use, to delete, or do what he wants.

Components of database Environment

Components of database Environment

1.Application Programs, It is used to create and maintain the database that provides information to its users.
2.Repository, It contains all screen and report formats, all data information, and definition of other organizations, and systems components which is the centralized knowledge base.
3.User Interface, These are languages, menu, and other facilities wherein the users interact with various system components.
4.Database Management System (DBMS), a commercial program that is used to create and maintain the database. It provides information to the users.
5.System Developers, These persons design and develop new applications program such as programmers and system analysts.
6.Data Administrators, Persons who are responsible for the overall information from it.
7.End Users, These are the persons within the organization who operate and modify the data in the database, and who request or receive information from it.