Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

IT LAB PRACTICAL EXPERIMENT

1)NEW STYLE FROM SELECTION


AIM:
To Create a new style from selection in open office
writer
PROCEDURE:
 Go to Format-Styles and formatting or press
F11
 In the styles and formatting window and
choose the type of style you want. We choose
character style.
 In the document, select the Text you want and
edit the text.
 In the styles and formatting window, click on
the new styles from selection icon.
 In the create style dialog, type a new name for
the style click ‘ok’ to save the new style.
 Select any text and apply the styles that we
created.
2)INSERTING AND GROUPING IMAGES
AIM:
To Insert and group an image in open office writer.
PROCEDURE:
 To insert image in open office
Insert>Picture>From file in the menu.
 From the insert picture Dialog select the
image needed and click open.
 To group a set of image, Go to
File>new>Drawing
and go to Tools>Gallery and insert few
images using drag and drop. Again go to
Tools>Gallery to close the window.
 Now cut or copy the images in drawing and
paste it in open office writer. We can see the
images are grouped.
 To ungroup the images, go to
format>group>ungroup.
And to again group the images, go to
format>group>group.
3)CREATING A TEMPLATE
AIM:
To create a template of your own choice and set it as
default template.
PROCEDURE:
 To create a template first open
view>Toolbars>
Drawing.
 Enter the data required, for example a
question paper.
 Then click, File>Template>Save.
 Then give a name for the template and click
‘ok’.
 To set a template as a default template, open
File>Templates>organise>My templates.
 Then select the template you want.
 Click the command drop down button.
 Then select the set as default option and click
save.
 The template will be set as default.
4)CREATING TABLE OF CONTENTS
AIM:
To create a customized Table of content in open
office writer and change its background colour.
PROCEDURE:
 To create a table of content, select the
hierarchy of headings such as heading 1,
heading 2, and heading 3.
 After selecting the hierarchy of heading, place
the cursor where you want the table of
contents to be inserted.
 Then click Insert>Indexes and
Tables>Indexes and Tables.
 Click ok.
 The table contents will be inserted.
 To change the colour of the table of contents,
right click on the table of contents, click edit,
then open the background tab.
 After that to change the colours of the
background choose the colour needed.
 To select the graphic first, select graphic
browse>select file>select graphic> click ok.
 Then the graphic will be updated in the
background of the table of contents.
5)CONSOLIDATION OF DATA
AIM:
To prepare a consolidated data for the marks of
students of ABC International School.
 To prepare consolidated data, enter the data
and open Data>Consolidate.
 Then add the consolidation ranges of data by
dragging and selecting the range using left
mouse button.
 Select the place where the consolidated data
to be entered in copy results to textbox.
 Then check the row labels, column labels, link
to source data checkboxes.
 Then click ok.
 The data will be consolidated.
6) GOAL SEEK
AIM:
To Calculate the mark of a subject missing using
Goal seek.
PROCEDURE:
 To calculate the percentage of mark missing,
find the average for marks using formula
=average(range of cells) and go to tools>goal
seek.
 The dialog box appears, and in that select the
formula cell, variable cell and enter the target
value.
 click ok, the value of the missing mark of the
subject will be displayed.
7)SOLVER
AIM:
To calculate the percentage of subject marks based
on multiple subject marks using solver.
PROCEDURE:
 To calculate a range of missing values using
solver, first open tools>solver.
 Then the dialog box appears and in that select
the final value required in the formula cell and
then select the range of cells to be changed.
 Then enter the condition for the values to be
changed.
 Then click ok, the data will given according to
the condition given.
8)CREATING FUNCTIONS IN MACROS
AIM:
To create a function in macros.
PROCEDURE:
 To create function in macros, first open
tools>macros>
Organize macros>open office basic>.
 Then the programming dialog appears, scroll
to the top and then type the following:
Function Function name (optional x)
Function name()=x*x
End function
 After this save the function.
 To call this function ,type =function name(x)
9)SORTING DATA USING MACROS

AIM:

To sort data using macros.

PROCEDURE:

 To sort using macros, open


tools>macros>record macros.

 Then in the already entered data, sort the data


by opening data>sort and then select the sort by
column and in what
order(ascending/descending order).

 Then click stop recording.

 Give a name to the macros and save it.

 Then in the next sheet to sort the data, open


tools>macros>run macros and select the macro
that was saved , the sorting would be done
according to the conditions given.
10)CREATE TABLE IN DESIGN VIEW

AIM:

To create a table in design view in open office basic.

PROCEDURE:

 To create a table in design view in open office


basic,
click and open create table using design
view.
 Then type the field name and data type of the
field name and length of the field for character
types
 Then set a primary key for the table.
 Now save the table and close open office. And
again open the database.
 The table would have been created.
 Now enter the values or data for all the
field(columns).
11) MAIL MERGE

AIM:

To send an invitation to your friends for your


birthday party by using the concept of Mail-merge.

PROCEDURE:

 Open the open office base and select create table


using use wizard to create table.
 Click the personal radio button and select
Addresses table under sample tables.
 Select the field names from address tables, set
primary key and click finish to create the table.
 Enter the details of the people in addresses table
to whom the letter will be sent.
 Open the open office text and writer and type the
letter that needs to be sent.
 Go to Insert>fields>other or press ctrl+F2
 Under Type, select mail merge fields, and
under Database selection, select the database,
table and drag the field names to the writer
using left mouse button.
 Click close and go to Tools>Mail merge wizard
click next till step 8.
 In step 8, select save merged document radio
button and select save as single document and
save it by giving a name.
12)CREATE TABLE USING WIZARD
AIM:
To create a table using wizard in open office basic.
PROCEDURE:

 To create a table using wizard in open office


basic, first click use wizard to create table.
 Select the category.
 Then select the fields required.
 Click next.
 Set the appropriate field as primary key.
 Click next.
 And click finish.
 The table will be created.
 Enter the values in the fields according to the
condition and data type of the field.
13) CREATE QUERY IN DESIGN VIEW
AIM:
To create a query in design view.
PROCEDURE:

 To create query in open office, click the create


query in design view.
 Then select the table to be used.
 Select the fields that are needed to be re-
trieved.
 Specify the conditions according to the needs
 Click Run Query or press F5.
 The output will be displayed.
14) CREATE TABLE USING SQL COMMANDS
AIM:
To create table using SQL command.
PROCEDURE:

 To create table using SQL command ,open


tools>SQL.
 Then type the command using this following
syntax:
 Create Table Tablename
(
Field name data type primary key,
Field name data type,
Field name data type
);
 Then click execute.
 The command will be executed and the table
will be created.
15)DML COMMANDS
AIM:
To use the commands update, alter and delete.
PROCEDURE:
1. Update:
 To update a table using SQL command first,
open tools>SQL.
 Then type the following syntax:
Update table name set field name = value
where condition.
 Then click execute.
2. Alter:
 To alter a table using SQL command ,open
tools>SQL.
 Then type the following syntax:
Alter table table name Add column col-
umn name data type
Alter table table name Drop column col-
umn name
3. Delete
 To delete the contents of the table by SQL
command first, open tools>SQL.
 Then type the following syntax:
Delete from table name where condition.

You might also like