0% found this document useful (0 votes)
3 views

15-Introduction-to-Databases-SAMPLE-A-Level

Teach Computer Science offers affordable, high-quality resources for teaching computer science to students aged 11-16 and beyond, suitable for various curricula. The document includes an introduction to databases, their applications, software used for database management, and activities for classroom engagement. Additionally, it provides a glossary, quiz questions, and information about licensing for educational use.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

15-Introduction-to-Databases-SAMPLE-A-Level

Teach Computer Science offers affordable, high-quality resources for teaching computer science to students aged 11-16 and beyond, suitable for various curricula. The document includes an introduction to databases, their applications, software used for database management, and activities for classroom engagement. Additionally, it provides a glossary, quiz questions, and information about licensing for educational use.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Teach Computer Science

Free Sample
THANK YOU FOR DOWNLOADING THIS FREE SAMPLE RESOURCE!
Here, you’ll find a snippet of the module, which you can use to gauge the quality
of our offering, but will also find super useful in the classroom.

Teach Computer Science is an affordable, high-quality offering for teachers and


students alike whether that’s in the classroom, online, or homeschool
environment. You’ll find everything you need to learn or teach a computer
science subject for students aged 11-14, 14-16, and 16+ following any of the UK
examination boards, or any other curriculum from around the world.

If you want the complete module, which contains classroom presentation,


revision notes, quizzes, mind maps, flashcards, activities and answer keys, then
please upgrade to one of our Premium plans and support our quest to make
education affordable for all.

The Teach Computer Science Team

teachcomputerscience.com
Teach Computer Science
A-Level

Introduction to
Databases

teachcomputerscience.com
1.

Revision notes

teachcomputerscience.com
Introduction
A database is an organised collection of data, which allows users to
obtain and process information according to their requirements.
Databases are better storage techniques compared to file systems.
The data is only stored once and, hence, data duplication is avoided.
The data is consistent as the changes need to be made only once.
These changes are then reflected for all the users using the database.

Applications of databases
A database allows the user to store information and analyse it using
query languages. Searching the data is also easier because of a
database. Social networking websites use databases to store data
about their users. Photos and videos uploaded by these users are also
stored with security. An online shopping website uses a database to
store data about its products, customers and orders. The marketing
and sales team also use this database to analyse the sales pattern and
to come up with various measures to improve sales.

Security systems
Social networking websites

Trade management

Applications
of database

Aviation management

Industrial management

Figure 1: Applications of a database


teachcomputerscience.com
Software for databases
Some examples of software for creating and managing databases are:
Microsoft Access, My SQL, Oracle, IBM Db2 and PostgreSQL.
Programming languages such as Python, JavaScript, Microsoft Visual
Basic and Delphi are used to customise and interact with databases.
Query languages such as SQL are used to customise and retrieve
information from the database.

Structured vs. unstructured data


Information that is not structured in a predefined format is called
unstructured data. Data in a notepad is an example of unstructured
data.
Information that is stored in a predefined format, that is, in a
structure, is called structured data. Databases help us to store data in
a structured manner.

Mobile phone
Name Address
number
978315139
24, Front
1
Trevor 9783151391 street,
Lancaster
12, Pimlico
Frederic
820134982 8201349821 Rd,
k
1 Belgravia

Unstructured data Structured data

Figure 2: Structured vs. unstructured


data

teachcomputerscience.com
2.

Activities

teachcomputerscience.com
Activity-1
Duration: 20 minutes

1. An online airline ticket-booking websites process the customer’s


request, shows available flight details with price and prompts the
user to select one of them, books the tickets and sends a copy of
the ticket to customer’s email address.
A. Identify the entities in the above scenario.

A. What relationship exists between these entities? Draw flowcharts


to explain your answer.

teachcomputerscience.com
Activity-1
Duration: 20 minutes

1. An online airline ticket-booking websites process the customer’s


request, shows available flight details with price and prompts the
user to select one of them, books the tickets and sends a copy of
the ticket to the customer’s email address.
A. Identify the entities in the above scenario.

Flight
Passenger
Ticket

A. What relationship exists between these entities? Draw flowcharts


to explain your answer.

Flight Passenger

teachcomputerscience.com
Flashcards
Why is a database a
better storage Data duplication is avoided
technique in databases. Data is also
consistent in databases.
compared to file
systems?

List a few Social networking websites,


online shopping websites,
applications of industrial management,
databases. security systems, etc.

teachcomputerscience.com
Glossary

Attribute A characteristic of an entity.

Composite primary Primary key that consists of more than one


key attribute.

An organised collection of data which allows


Database users to obtain and process information
according to their requirements.

An object in a system for which the


Entity
information is stored.

Field A column of a table.

teachcomputerscience.com
Quiz
1. What is the primary function of a database?
A. To store backup
B. To analyse data
C. To store and organise information

2. Which of the following is TRUE about flat-file databases?


A. A flat-file database has only one table.
B. A flat-file database has many tables that are not related to
each other.
C. A flat-file database has many tables connected to each other
with a relation.

3. Which of the following is a programming language that


customises and interacts with a database?
A. Microsoft Access
B. Microsoft Visual Basic
C. Structured Query Language
D. None of the above

4. Which of the following is a software that is used to create and


manage database?
A. My SQL
B. Oracle
C. Microsoft Access
D. All of the above

teachcomputerscience.com
Teach Computer Science

This resource is licensed under the Creative Commons Attribution-


NonCommercial 4.0 International license.

You are free to:

● Share — copy and redistribute the material in any medium or


format
● Adapt — remix, transform, and build upon the material

Under the following terms:

● Attribution — You must give appropriate credit, provide a link to


the license, and indicate if changes were made. You may do so
in any reasonable manner, but not in any way that suggests the
licensor endorses you or your use.
● NonCommercial — You may not use the material for
commercial purposes.

For more information on this license, visit the following link:

http://creativecommons.org/licenses/by-nc/4.0/

Thank you!

teachcomputerscience.com
Teach Computer Science

Thank you so much for downloading this resource!

We hope it has been useful for you in the classroom and that your
students enjoy the activities.

For more teaching resources like this, don’t forget to come back
and download the new material we add every week!

Thanks for supporting Teach Computer Science. We can provide


teachers with low-cost, high-quality teaching resources because
of our loyal subscribers and hope to serve you for many years to
come.

- The Teach Computer Science Team :)

teachcomputerscience.com

You might also like