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

ITLABMANUAL

The document provides steps to create and apply styles, insert images and shapes, create and use templates, create and customize tables of contents, define database tables and fields, write SQL queries, and consider exam date tables. Various OpenOffice and database tasks are demonstrated.

Uploaded by

mamrajgusain
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views

ITLABMANUAL

The document provides steps to create and apply styles, insert images and shapes, create and use templates, create and customize tables of contents, define database tables and fields, write SQL queries, and consider exam date tables. Various OpenOffice and database tasks are demonstrated.

Uploaded by

mamrajgusain
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Learning Outcome - Create and apply styles in digital document

PRACTICAL 5
Objective: Using various commands to create styles in OO Writer.
Task: Type a paragraph with at least 100 words and create below given styles as instructed:

1. Heading: Font name: Font name: Times New Roman, Size: 24 , Colour: Red. Give the style
name: Dream Heading (Use create style from selection command to create style)
2. Paragraph: Apply Style Text Body from the Style Gallery
3. Quote: Font Name: Broadway, Size:16, Colour: Blue, Alignment: Center. Give the style
name: DreamQuot

Solution:
1|Page
1. Creating styles for Heading and Quote

➢ Open Styles and Formatting dialog box by clicking Format  Styles and Formatting

➢ Click on New Style From Selection from the dialog box.

➢ Type the desired names. For example Dream Heading for heading and DreamQuot for

Quote

➢ Now right click on the particular style to change the format.

➢ Select the given formatting from the update style dialog box.

➢ Click on OK

2. Applying styles from Gallery (Text Body to paragraph)

➢ Select the paragraph

➢ Open Styles and Formatting Dialog box

➢ Select the Text Body style

➢ Now select the fill format icon from the dialog box

➢ Drag over the selected paragraph

2|Page
Learning Outcome – Insert and Use Images in digital document
PRACTICAL 6

Objective: Inserting images and shapes and rearranging them


Task:
1. Create a new document in OO Writer and Type a paragraph.
2. Insert a picture of your choice.
3. Adjust the picture at top left to the paragraph.
4. Insert some shapes and write additional text into the shapes.

Solution:

Steps:

1. Open OO Writer and Type the paragraph.

2. Click on Insert  Picture  From File.

3. Select the picture to insert.


3|Page
4. Resize the picture according to the need.

5. Go to the picture properties and select Wrap  Parallel option.

6. Insert shape and insert the desired text.

7. Right Click on the shape and choose Wrap  Optimal Page Wrap option.

Learning Outcome - Create and use template


PRACTICAL 7
Objective: Creating templates in OO Writer and saving for distribution.
Task:
• Prepare a template for the application writing format.
• Apply formatting as required.
• Set this template as a default template.
• Change the default template to custom template. Change the formatting as you wish.

4|Page
Solution  Application Letter Template Contents
1. Insert the shape for school logo.
2. Type School Name and Address as displayed in the screen shot.
3. Type Subject line.
4. Type the matter required for the application as displayed in above screen shot.
5. Apply formatting as your wish.
6. Click on Format  Page option. Page Style dialog box will open.

5|Page
7. Save the file.
8. Now click on File  Templates  Save to mark your document as template.
 Set up a custom default template in OO writer
1. Click on File → Templates → Organize.
2. Choose the folder of template.
3. Select desired template to set as default template.

Learning Outcome – Create and Customize Table of Contents


PRACTICAL 8

Objective: Create and Customize Table of Contents

Task: Prepare a document with different headings and apply a table of contents to it.

6|Page
Solution:
1. Type the contents.

2. Apply appropriate level of headings from the Styles and Formatting window.

7|Page
3. Click on Insert  Indexes and Tables  Indexes and Tables.

4. Select and apply the styles for the Table of Contents.

5. Click on OK.

DATABASEMANAGEMENT SYSTEM
PRACTICAL 9
Define structure of your table name Teacher in OpenOffice
base in design view
Field name Data type
Tracheid Integer
First name Varchar
Lastname Varchar
Address Varchar
DOB Date
Phone Integer

Solutions:
Step 1: Open OpenOffice Base.
Step 2: In database window click on Table tab
Step 3: Now click on Create Table in Design View
Step 4: The design view of table opens. Enter the field and data
types which are given.
Step 5: Click on save button from interface. Give Teacher name to
the table. Right click on Tracheid field and make primary key.
Step 6: Take printout and attach to sheet.

8|Page
Step 7: Close the Design View and open Datasheet view of
Teacher Table.
Step 8: Enter Record of at least 5 Teacher in this table.
Step 9:Take printout and attach to sheet.

9|Page
PRACTICAL 10
Write Query to create Table with the following structure:
Field Datatype
Pid Char(4)
Pname Varchar(20)
Description Varchar(20)
Price Decimal

Solutions:
Create Table product (
Pid Char(4) Primary key,
Pname Varchar(20),
Description Varchar(40),
Price Decimal);

10 | P a g e
PRACTICAL 11
Consider the following table named GYM with details about
fitness items being sold in the store. Write command to do
following:
Table: GYM
ICODE INAME PRICE BRANDNAME
G101 Power fit 20000 Power gym
exercise
G102 Aquafit hand 1800 Reliable
grip
G103 Cycle bike 140000 Ecobike
G104 Protomer 30000 Coscore
extreme gym
G105 Massage belt 5000 Massage
expert
G106 Cross trainer 13000 Gtc fitness

(i) To display the record of all items.


(ii) TO display the items(INAME) whose price is more than
20000
(iii) To display code and inane of items whose brand name is
reliable
(iv) To change the brand name “FIT TREND INDIA” of items
whose ICODE as G101
(v) Add a new row in GYM table
“G107”, “Vibro exerciser”,21000, “GTCFitness”
Solutions: (i) SELECT * from GYM;
(ii) SELECT INAME FROM GYM WHERE PRICE>20000;

11 | P a g e
(iii) SELECT ICODE, INAME FROM GYM WHERE BRANDNAME=
“Reliable”;
(iv) UPDATE GYM SET BRANDNAME= “FIT TREND INDIA” WHERE
ICODE=”G101”;
(vi) INSERT INTO GYM VALUES ( “G107”, ”Vibro exerciser”,
21000, ”GTCFitness”);

PRACTICAL 12
Consider the following table Datesheet. Write command to do
following:

Solutions:
Solutions: (i) Select *from Datesheet order by DateofExam;

12 | P a g e
(ii)Select * from Datesheet;
(iii) Select Sub_Name,DateofExam from Datesheet where
Days=”Monday”;
(iv)Select Sub_Name, DateofExam from Datesheet where
Sub_Name=”Science”;

1.

13 | P a g e

You might also like