IT Notes
IT Notes
IT Notes
REVISION NOTES
COMMUNICATION SKILLS
It is a process which involves sharing of information, opinion, ideas, and beliefs between two or more
persons through a continuous activity of speaking, listening and understanding.
The word ‘communication’ comes from the Latin word commūnicāre, meaning ‘to share’.
PARTS OF COMMUNICATION
ELEMENTS OF A COMMUNICATION
Verbal communication includes sounds, words, language, and speech. Speaking is one of the most
effective and commonly used way of communicating. It helps in expressing our emotions in words.
NON-VERBAL COMMUNICATION
Visual communication proves to be effective since it involves interchanging messages only through
images or pictures and therefore, you do not need to know any particular language for understanding
it. It is simple and remains consistent across different places.
While a sender sends information, the receiver provides feedback on the received message.
Translated to the work environment, when you observe someone perform their work and then,
communicate with them to help improve their performances, you are giving feedback.
IMPORTANCE OF FEEDBACK
Feedback is the final component and one of the most important factors in the process of
communication since it is defined as the response given by the receiver to the sender. Let us look at
certain reasons why feedback is important.
• It validates effective listening: The person providing the feedback knows they have been
understood (or received) and that their feedback provides some value.
• It motivates: Feedback can motivate people to build better work relationships and continue the
good work that is being appreciated.
• It is always there: Every time you speak to a person, we communicate feedback so it is
impossible not to provide one.
• It boosts learning: Feedback is important to remain focussed on goals, plan better and develop
improved products and services.
• It improves performance: Feedback can help to form better decisions to improve and increase
performance.
Linguistic Barriers
The inability to communicate using a language is known as language barrier to communication.
Language barriers are the most common communication barriers, which cause misunderstandings and
misinterpretations between people.
For example, slang, professional jargon and regional colloquialisms can make communication
difficult.
Interpersonal Barriers
Barriers to interpersonal communication occur when the sender’s message is received differently
from how it was intended. It is also very difficult to communicate with someone who is not willing to
talk or express their feelings and views.
Stage fear, lack of will to communicate, personal differences can create interpersonal barriers to
communication.
Organisational Barriers
Organisations are designed on the basis of formal hierarchical structures that follow performance
standards, rules and regulations, procedures, policies, behavioural norms, etc. All these affect the free
flow of communication in organisations and therefore, need to be suitably managed.
For example, Superior-subordinate relationships in a formal organisational structure can be a barrier
to free flow of communication.
Cultural Barriers
Cultural barriers is when people of different cultures are unable to understand each other’s customs,
resulting in inconveniences and difficulties. People sometimes make stereotypical assumptions about
others based on their cultural background, this leads to difference in opinions and can be a major
barrier to effective communication.
CAPITALISATION
We know that all sentences begin with capital letters. However, there are certain other points in a
sentence where we should use capital letters. ‘TINS’is a set of simple rules that help you capitalise
words correctly. Each letter in the word TINS refers to one capitalisation rule as shown in below
Table
PUNCTUATION
Certain set of marks, such as full stop, comma, question mark, exclamation mark and apostrophe are
used in communication to separate parts of a sentence for better clarity of message. Some common
punctuation marks and their rules are shown here in Table
Types of Objects
In a sentence, there can be two types of objects — Direct
and Indirect.
The objects provided in the above examples are called direct objects since they are directly ‘acted on’
by the verb.
On the other hand, an indirect object answers questions, such as ‘to/ for who.’
TYPES OF SENTENCES
Active and Passive Sentences
1. Radha is reading a book.
2. A book is being read by Radha.
The action (verb) in both sentences is reading a book. But the ‘subject’ of both sentences is different.
In the first sentence, the subject (Radha) does the action. In the second sentence, the subject (a book)
receives the action.
Sentences where the subject does an action are known to be in the Active voice, whereas sentences in
which the subject receives an action are known to be in the Passive voice.
Examples
Self Management Skills are those skills that help a person to control his thoughts, wants, feelings and
actions. It allows you to maximize your productivity and performance in various fields of your career.
When we talk about employability, Self-management skills help you to manage a good career path. It
helps you to overcome in many bad situations. Here in this article, we will discuss Stress and Stress
Management Techniques and also we will discuss how to work independently.
Following are some of the skills you must master to succeed in life:
Self-awareness: Ask for honest feedback. Gather insights on your personality and work-specific
proficiencies. Think about your daily interactions and how you handled situations well or could
have handled them differently.
Responsibility: Taking responsibility for your tasks is very important. Taking ownership is the
step towards self-development. For example, if you have been assigned a task by a teacher; ensure
you take complete ownership. Even if you are unable to complete the task on time, you must
report it and then correct it.
Time Management: Prioritise the things you have to do. Remove waste and redundancy from
work. Make a time table and follow it diligently.
Adaptability: Stay current with best practices and read up on new information always. Prepare
yourself for new changes, so that you can transition seamlessly.
What is Stress?
Stress can be defined as our emotional, mental, physical and social reaction to any perceived demands
or threats. These demands or threats are called stressors. Stressors are the reason for stress.
For example,
• you are too close to the exams but feel unprepared.
• you are experiencing a loss of someone close in the family.
• you are worried about what people would think of you if you don’t dress well or cannot speak
confidently.
Stress Management
Managing stress is about making a plan to be able to cope effectively with daily pressures. The
ultimate goal is to strike a balance between life, work, relationships, relaxation, and fun. By doing
this, you are able to deal with daily stress triggers and meet these challenges head-on.
Emotional Intelligence
Emotional intelligence is the ability to identify and manage one’s own emotions, as well as the
emotions of others.
Emotional awareness : the ability to identify and name one’s own emotions.
Harnessing emotions : the ability to harness and apply emotions to tasks like thinking and
problem solving.
Managing emotions : the ability to regulate one’s own emotions when necessary and help others
to do the same.
Finding Weaknesses
Point out the areas where you struggle and the things you find difficult to do.
Look at the feedback others usually give you.
Be open to feedback and accept your weaknesses without feeling low about it. Take it as an
area of improvement.
Ability
1. An acquired or natural capacity
2. Enable you to perform a particular job or task with considerable proficiency.
Self-motivation
Self-motivation is simply the force within you that drives you to do things. Self-motivation is what
pushes us to achieve our goals, feel happy and improve our quality of life. In other words, it is our
ability to do the things that need to be done without someone or something influencing us.
Types of Motivation
Internal Motivation – We do things because they make us happy, healthy and feel good. For
example, when you perform on your annual day function and you learn something new, such as
dancing, singing, etc., you feel good.
External Motivation – We do things because they give us respect, recognition and appreciation. For
example, Suresh participated in a 100m race and won a prize. This motivated him to go for practice
every morning.
Building Self-motivation
Find out your strengths
Set and focus on your goals
Goals: They are a set of dreams with a deadline to get them, for example, saving pocket money to
buy a favourite mobile phone by a particular date.
Goal setting: It is all about finding and listing your goals and then planning on how to achieve them.
• Specific : A specific and clear goal answers six questions. Who is involved in the goal? What do I
want to do? Where do I start? When do I start and finish? Which means do I use? Why am I doing
this?
Not a specific goal: “I would learn to speak English.”
Specific goal: “I would learn to speak English fluently by joining coaching classes after my
school everyday, and in six months I will take part in the inter-school debate competition.”
Measureable : A measureable goal answers the questions “How much?”, “How many?” and “How
do I know that I have achieved results?”
Not measurable goal: “I want to be rich.”
Measurable goal: “I want to have 5 times more money than what I have today in my hand at the end
of this year.”
Achievable : Breaking down big goals into smaller parts will make the goal achievable. Bigger Goal:
“I want to become a teacher in my school.”
Realistic : A realistic goal would be something that we want to achieve and can work towards.
Example of unrealistic goal: “I will read my entire year’s syllabus in one day and get good marks.”
Realistic goal: “I spend 3 hours every day of the year after school to revise my subjects to get good
marks in the exams.”
ICT skills help us to communicate, run our business and stay connected with our family and friends.
Hence, every person needs to acquire ICT skills and build them to stay updated with the latest
software and applications (apps).
OPERATING SYSTEM
An operating interface between user and computer which directs the processing of programmes and
controls the operation of computer.
Some of the functions of Operating system are:
It supervises all the hardware on a computer and monitors each device’s status, including
whether it’s in use or not.
It also checks whether the device is functioning properly or not.
It also controls software resources of the computer.
It controls how much memory is used by the computer, keeping track of which memory is free
and which memory is being used by which software.
It controls how a computer system’s files and directories are organized.
It keeps track of the amount of disk space used by a specific file.
It allows you to create, copy, move and delete files.
Files – Every single thing you keep on your computer is kept as a file. A file system is a method for
naming, storing, and retrieving files.
Creating File
1. Right-click anywhere in the blank area of the right-column.
2. In the Shortcut menu, click New and select the type of the file you want to create.
Folder – Folders and directories are groups which contain single of multiple files. There may be
related files and/or subfolders in each directory and folder. One or more files and other sub-folders
may be located inside a sub-folder. This makes files easily accessible.
Creating Folder
1. Double-click the Computer icon.
2. Select the drive in which you want to create a new folder. Say, Local Disk D:.
3. Window will open up showing files and folders in Local Disc D:
4. Click New Folder on the toolbar
5. A new folder is created with name New Folder highlighted.
6. Type a name for the folderCreating a file
Renaming folders and files
1. Right-click the file or the folder.
2. From the shortcut menu, select Rename option.
3. Type the new name or edit the existing name and press the Enter key.
4. Or Just select the file/folder and press Function key F2.
Deleting files or folders
1. Click the file or the folder.
2. Press the Delete key.
3. Or Right-click and select Delete option from the Shortcut menu.
BASIC SHORTCUTS
CTRL+ z — undo
CTRL+ y — redo
CTRL+ a — select all
CTRL+ x — cut
Prepared by: M. S. KumarSwamy, TGT(Maths) Page - 2 -
CTRL+ c — copy
CTRL+ v — paste
CTRL+ p — print
CTRL+ s — save.
FIREWALL
A computer firewall is a network security system, software, or programmable device that monitors
and regulates incoming and outgoing network traffic in accordance with user-defined security rules.
Computers connected to a network, such as a LAN or the Internet, are more securely protected by
firewalls. Typically, a firewall creates a wall between a trusted internal network and an unreliable
external network, like the Internet. Each packet of data, whether it is coming in or going out, is
examined by the firewall, which then decides whether it should be permitted to pass or stopped.
COOKIES
When you visit an internet website, a user’s computer stores a little file known as a cookie on it.
These files are used to store information personal to a given client and website.
A cookie is sent by a website when you visit it and is saved on your computer in a file. A cookie can
only be read by the website that created it. This information cannot be accessed by other servers.
THREATS TO COMPUTER
Threats are the ways in which personal information can be leaked from a computer without our
knowledge.
(a) Theft: Theft means stealing of information or hardware. These may be of three types:
• Identity: Where a hacker steals your personal information and assumes your identity. Using this
false identity, the hacker can gain access to your account information or perform illegal activity.
• Software Piracy: This is stealing of software and includes using or distributing unlicensed and
unauthorised copies of a computer program or software.
Prepared by: M. S. KumarSwamy, TGT(Maths) Page - 6 -
(b) Virus: Viruses are computer programs that can damage the data and software programs or steal
the information stored on a computer. Major types of viruses are Worms and Trojan Horse.
Worms: These are viruses that replicate themselves and spread to all files once they
Information and Communication Technology Skills 81 attack a computer. This makes it very difficult
to remove them.
Trojan Horse: A Trojan Horse disguises itself i.e., it appears to be a useful software program but
once it reaches a computer it starts behaving like a virus and destroying data.
• Online Predator: Online predators are people who trap you into inappropriate relationships.
They may be older people posing to be your age, bullying you into doing illegal activities
online and sometimes face to face.
• Internet Scams: Sometimes you may receive very attractive offers saying you have won huge
money in a lottery and that you can claim the prize by depositing a certain amount of money. When
you deposit the money using credit card or online banking, you not only lose the deposit money but
your card/account information may be misused later.
(a) Use passwords to login to your computer: Use passwords that are difficult to guess. Passwords
are difficult to hack if they are a mix of small (For example ‘a b c d’) and capital letters (For example,
‘H J E R’), numbers (For example ‘8 7 6 5’) and special characters
(For example, ’% ^ # $’). This would prevent unauthorised people from using your computer.
(b) Install Anti-virus and Firewall: Anti-viruses and Firewall monitor the data coming in and out of
a computer and prevent and viruses from entering. Anti-viruses can also detect and clean viruses that
may have entered a computer.
(c) Encrypt Data: This is usually done by banks and companies in which important customer
information is stored. They can encrypt their entire hard disk using the encrypting feature in Windows
(Bitlocker). This would force users to use a decryption password (or key) before starting the computer
thus preventing unauthorised usage.
(d) Secure sites: Give details of your credit card or bank account only on secure sites. See in the
address bar of the browser. If the site address starts with https://and a lock symbol, then it is safe to
give your credit card and bank details.
ENTREPRENEUR
The word ‘entrepreneur’ is derived from the French word ‘entrepreneur’ which means to undertake.
An entrepreneur is an individual who creates a new business, bearing most of the risks and enjoying
most of the rewards.
A person who sets up a business or businesses, taking on financial risks in the hope of profit.
or
A promoter in the entertainment industry.
or
An entrepreneur is a person who sets up a business with the aim to make a profit.
or
Entrepreneurship is the process of designing, launching and running a new business, which is often
initially a small business. The people who create these businesses are called entrepreneurs.
or
An entrepreneur is the person who sees a problem in the world and immediately focuses on creating
the solution. They’re the leaders that strike out on their own to improve society. Whether they’re
creating jobs or a new product, they constantly take action to ensure world progress.
ENTREPRENEUR SKILLS
There are many skills required to start a business. The most popular entrepreneur skills are marketing,
business development, customer service, leadership, execution, resilience, focus, determination, talent
acquisition, continuous learner.
MYTHS OF ENTREPRENEURSHIP
Entrepreneurship is a set of activities performed by the entrepreneur. It is the process of identifying
opportunities in the market place. It is the attempt to create value. Many entrepreneurs believe a set of
myths about entrepreneurship and the most common are as follows
Starting a Business is Easy: In reality, it is a very difficult and challenging process to start a
successful business. The rate of failure of new ventures is very high but small entrepreneurship
are comparatively easier to start.
Lot of Money to Finance New Business: Successful entrepreneurs design their business with
little cash also.
Startups cannot be Financed: Under the schemes like MUDRA, entrepreneurs can raise loans
from banks.
Talent is more Important than Industry: This is not true as the nature of industry an
entrepreneur chooses greatly effects the success and growth of the business.
Most Startups are Successful: Mostly in the developing countries startups fail as they could not
manage to earn high profits.
ADVANTAGES OF ENTREPRENEURSHIP
The main advantages of adopting entrepreneurship as a career are discussed below
Independence: An entrepreneur is himself a boss or owner and he can take all the decisions
independently.
Exciting: Entrepreneurship can be very exciting with many entrepreneurs considering their
ventures highly enjoyable. Everyday will be filled with new opportunities to challenge your
determination, skills and abilities.
Wealth Creation: The principal focus of entrepreneurship is wealth creation and improved
livelihood by means of making available goods and services. Entrepreneurial venture generates
new wealth, new and improved products, services or technology form entrepreneurs, enable new
markets to be developed and new wealth to be created.
Flexibility: As an entrepreneur you can schedule your work hours around other commitments,
including quality time you would spend with your family.
Status: Success in entrepreneurship beings a considerable fame and prestige within the society.
Ambition Fulfilment: Through entrepreneurship one can fulfil his ambitions into original
products or services.
DISADVANTAGES OF ENTREPRENEURSHIP
Some of the disadvantages of entrepreneurship as a career are discussed below
Huge Amount of Time: You have to dedicate a huge amount of time to your own business.
Entrepreneurship is not easy and for it to be successful, you have to take a level of time commitment.
Risk: An entrepreneurship involves high risk of loss. If the business fails then it will wipe away
all the personal savings.
Hard Work: An entrepreneur has to work very hard to make the new business very successful.
Uncertain Income: There is no regular or fixed income available to an entrepreneur. So, there is
uncertain kind of income received by an entrepreneur.
SUSTAINABLE DEVELOPMENT
Sustainable development is the development that satisfies the needs of the present without
compromising the capacity of future generations, guaranteeing the balance between economic
growth, care for the environment and social well-being.
The important principles of sustainable development are as follows
To carefully utilise all resources.
To conserve resources so that they meet the demands and requirements of the future generations.
To minimise the depletion of natural resources.
Respect and care for all forms of life.
People should learn to conserve the natural resources in order to protect the living beings.
Conserving the Earth’s vitality and diversity.
Improving the quality of human life.
Changing personal attitude and practices towards the environment.
Style refers to a pre-defined set of formatting attributes that can be applied to text, paragraphs, pages,
and other elements of a document. Styles help to ensure consistency in formatting throughout the
document and make it easier to manage and modify the document’s formatting.
Advantages of Style
Provides consistency throughout the document
Saves time and increases efficiency
Allows for easy updates and modifications
Makes document management simpler and more organized
Enhances accessibility for readers who use assistive technologies.
Picture Toolbar
The Picture toolbar displays when you insert a picture or choose one that is already in the page. View
> Toolbars > Picture allows you to set it to always be visible.
Graphics mode
You can change color images to grayscale by selecting the image and then selecting Grayscale from
the Graphics mode list.
Flip vertically or horizontally
Select the image, then click the corresponding icon to turn it vertically or horizontally.
Filters
The filters are briefly described in the following table, but the best way to comprehend them is to use
them. Try around with the various filters and their settings.
Creating a Template
You can create your own templates in two ways:
from a document,
and using a wizard.
Using a mail merge, you can personalise a letter you’ve already written and send it to a large group of
recipients, giving the impression that you wrote it specifically for them. A mail merge can also be a
rapid technique to create labels or envelopes with the addresses for various persons on each label or
envelope using a list of people’s mailing addresses.
Prepared by: M. S. KumarSwamy, TGT(Maths) Page - 9 -
Anyone or any business that interacts frequently with customers, partners, parents, or other
individuals must use the mail merge.
What are the different type of Data Source available in Mail Merge
OpenOffice.org allows data sources to be accessed and then linked into OOo documents. For
example, a mail merge links an external document containing a list of names and addresses into a
letter, with one copy of the letter being generated for each entry.
Different type of File which support to insert data in Mail merge are –
1. Spreadsheet
2. Text File
3. Access or Base Database
4. Address Book
Data Consolidation
In OpenOffice, data consolidation refers to the combining of data from various sources or sheets into
a single area for easy analysis and manipulation. It helps when working with data that is spread across
multiple files or sheets and enhances productivity, accuracy, and decision-making abilities.
SubTotal Window
To use the Subtotal function in OpenOffice, follow these steps:
1. Open a new or existing spreadsheet in OpenOffice.
2. Select the range of data you want to subtotal.
3. Click on Data > Subtotals from the menu bar.
4. In the Subtotals dialog box, select the column you want to group by and the function
you want to use (such as sum or count).
5. Click OK to apply the subtotals.
Solver example
Consider investing $10,000 over the course of a year in two mutual funds. Fund X is a lower risk
fund with an interest rate of 8%, whereas Fund Y has a greater risk interest rate of 12%. How much
should be put into each fund in order to generate a total interest of $1,000?
Input
One input variable Multiple input variables
variables
Finds the value of the input Finds the best combination of input
Output variable that produces a specific variable values that meet a set of
output conditions or constraints
Renaming Sheets
Step 1 : Double-click on the name of a current worksheet.
Step 2 : Use the context menu that appears when you right-click on the name of an
existing worksheet to select Rename.
Step 3 : Click on the worksheet tab to choose the worksheet you want to rename, and
then choose the Sheet option from the Format menu. The Rename option should be
chosen from the submenu that is displayed when you do this.
Cell Reference
Cell referencing in a spreadsheet is the process of referring to a specific cell or range of cells within a
worksheet by using a unique identifier. This unique identifier is called a cell reference and it is made
up of a combination of a column letter and a row number that identifies the location of a particular
cell.
There are two ways to reference cells in other sheets –
1. Creating The Reference With The Mouse
2. Creating The Reference With The Keyboard.
a. Relative Hyperlinks – Relative hyperlinks are links that are specified in relation to the current
cell’s location. They typically use a path that is relative to the current file’s location. For example, if
Prepared by: M. S. KumarSwamy, TGT(Maths) Page - 5 -
you are currently on cell A1 and you want to link to cell B1 in the same sheet, you can use the
relative hyperlink “B1”.
b. Absolute Hyperlinks – Absolute hyperlinks, on the other hand, specify the full path or URL of the
resource being linked to. For example, to link to a web page located at
“https://cbseskilleducation.com/information-technology-class-10-notes/”, you can use the absolute
hyperlink “https://cbseskilleducation.com/information-technology-class-10-notes/”.
Record Changes
Viewing Changes
Calc gives the control over the spread sheet to view the changes you or other have done in
Worksheet. To change the available filters, select Edit > Changes > Show. The following dialog
opens.
In OpenOffice Calc, you can view changes made to a spreadsheet using the “Record Changes”
feature.
Date filter: Shows only the changes made within a specified time range.
Author filter: Displays changes made by a specific person, which is useful when
multiple reviewers are working on the worksheet.
Range filter: Shows only changes made within a specific range of cells, helpful for
large spreadsheets.
Comment filter: Displays changes that have comments matching the search criteria.
Show accepted changes: Displays only the changes that you have accepted.
Show rejected changes: Displays only the changes that you have rejected.
Merging Worksheets
Comparing Document
You can compare two or more spreadsheets in OpenOffice Calc using a feature called “Document
Comparison” to find discrepancies between them. This can be helpful when you want to evaluate
edits made to a spreadsheet by another person or when you want to compare two spreadsheet versions
for inconsistencies or errors.
Open worksheet
Select Edit > Compare Document
Select the original worksheet
Now, You can find the changes
Advantages of Micro
The repetitive and routine processes are automated by macros.
Macros save your time
DATABASE SERVERS
Database servers are dedicated computers that hold the actual databases and run only the DBMS and
related software.
ADVANTAGES OF A DATABASE/DBMS
The centralised nature of database system provides several advantages, which overcome the
limitations of the conventional file processing system. These advantages are as follows
1. Reduce Data Redundancy: Redundancy means ‘duplication of data’. This eliminates the
replication of data item in different files, extra processing required to face the data item from a
large database. This also ensures data consistency and saves the storage space.
2. Enforcing Data Integrity: It means that, the data contained in the database is accurate and
consistent. Integrity constraints or consistency rules can be applied to database, so that the correct
data can be entered into the database.
3. Data Sharing: The data stored in the database can be shared among multiple users or application
programs.
DISADVANTAGES OF A DATABASE/DBMS
There are many advantages of database, but database also have some minor disadvantages. These
disadvantages are as follows
1. Cost of Hardware and Software: Through the use of a database system, new costs are generated
due to additional hardware and software requirements.
2. Complexity: A database system creates additional complexity and requirements.
3. Database Failures: If database is corrupted due to power failure or it is corrupted on the storage
media, then our valuable data may be lost or the system will stop working.
4. Lower Efficiency: A database system is a multi-user software, which is less efficient.
COMPONENTS OF A DATABASE
A database consists of several components. Each component plays an important role in the database
system environment.
The major components of database are as follows
Data: It is raw numbers, characters or facts represented by value. Most of the organisations
generate, store and process large amount of data. The data acts as a bridge between the hardware
and the software. Data may be of different types such as User data, Metadata and Application
Metadata.
Software: It is a set of programs that lies between the stored data and the users of database. It is
used to control and manage the overall computerised database. It uses different types of software
such as MySQL, Oracle, etc.
Hardware: It is the physical aspect of computer, telecommunication and database, which consists
of the secondary storage devices such as magnetic discs, optical discs, etc., on which data is
stored.
Users: It is the person, who needs information from the database to carry out its primary business
responsibilities.
TYPES OF USERS
The various types of users which can access the database system are as follows
WORKING OF A DATABASE
Database is created to operate large quantities of information by input, store, retrieve and manage the
information. It is a centralised location which provides an easy way to access the data by several
users. It does not keep the separate copies of a particular data file still a number of users can access
the same data at the same time.
As the diagram shows, DBMS works as an interface between the user and the centralised database.
First, a request or a query is forwarded to a DBMS which works (i.e. a searching process is started on
the centralised database) on the received query with the available data and if the result is obtained, it
is forwarded to the user.
If the output does not completely fulfill the requirements of the user, then a rollback (again search) is
done and again search process is performed until the desired output is obtained.
DATA INTEGRITY
Data Integrity ensures the accuracy, reliability and consistency of the data during any operation.
Each type of data integrity are as follows
Entity Integrity: It defines the primary key of a table. Entity integrity rule on a column does not
allow duplicate and null values.
Domain Integrity: It defines the type, range and format of data allowed in a column. Domain
integrity states that all values in a column must be of same type.
Referential Integrity: It defines the foreign key concepts. Referential integrity ensures that data
in related tables remains accurate and consistent before and after changes.
User Defined Integrity: If there is some business requirements which do not fit any above data
integrity then user can create own integrity, which is called user defined integrity.
Candidate Key: The set of all attributes which can uniquely identify each tuple of a relation are
known as candidate keys. Each table may have one or more candidate keys and one of them will
become the primary key. The candidate key of a relation is always a minimal key. e.g. Column
StudentId and the combination of FirstName and LastName work as the candidate keys for the
student table.
A candidate key must possess the following properties
For each row, the value of the key must uniquely identify that row.
No attribute in the key can be discarded without destroying the property of unique
identification.
Alternate Key: From the set of candidate keys after selecting one of the keys as a primary key, all
other remaining keys are known as alternate keys. e.g. From the candidate keys (StudentId,
combination of FirstName and LastName), if StudentId is chosen as a primary key, then the
combination of FirstName and LastName columns work as alternate keys.
Foreign Key: A field of a table (relation) that references the primary key of another table is referred
to as foreign key. The relationship between two tables is established with the help of foreign key. A
table may have multiple foreign keys and each foreign key can have a different referenced table.
Foreign keys play an essential role in database design, when tables are broken apart, then foreign keys
make it possible for them to be reconstructed. e.g. CourseId column of student table (reference table)
works as a foreign key as well as a primary key for course table (referenced table).
Data in a relational database management system (RDBMS) is organized in the form of tables.
DATABASE OBJECTS :
1) Table: A table is a set of data elements (values) that is organized using a model of vertical
columns and horizontal rows. A table has a defined number of columns, but can have any number
of rows. Each row is identified by the values appearing in a particular column identified as a
unique key index or the key field.
2) Columns or Fields or Attributes: A column is a set of data values of a particular simple type,
one for each row of the table. The columns provide the structure according to which the rows are
composed. For example, cFirstName, or cLastName are fields in a row.
3) Rows or Records or Tuples: A row also called a Record or Tuple represents a single data item in
a table. Each row in a table represents a set of related data, and every row in the table has the
same structure.
CREATE TABLES:
Tables are the basic building blocks of a database. You store the data in the database in the form of
tables.
There are different ways to create a table:
DATA TYPES:
Datatypes are used to identify which type of data (value) we are going to store in the database. Data
types in OpenOffice base are broadly classified into five categories listed below.
Numeric Types
Alphanumeric Types
Binary Types
Date time
Other Variable types
Numeric Types: Numeric data types in a database can be used for storing information such as mobile
number, roll number, door number etc. The different types of numeric data types available are listed
here.
Binary Types: Binary data types are used for storing data in binary formats. Binary data types in a
database can be using for storing photos, music files, etc.
Date time: Date time data types in a database can be used for storing information such as date of
birth, date of admission, date of product sale, etc.
FIELD PROPERTIES:
To set the field properties: Select the table > Right click > Select the option Edit > the table will open
in Design View.
In design view there are different properties of fields according to the data type set for each field.
SORTING DATA: Sorting means to arrange the data in either ascending order of descending order.
REFERENTIAL INTEGRITY:
Referential integrity is used to maintain accuracy and consistency of data in a relationship. In Base,
data can be linked between two or more tables with the help of primary key and foreign key
Referential integrity helps to avoid:
1) Adding records to a related table if there is no associated record available in the primary key table.
2) Changing values in a primary if any dependent records are present in associated table(s).
3) Deleting records from a primary key table if there are any matching related records available in
associated table(s).
You can create a relationship between any two tables by selecting Relationships option from the
Tools menu.
There are three types of relationships which can be created in tables:
1) ONE to ONE Relationship: In this relationship, both the tables must have primary key columns.
2) One to Many Relationship: In this relationship, one of the table must have primary key column.
3) Many to Many Relationship: In this relationship, no table has the primary key column.
SELECT STATEMENT :
A SELECT statement retrieves zero or more rows from one or more tables. SELECT is the most
commonly used Data Manipulation Language(DML) command. To retrieve all the columns in a table
the syntax is: SELECT * FROM <Table Name>;
For example, if you want to display all the data from table emp (short form of employee), the
command is
The above query will show result of a particular employee named “Ravi”.
Select * from emp order by Salary;
The above query will show all the records of table emp according to ascending order of column
Salary.
PERFORMING CALCULATIONS :
In Base, simple calculations can be done on the data using arithmetic operators. Example:
1) To display the salary of all the employees after incrementing by 1000 then the following SQL
command will be executed in Base. (Fields of table Employee are EmployeeID, FirstName, Salary)
Select “EmployeeID”, “FirstName”, “Salary” +1000 from “Employee”;
UPDATE STATEMENT :
Update statement is used for modifying records in a database. The general syntax of the update
statement is as follows:
UPDATE <table name> SET <Column name > = value [WHERE <Condition>];
for example :
1) To increase(update) the salary of employee “Ravi” by Rs 2000 (in table Employee)then the SQL
command will be:
Update Employee set Salary = Salary + 2000 Where FirstName = “Ravi”;
Creating Form Using Wizard : Steps To Create Form Using Wizard are :
1) Click Use Wizard to Create Form… option under Tasks group. The Form Wizard dialog box
appears.
2) Select selective fields to be sent onto the form by selecting the field name and clicking >button
and click Next.
3) Select the option Add Subform if you need to insert the contents in the table in a separate form
and click Next.
4) Arrange selected fields in a form and click Next.
5) Select the data entry mode and click Next.
6) Specify the styles to be used in the form and click Next.
7) Specify the name of the form. Click Finish.
REPORT: A report helps to display the data in a summarized manner. It is used to generate the
overall work outcome in a clear format.
Creating Reports using wizard : Steps To Create Report Using Wizard are :
1) Click on Use Wizard to Create Report… option available under Tasks.
2) Select all the table fields by selecting the >> button.
3) Redefine the label of the fields in the reports or else you can set the default name and click Next.
4) Define grouping for the fields of the table if required and click Next
5) Sort the field in the report by selecting the appropriate field name and sorting method(if required)
and click Next.
6) Select the layout of the report and click Next.
7) Define a name for the report and click Finish.