You are on page 1of 17

Contents

1. Database Management System (DBMS) 7 Adding Images


What is a database? Hyperlinks on the Web Page
Elements of a database Inserting Horizontal Rule
Database Management System (Dbms) Inserting Audio and Video Files
Advantages of Dbms Adding Lists
2. Introduction to MS Access 2010 13 Adding Tables on a Web Page
What is MS Access? Worksheet and Projects—2 91
Ms Access 2010 user interface
7. Introduction to Photoshop CC 94
Data types in Ms Access 2010
Photoshop CC
Primary key of a table
Starting Adobe Photoshop
Getting started with Access 2010
Creating a new file
Creating a database
Saving a file
Opening an existing database
Photoshop CC tools panel
Saving a database
Changing the background and foreground
Closing Ms Access 2010
colours
3. Working with Tables in MS Access 27 Inserting an image
2010 Table creation views Selection tools
Field properties Working with images
Creating table in existing database Drawing and painting tools
Setting the primary key
8. More on Photoshop CC 116
Entering data in a table
Retouching tools
Modifying table design
Layers in Photoshop
Calculated field
Text in Photoshop
Lookup field Using filters
4. Advanced Features of MS Access 2010 38
Worksheet and Projects—3 133
Performing calculations
Sorting data 9. More on Windows Movie Making 135
Filtering data Adding visual effects
Searching for data Transitions
Queries Pan and zoom effect
Forms Working with audio
Reports 10. Latest Technological Devices 144
Worksheet and Projects—1 51 Tablets
Electronic readers (E-readers)
5. Lists, Images and Tables in HTML 53
Smartphones
Creating lists Wearable technologies
Images
Worksheet and Projects—4 153
6. Introduction to Dreamweaver CC 71
Assessments 155
Cloud Computing Creative
Cloud Adobe Revision Questions 160
Dreamweaver CC Starting National Cyber Olympiad 164
Dreamweaver CC
Components of Dreamweaver Document Updates 172
Window Poster
Saving the Web Page
Adding a New Web
Page Add Text
1 Database Management
System (DBMS)
Learning Objectives

By the end of this chapter you should be able to


 understand what is a database.

 learn about the elements of a database.

 understand the advantages of DBMS.

 understand MS Access.

 Know about the components of MS Access.

 Understand how to create, open ,save and close MS Access.

Warm Up:

Answer the following questions in YES or NO

S. Question Yes or No
No.
1 DBMS is a collection of
interrelated data
2 DBMS is System software.
3 In DBMS data is stored in
Table
4 In DBMS data is stored in
Table
5 We can store alphabetic and
numeric values in data
base.
6 Table does not have a
primary key.
7 MS Access 2010 is a data
base in MS Office Package
8 Number is the default data
type of MS Access 2010
9 Data Store in the column of a
table is called attribute
10 Data Stored in the table once,
cannot be removed.
Introduction

You know that data is a collection of facts and


figures which are processed to produce relevant
and useful information. For example, based on the
marks obtained by the students of a class, you can
find out the name of the student who topped the
class and also the low scorers of the class. If you
look around, you will notice that data is being
maintained and processed everywhere. At home,
your mother maintains the account
of monthly expenditure. Your school maintains Account

data of students’ personal details, academic


result, co-curricular achievements and fee
account. At a grocery store, the stock of items is
being maintained and so on. In the same way, you
should also maintain a record of the pocket
money that you spend. In simple terms, data has
to be maintained everywhere.

WHAT IS A DATABASE?

A database is an organized collection of data which is related in some aspect. Database is a


collection and presentation of information that one can easily retrieve at any time and in any
form. For example, in the contacts folder of a mobile phone, the data is organized
alphabetically which helps us in searching anybody’s mobile number easily. The data in the
database also needs to be updated regularly so that information retrieved is up-to-date.
Thus, we can say that a database is an electronic filing system which is fast and efficient.

YOU SHOULD KNOW:


Dr. E F Codd is known as the father of DBMS
ELEMENTS OF A DATABASE

A database consists of the following three elements:


(a) Table (b) Field (c) Record

Table

A table is the primary unit of storage of data in a database. The Word web
data in a table is organized in the form of rows (called records)
and columns (called fields). Also, a database might contain Constraints: conditions
multiple tables which are further related to each other. Tables that the fields in the table
store data that the user needs to access. When a user have for ensuring data entry
accesses the database, a table is usually referred to for the of specific type only
desired data. Tables might also have constraints attached to
them which regulate the entry of data into a table.
For example, in the table titled ‘RESULT’ shown below, the marks of the students are
stored in the form of rows and columns.
Fields

Roll No Name Marks Percentage


Records
1 Anju 48 96
2 Amit 40 80
3 Mamta 42 84
4 Shashi 35 70
RESULT

Field

A field is a column inside a table that contains only one specific category of information. It is
the smallest logical structure of storage in a database. For example, in the table titled
‘RESULT’ shown above, Roll No is a field containing only the roll numbers of students.
Similarly, Name, Marks and Percentage are the fields that contain information of a particular
type only. All these are fields of the table. Each field in a table is assigned a data type and
this data type determines what type of values can be stored in that field.

Record

A record is a collection of all the fields in a table for a particular data entity. In simple terms, a
row of data in a table defines information about one entity and gives all details about it. For
example, in the table ‘RESULT’, there are four rows, that is, four records. Each row gives
information about one student. The number of rows within a table can be modified by adding
or deleting records.

NOTES:
FILE : A file is a collection of related records
DATABASE MANAGEMENT SYSTEM (DBMS)

A database management system is a software that helps to manage large amount of data. It
involves creating, modifying, deleting and adding data in database in such a way that users
can retrieve and manipulate data efficiently and quickly. DBMS allows users to create their
own database according to their requirements.
Some examples of DBMS are Microsoft Access, MySQL, Oracle, FoxPro, etc.

Advantages of DBMS

1.Enables better data access and response: The DBMS helps to create an environment that
enables the end users to have better access to better-managed data. Such access makes it
possible for end users to respond quickly to the changes in their environment and also makes
it possible to produce quick answers to ad hoc
queries.
2. Better data security: The risks of data security Word web: QUERY
breaches increase as more people access the data. A A query is a specific
DBMS provides a framework for better enforcement of
request issued to the
data privacy and security policies to ensure safety and
proper use of data. DBMS for data
manipulation.
3. Improved data integration: Well-managed data gives a
wider access and promotes an integrated view of the
organization’s operations. It becomes much easier to see how actions in one segment affect
other segments of the organisation. This enables the user to have a clearer view of the big
picture.
4. Minimizes data inconsistency: When different versions of the same data appear in different
places data inconsistency occurs. For example, when a company’s department A stores a sales
representative’s name as “Mr. S. Sharma” and the company’s department B stores that same
person’s name as “Mr. Sidhant Sharma,” or when a company’s regional sales office shows the
price of a product as Rs.50 and its national sales office shows the same product’s price as
Rs.45. Thus, a properly designed database reduces the probability of data inconsistency greatly.
5. Improved decision making: Data quality is a comprehensive approach to promoting the
accuracy, validity, and timeliness of the data. Thus, Well organised data and better data access
generate better-quality information, on which better decisions are based. While the data quality is
not guaranteed by the DBMS, it provides a framework to facilitate data quality initiatives.

6. Increased end-user productivity: The well managed data available, combined with the tools
that transform it into usable information, empowers the end users to make quick, informed
decisions that can result in the success or failure in the global economy

9
WHAT IS MS ACCESS?

MS Access is a Relational Database Management System (RDBMS) which provides a


simple yet robust way to manage data. The data in MS Access is stored in the form of tables
and is arranged in the form of rows (records) and columns (fields).
There are multiple tables in an Access database and relationships are created between
these tables using common fields. You can add, update, delete and view data from these
related tables using forms. You can also retrieve data from the tables using queries and
print them in the desired format using reports.

You Should Know

MS Access 2010 helps to create browser-based applications so that you can easily share your
database on the web.

13

PRACTICE TIME:

1. _________ is a collection of records.


2. MS Access is a __________ .
3. ________ is an electronic filing system which is fast and efficient.
4. A ________ is a collection of all the fields in a table for a particular data entity.

Computer manners : Always keep you computer in a well ventilated or air


conditioned room as it produces a lot of heat
MS ACCESS 2010 USER INTERFACE

The figure below shows the components of MS Access 2010 user interface. The elements of
MS Access user interface are:
Quick Access Toolbar Title Bar Help Button

Ribbon

Document
Tabs Bar

Navigation
Pane

Record
Navigation Bar

Status Bar

Fig. 1.1: MS Access 2010 User Interface

Title Bar

Title bar is present at the top of the MS Access


window. In the centre of the title bar, the name of
the application, that is, Microsoft Access
2010 and the name of the database is displayed.
Minimize, Maximize/Restore and Close buttons
are present on the right corner of the title bar.

Quick Access Toolbar

It is present on the left side of the title bar. By


default, it contains three buttons: Save, Undo
and Redo.

. Fig. 1.2: Customize menu of the Quick


Access Toolbar

14
Ribbon

The ribbon is present just below the title bar. It consolidates all the buttons for performing tasks at
one place. In MS Access 2010, the main command tabs are File, Home, Create, External Data
and Database Tools. The commands under these tabs are arranged in groups.
Command Tabs

Fig. 1.3: Ribbon

Quick Way

Press Alt or F10 to display the access key of each tab on the ribbon (see figure below). In order to
activate a particular tab, press its corresponding letter on the keyboard. For example, when you press C,
the Create tab will be activated.

Fig.: Access keys of various tabs on the ribbon

Navigation Pane
MS Office 2007 Recall

The File tab in MS Access 2010


replaces the Microsoft Office button
used in MS Access 2007.

The navigation pane is present on the left side of the user interface window and it displays a
list of all the objects of the currently active database.

15
Document Tabs Bar

As an object is created in the active database, its tab is added to the document tabs bar.
You can click on the object tab to view or modify that particular database object.
To show or hide the document tabs bar, Current Database tab Document Window Options
follow the steps given below:

Status Bar

Fig. 1.4: Access Options dialog box

The status bar is present at the bottom of the Access window. It displays the status of the active
database. Buttons to change the database view are also present on the right corner. You will
study the views of MS Access 2010 in the next chapter.

Record Navigation Bar

The record navigation bar is present on the bottom left of the Navigation pane. It helps to
move across the table from one record to another.

Getting Help

To seek help on working with MS Access 2010, press F1 or click the Help button on the
extreme right of the ribbon.

You Should Know

MS Access 2010 allows you to create your own tabs and groups and add them to the ribbon. This is done
by following the steps given below:
1. Click File menu and select Options.
2. From the submenu, select Customize Ribbon. You can now rename, add, delete or change the
order of the inbuilt tabs or groups on the ribbon.
NOTE: PRIMARY KEY OF A TABLE
A primary key is a unique identifier for a particular record. Every table must have one of the
fields as the primary key. Generally, it is a number but it can be of any data type. The value in
the column acting as a primary key is always unique for that column, that is, it is listed only once
in the table. Also, the column must always have a data value. It cannot be left blank or have a
value as null. For example, in a table containing result of the students, the field Roll No. will be
the primary key as it is unique for every student.

GETTING STARTED WITH MS ACCESS 2010

To start MS Access 2010, follow the steps given below:


1. Click the start button
2. click on All Programs.
3. Select Microsoft Office 2010
4. Click MS Access 2010. The opening screen of MS Access 2010 appears as shown in
Figure 2.5.

18
Available
File Tab Templates Section Preview Window

File Name
Text Box

Browse Button

Create Button

Fig. 1.5: Opening screen of MS Access 2010

The opening screen of MS Access 2010 has the following sections:


File Tab: This tab contains commands like Open, New, Save, etc.
Available Templates Section: The opening screen has two options–to create a blank
database or to select from the given list of templates. The template could be the one
installed with Access 2010 or one that can be downloaded from Office.com.
Database Preview Window: It gives a small preview of the chosen template.
File Name Text Box: On the right corner of the opening screen, in the File Name text box,
you will see the default name of the database as Database1. accdb. Type the new name of
the database. The default folder to save the database is displayed below the File Name text
box. Click Browse to change the location of the database if you want to save the file at
some other location.
Create Button: Clicking on this button creates a new database according to the options
selected by you.

CREATING A DATABASE

Creating a Blank Database

Let us create a database named Examination using a Blank database option.


1. Open MS Access 2010 and on the opening screen click Blank database. A pane
appears on the right.
2. Specify the name of the database in the File Name text box, say Examination. If you
want to change the location of the database, click the Browse button and select the
folder in which you want to save the database.
3. Click Create button. A new database is created with an empty table titled Table1 in
Datasheet View.

Fig. 1.6: Table1 in Datasheet View

4. The table already contains a field called ID. This field is the primary key of the table.
5. To rename this field, right-click and select
Rename Field option from the drop-down
menu. A cursor will appear in the field name.
Type the new name of the field, say Roll_no.
As you enter data in this new column, MS
Access 2010 automatically scans the data
value entered by you and accordingly sets
the appropriate data type for that field.
6. To set the specific data type of the field, click
the arrow next to the field name. A drop-down
menu containing a list of data types will
appear. Select the required data type.
7. To add more fields to the table, click field
header and choose the desired data type
from the drop-down menu. When the cursor Fig. 1.7: Rename option
appears, type the new field name, say
Student_name and press the Enter key. The cursor
moves on to the next field. Similarly, add English,
Maths and Hindi fields to the table.
8. Click the Save button in the Quick Access Toolbar. The
Save As dialog box appears. Name the table as SA1
and click OK. You will see the name of the table in the Fig. 1.8: Save As dialog box
20 Navigation Pane and also on the Document Tabs Bar.

You Should Know

The following rules should be kept in mind while naming a field in a table:
1. A field name should not be more than 64 characters.
2. It can include letters (lower, upper or mixed case), numbers and a few special characters like an
underscore.
3. It cannot have a period (.), an exclamation mark (!) or square brackets ([]).
4. It cannot start with a blank space.

19

OPENING AN EXISTING DATABASE

To open an existing database, follow


the steps given below:
1. Click File tab and select the Open
option. The Open dialog box
appears.
2. Select the drive and folder which
contains your database.
3. Select the desired database and
click the Open button.

Quick Way

Click the Recent option on the File tab


and select the name of the database to open
from the list of databases that you have
recently worked on.
Fig. 1.11: Open dialog box

You Should Know

You can open the database in various modes by clicking on the arrow next to the Open button in the
Open dialog box. The various modes in which the database can be opened are as follows:
• Read only—you can view it but cannot edit it.
• Exclusive mode—no one else can open it while you have it open.
• Exclusive Read only mode—other users can still open the database, but they have read-
only access.
SAVING A DATABASE

1. To save the database, select Save Database As option from


the File tab.
2. The Save As dialog box appears. Type the name of the
database file in the File name text box.
3. Click Save. The database will be saved with an extension
.accdb.

Quick way: To save the MS Access file press ctrl + s


Fig. 1.12: Save
Database As option
on the File tab
23

MS Office 2007 Recall

In Office 2007, the databases were


saved with an extension .mdb.

Fig. 1.13 Save As dialog box

PRACTICE TIME: True or False

1. The database will be saved with an extension


.jpeg
2. You can rename any field in a table.
3. The quick access bar is present on the left side of the title bar.
4. A blank column can also become a primary key for a table.

Computer manners : you should always press the keys on the keyboard gently.
CLOSING MS ACCESS 2010

To close MS Access 2010, click Exit option from the File tab.

To quit MS Access 2010, press Alt+F4.

Quick Recap

1. SEE THE WORD FILE.


EXERCISE

A LOOK AT THE WORD FILE ATTACHED.

B LOOK AT THE WORD FILE ATTACHED

C LOOK AT THE WORD FILE ATTACHED

25
D Study the table given below and answer the questions that follow.
TABLE: Items

ItemNo Item_name Quantity Price Discount (%) Item description


101 Keyboard 5 450 5 Qwerty keyboard
102 Mouse 8 300 5 Optical mouse
103 Pendrive 10 520 10 2GB, 4GB and 8GB
1. Suggest the data types of the fields in the table.
2. Which field should be made the primary key of the table?
E Answer the following questions.
1. List the steps to hide the tabs in the Document Tabs Bar.
1. Name any three places around you where data is being maintained.
2. Differentiate between Text and Memo data types in MS Access 2010.
3. What are the two conditions that must be fulfilled for a field to become a primary key of
a table?
4. Name the elements of a database

FA Lab Activity

1. Go to the lab and do the following tasks:


a) Open MS Access 2010.
b) Create a blank data base
c) Enter the following in the table that appears
Name of the school Name of the student
d) Save the file in the document
e) Then close the document.
.

FA Group Discussions

Divide the class into groups and discuss the ‘Purpose of Database Management System’

FA Research work

A mobile company needs to create a database on its latest product. The database will have fields such as
product ID, product memory, product color, screen size, data connection and product price. State the
datatype of each field. Create the table with 6 records and these fields.
Which field will you set as the primary key and why?
FA fun activity

Identify these components of MS Access:

5
3
1

Teacher’s Notes

(a) Tell the students about database and its importance.


(b) Demonstrate to the students how to create a database and enter text in
the table.

26

You might also like