Professional Documents
Culture Documents
IT Practical File Main 2023-24
IT Practical File Main 2023-24
A Practical file
of
INFORMATION TECHENOLOGY (402)
submitted in partial fulfilment
of the requirement
for the practical exam of
7 Subtotal 20
14 SQL commands 44
2|Page
15 SQL constraints 45
Digital Documentation
(Advanced)
3|Page
Learning Outcome - Create and apply styles in digital document
Assignment 1
Digital Documentation
(Advanced)
Solution:
4|Page
Output:
5|Page
Learning Outcome – Insert and Use Images in digital document
Assignment 2
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
Steps:
name: DreamQuot
1. Open OO Writer and Type the paragraph.
7. Right Click on the shape and choose Wrap Optimal Page Wrap option.
6|Page
Output:
7|Page
Learning Outcome - Create and use template
Assignment 3
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
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.
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.
8|Page
9|Page
Learning Outcome – Create and Customize Table of Contents
Assignment 4
Output:
Solution:
1. Type the contents.
2. Apply appropriate level of headings from the Styles and Formatting window.
5. Click on OK.
10 | P a g e
11 | P a g e
Learning Outcome – Implement the mail merge
Assignment 5
1. Type a letter. Click on Tools – Mail Merge wizard. A mail merge dialog box appears.
2. Select Letter option. And click on Next.
12 | P a g e
3. For inserting address list just click on the select different address list option, select
the address list you have prepared, click on Next.
4. Create salutation click on desire salutation click on the next tab.
5. IF you want to adjust your content you adjust you increase the left and the top bar.
Click on next button.
13 | P a g e
6. Edit document, Click the edit document option to edit you can apply to your document,
if necessary. Click on next button.
7. Click on Edit individual document. If you want to edit or click on Next button.
8. Click on Then, at last, you will get the final step to save, print or send the
merged document.
14 | P a g e
9. Click on save merged document. Then click on Save as individual documents.
15 | P a g e
Electronic Spreadsheet
(Advanced)
16 | P a g e
Learning Outcome Analyze data using scenarios and goal seek
Assignment 1
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.
17 | P a g e
Solution:
Task: Prepare a document with different headings and apply a table of contents to it.
19 | P a g e
Assignment 2
Electronic Spreadsheet
(Advanced)
20 | P a g e
2. Select the data. Needs to be grouped using subtotal.
4. Select column in Group By option then mark the column to count the frequency for the
category and finally select the count function as displayed the following screenshot.
21 | P a g e
Assignment 3
Objective: Link data and Spreadsheet
Task: Prepare a worksheet 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 "Periodic Test I", "Periodic Test II" and "Periodic
Test III" respectively.
4. In the Periodic Test I worksheet create a reference for Roll No, First Name, and Last Name
columns from Student Profile by using the keyboard.
5. In the Periodic Test II worksheet create a reference for Roll No, First Name, and Last
Name columns from Student Profile by using the mouse.
6. In the Periodic Test III worksheet create a reference for Roll No, First Name, and Last
Name columns from Student Profile as you wish.
Solution:
22 | P a g e
Setting up worksheets
1. Open spreadsheet software and type the required data as given in the question.
2. Right click on Sheet tab, choose rename option. Now type “Student Profile”.
3. Click on Insert Sheet option three times and rename them respectively.
Creating Reference
1. Open Periodic Test I worksheet and place the cursor in the first cell.
2. Now type =.
3. Then move or select the student profile and select the cell where roll no is written.
Solution
2. Click on File Save and Use proper name for the worksheet.
24 | P a g e
4. The Share Document dialog box will appear. Click on Share this spreadsheet with
other users.
5. Click OK button.
25 | P a g e
Assignment 5
Objective: Applying subtotal in OO Calc
Task: Prepare a worksheet as following
2. Place the cursor to get the result for the marks of term 2.
26 | P a g e
Database Management System
27 | P a g e
Learning Outcome – Create and edit tables using wizard
Assignment 1
Solution:
Solution
1. Click on Start All Programs Open Office 4.1.7 Open Office Base.
2. OO Base window will open with Database Wizard. Select or create the database to
work upon it. I have selected existing database db1. Click on Finish button.
28 | P a g e
3. Now click on Tables button from Left pane and choose Use Wizard to Create Table…
4. The Table Wizard will open. Follow wizard steps to create a table.
29 | P a g e
5. 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.
6. Click on Next and select field types and all if you want to change it. Click on Next.
30 | P a g e
7. Set a primary key for your table in this step. I have selected EmplyeeID as Primary key.
8. If you wish to change the table name then type new name for the table and click on Insert
Data immediately, and click on Finish.
9. Insert data.
31 | P a g e
Learning Outcome – Retrieve data using query
Assignment 2
5. Click on OK button.
Stud_No Integer 2
Name Text 15
RollNo Integer 3
32 | P a g e
Solution
create table “marksheet” (“Stud_no” tinyint primary key, “Name” varchar(15), “RollNo”
Output
33 | P a g e
Queries
1. Add Columns
1. Add column Total alter table "marksheet" add column "Total" tinyint
2. Add column Percentage alter table "marksheet" add column "Percentage"
decimal(5,2)
3. Add column grade alter table "marksheet" add column "Grade" char(2)
2. Insert records
1. insert into "marksheet" values (101, 'Sagar', 105, 27, 25, 28, 80 , 88 , 'B1')
3. Steps to perform a query using design view
1. Click Queries Create Query in Design View….
2. The query design window will open.
3. Select the marksheet table and click on Add button.
4. Now select fields given in the question like name, rollno, marks,Sub101, Sub102,
Sub103, Total and Percentage.
5. Save the query.
34 | P a g e
4. Query Wizard Steps
1. Click on Queries Use Wizard to Create Query…
2. Query Wizard opens.
3. Select the table marksheet and Select the fields given the question.
4. Click on finish.
Output
35 | P a g e
5. Display maximum marks and minimum marks for the fields given in the question, using
design view.
5. Choose the function maximum under Sub101 and Minimum under Sub102.
36 | P a g e
6. Display the rollno, name and percentage whose percentage are more than 70 using
design view
4. Select columns given in the question i.e. Rollno, Name and Percentage.
Output
37 | P a g e
7. Display all the record in ascending order of names using design view.
1. Click Queries Create Query in Design View….
2. The query design window will open.
3. Select the marksheet table and click on Add button.
4. Select markesheet.* and name in the column list.
5. Select sort ascending under name field.
6. Now click on Visible checkbox to hide the name column in result.
38 | P a g e
Learning Outcome – Create Forms and Reports using wizard
Assignment 3
3. Select the table from Tables or Queries then add all the fields.
39 | P a g e
5. Select the first option i.e. Columnar – Labels Left then click on the next button.
Now set data entry step will be there. Ignore this step and click on Next. Choose
Assignment 4
Objective: Steps to create a table using table wizard
Solution
Task: Create a table using wizard
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.
41 | P a g e
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.
5. Now choose the layout. I have selected Outline-Elegant as Layout of Data, Landscape
42 | P a g e
6. Now type the title of the report and select dynamic report Create report now option.
Output
43 | P a g e
SQL COMMANDS
1. Mysql> Show Database;
2. Mysql> Create database bps;
3. Mysql> Use bps;
4. Mysql> Show tables;
5. Mysql> Create table student(admn integer, name varchar(30),D_O_B date);
6. Mysql> describe student;
7. Mysql> alter table student
Add primary key(admn);
8. Mysql> alter table student
Add fathername varchar(30);
9. Mysql> alter table student
Drop fathername;
10. Mysql> alter table student
Add fee integer;
11. Mysql> alter table student
Change fee fees decimal;
12. Mysql> alter table student
Modify name char (30);
13. Mysql> insert into student
Values ( 1001 , ‘Ram’ , 4026 , 2006/12/04 );
14. Mysql> update student set fee = 4000 where admn = 1001;
15. Mysql> delete from student where admn = 1011;
16. Mysql> Select * from student;
17. Mysql. Select admn, name from student ;
18. Mysql> Select name from student where admn = 1003;
19 Mysql> Select admn, name from student overby admn descending;
20.Mysql> Select distinct ( name from student );
21. Mysql> Select * from student where D_O_B > ‘2007/01/17’;
22. Mysql> Select * from student where admn = 1003 and name = ‘Ram’;
23. Mysql> Select * from student where admn in (1001 , 1005 , 1007 );
24. Mysql> Select * from student where admn not in ( 1001 , 1005 , 1007 );
25. Mysql > Select * from student where admn Like ‘10%’;
26. Mysql> Select * from student where admn Like‘%0’;
27. Mysql> Drop table student;
28. Msql> Drop database bps;
44 | P a g e
CONSTRAINTS
1. Mysql> Create table student (admn integer primary key ,name varchar(30),D_O_B date
NOT NULL);
2. Mysql> Create table student(admn integer primary key,name varchar(30),D_O_B date
NOT NULL, city varchar(30) default ‘bhiwani’);
3. Mysql> Create table student(admn integer primary key,name varchar(30),D_O_B date
NOT NULL, city varchar(30) default ‘bhiwani’ ,VID integer unique );
4. Mysql> Create table student(admn integer primary key,name varchar(30),D_O_B date
NOT NULL, city varchar(30) default ‘bhiwani’ ,VID integer unique , class integer
check(class>0));
45 | P a g e