0% found this document useful (0 votes)
10 views20 pages

Practical File Class X 2024-25 - 113510

The document outlines a series of assignments focused on using LibreOffice Base to create and manage databases for various applications, including sports events, library systems, school databases, and queries. Each assignment includes specific tasks such as creating tables, entering data, establishing relationships, and generating reports, with detailed procedures for completion. The aim is to develop skills in database management, data integrity, and user-friendly data presentation.

Uploaded by

remlingpertin69
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views20 pages

Practical File Class X 2024-25 - 113510

The document outlines a series of assignments focused on using LibreOffice Base to create and manage databases for various applications, including sports events, library systems, school databases, and queries. Each assignment includes specific tasks such as creating tables, entering data, establishing relationships, and generating reports, with detailed procedures for completion. The aim is to develop skills in database management, data integrity, and user-friendly data presentation.

Uploaded by

remlingpertin69
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Unit – 3: DBMS

Assignment – 1: Working with LibreOffice Base

TASK:
You are organizing a sports event and need to create a database to manage event
details. Using LibreOffice Base, perform the following tasks:
1. Create a database named SportsDay to store event details.
2. Design a table named Events with the following fields:
o EventID (Integer, Primary Key)
o EventName (Variable Text)
o EventDate (Date)
o Participants (Integer)
o WinningTeam (Variable Text)
3. Enter at least three records into the Events table with the following
information:
o Event ID
o Name of the event
o Date of the event
o Number of participants
o Name of the winning team
4. Update the number of participants for one of the events.
5. Delete the record of an event no longer part of the schedule.
6. Sort the table by the number of participants in descending order.

AIM
To create, manage, and manipulate a database in LibreOffice Base, including creating
tables, entering data, editing records, and sorting data.

PROCEDURE
1. Creating a Database
1. Open LibreOffice Base:
o On Windows: Go to Start > LibreOffice > Base.
o On Linux: Search for "Base" in the applications menu.
2. In the Database Wizard, select Create a New Database.
3. Choose "No, do not register" when prompted to register the database.
4. Click Finish and save the database with the name SportsDay.
2. Creating a Table in Design View
1. In the Tasks Pane, select Create Table in Design View.
2. Enter the following field details:
Field Name Data Type Description
EventID INTEGER Unique ID for each event
EventName VARCHAR Name of the event
EventDate DATE Date of the event
Participants INTEGER Number of participants
WinningTeam VARCHAR Name of the winning team
3. Set EventID as the Primary Key by right-clicking the field and selecting
Primary Key.
4. Save the table as Events.
3. Entering Data into the Table
1. Double-click on the Events table to open it in Datasheet View.
2. Enter the following records:

EventID EventName EventDate Participants WinningTeam


1 100m Race 2024-11-15 8 Team A
2 Long Jump 2024-11-16 5 Team B
3 Relay Race 2024-11-17 12 Team C
4. Editing and Deleting Records
1. Editing Records:
o Change the number of participants in 100m Race to 10 by clicking on the
field and entering the new value.
2. Deleting Records:
o Delete the record for Long Jump by selecting it, pressing the Del key, and
confirming the deletion.
5. Sorting Data

1. Open the Events table in Datasheet View.


2. Sort the records in descending order based on Participants:
o Click on the Participants field header.
o Select Sort Descending (Z-A) from the toolbar.

Result

You have successfully created a database, added and edited data in a table, and
sorted the records. The table now contains the following data:

EventID EventName EventDate Participants WinningTeam


3 Relay Race 2024-11-17 12 Team C
1 100m Race 2024-11-15 10 Team A

Expected Output

1. A database named SportsDay is created.


2. A table named Events is created with the specified fields.
3. Data is successfully entered and updated.
4. Records are sorted by Participants in descending order.

_____________________%%%%__________________________

Assignment – 2:
Creating and Managing a Database Using the Wizard in LibreOffice Base

TASK:
Using the Table Wizard in LibreOffice Base, perform the following tasks:
1. Create a database named LibrarySystem.
2. Design a table named Books using the wizard and include the following fields:
o BookID (Primary Key)
o Title
o Author
o Publisher
o ISBN
o Price
3. Enter at least three records into the table.
4. Update the price of one book.
5. Delete one book record.
6. Sort the table alphabetically by Title in ascending order.

AIM
To create a database, design tables, and manage data using the Table Wizard in
LibreOffice Base.

PROCEDURE
1. Creating a Database
a) Open LibreOffice Base:
o On Windows: Go to Start > LibreOffice > Base.
o On Linux: Search for "Base" in the applications menu.
b) In the Database Wizard, select Create a New Database.
c) Choose "No, do not register" when prompted to register the database.
d) Click Finish and save the database as LibrarySystem.
2. Creating a Table Using the Wizard
a) In the Tasks Pane, click Use Wizard to Create Table.
b) Select Books as the sample table.
c) In the Available Fields section, move the following fields to Selected Fields:
o BookID
o Title
o Author
o Publisher
o ISBN
o Price
d) Click Next to set field types and formats.
o Ensure BookID is set as Integer.
o Set Title and Author as Variable Text (VARCHAR).
o Set Price as Currency.
e) Click Next to define the primary key:
o Select Use an existing field as a primary key and choose BookID.
f) Click Create Table to save the table as Books.

3. Entering Data into the Table


a) Double-click the Books table to open it in Datasheet View.
b) Enter the following records:

BookID Title Author Publisher ISBN Price


"The Great
1 F. Scott Scribner 1234567890 $15.99
Gatsby"
2 "1984" George Orwell Penguin 0987654321 $10.49
Herman Harper &
3 "Moby Dick" 1111222233 $12.75
Melville Brothers

4. Editing Data
a) Update the price of "1984" to $12.99 by clicking on the field and entering the
new value.
5. Deleting Records
a) Delete the record for "Moby Dick" by selecting it, pressing Del, and confirming
the deletion.
6. Managing Data
a) Sort the table in ascending order based on the Title field:
o Click on the Title column header.
o Click Sort Ascending (A-Z) from the toolbar.

Result

You have successfully created a database, designed a table using the wizard, entered
data, edited records, deleted records, and sorted data.

Expected Output
1. A database named LibrarySystem is created.
2. A table named Books is created with the specified fields.
3. Data is entered and updated successfully.
4. Records are sorted alphabetically by title.

_____________________%%%%__________________________
Assignment - 3:
Working with Multiple Tables and Relationships in LibreOffice Base
TASK:
Perform the following tasks using LibreOffice Base:
1. Create a database named SchoolDatabase.
2. Create two tables: StudentInfo and Student_Result with the specified fields.
3. Establish a One-to-Many relationship between the tables using AdmissionNo.
4. Set Cascade Update as the referential integrity option.
5. Enter at least three records in StudentInfo and corresponding records in
Student_Result.
6. Edit the StudentInfo table to add a new field ContactNumber.
7. Rename the Student_Result table to ExamResults.
8. Delete one of the tables.

Aim
To create, edit, and manage multiple tables in LibreOffice Base, establish relationships
between them, and understand their significance in maintaining data integrity.

Procedure
1. Creating Tables
1. Create a Database: Open LibreOffice Base and create a new database named
SchoolDatabase.
2. Create the Master Table (Student_Details):
o Use Design View to create the table.
o Add the following fields:

Field Name Data Type Description


AdmissionNo Integer (PK) Unique ID for each student.
StudentName Text Name of the student.
Class Text Class of the student.
Section Text Section of the student.
o Save the table as Student_Details.
3. Create the Transaction Table (Student_Result):
o Use Design View to create the table.
o Add the following fields:

Field Name Data Type Description


ResultID Integer (PK) Unique ID for each result.
AdmissionNo Integer (FK) References Student_Details.
Subject Text Subject name.
MarksObtained Integer Marks obtained by the student.
o Save the table as Student_Result.
2. Establishing Relationships
1. Define the Relationship:
o Open the Relationships window via Tools > Relationships.
o Add the Student_Details and Student_Result tables to the window.
2. Link the Tables:
o Drag AdmissionNo from Student_Details to AdmissionNo in
Student_Result.
o Confirm the relationship type as One-to-Many.
3. Set Referential Integrity:
o Double-click the relationship line.
o Select Cascade Update to ensure changes in the master table reflect in the
transaction table.
3. Editing and Managing Tables
1. Edit the Master Table (Student_Details):
o Add a new field ContactNumber (Text) using the Edit option.
2. Delete a Table:
o Delete the Student_Result table by right-clicking it and selecting Delete.
3. Rename a Table:
o Rename the Student_Details table to StudentInfo using the Rename
option.
4. Entering Data and Validating Relationships

1. Enter Data in Master Table: Populate StudentInfo with at least three records:

AdmissionNo StudentName Class Section ContactNumber


1 John Doe 10 A 9876543210
2 Jane Smith 9 B 8765432109
3 Alex Brown 10 C 7654321098

2. Enter Data in Transaction Table: Populate Student_Result with records linked


to StudentInfo:

ResultID AdmissionNo Subject MarksObtained


1 1 Mathematics 90
2 1 Science 85
3 2 English 78

Result

You have successfully created and managed multiple tables, established relationships,
and ensured data consistency through referential integrity in LibreOffice Base.

Expected Output

1. A database named SchoolDatabase with related tables StudentInfo and


Student_Result.
2. Correctly established One-to-Many relationship between the tables.
3. Data integrity maintained with valid data entries and cascading updates.

_____________________%%%%__________________________
Assignment – 4:
Creating and Managing Queries in LibreOffice Base
TASK:
1. Create a query using the Query Wizard to display events, winners, and their
corresponding categories. Filter the results for CategoryID = "C002".
2. Using Design View, create a query that lists events and winners from the
Athletics category, sorted by Event Name.
3. Create a query to calculate the average marks of students in a specific
category using a mathematical function.
4. Edit a saved query to filter records based on a condition (e.g., Marks < 50).

Aim
To create, execute, and edit queries in LibreOffice Base using the Query Wizard and
Design View for retrieving specific data from a database.

Procedure
1. Creating a Query Using a Wizard
1. Open the Sports Day Database:
o Launch LibreOffice Base and open an existing database named
SportsDayDB.
2. Access the Query Wizard:
o Navigate to the Queries section in the Database Pane.
o Click Use Wizard to Create Query….
3. Select Fields for the Query:
o Choose the Events table.
o Select fields: Event Name, Winner, and CategoryID.
o Move the fields to the Fields in the Query list.
4. Set Sorting Order:
o Arrange the results in ascending order based on Event Name.
5. Set Search Criteria:
o Add a criterion to filter results (e.g., CategoryID = "C001").
6. Assign Alias Names:
o Rename Winner to Winner Name for clarity.
7. Finish and Save the Query:
o Review the query summary and click Finish.
o Save the query as Events_C001_Winners.

2. Creating a Query in Design View


1. Access the Design View:
o Go to the Queries section.
o Select Create Query in Design View….
2. Add Tables to the Query Design:
o Add Events and EventCategory tables to the Query Design window.
3. Select Fields:
o From the Events table, add fields Event Name and Winner.
o From the EventCategory table, add Category Name.
4. Set Alias for Fields:
oUse Winner Name as an alias for the Winner field.
5. Apply Sorting:
o Sort the query results by Category Name in ascending order.
6. Run and Save the Query:
o Click Run Query or press F5 to execute the query.
o Save the query as Athletics_Results_Query.

3. Editing an Existing Query


1. Open the Query for Editing:
o Right-click on the saved query Athletics_Results_Query and select Edit.
2. Modify Criteria:
o Apply a new criterion (e.g., Category Name = "Athletics").
3. Utilize Relational Operators:
o Use >, <, or = to filter records (e.g., Marks > 80).
4. Save the Changes:
o Save the edited query as Filtered_Athletics_Results.

4. Creating a Query for Mathematical Functions


1. Create a Query for Average Points:
o Add fields Category Name and Points.
o Use the Group function for Category Name.
o Use the Average function for Points.
2. Apply Conditions to Groups:
o Set a condition in the Criterion row to filter results (e.g., Points > 50).
3. Run and Save the Query:
o Execute the query and save it as Average_Points_By_Category.

Result

You have successfully created, executed, and edited queries in LibreOffice Base using
the Query Wizard and Design View, and utilized mathematical functions to analyze
numerical data.

Expected Output

1. A query displaying filtered event winners for CategoryID = C001.


2. A query listing results for the Athletics category.
3. A mathematical query calculating the average points for each category .

_____________________%%%%__________________________
Assignment – 5:
Forms and Reports in LibreOffice Base
TASK:
1. Forms:
o Create a form for managing event categories. Add a dropdown menu to
select event types.
o Customize the form to include a header with the title "Event
Management Form."
2. Reports:
o Generate a report to display winners grouped by event category.
o Customize the report to include totals for each category and a footer with
the text "Generated by Sports Day Management System."

Aim
To create and customize forms and reports in LibreOffice Base to facilitate user-
friendly data entry and professional data presentation.

Procedure
Part A: Working with Forms
1. Creating a Form Using Wizard
1. Launch Database:
Open the Sports Day Database in LibreOffice Base.
2. Access the Form Wizard:
o Navigate to the Forms section in the Database Pane.
o Click Use Wizard to Create Form.
3. Set Up the Form:
o Select the Events table from the list of tables.
o Move all fields from Available Fields to Fields in the Form.
o Choose a Columnar layout and apply any preferred style.
o Save the form as EventsForm.
4. Add a Calendar for Date Fields:
o Open the form in Edit Mode.
o Select the date field (e.g., Event Date) and right-click to open Control
Properties.
o Change the Date Format to "Standard (long)" and enable Dropdown for a
calendar view.
2. Customizing a Form
1. Change Background Color:
o Open the form in Edit Mode.
o Right-click on the form and select Page Style.
o Choose a background color from the palette.
2. Modify Labels:
o Select a label (e.g., Event Name) by clicking it while holding Ctrl.
o Open Control Properties and update the label text to make it more
descriptive.
3. Add Tooltips:
o Select any field, right-click, and open Control Properties.
o Add a helpful description in the Help Text property.
4. Save Changes:
Save the modified form as CustomEventsForm.

Part B: Working with Reports


1. Creating a Basic Report Using Wizard
1. Launch the Report Wizard:
o Go to the Reports section in the Database Pane.
o Click Use Wizard to Create Report.
2. Configure the Report:
o Select the Events table.
o Move all fields to the Fields in Report list.
o Set a tabular layout and choose a Landscape orientation.
o Save the report as EventsReport.

2. Customizing a Report
1. Add Titles and Headings:
o Open EventsReport in the Report Builder by right-clicking and selecting
Edit.
o Use the Label Tool to add a title (e.g., Annual Sports Day Report).
o Customize the font style and size using the Font Properties dialog.
2. Insert Date and Time:
o Add the current date in the Page Header by clicking Insert > Date and
Time....
o Select a preferred format and position it appropriately.
3. Group Data by Category:
o While creating the report, group data by CategoryID in the Grouping step.
o Save the updated report as GroupedEventsReport.

3. Generating Reports with Calculations


1. Create a Query for Report Input:
o Design a query to calculate the total number of events in each category.
o Save the query as CategoryEventCount.
2. Create a Report from Query:
o Use the CategoryEventCount query as the source in the Report Wizard.
o Group data by Category Name and include totals.
o Save the report as CategoryEventSummary.

Result:

Thus the program created and executed successfully.

Expected Output
1. Forms:
o A user-friendly form for data entry with customized labels, tooltips, and a
calendar control.
2. Reports:
o A tabular report of events.
o A professionally formatted report with grouped data, titles, and the current
date.

_____________________%%%%__________________________
Unit – 1: Digital Documentation (Advanced)
Assignment – 6 :
Working with Digital Images

Task:
Learn and apply basic skills to insert, resize, and format images in a document.

Aim:
To understand how to insert images into a document, adjust their properties (resize,
crop, and apply adjustments), and position them effectively for visual appeal.

Procedure:
1. Insert an Image:
o Open a word processor (e.g., MS Word, Google Docs, or LibreOffice Writer).
o Use the Insert Menu to add an image to your document.
2. Resize the Image:
o Select the image and drag the corner handles to make it smaller while
maintaining its aspect ratio.
3. Crop the Image:
o Use the Crop Tool to remove unwanted areas of the image.
4. Apply Adjustments:
o Adjust the brightness, contrast, and gamma of the image using the image
toolbar or relevant settings.
5. Position the Image:
o Experiment with Text Wrapping options:
 No Wrap.
 Page Wrap.
 Optimal Wrap.
o Align the image to the left, center, or right of the page.
6. Final Document:
o Add a title and a short description of the process you followed.
o Save the document with the name “Image_Task_[YourName].docx”.

Result:
By completing this assignment, you will have a document that demonstrates:
 An inserted image.
 Adjusted image properties (resize, crop, and adjustments).
 Proper positioning using text wrapping.

Expected Output:
A one-page document containing:
 The inserted and formatted image.
 A short description of the steps taken to insert and manipulate the image.
 A neatly organized layout with appropriate text and image alignment.

_____________________%%%%__________________________
Assignment – 7:
Creating and Customizing a Table of Contents (ToC)

Task:
Create a structured document with headings and generate a Table of Contents (ToC) using LibreOffice
Writer.

Aim:
To learn how to create, customize, and maintain a Table of Contents in LibreOffice Writer by applying
proper heading styles and using ToC features.

Procedure:
1. Prepare the Document:
o Open LibreOffice Writer and create a new document.
o Type the following headings and subheadings as sample content:
 Introduction
 Features of LibreOffice Writer
 Key Features
 Benefits
 Using Table of Contents
 Creating a ToC
 Customizing a ToC
 Conclusion
2. Apply Heading Styles:
o Open the Styles sidebar (View > Styles or press F11).
o Apply the following heading levels:
 Heading 1: Introduction, Features of LibreOffice Writer, Using Table of Contents,
Conclusion.
 Heading 2: Key Features, Benefits, Creating a ToC, Customizing a ToC.
3. Insert the Table of Contents:
o Place the cursor at the top of the document.
o Go to Insert > Table of Contents and Index > Table of Contents, Index, or Bibliography.
o In the ToC dialog:
 Set the title as “Table of Contents.”
 Customize other options if desired, then click OK to insert the ToC.
4. Customize the ToC:
o Right-click on the ToC and select Edit Index/Table.
o Explore the tabs:
 Entries Tab: Adjust the entry format, such as adding dots between titles and page
numbers.
 Styles Tab: Change the appearance of different heading levels.
5. Update the ToC:
o Add or modify some headings in the document.
o Right-click on the ToC and select Update Index/Table to reflect the changes.
6. Save and Submit:
o Save the document as “ToC_Assignment_[YourName].odt.”

Result:
By completing this assignment, you will have a document containing:
 Properly structured headings.
 A functional and customized Table of Contents.
 Demonstrated ability to update and maintain the ToC.

Expected Output:
A well-structured document with:
1. Properly styled headings (H1 and H2 levels).
2. A customized Table of Contents reflecting the document's structure.
3. A clean and professional layout.

_____________________%%%%__________________________
Assignment – 8:
Working with Templates in LibreOffice Writer

Task:
Create a professional document using both in-built and custom templates, and practice managing
templates effectively.

Aim:
To understand the use of templates in LibreOffice Writer for creating consistent and professional
documents efficiently.

Procedure:
1. Explore In-built Templates:
o Open LibreOffice Writer.
o Go to File > New > Templates.
o Choose an in-built template (e.g., a letter, report, or resume).
o Create a document based on the selected template and save it as
“Template_Document1.odt.”
2. Create a Custom Template:
o Open a blank document in LibreOffice Writer.
o Format the document by adding:
 A header with a logo and title.
 A footer with page numbers.
 Customized font styles and colors for headings and text.
o Save the document as a template:
 Go to File > Templates > Save as Template.
 Name the template “Custom_Template” and save it in the appropriate category.
3. Use the Custom Template:
o Create a new document using the custom template:
 Go to File > New > Templates.
 Select “Custom_Template” and start a new document.
o Add sample text and save it as “Template_Document2.odt.”
4. Manage Templates:
o Open the Manage Templates dialog (File > Templates > Manage Templates).
o Edit the “Custom_Template” by adding a watermark.
o Set “Custom_Template” as the default template.
5. Import and Export Templates:
o Import a template:
 Download a template from an online source (LibreOffice Template Repository
or similar).
 Import it into LibreOffice Writer via Manage Templates > Import.
o Export the “Custom_Template” for sharing:
 Go to Manage Templates > Export and save it to your preferred location.

Result:
By completing this assignment, you will have:
 A document created using an in-built template.
 A custom template designed and used to create a document.
 Experience in managing, importing, and exporting templates.

Expected Output:
1. Template_Document1.odt: A document created using an in-built template.
2. Custom_Template: A saved and customized template.
3. Template_Document2.odt: A document created using the custom template.
4. Demonstrated ability to import and export templates.
_____________________%%%%__________________________
Assignment – 9:
Using the Track Changes and Compare Documents Features

Task:
Learn how to enable and use the Track Changes feature and compare two versions of a
document in LibreOffice Writer.

Aim:
To understand the process of tracking edits made to a document and comparing different
versions for identifying changes.

Procedure:
1. Enable Track Changes:
o Open LibreOffice Writer and create a new document.
o Write a short paragraph on any topic (e.g., “The Benefits of Using LibreOffice”).
o Enable Track Changes by navigating to Edit > Track Changes > Record.
o Make the following edits:
 Add a new sentence to the paragraph.
 Delete an existing sentence.
 Replace one word with another.
o Save the document as “Track_Changes_Document1.odt.”
2. Review Changes:
o Go to Edit > Track Changes > Manage Changes to open the Track Changes
toolbar.
o Review each change and:
 Accept some changes.
 Reject others.
o Save the updated document as “Track_Changes_Document2.odt.”
3. Compare Documents:
o Open a new blank document in LibreOffice Writer.
o Go to Edit > Track Changes > Compare Documents.
o Select the two saved files (“Track_Changes_Document1.odt” and
“Track_Changes_Document2.odt”).
o Review the differences highlighted between the two documents.
4. Save Comparison Results:
o Save the compared document as “Compared_Document.odt.”

Result:
By completing this assignment, you will have:
 Experience enabling and using the Track Changes feature.
 Practiced reviewing and managing changes in a document.
 Learned how to compare two versions of a document to evaluate differences.

Expected Output:
1. Track_Changes_Document1.odt: Original document with tracked changes recorded.
2. Track_Changes_Document2.odt: Document with reviewed and applied/rejected
changes.
3. Compared_Document.odt: A document showing the differences between the two
versions.

_____________________%%%%__________________________
Unit – 2: Electronic Spreadsheet (Advanced)
Assignment – 10 : Data Consolidation in LibreOffice Calc

Task:
Consolidate sales data from three regional sheets into a single summary sheet.

Aim:
To learn and apply the process of consolidating data using LibreOffice Calc, summarizing information
from multiple sheets.

Procedure:
1. Set up the spreadsheet:
o Open LibreOffice Calc and create a new spreadsheet.
o Label three sheets as Region1, Region2, and Region3.
o Input sales data for each region as follows:
Region1:
Product Sales
Product A 100
Product B 150
Region2:
Product Sales
Product A 200
Product B 250
Region3:
Product Sales
Product A 300
Product B 350
2. Create a consolidation sheet:
o Add a new sheet labeled Consolidated Data.
3. Consolidate the data:
o Go to Data > Consolidate.
o In the Function dropdown, choose Sum.
o Add the data ranges from the three region sheets:
 Region1: $Region1.$A$1:$B$3
 Region2: $Region2.$A$1:$B$3
 Region3: $Region3.$A$1:$B$3
o Specify the target range on the Consolidated Data sheet (e.g., $A$1).
o Check Row labels and Column labels.
o Click OK to consolidate the data.
4. Save your work:
o Save the spreadsheet as SalesConsolidation.ods.

Result:
The Consolidated Data sheet will display the total sales for each product across all regions.

Expected Output:
Consolidated Data:
Product Sales
Product A 600
Product B 750
This exercise demonstrates the ability to consolidate and summarize data from multiple sheets
effectively.

_____________________%%%%__________________________
Assignment – 11:
Exploring What-if Scenarios in LibreOffice Calc

Task:
Analyze and compare the impact of different price changes on profit using the What-if
Scenarios feature.

Aim:
To learn how to create and compare scenarios in LibreOffice Calc to explore the effects of
changing input values on a calculated outcome.

Procedure:
1. Set up the spreadsheet:
o Open LibreOffice Calc and create a new spreadsheet.
o Label the cells as follows:
A B C
Item Price (₹) Profit (₹)
Product A 50 =B2*0.2
Product B 70 =B3*0.2
Product C 100 =B4*0.2
2. Create scenarios:
o Select the range containing the prices (B2:B4).
o Go to Tools > Scenarios.
o Name the first scenario as Base Price and confirm.
o Change the prices to new values:
 Product A: 55
 Product B: 80
 Product C: 120
o Create a second scenario named Increased Prices.
o Change the prices again:
 Product A: 45
 Product B: 65
 Product C: 90
o Create a third scenario named Decreased Prices.
3. Compare scenarios:
o Use Tools > Scenarios to switch between scenarios and observe the changes in
the Profit column.
4. Save your work:
o Save the spreadsheet as WhatIfScenarios.ods.

Result:
The profit values will update dynamically as you switch between scenarios, allowing
comparison of different pricing strategies.

Expected Output:
Scenario 1 - Base Price:
Item Price (₹) Profit (₹)
Product A 50 10
Product B 70 14
Product C 100 20
Scenario 2 - Increased Prices:
Item Price (₹) Profit (₹)
Product A 55 11
Product B 80 16
Product C 120 24
Scenario 3 - Decreased Prices:
Item Price (₹) Profit (₹)
Product A 45 9
Product B 65 13
Product C 90 18
This assignment demonstrates the flexibility of scenario analysis for decision-making.

_____________________%%%%__________________________

Assignment – 12:
Using Goal Seek in LibreOffice Calc

Task:
Determine the price needed to achieve a target profit using the Goal Seek feature.

Aim:
To learn how to use Goal Seek to find the input value required to reach a desired
output in LibreOffice Calc.

Procedure:
1. Set up the spreadsheet:
o Open LibreOffice Calc and create a new spreadsheet.
o Label the cells as follows:
A B C
Item Price (₹) Profit (₹)
Product A 50 =B2*0.2
o Here, the formula in cell C2 calculates the profit as 20% of the price.
2. Use Goal Seek:
o Select Tools > Goal Seek.
o In the Formula Cell, enter C2 (Profit).
o In the Target Value box, type 30 (desired profit).
o In the Variable Cell, enter B2 (Price).
o Click OK to calculate the required price.
3. Observe the result:
o LibreOffice Calc will adjust the value in B2 to achieve a profit of ₹30 in C2.
4. Save your work:
o Save the spreadsheet as GoalSeekExample.ods.

Result:
The Price will be updated to reflect the value required to achieve the target profit.
Expected Output:
Before Goal Seek:
Item Price (₹) Profit (₹)
Product A 50 10
After Goal Seek (Target Profit ₹30):
Item Price (₹) Profit (₹)
Product A 150 30
This exercise demonstrates how to use Goal Seek for problem-solving and reverse
calculations.

_____________________%%%%__________________________

Assignment – 13:
Automating a Repeated Task with Macros in LibreOffice Calc

Task:
Record and run a macro to apply formatting to a dataset in a spreadsheet.

Aim:
To understand how to record, save, and run a macro in LibreOffice Calc to automate
repetitive tasks, such as applying formatting to a dataset.

Procedure:
1. Set up the spreadsheet:
o Open LibreOffice Calc and create a new spreadsheet.
o Enter the following data in Sheet1:
A B
Name Score
Alice 85
Bob 90
Charlie 78
Diana 88
2. Enable macro recording:
o Go to Tools > Options > LibreOffice > Advanced.
o Check Enable macro recording and click OK.
3. Record a macro:
o Go to Tools > Macros > Record Macro.
o Perform the following actions:
 Select the range A1:B5.
 Apply bold formatting to the header row (A1:B1).
 Set a background color (e.g., yellow) for the header row.
 Apply a border to the entire range.
o Click Stop Recording on the floating toolbar.
4. Save the macro:
o In the Basic Macros dialog, save the macro under My Macros.
o Name the macro FormatData and click Save.
5. Run the macro:
o Clear all formatting applied to the dataset to simulate starting fresh.
o Go to Tools > Macros > Run Macro.
o Navigate to My Macros > Standard > Module1 > FormatData.
o Select the macro and click Run.
6. Save your work:
o Save the spreadsheet as MacroExample.ods.

Result:
The dataset will be formatted with bold headers, a yellow background for the header row, and
borders around the entire table.

Expected Output:
Formatted Data:
Name Score
Alice 85
Bob 90
Charlie 78
Diana 88
This assignment demonstrates how macros can be used to standardize formatting, reduce
manual work, and minimize errors.

_____________________%%%%__________________________

Assignment – 14:
Sharing and Reviewing a Spreadsheet in LibreOffice Calc

Task:
Collaborate on a shared spreadsheet, track changes, add comments, and resolve conflicts in a
shared document.

Aim:
To learn how to share a spreadsheet, enable change tracking, add comments, and manage
conflicts during collaboration in LibreOffice Calc.

Procedure:
1. Create and Share a Spreadsheet:
o Open LibreOffice Calc and create a new spreadsheet.
o Enter the following data:
A B
Task Status
Design Pending
Development In Progress
Testing Not Started
o Save the spreadsheet as TeamCollaboration.ods.
o Go to Tools > Share Spreadsheet and check Share this spreadsheet with other
users.
o Confirm by clicking OK.
2. Simulate Collaboration:
o Open the shared spreadsheet on another device or instance of LibreOffice.
o Update the Status column with new information (e.g., "Completed" for Design).
o Save the changes.
3. Resolve Conflicts:
o On the original device, make a different update to the Status column for Design
(e.g., "In Review").
o Save the changes and observe the Resolve Conflict dialog.
o Choose to keep or replace the changes as appropriate.
4. Track Changes:
o Disable shared mode (Tools > Share Spreadsheet, uncheck the box, and click
OK).
o Enable Track Changes by selecting Edit > Track Changes > Record.
o Make edits to the Status column, such as updating "Testing" to "Completed."
o Note that changes are highlighted, and details appear when you hover over them.
5. Add Comments:
o Right-click the cell for Development and select Insert Comment.
o Enter a comment like: "Ensure all dependencies are resolved."
o Save the spreadsheet.
6. Review Changes:
o Go to Edit > Track Changes > Manage to review, accept, or reject changes.
7. Compare Documents:
o Save a copy of the spreadsheet as TeamCollaboration_v2.ods.
o Modify some entries in the copy.
o Open the original file and go to Edit > Track Changes > Compare Document.
o Select the modified file and review the differences.

Result:
You will have successfully shared, edited, tracked changes, added comments, resolved
conflicts, and compared versions of a spreadsheet.

Expected Output:
1. Collaborative Updates:
The shared spreadsheet reflects updates from multiple users with resolved conflicts.
2. Tracked Changes:
Changes are highlighted in red with details visible on hover.
3. Comments:
Cells with comments display a small colored marker, and comments are accessible on
hover or right-click.
4. Comparison:
Differences between two versions of the spreadsheet are clearly visible in the
comparison dialog.
This exercise demonstrates how to effectively collaborate, review, and manage shared
spreadsheets in LibreOffice Calc.

_____________________%%%%__________________________

You might also like