It Practicals Class 12
It Practicals Class 12
SOP 1:-
Create a table student with fieldnames- roll no, stud name,
class, div, city, dob etc.
Step 1-
• Open LibreOffice Base
• Create a table
• Open a database and from left pane click on 'Tables' icon
• From right pane click on 'Create table in Design View'
• A window will appear on the screen, type 'Field Name'
• Select 'Field type' ( field type means type of data to be
stored in that field
• In next column type the description about the field.
• In the bottom section in 'Field Properties' select 'Yes' for
'Entry required' property.
• You can set default value and for numeric field types you can
set decimal places also. In this way create all fields.
• Right click on the small button present on the left side of
the field name which is decided as primary key and select
'primary key' option.
• Click on 'Save' icon to save the table, type name for the
table, Click on 'ok'.
Insert minimum 8 records.
Steps
• Open a database, from left pane click on 'Tables' icon.
• In the right pane from bottom part double click on the
name of Table in which data is to be inserted.
• A window will appear on the screen, type data under
each field and
Complete one record; in this way add some records.
• Click on 'Edit Data' icon to make edit mode off, a
window will appear.
• Click on 'Yes' icon and click on 'close' button.
Create a form based on STUDENT table.
Steps-
• Open a database, from left pane click on 'Forms' objects.
• From right pane click on 'Use Wizard to Create Form'.
• Select name of 'Student Table' and shift fields from
'Available fields' list to 'Fields in the form' list by clicking
on arrow button then click on 'Next' button
• Click on 'Next' button.
• Select any one arrangement for main form for placing the
controls (Ex-columnar labels left) and click on ‘Next’
button.
• Click on ‘Next’ button.
• Select style for the form , click on ‘Next’ button
• Type Name for the form , click on ‘Finish’ button
SOP 2:
Steps
1) Steps for creating Database :
a) Click on Start-> All Programs -> Libre Office -> Libre Office
Base
b) Database Wizard window appears , Select Save and
Proceed-> Click on Finish button, select proper location
where you wish to save the database with appropriate
name, and database will be created.
2) Steps for creating a Table:
a) To create a table, click on Create table in design view ->
Table design window appears, in that window set fieldname
and datatype.
b) To Save click on save button or press CTRL+S, give table as
employee and click on OK button, table will be saved.
3) Steps for Inserting records in a Table:
For inserting records in a table, double click on the table in
which data is to be inserted, a window will appear on the
screen, type data under each field and complete all the
records.
4) Steps for creating Query:
a) Click on Queries object and in right pane click on Create
Query in Design View option.
b) From Add Table window select table and click on Add button
and click on Close.
c) Select all the fields one by one by Clicking on Field’s
columns.
i) To display records where employee qualifications is “MBA”
in Criterion type “MBA” and click on Run Query icon or press
F5 function key.