X-IT_Notes Based pn Units 1 & 2 (Part-B)
X-IT_Notes Based pn Units 1 & 2 (Part-B)
-------------------------------------------------------------------------------------------------------------------------------------
UNIT-1. DIGITAL DOCUMENTATION (Advanced)
Chapter 1. APPLY STYLES IN A DOCUMENT
Introduction
There are two ways of creating an attractive digital document in Writer:
Introduction to Styles
A style is a collection of all formatting information, which you want to save and then apply
on the document.
For example, following details of “Font” can be stored as a style with the name ‘Heading
style’:
Size – 12
Name – Bookman Old Style
Weight –Bold
Alignment – Left
Now we can apply Heading style to all headings of the document.
NOTE: Style allows us to shift our focus from appearance of the document to the content
of document
Styles Categories
LibreOffice Writer provides six Style categories, which are as follows:
1. Page Style: It includes basic page layout like page size, its margin, placement of
header and footer, footnote, borders and background.
2. Paragraph Style: Paragraph formatting includes tab stops, text alignment, line spacing
and borders.
3. Character Style: This style is used to work on block of letters, i.e. word(s) in the
paragraph. Character styles allow changing the text colour, text size, highlighting text and
emphasising it.
4. Frame Style: Frames are like containers, which can hold text, graphics and lists.
Therefore, applying Frame Styles allows to format a frame by specifying its size, position,
border and how the text is placed around the picture.
5. List Style: It can be used to style lists by putting numbering or bullets of a different
kind or specify numeric format.
6. Table Style: Table Style category allows to format a table by adding borders, using
different text or border colour(s), aligning text inside the table, having different patterns or
text colour.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 1
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Styles & Formatting
Writer provides many options and tools to style or format a document. Styles in Writer,
can be accessed by using any of the following methods:
1. Click Style option from Menu Bar and click Manage Style.
2. Using Style Drop Down list box, from the Toolbar. If the Toolbar is not visible then,
click on View>Toolbars, and enable Formatting/“Formatting (Styles)”.
3. Using Sidebar Menu. On the Sidebar, clicking on Styles icon, displays the Style sub-
menu.
4. Using keyboard shortcut is F11 function key
Style Window
This window can be opened by using any of the methods given
above.
NOTE: To quit Fill Format option, click the Fill Format button again or press the Esc key.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 2
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
A. From Selection: Steps are given below:
1. Select the portion of document, such as page, paragraph, character, to change its
appearance.
2. Choose the category (paragraph, character, page, etc.) from Style menu for which a
new style is to be created.
3. Select Style action button and then click on New Style from Selection.
4. In Create Style dialog window, type the name of new style, say, ‘MyStyle’.
5. Click OK to save the name of new style.
B. Using Drag and Drop: Steps to create a new Style using Drag and Drop method are:
1. Select the text from the document and change its formatting as desired.
2. Choose the desired style from Style Window under which, new style is to be created.
3. Now drag the selected portion of text to the Style Menu.
4. Create Style dialog window appears.
5. Type name of new style and press OK button to save.
NOTE:
1. Drag and Drop method cannot be used to create a Page Style.
2. While dragging the text cursor shape changes.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 3
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
SUMMARY
A Style is collection of all formatting information, which you want to save and then
apply on the document.
Writer provides six Style categories – Page, Paragraph, Character, Frame, List and
Table.
Predefined Heading style(s) act as bookmarks in a document. These bookmarks
allow faster browsing in a document.
These Style(s) tools can be accessed from Menu bar, Drop Down List and Side bar.
Fill Format is used to style scattered – Pages, Frames, Tables, Lists, Paragraphs or
Characters in a document
Writer allows creating custom style and saving them for future use.
These new styles can be created using Selection method or Drag and Drop method.
Drag and Drop method cannot be used to create a Page style.
A user defined style once created, can be updated at any point of time. Steps used
for updating a style are same as creation of style.
A document can be styled using another document or a template.
Ans. 1. (b) Envelope 2. (d) All of the above 3. (b) One kind of model style
4. (a) Status bar 5. (d) All of these
NOTE: Inserting an image using any of the above described method saves a copy of image
file in the document wherever image is inserted, that means, the image gets embedded in
the document.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 7
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Tools on Image
Description
toolbar
Image Filter There are 11 types of filters available for improving an image.
Image can be changed to black and white, gray-scale or a
Image Mode
watermark.
Crop Cuts off non-desirable part of the image.
Clicking on the colour button will display the colour drop down list as
shown above.
It consists of six components in the drop down list.
The first components represent the three primary colours Red, Green
and Blue, respectively.
The fourth component represent the Brightness, fifth component
represent the Contrast and last sixth component represent the Gamma
Following table gives the brief description of various tools available in the Image Filter
window
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 8
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Tool Name Description
Invert Inverts the colour values of coloured image. In case image is gray-scale
then its brightness is inverted.
Smooth Softens the contrast of image. Another dialogue box appears to adjust
parameter.
Sharpen Increases the contrast of image
Remove Noise Removes single pixels from the image
Solarisation Used in Photographs to reverse the tone. Dark appears light and light
appears dark.
Another dialogue box appears to adjust parameter
Aging Simulates the effect of time on picture. On clicking it, another dialogue
box appears to adjust parameter
Posterise Makes a picture appear like painting by reducing colours in the image.
Another dialogue box appears to adjust parameter, when this icon is
clicked.
Charcoal Changes image as charcoal sketch
Sketch
Relief Adjusts light source to create shadow using dialogue box to adjust
parameter
Mosaic Joins group of pixels into a single area of one colour. Another dialogue
box appears to adjust parameter.
NOTE: By dragging the corner handles, one can resize both the width and the height of
the image simultaneously, while the other four handles only resize one dimension at a
time.
Drawing Objects
If you need to draw a flowchart or a callout box in your document, LibreOffice Writer
provides the feature of drawing tools for such work.
To display Drawing Toolbar in the Writer window, click on View > Toolbars > Drawing. The
toolbar contains various basic drawing objects of different types to create any design.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 9
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Rectangle rounded
Right angle triangle
Circle Symbol (list) Flowchart (list)
Polygon
Star (list)
Square Fontwork
Curve (list)
Select
Curve Oval Call Out (list)
Insert Line Points
Rectangle
Lines & Arrows (list) Arrow (list) Call outs
Isosceles triangle
Toggle Extrusion
Basic shapes (list) Text Box
Steps to design are:
1. Place the cursor in the document where you want the drawing to be placed.
2. Select the tool from the Drawing toolbar.
3. Click-and-drag to create the drawing object in the document.
4. Release the mouse button to finish drawing.
NOTE: To cancel the selected drawing function, press the Esc key or click the Select icon
(the arrow) on the Drawing toolbar.
Resizing Object
Sometimes we want to change the size of drawing object to accommodate it at a particular
place in the document. Steps to resize a drawing are given below:
1. Select the object to be resized.
2. All eight handles on the corners and edges will be visible.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 10
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
3. Drag the required handle to change the shape and size.
NOTE: For resizing and maintaining original shape of drawing, use corner handles. Using
edge handles will resize drawing non-proportionally.
Grouping Objects
LibreOffice Writer allows grouping of different objects, to behave as a single entity. Once
grouped, all shapes belonging to that group become its member and a change applied on
one member works on all. Follow the given steps to group the drawing objects.
1. Select the object by clicking over it.
2. Hold the Shift key and keep on selecting all other objects by clicking on it.
3. Select a group tool from Drawing Object Properties Toolbar. Alternatively, selecting
from main menu Format > Group > Group will also do same work.
NOTE: There are four options under Group option. These are Group, Ungroup, Enter
Group, Exit Group. These options are also present in the Drawing Object Properties
Toolbar.
Positioning image in the text
Positioning of an image is controlled by four settings.
1. Arrangement
2. Anchoring
3. Alignment
4. Text Wrapping
These settings can be accessed using three ways –
1. Using Format menu.
2. Using context menu after right clicking on the object.
3. Using Drawing Object Properties Toolbar.
Let us learn how to use Drawing Object Properties Toolbar to position a drawing in the
page.
1. Arrangement: In Overlapping objects, arrangement determines the position of the
current drawing with respect to other drawings or text. The Drawing Object
Properties toolbar consists of the six arrangement tools which are briefly explained
below.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 11
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
NOTE: – First four settings can be applied on an image or drawing, but last two are
available for drawings only.
3. Alignment: It allows the vertical or horizontal placement of the image with respect to
its anchor. An image can be aligned in six different styles – 3 horizontal and 3
vertical.
4. Text Wrapping: It allows the placement of image in relation to text. Text Wrapping
tools are available under Drawing Object Properties Toolbar. There are six choices
which are briefly explained below.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 12
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
SUMMARY
• In a digital document, a graphic or image is called digital image.
• A digital image is represented in pixels.
• Predefined image can be inserted using Drag-Drop method, Copy-Paste method or
using Insert Image dialog box.
• Inserting an image embeds a copy of the image in the document.
• An image can be linked to a document using Insert Image dialog box.
• Linking an image saves only the link of the image instead of embedding the image.
This saves space in case multiple copies of the same image are required.
• Image Toolbar can be used to modify an image. Tools for filtering, resizing,
cropping, deleting and rotating an image are available in this toolbar.
• Drawing Tools are used to create pictures (objects), such as Flowchart, Call out box,
designs, etc.
• Properties of Object can be customised by resizing, rotating, moving or editing.
• Drawing object properties can be modified either at the time of creation (when you
start drawing) or after its creation.
• Properties when modified before creation, is known as setting Default values.
• An object drawn using different shapes, can be grouped to behave as single object.
• Writer provide various tools to arrange text and image or drawing on a page.
Ans. 1. (a) Water mark 2. (a) Joint Photographic Experts Group 3. (d) All of these
4. (c) odt 5. (c) copying
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 13
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
9. The ___________ handles of image are used for rotating it.
10. Changing properties of an object __________ creation, retain them throughout the
session.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 14
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
OR
Five of them are explained below:
i. Select Tool: Select tool is used to select the drawing objects.
ii. Lines & Arrows: Lines and Arrow tool is used to draw a line or arrows of different
types.
iii. Curve: Curve tool is used to draw a curve line of different types.
iv. Polygon: Polygon is used to draw a polygon.
5. How is linking of an image different from embedding? Give a situation in which you
would prefer to link an image.
Ans. Difference between linking and embedding of image:
Linking Embedding
The image isn’t actually included in The image becomes the part of the
the document document
Changes in the original image file will Changes in the original image file
also affect the linked image in the does not affect the embedded image
document. in the document.
Does not increase the size of the Increases the size of the document
document
We prefer to link an image when the size of the image is too large.
OR
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 16
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Chapter 3. CREATE AND USE TEMPLATE
Template
A template in the context of this textbook refers to a preset layout used to create
documents with a consistent format.
Templates can be used to create a resume, chapter or project report.
Templates can be used to add logo of company or any product image in multiple
documents.
Templates can be reused, saving time and effort in document formatting.
Creating a Template
Steps to create and save a template in Writer are
1. Open the document in LibreOffice Writer whose template is to be created.
2. Select File > Templates > Save. The Save As Template dialog box appears.
3. Type the name of the new Template in Template Name text box.
4. Select the category.
5. Select Set as default template checkbox to make the current template as the default
template.
6. Click Save button to save the template.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 17
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Editing a Template
Steps to edit a template are:
1. Click File > Templates > Manage Templates.
2. The Templates dialog box will be displayed.
3. Right click on the template file that has to be edited and select the Edit option.
4. The template file will be opened. Make the desired changes and save the file.
SUMMARY
A template is a preset layout that helps to create professional and/or formal
documents easily.
In a template we can create and save defined headings, text formats, styles, page
numbers, headers and footers.
The new documents created from these templates have the same content segregation,
formatting features and appearance as that of the applied templates.
To create a new document with a template, select File > New > Templates …
To create and save your own template, select File > Templates > Save.
Any template can be set as a default template.
Table of Contents
Table of Contents, allows to insert an automated table of contents in a document. The
entries or contents of this table are automatically taken from the headings and sub
headings of the document. Also, by clicking on any topic in the table of contents, we can
navigate directly to the selected topic.
Hierarchy of Headings
LibreOffice Writer supports up to 10 levels of headings H1 to H10. These headings are
applied to the headings of the document.
NOTE: To remove the applied paragraph styling, select the desired level in the
Levels list box, and then click the Default button.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 22
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Steps to remove the background color of ToC
1. Right click on ToC and choose Edit index from the drop down menu.
2. Click on background tab from the dialog box.
3. Click None button present on the top of the dialog box.
SUMMARY
A Table of Contents (ToC) contains a list of topics and subtopics that have been
covered in the book along with page numbers.
A ToC in Writer allows to insert an automated table of contents in a document.
The contents in the ToC are hyperlinked in the table.
LibreOffice Writer supports up to 10 levels of headings H1 to H10.
To insert a ToC, select Insert > Table of Contents and Index > Table of Contents, Index
or Bibliography.
To add a graphic as a background of the ToC, select the Bitmap button in the
Background tab of the Table of Contents, Index or Bibliography dialog box.
Once inserted, a ToC can be edited or deleted from the document.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 23
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
2. Which of the following tabs is by default active when the Table of Contents,
Entries or Bibliography dialog box is opened?
(a) Entries (b) Background (c) Styles (d) Type
3. Which of the following tabs contains options to set styles for various entries in the
ToC?
(a) Entries (b) Background (c) Styles (d) Type
4. Which of the following can be added in the background of Table of Contents in
LibreOffice Writer?
(a) Color (b) Graphic (c) Both a and b (d) Neither a nor b
Ans: 1. (c) It has five tabs 2. (d) Type 3. (c) Styles 4. (c) Both a and b
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 24
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
2. What will happen if the ‘Protected Against Manual Changes’ option is not selected in
the Type tab of Table of Contents, Index or Bibliography dialog box?
Ans. If the ‘Protected Against Manual Changes’ option is not selected, then the contents of
ToC can be changed directly on the document page, just like any other text on the
document. This option protects the ToC from any accidental change. If this box is
unchecked, then the contents of ToC can be changed directly on the document page,
just like any other text on the document.
3. Name the five tabs present in the Table of Contents, Index or Bibliography dialog box.
Ans. Five tabs present in the Table of Contents, Index or Bibliography dialog box are:
1. Type 2. Entries 3. Styles 4. Columns 5. Background
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 25
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
UNIT-2. ELECTRONIC SPREADSHEET (Advanced)
Introduction
Data Analysis a is the process to extract useful information for making effective decisions.
The spreadsheet is one of the best software used for data analysis. The spreadsheet
component in LibreOffice known as Calc includes several tools for data analysis.
Consolidating Data
Consolidate is a function used to combine
information from multiple sheets of the
spreadsheet into one place to summarize the
information.
NOTE: Shortcut to group data is F12 and to ungroup data is Ctrl + F12.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 26
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Subtotals
The Subtotal tool in Calc creates the group automatically and applies common functions
like sum, average on the grouped data. We can use any type of function for each column
as per the requirement of data analysis.
Steps for applying Subtotal are given below
1. Open the spreadsheet and Click on Data menu and choose Subtotals.
2. Choose the column in the Group by list which is to be used for grouping the data.
3. Select the column by clicking the checkbox under Calculate subtotals for to create
subtotals.
4. Select the desired function. (By default function is Sum)
5. Click on OK button.
NOTE: Columns should have label(column heading) on which we are applying Subtotal.
After performing subtotal, you can see outline to the left of the row numbers. This outline
shows the hierarchical structure where we can expand or collapse the data by clicking on
‘+’ or ‘-‘ sign respectively.
If you want to remove the outline feature then click on Data > Group and Outline >
Remove Outline.
What-if Scenarios
What-if scenario is a set of values that can be
used within the calculations in the
spreadsheet.
It can be used in the beginning of any project
to optimise the output. This tool is used to
predict the output while changing the inputs
and thus one can choose the best plan.
Steps to create scenario are given below:
1. Select the cells which contains values in
the sheet that needs to be changed.
2. Choose Tools>Scenarios.
3. Enter a name for the new scenario.
4. Click on OK button
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 27
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
What-if Analysis Tool
What-if tool uses Data > Multiple Operations and is a planning tool for what-if questions.
The Multiple Operations tool creates a formula array to display the list of results on a list
of values used in the formula.
This tool uses two arrays of cells, one array contains the input values and the second
array uses the formula and display the result. What-if analysis tool is very helpful to
know how much profit we earn for a particular product for a series of selling units.
Following steps are used for what-if analysis tool:
1. Enter the data in the cells and then enter a formula to calculate a result from the
data entered.
2. Create an array of input values on the basis of which the output is to be generated.
3. Select the cell range of input array and output array.
4. Click on Data>Multiple Operations
5. Enter the cell address where we applied formula in the dialog box.
6. Enter the address of variable cell.
7. Click on OK
Goal Seek
In general we fill in the values in the cells and then create formula on these values to get
the required result. Goal seek helps in finding out the input for the specific output.
For example: A student has received marks in 4 subjects and has to appear for the 5th
subject and plans an aggregate as 70. So, he can use goal seek tool to check how many
marks he has to score in the 5th subject to get the required percentage.
Steps for Goal Seek are given below:
1. Enter the values and write the formula
in the cell.
2. Choose Tools > Goal Seek.
3. Enter the address of cell in the “formula
cell” box.
4. Enter the address of cell whose value is
to be predicted or unknown in “Variable
cell” box.
5. Enter the target value and click on OK.
Solver
Opens the Solver dialog. A solver allows you to solve mathematical problems with multiple
unknown variables and a set of constraints on the variables by goal-seeking methods.
To access this command...
Choose Tools > Solver.
Solver settings
Target Cell
Enter or click the cell reference of the target cell. This field takes the address of the cell
whose value is to be optimized.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 28
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Optimize results to
Maximum: Try to solve the equation for a maximum value of the target cell.
Minimum: Try to solve the equation for a minimum value of the target cell.
Value of: Try to solve the equation to approach a given value of the target cell.
Enter the value or a cell reference in the text field.
By Changing Cells
Enter the cell range that can be changed. These are the variables of the equations.
Limiting Conditions
Add the set of constraints for the mathematical problem. Each constraint is represented
by a cell reference (a variable), an operator, and a value.
Cell reference: Enter a cell reference of the variable.
Click the Shrink button to shrink or restore the dialog. You can click or select cells
in the sheet. You can enter a cell reference manually in the input box.
Operator: Select an operator from the list. Use Binary operator to restrict your
variable to 0 or 1. Use the Integer operator to restrict your variable to take only
integer values (no decimal part).
Value: Enter a value or a cell reference. This field is ignored when the operator is
Binary or Integer.
Remove button: Click to remove the row from the list. Any rows from below this
row move up.
You can set multiple conditions for a variable. For example, a variable in cell A1 that must
be an integer less than 10. In that case, set two limiting conditions for A1.
Example: Sum x1 through x4 in a formula, and then add the requirement to the solver
that the result equals 1. For example, put this in E5:
=SUM(E1:E4)
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 29
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
A. Multiple-choice questions.
1. Which of the following feature is not used for data analysis in spreadsheet?
(a) Consolidating data (b) Goal Seek
(c) Subtotal (d) Page layout
2. Which of the following office tool is known for data analysis?
(a) Writer (b) Calc (c) Impress (d) Draw
3. Which of the following operations cannot be performed using LibreOffice Calc?
(a) Store and manipulate data (b) Create graphical representation of data
(c) Analysis of data (d) Mail merge
4. What is the extension of spreadsheet file in Calc?
(a) .odb (b) .odt (c) .odg (d) .ods
5. The default function while using Consolidate is ________.
(a) Average (b) Sum (c) Max (d) Count
6. Group by is used in ______ tool to apply summary functions on columns.
(a) Consolidate function (b) Group and Outline
(c) What-if scenario (d) Subtotal tool
7. Which tool is used to predict the output while changing the input?
(a) Consolidate function (b) What-if scenario
(c) Goal seek (d) Fine and Replace
8. Which of the following is an example for absolute cell referencing?
(a) C5 (b) $C$5 (c) $C (d) #C
9. _______ analysis tool works in reverse order, finding input based on the output.
(a) Consolidate function (b) Goal seek
(c) What-if analysis (d) Scenario
Ans. 1 (d) Page layout 2 (b) Calc 3 (d) Mail merge 4 (d) .ods
5 (b) Sum 6 (d) Subtotal tool 7 (b) What-if scenario 8 (b) $C$5
9 (b) Goal seek
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 30
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
C. Fill in the blanks.
1. Consolidate function is used to combine information from multiple sheets to
___________ the information.
2. Data can be viewed and compared in a single sheet for identifying trends and
relationships using _______ function.
3. _______ under Data menu can be used to combine information from multiple
sheets into one sheet to compare data.
4. The _____ tool in Calc creates the group automatically and applies functions on
the grouped data.
5. ______ scenario is used to explore and compare various alternatives depending on
changing conditions.
6. ________ is a planning tool for what-if questions.
7. What-if analysis tool uses _______ array of cells, one array contains input values
and the second uses the ________.
8. _________ helps in finding out the input for the specific output.
2. Give one point of difference between ‘What-if scenario and What-if tool’.
What-if scenario is used to explore and compare various alternatives depending
on changing conditions. It allows you to create different scenarios on the same
sheet, each with some different values. It can be used in the beginning of any
project to optimize the output. This tool is used to predict the output while
changing the inputs which reflects the output and thus one can choose the best
plan of action based on it.
What-if tool uses Data > Multiple Operations and is a planning tool for what-if
questions. This feature is used to explore and compare various outcomes based
on changing conditions. It’s particularly useful for financial modelling and
forecasting. This tool uses two arrays of cells, one array contains the input values
and the second array uses the formula and displays the result. A what-if analysis
tool is very helpful when we want to know how much profit we earn for a particular
product for a series of selling units. In this, the output is not shown in the same
cells, whereas it uses a drop-down list to display the output depending upon the
input.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 31
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
3. Give any two advantages of data analysis tools.
Ans. Advantages of data analysis tools.
• Data analysis tool is used to retrieve, correlate, explore, and visualize the data.
• Data analysis tool is used to identify patterns, trends, and relationships.
• Data analysis tool is used to analyse the data and interpret the result from it.
• Data analysis is very useful in the beginning of any project to optimize the
output.
• Data analysis is used to predict the output while changing the inputs which
reflects the output and thus one can choose the best plan of action based on it.
4. Name any two tools for data analysis.
Ans. Tools used for data analysis are
• Consolidating Data
• Groups and Subtotals
• What-if Scenarios
• Goal Seek
• What-if Analysis Tool
5. What are the criteria for consolidating sheets?
Ans. Criteria for Consolidation Sheets are
• Data types across all the sheets to be consolidated should be same.
• Match the labels from all the sheets which are used for consolidating.
• Enter the first column as the primary column based on which the data is to be
consolidated.
6. Which tool is used to create an outline for the selected data?
Ans. The Group and Outline tool in Calc is used to create an outline of the selected data
and can group rows and columns together so that one can collapse (-) to hide it or
expand (+) it using a single click on it.
Lab Exercise
1. Mr Gurdeep has to take a loan of Rs. 10 lakhs to buy a house. After assessing his
situation, he has realized that he can pay the loan in 15 years by paying out an
EMI of 20,000.
• (a) Use Goal seek to find out the interest rate at which he can borrow the loan.
• (b) Use a What-If Scenario to depict the payment of the loan in 25 years by
paying out an EMI of 10,000.
• (c) Use Scenario Manager to find the best case.
2. Power Motors has 3 branches all over Bhopal. Each branch maintains monthly
sales of different models of electric scooters and at the end of the month mails it
to the State Head. Prepare a consolidated sheet that shows total and average sales
made for each model of the electric scooter with respect to the spreadsheet sent by
the branches to the head office. You are required to identify the column headings
for the various branches, enter data in three different spreadsheets indicating
different branches, and consolidate data to find total sales and average sales for
each model.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 32
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Chapter 2. LINK DATA AND SPREADSHEETS
Introduction
When the marks scored by each student in three terminal examinations are stored in
three different sheets T1, T2, T3. Now to generate final result in single result sheet by
finding the addition of marks of each subject, what would be the ideal solution?
Retyping or copying the marks can be one solution but it will be time consuming and also
there are chances of committing typing errors. Instead, the ideal solution will be to find a
way to refer the marks stored in the sheets T1, T2 and T3.
In this manner, there are nearly no chances of errors and if the marks of a subject are
changed, they will be automatically reflected in the final sheet.
3. Click on Sheet>insert sheet to open Insert sheet dialog box which will help us to insert
a new sheet.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 33
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Linking Spreadsheet data
Now we want the total marks in another Sheet named ‘Result’
To calculate the final marks for English in ‘Result’ sheet, follow the following steps.
1. First copy the Student Name and subject Name from ‘Sheet1’ to ‘Result’ sheet.
2. Type =SUM() in a cell and click between the brackets.
3. Now click on the ‘Sheet1’ sheet and click the English Marks for the first student and
write (+) for the next value. Now click on the ‘Sheet2’ sheet and click the English Marks
for the first student as shown below:
4. Press Enter key, the total marks of subject English will be displayed in cell B2 of
‘Result’ sheet.
5. Then use fill handle to fill the cells up to the last student’s data. You can copy the same
formula for other subjects
NOTE: Any changes made to marks in ‘Sheet1’ and ‘Sheet2’ sheet will be reflected in the
‘result’ sheet as well. That is how the sheets are linked together
NOTE: Single quotes (‘ ’) are mandatory if there is a space in the Sheet name like ‘Sheet 1’.
NOTE: To refer to a cell in a different spreadsheet we write in single quotes the path of the
file followed by #$ then the name of the sheet followed by a . (dot) and then the cell
address.
For example: ‘file:///C:/Users/ADMIN/Documents/X-A.ods’#$Result.C4
The path of a file has three forward slash ///. A filename can have space within its name
hence single quotes (‘ ‘) are used. It is also possible to insert a sheet from another file. The
From file option of Insert Sheet Dialog box allows us to insert sheet from another file as
well.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 34
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Hyperlinks to the Sheet
Hyperlinks can be used in Calc to jump to a different location from within a spreadsheet
to other parts of the same file or to different files or even to web sites.
A relative hyperlink stores the location with respect to the current location. For example:
Admin\Downloads\try.ods is a relative hyperlink as it is dependent on the current
location. If the complete folder containing the active spreadsheet is moved the relative link
will still be accessible as it is bound to the source folder where the active spreadsheet is
stored.
Creating Hyperlinks
Suppose, you have to hyperlink a “Sheet1” of “Result-X-A” spreadsheet document in the
“Result-X-B” spreadsheet document, then follow the following steps:
1. Open the “Result-X-B” spreadsheet document.
2. Click on Insert > Hyperlink. An Hyperlink dialog box will open.
3. Click on the Document on the left pan of dialog box. Click on the button located after
the Path. Select the document “Result-X-A”
4. Then click on the Target button to choose the sheet which is to be hyperlinked. Here in
our case we will select the sheet “Sheet1” as shown above.
5. Click on Apply and Close button.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 35
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
6. Enter the text in the Text box to assign the hyperlink to that text.
7. Click on Apply and Close button.
NOTE: To open the hyperlinked sheet, press the Ctrl key and click on the hyperlinked
word “ResultX-A”, the sheet will be opened in the new window.
Editing Hyperlinks
To edit an existing link, place the cursor anywhere in the link. Right click and choose Edit
Hyperlink…, the Hyperlink dialog box will be displayed, where we can do required
changes in the hyperlink.
On clicking the Remove Hyperlink option, the link will be removed from the text.
NOTE: If you choose HTML_all option, then the entire HTML document is selected.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 36
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Linking to Registered Data Sources
LibreOffice Calc allows us to link spreadsheet documents with databases and other data
sources. The data source needs to be registered with LibreOffice.
The extension of LibreOffice Base is .odb. To register a data source that is in *.odb format,
follow the steps given below.
1. Select Tools > Options > LibreOffice Base > Databases. The Options – LibreOffice Base-
Databases dialog box appears.
2. Click the New button to open the Create Database Link dialog box.
3. Click Browse to open a file browser and select the database file.
4. Type a name to use as the registered name for the database and click OK.
A. Multiple-choice questions.
1. Insert Sheet dialog can be invoked from _______.
(a) sheet (b) insert (c) tools (d) Windows
2. _______ refers to cell G5 of sheet named My Sheet.
(a) $My Sheet.’G5’ (b) $My Sheet_’G5’
(c) $ ‘MySheet’.G5 (d) $ ‘MySheet’_G5
3. The path of a file has ________ forward slashes.
(a) four (b) three (c) two (d) one
4. Which of the following feature is used to jump to a different spreadsheet from the
current spreadsheet in LibreOffice Calc?
(a) Macro (b) Hyperlink (c) connect (d) Copy
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 38
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
5. State advantages of extracting data from a web page into a spreadsheet.
Ans. Advantages of extracting data from a web page into spreadsheet are:
1. Accuracy: Extracting data directly from a webpage, ensure that the information
is up-to-date and accurate.
2. Efficiency: Extracting data automates the process of gathering data from a
webpage.
3. Collaboration: It also facilitates organization and collaboration of data.
Lab Exercises
1. Create three sheets named Jan, Feb and March. In each sheet store the
attendance of employees for a month. Apply the count function to count the
number of days the employees were present by counting P.
2. Add another sheet named ‘Consolidated Attendance’ that stores total attendance
of three months and calculates the percentage.
3. Create a spreadsheet containing the list of Prime ministers of India with their
tenure from the website https.//knowindia.gov.in/general-information/prime-
ministersof-india.php. Perform steps to extract the table from the website into a
Calc Sheet and display the count of Prime Ministers of India till date.
Sharing Spreadsheet
Steps to share the spreadsheet are:
1. Open a spreadsheet which is to be shared with
others.
2. Save the file with some name.
3. Click on Tools > Share Spreadsheet.
4. Share Document dialog window will open.
5. Click on the checkbox “Share this spreadsheet
with other users”.
6. Click on OK button.
7. Confirmation dialog window will open
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 39
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
8. Click on Yes to continue.
NOTE: Once the spreadsheet is saved, the name of the spreadsheet in the title bar will
display (shared) along with the name of the spreadsheet. (as shown below)
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 40
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Recording Changes
This feature of LibreOffice Calc provides different ways to record the changes made by one
or other users in the spreadsheet. Steps for recording changes are:
1. First disable the shared mode of spreadsheet (if Shared)
2. Turn Off the feature of Track Changes > Record under Edit menu.
Formatting comment
1. Right click on the cell where you have inserted the comments.
2. Select the option “Format cell”, which will display the Format Cells dialogue box.
3. Change the font, text colour, fill colour, line colour for the comment box as desired and
click on OK button to apply the changes.
NOTE: Comments can be edited, deleted, show or hide by clicking on Sheet menu > Cell
Comments
Merging Documents
If the same spreadsheet is reviewed by different team members and you have two different
versions of the same spreadsheet file. Follow the following steps to merge document.
1. Open the spreadsheet file(Say “Test.ods”) which we need to merge.
2. Click on Edit > Track Changes > Merge Document
3. Merge with dialog box will open.
4. Browse file (say “Test1.ods”) and click on Open.
5. Manage Changes dialog window will open.
6. Click on Accept All to accept all the changes which is done in the Test1.ods
spreadsheet.
7. Open the file Test.ods and observe the change
Comparing Documents
Instead of merging two spreadsheets, we can compare the two spreadsheets by comparing
the documents. Steps to compare the documents are:
Open the spreadsheet.
Click on Edit > Track Changes > Compare Document.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 42
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
This will open the Compare to dialog window, which will allow to open the spreadsheet to
be compared.
This will open the Manage Changes dialog window to accept/reject the changes.
Finally click on Close button to close the Manage Changes dialog window.
A. Multiple-choice questions.
1. Sharing allows to edit the spreadsheet by ______.
(a) single user (b) different users simultaneously
(c) one by one users (d) one after other users
2. Sharing spreadsheet feature allows to save the changes in
(a) multiple sheets (b) user’s sheet
(c) in a same sheet (d) in different sheet
3. The Recording Changes feature of LibreOffice Calc provides different ways to
record the changes made by ________ in the spreadsheet.
(a) one user (b) other user (c) the user (d) one or other users
4. In Calc, the comments are added
(a) automatically (b) by author (c) by reviewer (d) all of these
5. The changes by team members in the spreadsheet can be accepted or rejected by
(a) the team members (b) any of the user
(c) owner (d) other users
Ans. 1 (b) different users simultaneously 2 (a) multiple sheets 3 (d) one or other
users. 4 (d) all of above 5 (c) owner
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 43
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
7. The comment box can be formatted just like formatting the ________ (cell contents).
Recording a Macro
A macro is a single instruction that
executes a set of instructions. These
set of instructions can be a sequence
of commands or keystrokes that can
be used for any number of times
later.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 45
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Steps given below to record a macro
1. Click on Tools > Macros and then click on the Record Macro.
2. Now start taking actions that will be recorded.
3. Click on “Stop Recording” button to stop the recording of actions.
4. Basic Macros dialog window open to save the Macro.
5. Select the object in the Save Macro to list box.
6. Type the name of the macro and click on Save button.
NOTE: By default the name of the macro is Main and is saved in the Standard Library in
Module1. A Library is a collection of modules which in turn is a collection of macros.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 46
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
6. Click on Module tab and then New to create Module to store macro.
NOTE: The module can be executed from the IDE by either clicking the Run button or
pressing F5.
Macro as a Function
Suppose we need to perform the same calculation again and again on different sheets and
there is no predefined function for it. In such a situation it will be convenient to create a
macro that performs the calculations. It will save our effort of remembering and typing the
formulas.
It is possible to do so if we use Macro as a function. Instead of writing instructions in
between Sub and End Sub, we can write instructions in between Function and End
Function. A function is capable of accepting arguments or values.
A. Multiple-choice questions.
1. Macro Recordings can be enabled from the ______ option in the menu bar.
(a) Sheet (b) Data (c) Tools (d) Window.
2. Which of the following is a valid Macro Name?
(a) 1formatword (b) format word (c) format*word (d) Format_word
3. Which of the following Libraries contains modules with prerecorded macros and
should not be changed?
(a) My Macros (b) LibreOfficeMacros
(c) Untitled1 (d) Test
4. Identify which of the following is a programming Language.
(a) Calc (b) BASIC (c) Writer (d) Macro.
5. The Module can be executed from the IDE by pressing _____.
(a) F3 (b) F4 (c) F5 (d) F6
6. Which of the following is the default name of the Macro ______.
(a) Default (b) Main (c) Macro1 (d) Main_Macro
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 47
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
Ans. 1 (c) Tools 2 (d) Format_word 3 (b) LibreOfficeMacros 4 (b) BASIC
5 (c) F5 6 (b) Main
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 48
X-IT (402) _PART-B Additional info based on NCERT (LibreOffice)
-------------------------------------------------------------------------------------------------------------------------------------
• Actions were carried out in another window than where the recording was
started.
• Window switching.
• Actions that are not related to the spreadsheet contents. For example, changes
made in the Options dialog, macro-organizer, and customizing.
• Selections are recorded only if they are done by using the keyboard (cursor
traveling), but not when the mouse is used.
• The macro recorder works only in Calc and Writer.
Lab Exercises
1. Record a Macro that performs Bold, Underline on the Heading in Cell A1. Give
macro the name BoldunderlineA1 and save it in a New Module named Basic
Formatting which is created in a New Library named DocumenHeadingA1.
2. Record a Macro that creates a bar chart for data stored in cells A2 – A9 and K2 to
K9.
3. Run the macro recorded in (i) and display a bar chart for the following data
showing Minimum and Maximum temperature from 2010-2017.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
NARAYANA GROUP OF SCHOOLS 49