X It 402 Practical File 2024-25
X It 402 Practical File 2024-25
1
Sl No. Topics Teachers sign
2
Contents
1. Applying Styles in LibreOffice Writer ................................................................................................. 4
2. Applying Image Filter......................................................................................................................... 5
3. Table of content in LibreOffice Writer ............................................................................................... 7
4. Template in LibreOffice Writer ........................................................................................................... 8
5.Croping image in LibreOffice ............................................................................................................. 10
6.Arranging image and text in LibreOffice. .......................................................................................... 11
7. Consolidation in LibreOffice Calc ..................................................................................................... 13
8.Sub Total in LibreOffice Calc .............................................................................................................. 15
9.Scenario in LibreOffice Calc............................................................................................................... 17
10 Goal seek in LibreOffice Writer ....................................................................................................... 19
11 Solver in LibreOffice Calc ................................................................................................................. 21
12 Creating Hyperlink in LibreOffice Calc ............................................................................................ 23
13 Sharing a worksheet in LibreOffice Calc ......................................................................................... 24
14- Record Macro in LibreOffice Calc ................................................................................................... 25
15- Edit Macro in LibreOffice Calc ........................................................................................................ 27
16- Cell Reference in LibreOffice Calc. ................................................................................................ 28
17 Creating database in LibreOffice Base ............................................................................................ 29
18 Creating table using SQL ................................................................................................................. 31
19- Schema of Database Management ................................................................................................ 33
20 Create a PowerPoint on Maintain Health, Safety, and Secure Working Environment .................. 34
3
1 Applying Styles in LibreOffice Writer
4
2. Applying Image Filter
5
Example Filters
• Invert: Inverts the color values of a color image or the brightness values of a
grayscale image.
• Smooth: Softens or blurs the image by applying a low pass filter.
• Sharpen: Sharpens the image by applying a high pass filter.
• Remove Noise: Removes noise by applying a median filter.
• Solarization: Creates an effect where colors become partly inverted.
• Aging: Reduces the green and blue color channels to give an aged look.
• Posterize: Reduces the number of colors to make the image look like a painting.
• Pop Art: Converts the image to a pop-art format.
• Charcoal Sketch: Displays the image as a charcoal sketch.
• Relief: Creates a relief effect by adjusting the light source.
• Mosaic: Joins small groups of pixels into rectangular areas of the same color.
Step 5: Save Your Changes
1. Once you are satisfied with the applied filters, save your document.
6
3. Table of content in LibreOffice Writer
7
4. Template in LibreOffice Writer
2. Add Content and Styles: Add any content you want to appear in the template, such
as a company logo, header, footer, or specific styles.
3. Save as Template:
8
9
5.Croping image in LibreOffice
Step 1: Insert an Image
1. Open your document in LibreOffice Writer.
2. Go to Insert > Image and select the image you want to insert.
Step 2: Select the Image
1. Click on the image to select it.
2. The Image toolbar should appear. If it doesn’t, go to View > Toolbars > Image.
Step 3: Open the Crop Tool
1. On the Image toolbar, click on the Crop icon.
Step 4: Crop the Image
1. A dialog box will appear with options to adjust the crop.
2. You can enter values for the left, right, top, and bottom to trim the image.
3. Alternatively, you can drag the crop handles directly on the image to adjust the crop
area.
Step 5: Apply the Crop
1. Once you are satisfied with the crop, click OK to apply the changes.
Additional Options
• Keep Scale: Maintains the original scale of the graphic when you crop.
• Keep Image Size: Maintains the original size of the graphic when you crop.
10
6.Arranging image and text in LibreOffice.
o Ensure the document containing the data ranges you want to consolidate is
open.
o In the Copy results to box, specify the cell where you want the consolidated
data to appear. ($Sheet1$I$4))
o
5. Select a Function:
o Choose a function (e.g., Sum, Average) to determine how the data will be
combined.
6. Additional Settings (Optional):
o Highlight the range of cells that you want to calculate subtotals for. Make sure
to include the column headers.
15
o In the Subtotals dialog, choose the column you want to group by from
the Group by drop-down list. This will be the column that contains the
categories you want to subtotal.
o In the Calculate subtotals for box, select the column that contains the values
you want to subtotal.
5. Choose the Function:
o In the Use function box, select the function you want to use for the subtotals
(e.g., SUM, AVERAGE).
6. Add More Groups (Optional):
o If you want to add more levels of grouping, you can use the Second
Group and Third Group pages in the dialog. Repeat steps 3 to 5 for each
additional group.
7. Apply and View Subtotals:
o Click OK. Calc will insert subtotal and grand total rows into your data range.
8. Outline View:
o Calc will also add an outline to the left of the row numbers, which you can
use to expand or collapse the data at different levels of detail
16
9. Scenario in LibreOffice Calc
1. Open LibreOffice Calc and create a new spreadsheet or open an existing one.
2. Select the cells that contain the values you want to change between scenarios. For
example, if you have a Vehicle price sheet, you might select the cells with different
price.
3. Go to Tools > Scenarios. This will open the Create Scenario dialog box.
4. Enter a name for your scenario in the Name field. You can also add a comment if you
want to describe the scenario in more detail.
5. Choose a colour for the scenario. This helps to visually distinguish between different
scenarios.
6. Click OK to create the scenario. Your new scenario is now active.
7. Change the values in the selected cells to reflect a different scenario. For example,
you might increase or decrease certain expenses.
17
8. Repeat steps 2-6 to create additional scenarios with different sets of values.
9. Switch between scenarios using the Navigator. Open the Navigator by clicking the
Navigator icon on the Standard bar, then click the Scenarios icon. Double-click the
name of a scenario to apply it to the current sheet.
10. Analyse the results. You can see how the changes in your scenarios affect the overall
calculations in your spreadsheet.
18
10 . Goal seek in LibreOffice Writer
Goal Seek is a feature available in LibreOffice Calc, not Writer. It helps you find the input
value needed to achieve a specific target value for a formula. Here’s a step-by-step guide on
how to use Goal Seek in LibreOffice Calc:
1. Open LibreOffice Calc and create a new spreadsheet or open an existing one.
2. Enter your data. For example, if you want to find out how much you need to save
each month to reach a savings goal, you might have cells for the monthly savings
amount, the number of months, and the total savings.
3. Create a formula. In a cell, enter a
formula that calculates the result
based on your data. For example, if
cell A1 is the monthly savings
amount and cell A2 is the number
of months, you might
enter =A1*A2 in cell A3 to calculate
the total savings.
4. Select the cell with the formula. Click on the cell that contains the formula you want
to solve for.
5. Go to Tools > Goal Seek. This will open the Goal Seek dialog box.
6. Set the target value. In the Goal Seek dialog, the cell with the formula should already
be selected as the “Formula Cell.” Enter the desired result in the “Target Value” field.
For example, if you want to save Rupees 50,000, enter 50000.
19
7. Select the variable cell. Click in the “Variable Cell” field, then click on the cell that
contains the value you want to change to reach your target. In our example, this
would be the cell with the monthly savings amount (A1).
8. Click OK. LibreOffice Calc will adjust the value in the variable cell to achieve the
target value in the formula cell.
9. Review the results. A dialog will appear showing the result of the Goal Seek
operation. Click “Yes” to apply the result to your spreadsheet.
20
11 Solver in LibreOffice Calc
Using the Solver tool in LibreOffice Calc allows you to solve complex mathematical problems with
multiple variables and constraints. Here’s a step-by-step guide to help you get started:
1. Open LibreOffice Calc and create a new spreadsheet or open an existing one.
2. Enter your data. For example, if you’re trying to optimize a budget, you might have
cells for different expense categories and a total budget cell.
3. Create a formula. In a cell, enter a formula that calculates the result based on your
data. For example, if you want to minimize total expenses, you might have a formula
that sums up all expense categories.
4. Select the cell with the formula. Click on the cell that contains the formula you want
to optimize.
5. Go to Tools > Solver. This will open the Solver dialog box.
6. Set the target cell. In the Solver dialog, the cell with the formula should already be
selected as the “Target Cell.” Choose whether you want to maximize, minimize, or set
a specific value for this cell.
7. Define the variable cells. In the “By Changing Cells” field, enter the range of cells
that Solver can change to achieve the target value. These are the variables in your
equation.
8. Add constraints. Click the “Add” button to set constraints for the variables. For
example, you might want to ensure that certain expenses do not exceed a specific
amount. Enter the cell reference, select an operator (e.g., <=, >=, =), and enter the
constraint value.
9. Choose the solving method. Click on the “Options” button to select the solving
algorithm. LibreOffice Calc offers different algorithms for linear and non-linear
problems.
21
10. Click Solve. Solver will attempt to find the optimal solution based on your settings. A
dialog will appear showing the result of the Solver operation
22
12 Creating Hyperlink in LibreOffice Calc
1. Open Your Spreadsheet: Start LibreOffice Calc and open the spreadsheet where you
want to add the hyperlink.
2. Select the Cell: Click on the cell where you want to insert the hyperlink.
3. Insert Hyperlink:
6. Set Display Text: If you want the hyperlink text to be different from the URL, enter
the desired text in the Text field under Further Settings.
7. Apply and Close: Click Apply and then Close to insert the hyperlink.
In LibreOffice Calc, you can create several types of hyperlinks. Here are the main
ones:
1. Internet: Links to a web address (URL), such as http://example.com.
23
13 Sharing a worksheet in LibreOffice Calc
Sharing a worksheet in LibreOffice Calc allows multiple users to collaborate on the same file
simultaneously. Here are the steps to set it up:
1. Open Your Spreadsheet: Start LibreOffice Calc and open the spreadsheet you want
to share.
2. Enable Sharing:
24
14- Record Macro in LibreOffice Calc
Recording a macro in LibreOffice Calc can help automate repetitive tasks. Here are the steps
to record a macro:
1. Enable Macro Recording:
o Choose where to save the macro (e.g., in the current document or a new
library/module).
o Enter a name for the macro and click Save.
Your macro is now recorded and saved. You can run it by going to Tools > Macros > Run
Macro, selecting your macro, and clicking Run.
25
26
15- Edit Macro in LibreOffice Calc
o In the Macro dialog, navigate to the location of your macro. This could be in
the current document or in a library.
o Select the macro you want to edit and click Edit.
4. Edit the Macro:
o After editing, save your changes by clicking File > Save in the IDE.
o Close the IDE when you are done.
Your macro is now edited and ready to us
27
16- Cell Reference in LibreOffice Calc.
In LibreOffice Calc, references are used to identify and work with specific cells or ranges of
cells. Here are the main types of references you can use:
1. Relative References:
o To reference a cell in another workbook, you include the file path and sheet
name.
28
17 Creating database in LibreOffice Base
Creating a database in LibreOffice Base is a straightforward process. Here are the basic steps
to get you started:
1. Open LibreOffice Base:
o In the Database Wizard, select “Create a new database” and click “Next”.
o Choose whether to register the database and click “Finish”.
o Save your database with a name and location on your computer.
3. Create a Table:
o In the main LibreOffice Base window, select “Tables” from the left sidebar.
o Click on “Create Table in Design View”.
29
o Define your table fields by entering the field names and selecting the
appropriate field types (e.g., Text, Number, Date).
o Right-click on the field you want to set as the primary key and select “Primary
Key”.
5. Save the Table:
o Save your table by clicking the “Save” icon or selecting “File > Save”.
6. Enter Data:
o Open your table and start entering data directly into the fields.
30
18 Creating table using SQL
Practical Exercises
1. Creating Tables
o Create a table named Students with
fields: RollNo (Integer), Name (Text), Gender (Text), City (Text), DOB (Date), Blood_Gr
oup (Text), Remark (Text).
o Assign RollNo as the primary key.
2. Inserting Records
o Insert at least 10 records into the Students table using both the datasheet view and
SQL commands.
3. Creating Forms
o Create a form to input data into the Students table.
4. Creating Reports
o Generate a report displaying all student records with their details.
5. SQL Queries
o Write SQL commands to:
▪ Display all records from the Students table.
▪ Display the names and cities of students whose City is ‘Mumbai’.
▪ Update the City of a student with RollNo 5 to ‘Pune’.
▪ Delete a record where RollNo is 10.
6. Advanced Queries
o Calculate the total number of students in each city.
o Find the student with the highest RollNo.
Example SQL Commands
• Create Table:
SQL
CREATE TABLE Students (
RollNo INT PRIMARY KEY,
Name TEXT,
Gender TEXT,
City TEXT,
DOB DATE,
Blood_Group TEXT,
Remark TEXT
31
);
• Insert Record:
SQL
INSERT INTO Students (RollNo, Name, Gender, City, DOB, Blood_Group, Remark)
VALUES (1, 'Amit', 'Male', 'Mumbai', '2005-01-01', 'O+', 'Good');
• Select Records:
SQL
SELECT * FROM Students;
.
• Update Record:
SQL
UPDATE Students
SET City = 'Pune'
WHERE RollNo = 5;
• Delete Record:
SQL
DELETE FROM Students
WHERE RollNo = 10;
o In the SQL view window, you can type your SQL commands. For example:
SQL
SELECT * FROM Students WHERE City = 'Mumbai';
32
19- Schema of Database Management
Creating a database schema with a drawing can help visualize the structure and
relationships within your database. Here’s a simple example of how you can create one:
1. Identify the Entities: Determine the main entities (tables) in your database. For
example, in a library database, you might have entities like Books, Authors,
and Borrowers.
2. Define the Attributes: List the attributes (columns) for each entity. For example,
the Books table might have attributes like BookID, Title, AuthorID, and PublishedYear.
3. Establish Relationships: Determine how the entities are related. For
example, Books might have a many-to-one relationship with Authors (many books
can be written by one author).
4. Draw the Schema: Use a tool like Microsoft Visio, Lucidchart, or even a simple
drawing tool to create the schema. Here’s a basic example:
o Books: BookID (Primary Kyy), Title, AuthorID (Foreign Key), PublishedYear
o Authors: AuthorID (PK), Name, Country
o Borrowers: BorrowerID (PK), Name, MembershipDate
o Loans: LoanID (PK), BookID (FK), BorrowerID (FK), LoanDate, ReturnDate
Here’s a simple diagram representation:
33
20 Create a PowerPoint on Maintain Health, Safety, and Secure
Working Environment
34
35
36
37
38