Vous êtes sur la page 1sur 4

Data Handling Worksheet

In this homework task you will need to research words that are important to know if you are to gain a
good understanding of Data handling.

1. Define the following data base terms and give an example of each.
Words

Definition

Example

Field

A field in a database is a column of data about the


same thing

STUDENT ID

Record

represents a single item in a table.

Science experiment

Validation They are rules to restrict what users can enter in a


Rule
given field and help ensure that your database users
enter the proper types or amounts of dat
Data Type Data types shows the type/kind of information that
will be stored in the field, it must be accurate as
inaccurate data type will cause problems when you
try to run a query later .

Number, text

Primary
key

Students table

A field with a unique value for each record stored.

2. Name one company that displays contents of their database on their website and allow users to
use this database. Given an example of how a user interact with the database:
For example: Facebook uses a database to store information (name, friends, wall update) about
its users. Users interact with the database when they add a new friend.

Company Name:
Instagram , twitter (skype)
User interaction:
Users interact by following people, also by putting their old email when login in/sign in . Also by
posting/adding new posts of them.( for skype: people put their old emails to sign in and they pu
their numbers)

Computing Department

Computing Department

3. Most online database use e-mail address as a primary key, why is this a good choice for the
primary key:
The primary key is gruped by default and it can be be a unique email address/ or popoular.

4. Research what is the difference between validation and verification, and write in your own
words?
The difference between validation and verification is that the validation determinates the correctness
of the products with respect to the user needs and wants but verification determinates the
correctness of the product with respect to the test conditions/requirement at the start.

5. Based on the table below, write a validation rule that will ensure that the user can only enter
LA or ED in the Category field.

Validation Rule: all of them must have a name, category , type, location, postcode , region and
phone number.

6. Before we had electronic databases, companies used paper-based databases. List and explain
two advantages of electronic databases over paper based database.
Can hold a vast amount of data (electronic database) but paper-based database is Limited by
physical storage space available . Also electronic database you can edit it easily but not paper-bases
database . Also electronic database can sum your totals automatically but not in paper-based
database . Also electronic database , you can keep it safe , it is not easy to be stolen but a paperbased database can get stolen easily .Also in paper-based you can forgot to copy something and
then you have start all over again but not electronic database because you can edit it and make
space for it .

Computing Department

7. The picture below is from a popular online auction website, complete the data structure table
that this company could use to produce this listing.

Field Name
Item
Number

Data Type

Field Size

Possible Validation

Text(Alpha numeric)

Not Null / Primary


Key
Primary key

Item Name
Picture
Unit Price
Condition
Type
Storage
Capacity
Postage

4 9.7
ipad

Text
new
Tablet
GB

395.22
9
9
16

Free P&P

Computing Department

Vous aimerez peut-être aussi