Practicals Class 10-IT
Practicals Class 10-IT
2. Select Image and then choose the image file from your computer that you want to insert.
o Alternatively, you can drag and drop the image directly into the document.
1. Click on the image to select it. Once the image is selected, we will see small handles
(squares) around the edges.
2. From the context menu, select Picture to open the Picture dialog box.
4. we’ll see options to crop the Left, Right, Top, and Bottom of the image.
o Adjust the values for Left, Right, Top, or Bottom to crop the image. For example:
5. After adjusting the crop values, the image will automatically crop as you specify.
1. After cropping, you can resize the image by clicking and dragging the image handles.
2. You can also move the image by dragging it to a different location in the document.
PRACTICAL - 2
Steps to Insert an Image in LibreOffice Writer
3. Insert an Image
3. Browse to the location of your image, select it, and click Open.
▪ Locate the image in your file explorer, drag it, and drop it directly into the
document.
o Use the handles at the corners or sides to resize the image proportionally.
o Right-click on the image and select Properties or Image to access advanced options:
▪ Wrap Text: Choose how the text flows around the image (e.g., no wrap, wrap
around, through).
o Once the image is inserted and adjusted, save your work by clicking on File > Save
PRACTICAL - 3
Steps to Create a Style in LibreOffice Writer
o Press F11 or go to View > Styles to open the Styles and Formatting sidebar.
▪ Organizer Tab: Set the style name and define its parent style (if needed).
▪ Font Tab: Choose font type, size, and style (e.g., bold, italic).
▪ Indents & Spacing Tab: Adjust alignment, line spacing, and indentation.
o Select the text or object you want to format and apply the style by selecting it from
the Styles sidebar.
PRACTICAL – 4
Steps to Create a Template in LibreOffice Writer
o Launch LibreOffice Writer and open a new blank document or an existing document
that you want to use as a template.
o Add the desired formatting, styles, and layout that you want in the template.
▪ Example: Set margins, add headers and footers, define paragraph and
character styles, and include placeholders for content.
3. Save as a Template
o Enter a descriptive name for your template to make it easy to identify later.
PRACTICAL – 5
Steps to Create a Table of Contents in LibreOffice
o Highlight the text you want to appear in the TOC (e.g., chapter titles, sections).
o Apply appropriate heading styles (e.g., Heading 1, Heading 2, etc.) to structure the
TOC hierarchy.
o Click on the position in the document where you want to insert the TOC (usually at
the beginning or a dedicated page).
PRACTICAL – 6
Consolidate is a feature in LibreOffice Calc used to combine data from multiple sheets or ranges into
a summary table. It is particularly useful for tasks like combining sales data from different regions or
months into a single table.
• Open LibreOffice Calc and create a workbook with multiple sheets containing data.
• Create a new sheet (e.g., Summary) where the consolidated data will appear.
1. Source Data:
o Go to Sheet 1, select the data range (e.g., A1:B4), and click Add.
2. Target Data:
• Function: Select the operation (e.g., Sum, Average, etc.). For this example, choose Sum.
Item Sales
Pens 350
Pencils 550
Notebooks 750
• Ensure that the source data ranges have consistent labels (e.g., "Item" and "Sales").
PRACTICAL – 7
The Subtotal feature in LibreOffice Calc allows you to calculate totals, averages, or other statistics for
grouped data. This is especially useful for summarizing large datasets by categories.
You have a sales dataset and want to calculate the subtotal sales for each product category.
1. Group by: Select the column to group the data by, e.g., Category.
2. Calculate Subtotals For: Select the column to calculate the subtotal for, e.g., Sales.
2. Subtotals will be inserted below each group, and a grand total will be added at the bottom.
Output Example:
After applying the subtotals, the sheet will look like this:
Smartphone 30000
Subtotal 80000
Table 12000
Category Product Sales
Subtotal 20000
Notebook 2000
Subtotal 3000
PRACTICAL – 8
Goal Seek is a powerful feature in LibreOffice Calc that helps find the input value required to achieve
a specific result in a formula. It is particularly useful when solving "what-if" scenarios in
spreadsheets.
A student wants to achieve an average of 75 marks across three exams. They already have marks for
two exams (70 and 80) and want to calculate the marks needed in the third exam.
Exam Marks
1 70
2 80
3 ?
• In cell B3, leave the value blank or enter a placeholder (e.g., 0).
3. Variable Cell: Select the cell that LibreOffice Calc will change to achieve the target (e.g., B3).
• Click OK. LibreOffice Calc will calculate the value needed in B3 to achieve an average of 75.
• A dialog box will display the result. Click Yes to accept the solution.
Exam Marks
1 70
2 80
3 75
Average 75
PRACTICAL – 9
The Table Wizard in LibreOffice Base helps you quickly create tables by providing
predefined templates and customization options.
1. In the Available Fields section, select the fields you want for your table:
o StudentID (Primary Key)
o Name
o Class
o Age
o Contact Number
2. Use the arrow buttons to move the selected fields to the Selected Fields section.
3. Click Next.
1. Choose a primary key for the table. Select Use an existing field as a primary key
and pick StudentID.
2. Click Next.
PRACTICAL – 10
Steps to Create a Primary Key in LibreOffice Base
A Primary Key ensures that each record in a table is unique and is often used as the unique identifier
for a row in the database.
Goal: Create a table named Students with StudentID as the Primary Key.
Step 1: Open LibreOffice Base
o StudentID:
o Name:
o Class:
o Age:
o A key icon will appear next to the field name, indicating it is the primary key.
PRACTICAL – 11
Steps to Create a Foreign Key in LibreOffice Base
A foreign key is used to link two tables in a database. It ensures referential integrity by making sure
that a value in one table matches a value in another.
Goal:
• Create a Marks table with a Foreign Key (StudentID) that references the Students table.
o StudentID:
o MarksID:
o StudentID:
o Marks: Integer.
3. Drag the StudentID field from the Students table to the StudentID field in the Marks table.
This creates a relationship.
o Check Update Cascade and Delete Cascade options to maintain referential integrity
(optional).
o Click OK.
1 1 Math 90
2 1 Science 85
3 2 Math 80
o Example: Display Name, Class, Subject, and Marks for each student.
o Data integrity: You cannot add a record in the Marks table with a StudentID that
doesn’t exist in the Students table.
o Consistency: Deleting a student from the Students table removes their marks from
the Marks table (if Delete Cascade is enabled).