Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

ICT G8 Worksheet 7

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

NILE EGYPTIAN SCHOOLS

Grade 8 worksheet 7

What’s data base?

A database is an organized collection of data, generally stored and accessed


electronically from a computer system. Where databases are more complex
they are often developed using formal design and modeling techniques.
Why use a database?
1. Databases can store very large numbers of records efficiently (they take
up little space).
2. It is very quick and easy to find information.
3. It is easy to add new data and to edit or delete old data.
4. Data can be searched easily, eg 'find all Ford cars'.
5. Data can be sorted easily, for example into 'date first registered' order.
6. Data can be imported into other applications, for example a mail-merge
letter to a customer saying that an MOT test is due.
7. More than one person can access the same database at the same time
- multi-access.
8. Security may be better than in paper files.
What are Database applications?
Organizations use databases for a variety of reasons:
1. the police have details of all known criminals in a database, eg crimes
they've committed
2. schools use a database to store details about their pupils, eg how many
days they've been off school sick
3. a hospital will store details of all its patients in a database, eg a history of
their health issues
4. the Government uses a database to store records of people's income tax
payments
Understanding Access Databases
• Tables store information. Tables are the heart of any database, and you can create
as many tables as you need to store different types of information.
• Queries let you quickly perform an action on a table.
Usually, this action involves retrieving a choice bit of information
• Forms are attractive windows that you create, arrange, and colorize. Forms provide
an easy way to view or change the information in a table.
• Reports help you print some or all of the information in a table. You can choose
where the information appears on the printed page, how it’s grouped and sorted,
and how it’s formatted.
What are the steps to build a simple data base in Access?
1. Organizing files
2. Create table
3. Create a query

How to Build a Blank Database with MS Access?


1- Create Blank Database
Sometimes database requirements can be so specific that using and modifying
the existing templates requires more work than just creating a database from
scratch. In such case, we make use of blank database.
Step 1 − Let us now start by opening MS Access.

Page 2 of 7
Step 2 − Select Blank desktop database. Enter the name and click the Create
button.

Step 3 − choose the folder where you want to store your database.

Like all Office programs, Access


assumes you want to store every file
you create in your personal
Documents folder. If this isn’t what
you want, click the folder icon to
show the File New Database window,
browse to the folder you want and
then click OK.

Page 3 of 7
Building Your First Table
Once you create or open a database, the Access window changes quite a bit.

• The ribbon appears at the top of your screen, and a Navigation Pane
shows up on the left. You’re now in the control center where you’ll
perform all your
database tasks

• Press Ctrl+S or choose File→Save to save your table.

Access asks you to supply a table name

Page 4 of 7
Before you start designing this table, you need to know some very basic
rules:
• A table is a group of records. A record is a collection of information
about a single thing.

• Each record is divided into fields. Each field stores a distinct piece of
information.

• For example, in the Dolls table, one field stores the person on whom the
doll is based, another field stores the price, another field stores the date
you bought it, and so on.

• Newly created tables get an ID field for free. The ID field stores a unique
number for each record. (Think of it as a reference number that will let
you find a specific record later on.) The best part about the ID field is that
you can ignore it when you’re entering a new record. Access chooses a
new ID number for you and inserts it in the record automatically.

What’s query?
A query is a request for data results, and for action on data. You can use a query to
answer a simple question, to perform calculations, to combine data from different
tables, or even to add, change, or delete table data.
Criteria are the “filters” you add to a query to specify which items are returned when
you run the query.

Page 5 of 7
Text filtering technique, at the run time, the result is fixed
Example:

• Like "*a*": using this criteria, after Run! the records shown will be all that
contain the letter {a} even at the start, end or in the middle
• Like “a*”: using this criteria, after Run! the records shown will be all that
contain the letter {a} only at the beginning of the word

User can determine/specify the value at run time.

Example:

Like “*”&[Enter student name:]&”*” : using this criteria , after Run ! a


message to the user appears to ask him to type the name( or a part of it) to
show, so if the user wrote {a}, the records shown will be : Ahmed , Anas,
Amal , …etc.

Simulation
Important definitions:
Simulation: Computer program which uses a model to provide an
interactive representation of a real-world system

Extrapolation: Producing new results, equivalent to extending a trend


line, beyond the range of known results

Forecast: a calculation or estimate of future events, especially coming


weather or a financial trend

Labels: meaningful names for sprites, costumes, backgrounds and any


other component of a scratch game

Commentary: adding a comment in the script area as a description for the


game for example

Approach: when the sprite come closer to another sprite during the game

Recede: when the sprite go away from another sprite during the game

Titles: name of the game

Credits: names of the crew that finished the project

Page 6 of 7
Example for some scratch games:
Fade effect

Moving scene

Script for the cat sprite:

Script for the background sprite:

Panning scene

Page 7 of 7

You might also like