Grade 10 IT Practical Program 1 To 5
Grade 10 IT Practical Program 1 To 5
System
Expt No : 1
Aim :
To create a table using table wizard
Steps :
1.Click on Start → All Programs → Libre office 4.1.7 → Libre office Base.
2. LO Base window will open with Database Wizard.
3.Select or create the database to work upon it. Select existing database db1.
Click on Finish button.
4. Click on Tables button from Left pane and choose Use Wizard to Create Table
option from the tasks window.
5.The Table Wizard will open. Follow wizard steps to create a table.
6. In first step of wizard select the Category either Business or Personal, Table
from list of sample tables, and fields from available fields. Click on Finish button.
7. Click on Next and select field types and all if user want to change it. Click on
Next.
8. Set a primary key for created table in this step. Here, EmplyeeID as Primary
key has been selected.
9. If user wish to change the table name then type new name for the table and
click on Insert Data immediately, and click on Finish.
10. Insert data
Output :
RESULT:
Thus, the table is created using table wizard and the output is verified
successfully.
Expt No : 2
Aim :
To create a table using table design view.
Steps :
1.Click on Start → All Programs → Libre office 4.1.7 → Libre office Base.
2. LO Base window will open with Database Wizard
3. In the main window, click on "Tables" in the left-hand pane.
4.Click the option "Create Table in Design View" at the top in the table area.
5.In the "Table Design" window, we see the "Field Name" column. Enter the
field names such as ID,Name, Address, Phone for table columns.
6.In the "Field Type" column, select the appropriate data type for each field
Here,"Integer" for ID, "Text" for Name,Address and Phone.
7. Set a primary key for ID by right clicking and choose primary key.
8.Click the "Save" icon or go to "File" > "Save" to save your table design.
9.Enter a name for your table. Here,enter "student" and click "OK."
10.Now, user can enter the data in the table.
Output :
RESULT:
Thus, the table was created in the design view and the output is verified
successfully.
Expt No : 3
Aim :
To Create table Marksheet (Using SQL Command )and perform the below given
queries using wizard and design view.
Field Name Data Type Size
Stud_No Integer 2
Name Text 14
RollNo Integer 3
Sub101 Decimal 3,2
Sub102 Decimal 3,2
Sub103 Decimal 3,2
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 MARKSHEET using SQL mode.
3. Display name, rollno, marks of 3 subjects, total and percentage using design
view.
4. Display name, rollno, grades from the marksheet table using query wizard.
5. Display the maximum marks for Sub101 and minimum marks for Sub102 using
design view.
6.Display the rollno, 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.
Steps :
Create table command :
create table “marksheet” (“Stud_no” tinyint primary key, “Name” varchar(15),
“RollNo” tinyint, “Sub101” decimal(5,2), “Sub102” decimal(5,2), “Sub103”
decimal(5,2))
Queries
1. Add Columns
❖ Add column Total → alter table "marksheet" add column "Total" tinyint.
❖ Add column Percentage → alter table "marksheet" add column
"Percentage" decimal(5,2)
❖ Add column grade → alter table "marksheet" add column "Grade" char(2)
2. Insert records .
❖ Insert into "marksheet" values (101, 'Sagar', 105, 27, 25, 28, 80 , 88 , 'B1'
3. Steps to perform a query using design view
❖ Click Queries → Create Query in Design View.
❖ The query design window will open.
❖ Select the marksheet table and click on Add button.
❖ Now select fields given in the question like name, rollno, marks,Sub101,
Sub102, Sub103, Total and Percentage.
❖ Save the query
4. Query Wizard Steps
❖ Click on Queries → Use Wizard to Create Query.
❖ Query Wizard opens.
❖ Select the table marksheet and Select the fields given the question
❖ Click on finish.
5. Display maximum marks and minimum marks for the fields given in the
question, using design view. Click Queries → Create Query in Design View
❖ The query design window will open.
❖ Select the marksheet table and click on Add button.
❖ Now select the field Sub101 and Sub102.
❖ Choose the function maximum under Sub101 and Minimum under Sub102.
❖ Save the query and check the result
6.Display the rollno, name and percentage whose percentage are more than 70
using design view
❖ Click Queries → Create Query in Design View.
❖ The query design window will open.
❖ Select the marksheet table and click on Add button.
❖ Select columns given in the question i.e. Rollno, Name and Percentage.
❖ Type >70 in the front of criteria under the percentage field.
❖ Save the query and check the result.
7.Display all the record in ascending order of names using design view.
❖ Click Queries → Create Query in Design View
❖ The query design window will open.
❖ Select the marksheet table and click on Add button.
❖ Select markesheet.* and name in the column list.
❖ Select sort → ascending under name field.
❖ Now click on Visible checkbox to hide the name column in result.
❖ Save the query and check the result.
Output :
RESULT:
Thus, the table Marksheet (Using SQL Command ) is created and performed from
the given queries using wizard and design view and the output is verified
successfully.
Expt No : 4
Aim :
To create a form using wizard by selecting all the fields for the table –
Marksheet
Steps :
To create a form :
1. Click on Forms → Use Wizard to Create Form.
2. A Form Wizard appears.
3.Select the table from Tables or Queries then add all the fields. \
4. Click on Next button and Ignore step 3 and step 4
5. Select the first option i.e. Columnar – Labels Left then click on the next
button
6, Now set data entry step will be there. Ignore this step and click on Next.
Choose the styles for the form interface and click on next.
7. Type new name for the form and click on work with the form. Click on
Finish.
RESULT:
Thus, the form is created using wizard by selecting all the fields from the table –
Marksheet and the output is verified successfully.
Expt No : 5
Aim : To create a report using wizard by selecting all the fields for the table -
Marksheet
Steps :
To create a report.
1. Click on Reports Use Wizard to Create report. The report wizard will
open in the new window.
2. Select the table and add fields.
3. Now change the label text that you want in the report. I have changed the
label Stud_no into Adm. No. Click on Next
4. Skip grouping and sorting options by click on Next button.
5. Now choose the layout. I have selected Outline-Elegant as Layout of
Data, Landscape Orientation, and Bubbles Layout of Headers and
Footers. Click on Next.
6. Now type the title of the report and select dynamic report Create report
now option
7. Now click on finish.
RESULT:
Thus, the report is generated using wizard by selecting all the fields from the
table - Marksheet and the output is verified successfully.
Electronic Spreadsheet
(Advanced)
Expt No : 6
Aim :