0% found this document useful (0 votes)
13 views

Computer Practial

The document outlines a series of assignments focused on using LibreOffice Writer and Calc for various tasks such as creating styles, inserting images, preparing templates, and applying data consolidation. Each assignment provides step-by-step solutions for tasks like formatting documents, creating tables of contents, and managing spreadsheets. The assignments are designed to enhance skills in digital documentation and electronic spreadsheets.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Computer Practial

The document outlines a series of assignments focused on using LibreOffice Writer and Calc for various tasks such as creating styles, inserting images, preparing templates, and applying data consolidation. Each assignment provides step-by-step solutions for tasks like formatting documents, creating tables of contents, and managing spreadsheets. The assignments are designed to enhance skills in digital documentation and electronic spreadsheets.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 32

Unit 1: Digital Documentation

(Advanced)
Assignment 1
Objective: Using various commands to create customer styles and apply predefined
styles in LibreOffice Writer.
Task: Type a paragraph with at least 100 words and create below given styles as
instructed:
1. Title
a. Font Name: Kristen ITC, Size:28, Colour: Magenta
b. Give Style Name: Title AI (Use create styles using drag and drop)
2. Headings
a. Font name: Times New Roman, Size: 24 , Colour: Red.
b. Give the style name: My Heading (Use create style from selection command)
3. Paragraph and Headings - My heading styles to all headings using Fill Format
4. Load Styles in New Document and Save the document

Solution: -

1. Open LibreOffice Writer and create a new document.


2. Type the Paragraph.
3. Create Title Style:
• Highlight the title of your paragraph ("The Evolution of Technology").
• Go to the Styles and Formatting window (press F11).
• Right-click in the Styles and Formatting window and select New.
• In the dialog box, set the following:
• Font Name: Kristen ITC
• Size: 28
• Font Color: Magenta
• Name: Title AI
• Click OK to create the style.
• Drag and drop this style onto the title text to apply it.
4. Create Heading Style:
• Highlight any heading in your paragraph (you can use "Technology" or
create your own).
• Again, open the Styles and Formatting window.
• Right-click and select New.
• Set the following:
• Font Name: Times New Roman
• Size: 24
• Font Color: Red
• Name: My Heading
• Click OK to create the style.
• Use the Create Style from Selection command by right-clicking the
highlighted text and selecting Create Style.
5. Apply Heading Style:
• Highlight all headings in your paragraph.
• Use the Fill Format tool (the paintbrush icon) to apply the "My Heading"
style to all headings.
6. Load Styles in New Document:
• Save your document with the styles created.
• To load styles into a new document, open a new LibreOffice Writer
document, go to the Styles and Formatting window, and click on the Load
Styles icon

Assignment 2
Objective: Inserting
images and shapes and
rearranging them
Task: Create a new document in LibreOffice prepare an advertisement using various
shapes and images.

Solution: -

Open LibreOffice Writer:


• Launch LibreOffice Writer and create a new document.
Set Up the Document:
• Go to Format > Page Style to adjust the page layout if needed (e.g.,
margins, orientation).
Insert a Shape:
• Go to the Insert menu, select Shape, and choose a shape (e.g., rectangle,
circle) that you want to use as a background or a highlight for your
advertisement.
• Click and drag on the document to draw the shape. You can resize and
move it as needed.
Format the Shape:
• Right-click on the shape and select Area to change the fill color,
transparency, or add a border.
• You can also adjust the shape's properties by right-clicking and
selecting Line to change the outline color and style.
Insert an Image:
• Go to Insert > Image and select an image file from your computer that you
want to include in your advertisement (e.g., a product image, logo, or
relevant graphic).
• Once inserted, you can resize and move the image as needed. Use the
handles around the image to adjust its size.
Add Text:
• Click on the document where you want to add text. You can use text boxes
for better control over text placement.
• Go to Insert > Text Box and draw a text box where you want to place your
text.
• Type your advertisement text (e.g., product name, description, price, contact
information).
• Format the text using the toolbar options (font, size, color) to make it
visually appealing.
Insert Additional Shapes:
• You can add more shapes (e.g., arrows, stars) to highlight special offers or
features.
• Use the Insert > Shape option to add these shapes and format them as
needed.
Arrange Elements:
• To rearrange images and shapes, right-click on the element and use
the Arrange options (e.g., Bring to Front, Send to Back) to layer them
correctly.
• You can also group elements together by selecting multiple items (hold
down the Shift key while clicking) and right-clicking to select Group.
Final Touches:
• Review your advertisement for alignment and spacing. Make sure all
elements are visually balanced.
• You can add borders or shadows to shapes and images for a more polished
look.

Save Your Document:


• Go to File > Save
As and choose a
location and file format
(e.g., .odt or .pdf) to
save your
advertisement.
Assignment 3
Objective: Creating templates in LibreOffice Writer and saving for distribution.
Task:
• Prepare a template for the class time table.
• Apply formatting as required.
• Set this template as a default template.
• Reset the default template as usual.

Solution: -

Open LibreOffice Writer


• Launch LibreOffice Writer and create a new document.

Set Up the Document


• Go to Format > Page Style to adjust the page layout if needed (e.g., margins,
orientation).
• You may want to set the orientation to Landscape for a wider view of the
timetable.

Create the Table for the Timetable


• Go to Table > Insert Table.
• Choose the number of columns and rows. For a typical class timetable, you might
want:
• Columns: 6 (Days of the week + Time)
• Rows: 10 (Time slots)
• Click OK to insert the table.

Format the Table


• Adjust Column Widths: Click and drag the borders of the columns to adjust their
widths as needed.
• Merge Cells for Header:
• Select the first row (for the header) and merge the cells to create a title for
your timetable (e.g., "Class Timetable").
• Right-click on the selected cells and choose Merge Cells.
• Add Days of the Week: In the first row (after the merged cell), enter the days of
the week (e.g., Monday, Tuesday, Wednesday, Thursday, Friday).
• Add Time Slots: In the first column, enter the time slots (e.g., 1st Period, 2nd
Period, etc.).

Apply Formatting
• Header Formatting:
• Select the merged cell and apply bold formatting, increase the font size, and
center the text.
• Table Borders:
• Right-click on the table, select Table Properties, and go to the Borders tab
to customize the border style, color, and width.
• Cell Background Color:
• You can also change the background color of specific cells to highlight
certain classes or days.
• Text Alignment:
• Adjust the text alignment in the cells (e.g., center-align the text in the
header and time slots).

Save the Template


• Go to File > Templates > Save As Template.
• Name your template (e.g., "Class Timetable") and choose a category (you can
create a new category if desired).
• Click Save.

Set the Template as Default


• Go to File > Templates > Manage Templates.
• Find your newly created template in the list.
• Right-click on the template and select Set as Default Template.

Reset the Default Template


• To reset the default template back to the usual one:
• Go to File > Templates > Manage Templates.
• Right-click on the original default template (usually named "Text
Document") and select Set as Default Template.
Assignment 4
Objective: Create and Customize Table of Contents
Task: Prepare a document with different headings and apply a table of contents to it.
Solution: -
Open LibreOffice Writer: Start a new document or open an existing one.
Apply Heading Styles:
• Highlight the title of each section (e.g., "Introduction," "Literature
Review").
• Go to the Styles panel (F11) or select the "Styles" drop down in the toolbar.
• Choose Heading 1 for main sections (like "Introduction" and
"Conclusion").
• For subsections (like "Previous Research"), select Heading 2.
Insert Table of Contents:
• Place your cursor where you want the Table of Contents to appear (usually
at the beginning of the document).
• Go to the menu and select Insert > Table of Contents and Index > Table
of Contents, Index or Bibliography.
• In the dialog that appears, you can customize the TOC settings. You can
choose the title, the levels of headings to include, and the formatting.
• Click OK to insert the TOC.
Update the Table of Contents:
• If you make changes to your document (like adding or removing sections),
you will need to update the TOC.
• Right-click on the TOC and select Update Index/Table. This will refresh
the TOC to reflect the current structure of your document.
Assignment 5
Objective: Customize the table of contents
Task: Apply customization following customization on above Table of
contents:
1. Apply heading levels up to 3
2. Divide Table of contents into two parts vertically
3. Add a background colour of your choice

Solution: -

Apply Heading Styles:


• Ensure that you have applied Heading 1 for main sections, Heading 2 for
subsections, and Heading 3 for sub-subsections in your document.
Insert Table of Contents:
• Place your cursor where you want the Table of Contents to appear.
• Go to Insert > Table of Contents and Index > Table of Contents, Index
or Bibliography.
• In the dialog box, under the Type tab, ensure that the Create from option is
set to Outline.
• Go to the Entries tab, and set the levels of headings you want to include
(up to 3).
• Click OK to insert the TOC.
Divide Table of Contents into Two Parts Vertically:
• To create a two-column layout, click on the TOC to select it.
• Right-click and choose Edit Index/Table.
• In the Columns section, set the number of columns to 2.
• Adjust the width of each column as needed, and click OK.
Add Background Colour:
• Click on the TOC to select it.
• Go to Format > Page Style.
• In the Page Style dialog, go to the Background tab.
• Choose a background color of your choice. You can select a predefined
color or create a custom color.
• Click OK to apply the background color.
Update the Table of Contents:
• If you make changes to your document, remember to update the TOC by
right-clicking on it and selecting Update Index/Table.
Unit 2: Electronic Spreadsheet
(Advanced)
Assignment 1
Objective: Applying Data Consolidation in LibreOffice Calc
Task: Prepare 3 worksheets for products sales and consolidate them

Solution: -

Step 1: Create Three Worksheets


1. Open LibreOffice Calc: Start a new spreadsheet.

2. Create Worksheets: You will need three worksheets. You can rename them by
double-clicking on the default names (Sheet1, Sheet2, Sheet3) at the bottom of the
screen.
• Rename them to:
• Sales_Q1
• Sales_Q2
• Sales_Q3

Step 2: Enter Sample Data


For each worksheet, enter sample sales data for different products.

Step 3: Consolidate Data


Now that you have your data entered in the three worksheets, you can consolidate it into
a new worksheet.
1. Create a New Worksheet:

• Add a new worksheet by clicking the "+" icon next to the existing sheets
and rename it to Consolidated_Sales.
2. Open the Consolidation Tool:

• Click on the Consolidated_Sales sheet.


• Go to the menu and select Data > Consolidate.
3. Set Up Consolidation:

• In the Consolidate dialog box:


• Function: Select the function you want to use for consolidation
(e.g., Sum).
• Reference: Click on the small icon to the right of the Reference field
to select the data range from the first worksheet.
• Select the range for Sales_Q1 (e.g., Sales_Q1.A1:B5), then
click Add.
• Repeat this step for Sales_Q2 and Sales_Q3.
• For Sales_Q2, select Sales_Q2.A1:B5, and click Add.
• For Sales_Q3, select Sales_Q3.A1:B5, and click Add.
• Make sure to check Create links to source data if you want the
consolidated data to update automatically when the source data
changes.
4. Add Labels:

• Check the box for Use labels in and select Top row and Left column if you
have headers.
5. Click OK: After setting everything up, click OK to consolidate the data.
Assignment 2
Objective: Applying subtotal in LibreOffice Calc
Task: Prepare a worksheet as following

Apply subtotal and find the sum of days required for project name.

Solution: -

Step 1: Create the Worksheet


1. Open LibreOffice Calc: Start a new spreadsheet.

2. Enter Sample Data: Create a table with the following columns: Project
Name, Task, Days Required. Below is an example of how you might structure
the data:
Sample Data

Step 2: Sort the Data


Before applying subtotals, it's important to sort the data by Project Name:
1. Select the Data: Highlight the range of your data (including headers).
2. Sort the Data: Go to Data > Sort. In the Sort dialog:
• Choose Project Name from the dropdown.
• Click OK.

Step 3: Apply Subtotals


1. Select the Data Again: Highlight the range of your sorted data (including
headers).
2. Open the Subtotal Tool:

• Go to Data > Subtotal.


3. Set Up Subtotals:

• In the Subtotal dialog:


• Group by: Select Project Name.
• Use function: Choose Sum.
• Add subtotal to: Check Days Required.
• Ensure that Replace existing subtotals is checked if you want to replace
any previous subtotals.
• Click OK.

Step 4: Review the Subtotals


After applying the subtotals, your worksheet should look something like this:

Step 5: Save Your Worksheet


• Save your worksheet by going to File > Save As and choose a location and name
for your file.

Assignment 3
Objective: Link data and Spreadsheet
Task: Prepare a worksheets as following:
1. Enter the data such as Roll no, GR NO, First Name, Last Name, Date of Birth, Father
Name, Mother Name. Enter records for at least 10 students.
2. Rename this worksheet as "Student Profile".
3. Insert 3 new worksheets and rename as "PT2", "PT2" and "PT3" respectively.
4. In the PT1 worksheet create a reference for Roll No, First Name, and Last Name
columns from Student Profile by using the keyboard.
5. In the PT2 worksheet create a reference for Roll No, First Name, and Last Name
columns from Student Profile by using the mouse.
6. In the PT3 worksheet create a reference for Roll No, First Name, and Last Name
columns from Student Profile as you wish.

Solution: -

Step 1: Create the Student Profile Worksheet


1. Open LibreOffice Calc: Start a new spreadsheet.

2. Enter Student Data: Create a table with the following columns: Roll No, GR
No, First Name, Last Name, Date of Birth, Father Name, Mother Name.
Below is an example of how you might structure the data for at least 10 students.
3. Rename the Worksheet: Right-click on the sheet tab at the bottom (usually

named "Sheet1") and select Rename. Change the name to Student Profile.
Step 2: Insert New Worksheets
1. Insert New Worksheets: Click the "+" icon next to the existing sheet tabs to
create three new worksheets.
2. Rename the New Worksheets:
• Rename the first new sheet to PT1.
• Rename the second new sheet to PT2.
• Rename the third new sheet to PT3.

Step 3: Create References in PT1 Worksheet


1. Go to the PT1 Worksheet: Click on the PT1 tab.

2. Create References Using Keyboard:

• In cell A1, type =.


• Navigate to the Student Profile worksheet by clicking on its tab.
• Click on cell A2 (Roll No of the first student) and press Enter. This will
create a link to the Roll No.
• In cell B1, type =, then navigate to the Student Profile worksheet and click
on cell C2 (First Name) and press Enter.
• In cell C1, type =, then navigate to the Student Profile worksheet and click
on cell D2 (Last Name) and press Enter.
3. Fill Down the Formulas:

• Select cells A1, B1, and C1, then drag the fill handle (small square at the
bottom-right corner of the selection) down to fill in the formulas for all 10
students.
Step 4: Create References in PT2 Worksheet
1. Go to the PT2 Worksheet: Click on the PT2 tab.

2. Create References Using Mouse:

• In cell A1, type Roll No.


• In cell B1, type First Name.
• In cell C1, type Last Name.
• In cell A2, click on the cell and type =, then navigate to the Student
Profile worksheet.
• Click on cell A2 (Roll No of the first student) and press Enter.
• For cell B2, type =, navigate to the Student Profile worksheet, click on cell
C2 (First Name), and press Enter.
• For cell C2, type =, navigate to the Student Profile worksheet, click on cell
D2 (Last Name), and press Enter.
3. Fill Down the Formulas:

• Select cells A2, B2, and C2, then drag the fill handle down to fill in the
formulas for all 10 students.
Step 5: Create References in PT3 Worksheet
1. Go to the PT3 Worksheet: Click on the PT3 tab.

2. Create References as Desired:

• In cell A1, type Roll No.


• In cell B1, type First Name.
• In cell C1, type Last Name.
• In cell A2, type =’Student Profile’.A2 and press Enter.
• In cell B2, type =’Student Profile’.C2 and press Enter.
• In cell C2, type =’Student Profile’.D2 and press Enter.
3. Fill Down the Formulas:

• Select cells A2, B2, and C2, then drag the fill handle down to fill in the
formulas for all 10 students.
Assignment 4
Task:
1. Insert hyperlink from the internet.
2. Insert hyperlink email.
3. Insert hyperlink of existing file.
4. Insert hyperlink of new file.

Solution: -

Step 1: Open LibreOffice Calc


1. Open LibreOffice Calc: Start a new spreadsheet.

Step 2: Insert a Hyperlink from the Internet


1. Select a Cell: Click on a cell where you want to insert the hyperlink.
2. Insert Hyperlink:
• Go to the menu and select Insert > Hyperlink.
• In the Hyperlink dialog:
• Type: Select Internet from the drop down.
• Target: Enter the URL of the website you want to link to.
• Text: Enter the text you want to display in the cell.
• Click Apply and then Close.
Step 3: Insert a Hyperlink for Email
1. Select a Cell: Click on another cell where you want to insert the email hyperlink.
2. Insert Hyperlink:
• Go to Insert > Hyperlink.
• In the Hyperlink dialog:
• Type: Select Email from the drop down.
• Email: Enter the email address you want to link to.
• Subject (optional): You can also enter a subject for the email if you
want.
• Text: Enter the text you want to display in the cell.
• Click Apply and then Close.

Step 4: Insert a Hyperlink to an Existing File


1. Select a Cell: Click on another cell where you want to insert the hyperlink to an
existing file.
2. Insert Hyperlink:
• Go to Insert > Hyperlink.
• In the Hyperlink dialog:
• Type: Select Document from the drop down.
• Target: Click the Browse button (folder icon) next to the Target field.
• Navigate to the existing file you want to link to, select it, and
click Open.
• Text: Enter the text you want to display in the cell.
• Click Apply and then Close.

Step 5: Insert a Hyperlink to a New File


1. Select a Cell: Click on another cell where you want to insert the hyperlink to
create a new file .
2. Insert Hyperlink:
• Go to Insert > Hyperlink.
• In the Hyperlink dialog:
• Type: Select Document from the drop down.
• Target: In the Target field, type the name of the new file you want to
create.
• Text: Enter the text you want to display in the cell.
• Click Apply and then Close.
Assignment 5
Objective: Goal seek Application
Task: Enter data to obtain total net profit and set the goal to achieve total net profit of ₹
23,000 by changing the August month gross profit.

Sample Data:
Month Gross Profit Net
April 20000 12% 2400
May 30000 14% 4200
June 40000 11% 4400
July 25000 15% 3750
August 35000 18% 6300
Total 21050

Solution: -

Open LibreOffice Calc: Start a new spreadsheet.

Step 2: Enter Sample Data

Step 3: Input Formulas


1. Input Formulas for Net Profit:

• In cell D2, enter the formula =B2*C2 to calculate the net profit for April.
• Drag the fill handle down from D2 to D6 to copy the formula for the other
months.
2. Input Formula for Total Net Profit:

• In cell D7, enter the formula =SUM(D2:D6) to calculate the total net
profit.

Step 4: Verify Your Data


Your spreadsheet should look like this:
Step 5: Use Goal Seek
1. Open Goal Seek:

• Go to the menu and select Tools > Goal Seek.


2. Set Up Goal Seek:

• Set cell: Enter D7 (the cell where the total net profit is calculated).
• To value: Enter 23000 (the target net profit).
• By changing cell: Enter B6 (the gross profit for August).
3. Run Goal Seek:

• Click OK to run the Goal Seek. LibreOffice Calc will adjust the August
gross profit to reach the target net profit of ₹ 23,000.

Step 6: Review the Results


• After running Goal Seek, the value in cell B6 (August Gross Profit) will change,
and you can see how much it needs to be adjusted to achieve the desired total net
profit of ₹ 23,000.
• The updated total net profit in cell D7 should now reflect the new value
Unit 3 Database Management System
Assignment 1
Objective: Steps to create a table using table wizard
Task: Create a table using wizard and insert data.

Step 1: Open LibreOffice Base


1. Launch LibreOffice Base on your computer.
2. Create a new database or open an existing one:
• If creating a new database, select "Create a new database" and click "Next."
• Choose whether to register the database for use with other LibreOffice applications, then
click "Finish."
• Save the database file with a name of your choice.

Step 2: Access the Table Wizard


1. In the main LibreOffice Base window, look for the "Tables" section in the left sidebar.
2. Right-click on "Tables" and select "Create Table in Wizard Design."

Step 3: Use the Table Wizard


1. Choose Table Type:
• The wizard will prompt you to select the fields for your table. You can choose from
predefined fields or create your own.
• Click “Next” to proceed.
2. Select Fields:
• In the next window, you will see a list of available fields. You can select fields
like ID, Name, Age, and Email.
• Use the "Add" button to add selected fields to your table. You can also specify the data
type for each field.
• Click “Next” after you have selected the fields you want.
3. Define Field Properties:
• You can set properties for each field, such as whether it is required or its default value.
• Click “Next” to continue.
4. Set Primary Key:
• The wizard will ask if you want to set a primary key. You can choose an existing field or
let LibreOffice Base create a new Auto-increment field.
• Click “Next” after making your selection.
5. Name Your Table:
• Provide a name for your table (e.g., Students).
• Click “Finish” to create the table.

Step 4: Insert Data into the Table


1. After creating the table, you will see it listed in the "Tables" section.
2. Right-click on your newly created table (e.g., Students) and select "Open" to view it in Data
sheet View.
3. In Data sheet View, you can start entering data directly into the table:
• Click on the first empty row and start typing the data for each field.
• Press "Tab" to move to the next field or "Enter" to move to the next row.

Example Data to Insert


For a Students table, you might insert the following sample data:

| ID | Name | Age | Email | |----|--------------|-----|----------------------| | 1 | John Doe | 20 |


[email protected] | | 2 | Jane Smith | 22 | [email protected] | | 3 | Alice Brown | 19 |
[email protected] |

Step 5: Save the Table


1. After inserting data, click on the "Save" icon (disk icon) or go to "File" > "Save" to ensure your
changes are saved.
2. Close the table when you are finished.

Assignment 2
Objective: Query creation using wizard
Task: Create table Mark sheet and perform the bellow given queries using wizard and design view.
1. In the Database file Add these Fields: (Total: Datatype- Number 3 digits, Percentage: Datatype -
Number 3 digits with 2 decimal places, Grade: Datatype- Char with 2 letters)
2. Insert more 3 records in MARK SHEET
3. Display name, roll no, marks of 3 subjects, total and percentage using design view.
4. Display name, roll no, grades from the mark sheet table using query wizard.
5. Display the maximum marks for Sub101 and minimum marks for Sub102 using design view.
6. Display the roll no, name and percentage whose percentage are more than 70 using design view.
7. Display all the record in ascending order of names using design view.

Solution: -

Step 1: Create the Mark sheet Table


1. Open LibreOffice Base:
• Launch LibreOffice Base and open the database file you created earlier or create a new
one.
2. Create the Mark sheet Table:
• Right-click on "Tables" in the left sidebar and select "Create Table in Design View."
• Enter the following fields with their respective data types:
| Field Name | Data Type | Size | |------------|-----------|------| | Stud_No | Integer | 2 | | Name | Text
| 15 | | Roll No | Integer | 3 | | Sub101 | Decimal | 3,2 | | Sub102 | Decimal | 3,2 | | Sub103 |
Decimal | 3,2 | | Total | Number | 3 | | Percentage | Number | 3,2 | | Grade | Char | 2 |
• Set Stud_No as the primary key (right-click on the row selector and choose "Primary
Key").
• Save the table (File > Save) and name it Mark sheet.

Step 2: Insert Records into the Mark sheet Table


1. Open the Mark sheet Table:
• Right-click on the Mark sheet table and select "Open" to view it in Data sheet View.
2. Insert Records:
• Enter the following sample records:
| Stud_No | Name | Roll No | Sub101 | Sub102 | Sub103 | Total | Percentage | Grade |
|---------|------------|--------|--------|--------|--------|-------|------------|-------| | 1 | John Doe | 101 |
85.50 | 90.00 | 78.50 | 254.00| 84.67 | A | | 2 | Jane Smith | 102 | 88.00 | 92.50 | 80.00 | 260.50|
86.83 | A | | 3 | Alice Brown | 103 | 75.00 | 80.00 | 70.00 | 225.00| 75.00 | B | | 4 | Bob White | 104
| 65.00 | 70.00 | 75.00 | 210.00| 70.00 | B | | 5 | Charlie Black| 105 | 95.00 | 85.00 | 90.00 | 270.00|
90.00 | A+ |
• Make sure to calculate the Total, Percentage, and Grade based on the marks you
enter.

Step 3: Display Name, Roll No, Marks of 3 Subjects, Total, and Percentage Using
Design View
1. Create a Query:
• Right-click on "Queries" in the left sidebar and select "Create Query in Design View."
• Add the Mark sheet table to the query.
2. Select Fields:
• Drag the following fields to the query grid:
• Name
• Roll No
• Sub101
• Sub102
• Sub103
• Total
• Percentage
3. Run the Query:
• Click on the "Run Query" icon (the red exclamation mark) to view the results.
4. Save the Query:
• Save the query with a name like Query_Mark sheet_Display.
Step 4: Display Name, Roll No, Grades from the Mark sheet Table Using Query
Wizard
1. Use Query Wizard:
• Right-click on "Queries" and select "Use Wizard to Create Query."
• Select the Mark sheet table and click "Next."
2. Select Fields:
• Choose the fields Name, Roll No, and Grade. Click "Next."
3. Finish the Query:
• Choose to sort by any field if desired, then click "Next" and "Finish."
• Save the query with a name like Query_Mark sheet_Grades.

Step 5: Display the Maximum Marks for Sub101 and Minimum Marks for Sub102
Using Design View
1. Create a New Query:
• Right-click on "Queries" and select "Create Query in Design View."

Assignment 3 (Query using criterion and sorting)


→ Display the roll no, name and percentage whose percentage are more than 70 using design view
1. Click Queries → Create Query in Design View….
2. The query design window will open.
3. Select the mark sheet table and click on Add button.
4. Select columns given in the question i.e. Roll no, Name and Percentage.
5. Type >70 in the front of criterion under the percentage field.
6. Save the query and check the result.

Solution: -

Step 1: Open the Database


1. Launch LibreOffice Base and open the database file that contains your Marksheet table.

Step 2: Create a Query in Design View


1. In the left sidebar, click on "Queries."
2. Right-click on "Queries" and select "Create Query in Design View."
Step 3: Add the Mark sheet Table
1. In the Query Design window that opens, you will see a list of tables.
2. Select the Mark sheet table from the list.
3. Click on the "Add" button to add the table to your query.
4. Click "Close" to exit the table selection window.

Step 4: Select the Required Columns


1. In the Mark sheet table that appears in the query design grid, you will see all the fields.
2. Double-click on the following fields to add them to the query grid:
• Roll No
• Name
• Percentage

Step 5: Set the Criterion for Percentage


1. In the query design grid, locate the row labeled "Criteria" under the Percentage column.
2. In the Criteria row for the Percentage field, type the following:
• >70

Step 6: Save the Query


1. Click on the Save icon (disk icon) in the toolbar or go to File > Save.
2. Name your query (e.g., Query_Percentage_Above_70) and click OK.

Step 7: Run the Query


1. To view the results of your query, click on the Run Query icon (the red exclamation mark) in
the toolbar.
2. The query will display the Roll No, Name, and Percentage for all records where the
percentage is greater than 70.

Step 8: Check the Results


1. Review the results to ensure that the displayed records meet the criteria you specified.
2. If everything looks correct, you can close the query results window.

Assignment 4
Objective: Creating form using wizard
Task: Create table a form using wizard by selecting all the fields for the table – Mark sheet
Solution: -

Step 1: Open LibreOffice Base


1. Launch LibreOffice Base on your computer.
2. Open the database file that contains your Mark sheet table.

Step 2: Start the Form Wizard


1. In the main database window, look for the "Forms" section in the left sidebar.
2. Right-click on "Forms" and select "Create Form in Wizard Design."

Step 3: Select the Table


1. In the Form Wizard window, you will see an option to select the table or query.
2. Choose the Mark sheet table from the list.
3. Click on the "Next" button.

Step 4: Select Fields for the Form


1. You will see a list of all the fields available in the Mark sheet table.
2. Click the ">>" button to select all fields or manually select the fields you want to include in the
form (i.e., Stud_No, Name, Roll
No, Sub101, Sub102, Sub103, Total, Percentage, and Grade).
3. Once you have selected the fields, click on the "Next" button.

Step 5: Choose the Layout


1. The wizard will prompt you to choose a layout for your form. You can select from options like:
• Columnar
• Tabular
• Justified
• Other layouts
2. Choose the layout that best suits your needs (e.g., Columnar for a simple, straightforward
form).
3. Click on the "Next" button.

Step 6: Select Data Entry Options


1. You will now have the option to select how you want to handle data entry. You can choose to
allow data entry, editing, or both.
2. Make your selection and click on the "Next" button.

Step 7: Set the Form Title


1. The wizard will ask you to provide a title for your form. Enter a suitable title, such as "Mark
sheet Entry Form."
2. Click on the "Next" button.

Step 8: Finish the Form Creation


1. The wizard will show you a summary of your selections. Review your choices.
2. Click on the "Finish" button to create the form.

Step 9: Open the Form


1. After finishing, the new form will open automatically.
2. You can now enter data into the Mark sheet table using this form.

Step 10: Save the Form


1. If prompted, save the form by clicking on the Save icon (disk icon) or go to File > Save.
2. The form will be saved under the "Forms" section in the left sidebar.

Assignment 5
Objective: Creating report using wizard
Task: Create table a report using wizard by selecting all the fields for the table – Mark sheet

Solution: -

Step 1: Open LibreOffice Base


1. Launch LibreOffice Base on your computer.
2. Open the database file that contains your Mark sheet table.

Step 2: Start the Report Wizard


1. In the main database window, look for the "Reports" section in the left sidebar.
2. Right-click on "Reports" and select "Create Report in Wizard Design."

Step 3: Select the Table


1. In the Report Wizard window, you will see an option to select the table or query.
2. Choose the Mark sheet table from the list.
3. Click on the "Next" button.

Step 4: Select Fields for the Report


1. You will see a list of all the fields available in the Mark sheet table.
2. Click the ">>" button to select all fields or manually select the fields you want to include in the
report (i.e., Stud_No, Name, Roll
No, Sub101, Sub102, Sub103, Total, Percentage, and Grade).
3. Once you have selected the fields, click on the "Next" button.

Step 5: Grouping Options (Optional)


1. The wizard may give you the option to group the data. If you want to group by a specific field
(like Grade), you can select that field.
2. If you do not wish to group the data, simply click on "Next."

Step 6: Choose the Layout


1. The wizard will prompt you to choose a layout for your report. You can select from options like:
• Columnar
• Tabular
• Justified
• Other layouts
2. Choose the layout that best suits your needs (e.g., Tabular for a traditional report format).
3. Click on the "Next" button.

Step 7: Select Sorting Options


1. You will now have the option to sort the report by one or more fields. For example, you might
want to sort by Name or Roll No.
2. Select the field(s) you wish to sort by and choose the order (ascending or descending).
3. Click on the "Next" button.

Step 8: Set the Report Title


1. The wizard will ask you to provide a title for your report. Enter a suitable title, such as "Mark
sheet Report."
2. Click on the "Next" button.

Step 9: Finish the Report Creation


1. The wizard will show you a summary of your selections. Review your choices.
2. Click on the "Finish" button to create the report.

Step 10: Open the Report


1. After finishing, the new report will open automatically.
2. You can view the data formatted according to your specifications.
Step 11: Save the Report
1. If prompted, save the report by clicking on the Save icon (disk icon) or go to File > Save.
2. The report will be saved under the "Reports" section in the left sidebar.

You might also like