Practical File
Information Technology
CODE:402
Class X
Session : 2024 - 25
Page 1 of 21
Student’s Details
Roll No.:
Name of Student:
Class : Section: _
Page 2 of 21
Index
Sr.No. Assignment PAGE NO. Signature
Unit: RDBMS (Advanced)
1 Create table using SQL command and primary key. 4
Understanding the concept of data, information and
2 5
database.
Understanding the concept of primary key.
3 6
Demonstrate to apply various criteria in query – single field
4 7-8
and multiple fields.
5 Prepare a query for a given criterion. 9-10
Unit: SPREADSHEETS (Advanced)
Understanding the concept of various formulas in
6 11
spreadsheets.
Understanding the concept of various functions in
7 12
spreadsheets.
Understanding the concept of sorting of data.
8 13
Understanding the steps to insert new sheets and rename
9 14
sheets.
Understanding the steps to share the spreadsheets
10 15
Unit: DIGITAL DOCUMENTATION (Advanced)
11 Understanding the concept of different styles in Writer. 16-17
12 Understanding the concept of inserting styles in Writer using 18
Drag and Drop.
13 Understanding the concept of different templates in Writer. 19
14 Understanding the concept to set a custom template as the 20
default template in Writer.
15 Understanding the concept of grouping objects in Writer. 21
Page 3 of 21
Unit: RDBMS (Advanced)
Learning Outcome 1
Create table using SQL command and Primary key
Lab Assignment 1
Objective: Understanding Creation of tables and the concept of primary key.
Task: Create a table and identify the primary key.
Sno Toycode Toyname Category Price Qty
1. T001 Popeye Stuff toy 150 12
2. T002 Rapid fire Two players 600 25
3. T003 Teddy Stuff toy 300 40
4. T004 creative Building block 800 18
5. T005 Ping pong Two players 500 53
Ans: Create table “TOY”
(
Sno Numeric (4),
Toyname Varchar (15),
Category Varchar (20),
Price Numeric (5),
Qty Numeric (5)
);
PRIMARY KEY: A primary key, also called a primary keyword, is a key in a
relational database that is unique for each record.
So, in the above table TOY our primary key is Toycode which is
unique for each record in the table.
Page 4 of 21
Unit: RDBMS (Advanced)
Learning Outcome 2
Appreciate the concept of Database Management System
Lab Assignment 2
Objective: Understanding the concept of data, information and database.
Understanding the concept of primary key.
Task: Find out the primary key in the following table:
StudentID Name Marks1 Marks2
0015 Aman 76 68
0017 Rohan 87 98
0019 Priya 76 87
0020 Aman 45 68
Ans: StudentID is the primary key in the above table as it is unique for each record in the
table.
Task: Find out data, information and database:
1. Airline reservation system
2. 56,78,90,34
3. Catalogue in a bookstore
4. Student average marks
5. Student name
6. Sales report by region
Ans :
1. Airline reservation system Database
2. 56,78,90,34 Data
3. Catalogue in a bookstore Database
4. Student average marks Information
5. Student name Data
6. Sales report by region Information
Page 5 of 21
Unit: RDBMS (Advanced)
Learning Outcome 3
Perform operations on Table.
Lab Assignment 3
Objective: Understanding the concept of data, information and database.
Understanding the concept of primary key.
Task : Write the SQL command to perform various operations on table.
Sno Toycode Toyname Category Price Qty
6. T001 Popeye Stuff toy 150 12
7. T002 Rapid fire Two players 600 25
8. T003 Teddy Stuff toy 300 40
9. T004 creative Building block 800 18
10. T005 Ping pong Two players 500 53
a) Write the command to create a table.
Ans: Create table “TOY”
(
Sno Varchar (4),
Toycode Varchar (20)
Toyname Varchar (15),
Category Varchar (20),
Price Numeric (5),
Qty Numeric (5)
);
b) Write the command to insert the first row.
Ans: Insert into “TOY” (Sno, Toyname, Category, Price, Qty)
Values (‘1’, ‘Popeye’, ’Stuff toy’, 150, 12);
c) Delete the record of toy ping pong.
Ans: Delete from “TOY” where “Toyname” = ’Ping pong’;
Page 6 of 21
Unit: RDBMS (Advanced)
Learning Outcome 4
Retrieve data from the table using query.
Lab Assignment 4
Objective: Demonstrate how to apply various criteria in query – single field and multiple fields.
Task: Write the SQL command to apply various queries on table.
Sno Toycode Toyname Category Price Qty
11. T001 Popeye Stuff toy 150 12
12. T002 Rapid fire Two players 600 25
13. T003 Teddy Stuff toy 300 40
14. T004 creative Building block 800 18
15. T005 Ping pong Two players 500 53
a) Write the command to display the table.
Ans: Select * from TOY;
b) To display the toys of category stuff toys.
Ans: Select * from TOY where category = ‘Stuff toy’;
c) To display toy name in ascending order of toy
Ans : Select Toyname from TOY order by Toy_name asc;
d) To display all the toys whose quantity is more than 20.
Ans: Select * from TOY where qty>20;
e) To display all the toys whose price is less than 500.
Ans: Select * from TOY where price <500;
Page 7 of 21
f) Delete the record of toy ping pong.
Ans: Delete from “TOY” where “Toyname”= ’Ping pong’ ;
g) Change the quantity of ping pong to 60.
Ans: Update “TOY”
set “Qty”=60
where ”Toyname”=’Ping pong’;
h) Display the table according to the price in descending order.
Ans: Select * from TOY order by Price Desc;
Page 8 of 21
Unit: RDBMS (Advanced)
Learning Outcome 5
Retrieve data from the table using query.
Lab Assignment 5
Objective: Prepare a query for a given criterion.
Task: Write SQL commands for the following queries.
Book_id Book_name Author_name Publishers Price Type Qty
F001 The tears William Hopkins First Publ. 750 Fiction 10
F002 Thunderbolts Anna Roberts First Publ. 700 Fiction 5
F003 My first c++ Brian & Brooke EPB 250 Text 10
F004 Info Practices Sumita Arora BPB Publ. 275 Text 5
C001 Fast Cook Lata Kapoor EPB 350 Cookery 8
a. Create a table : Books
Ans: Create Table “Books”
(
Book_id Varchar(10),
Book_name Varchar(20),
Author_name Varchar(25),
Publishers Varchar(25),
Price Numeric(4),
Type Varchar(10),
Qty Numeric(4));
b. Identify the primary key in the table.
Ans: Book_id is the primary key.
c. List the names of books of type fiction.
Ans: Select Book_name from Books where Type=’ Fiction’;
d. List the books in descending order of qty.
Ans: Select * from Books order by Qty desc;
e. Change the qty of F001 To 15
Ans: Update “Books”
Set “Qty”=15
Where “Book_id”=’F001’;
Page 9 of 21
f. Delete the record of book T004
Ans: Delete from “Books” where Book_id = ‘F004’;
g. List the books whose price is more than 500.
Ans. Select * from Books where Price >500;
h. List the books in ascending order of Price.
Ans. Select * from Books order by Price asc;
Page 10 of 21
Unit: SPREADSHEETS (Advanced)
Learning Outcome 6
Use of various formulas.
Lab Assignment 6
Objective: Understanding the concept of formulas in spreadsheets.
Task: Write the commands to perform various operations on table.
a. Write a formula to calculate the Total Quantity in cell C7.
Ans: =C3+C4+C5+C6
b. Write a formula to calculate the Amount paid for rackets in cell E4.
Ans: =C4*D4
c. Write a formula to find the difference in the price of boxes and gloves in cell D7.
Ans: =C5-C6
Page 11 of 21
Unit: SPREADSHEETS (Advanced)
Learning Outcome 7
Use of various functions.
Lab Assignment 7
Objective: Understanding the concept of various functions in spreadsheets.
Task: Write the commands to perform various operations on table.
Write a formula to calculate the Total Quantity in cell C7.
a.
Ans: =Sum (C3:C6)
To find the Product with Maximum Price to be written in cell D9.
b.
Ans: =MAX (D3:D6)
c. To find the Average Qty to be written in cell C8.
Ans: =AVERAGE (C3:C6)
d. Write formula to calculate Total Amount in cell E7.
Ans: =SUM (E3:E6)
To find the Product with Minimum Price to be written in cell D10.
e.
Ans: =MIN (D3:D6)
Page 12 of 21
Unit: SPREADSHEETS (Advanced)
Learning Outcome 8
Data sorting
Lab Assignment 8
Objective: Understanding the concept of data sorting in spreadsheets.
Task: Write the commands to perform various operations on table.
a. Write the feature used for arranging the Score from Highest to Lowest.
Ans: SORT Z TO A
b. Write the feature used for arranging the Score from Lowest to Highest.
Ans: SORT A TO Z
Page 13 of 21
Unit: SPREADSHEETS (Advanced)
Learning Outcome 9
Insert new sheets and rename spreadsheets.
Lab Assignment 9
Objective: Understanding the steps to insert new sheets and rename sheets.
Task: Write the steps to insert spreadsheet and rename spreadsheet.
Inserting New Sheets:
Steps:
• Select the plus icon at the bottom of the screen.
• Or select Home > Insert > Insert Sheet.
Renaming Worksheets:
We can do any of the following:
• Double-click on one of the existing worksheet names.
• Right-click on an existing worksheet name, then choose Rename from the resulting
Context menu.
• Select the worksheet you want to rename (click on the worksheet tab) and then
select the Sheet option from the Format menu. This displays a submenu from which
you should select the Rename option.
Page 14 of 21
Unit: SPREADSHEETS (Advanced)
Learning Outcome 10
Share the spreadsheet.
Lab Assignment 10
Objective: Understanding the steps to share the spreadsheets.
Task: Write the steps to share the spreadsheets.
Worksheet Sharing:
• Open a new spreadsheet and save it with some name.
• Select and click on Tools > Share Spreadsheet from main menu bar. This will open the
Share Document dialog window as shown below which can be used to enable or disable
sharing option.
• Click on the checkbox “Share this spreadsheet with other users” to share the spreadsheet
and click on OK button. This will open the confirmation dialog window as shown below to
save the spreadsheet to activate the shared mode.
• Click on Yes to continue.
• Once the spreadsheet is saved, the name of the spreadsheet in the title bar will display
(shared) along with the name of the spreadsheet.
Page 15 of 21
Unit: DIGITAL DOCUMENTATION
(Advanced)
Learning Outcome 11
Different Styles in Open Office Writer
Lab Assignment 11
Objective: Understanding the different styles available in Writer.
Task: Explain different types of styles available in open office writer.
OpenOffice.org supports the following types of styles:
• Page styles include margins, headers and footers, borders and
backgrounds. In Calc, page styles also include the sequence for printing
sheets.
• Paragraph styles control all aspects of a paragraph’s appearance, such as
text alignment, tab stops, line spacing, and borders, and can include
character formatting.
• Character styles affect selected text within a paragraph, such as the font and
size of text, or bold and italic formats.
• Frame styles are used to format graphic and text frames, including wrapping
type, borders, backgrounds, and columns.
• Numbering styles apply similar alignment, numbering or bullet characters,
and fonts to numbered or bulleted lists.
• Cell styles include fonts, alignment, borders, background, number formats
(for example, currency, date, number), and cell protection.
• Graphics styles in drawings and presentations include line, area,
shadowing, transparency, font, connectors, dimensioning, and other
attributes.
Page 16 of 21
• Presentation styles include attributes for font, indents, spacing, alignment,
and tabs.
Page 17 of 21
Unit: DIGITAL DOCUMENTATION
(Advanced)
Learning Outcome 12
To insert Styles in Open Office Writer using Drag and Drop.
Lab Assignment 12
Objective: Understanding the steps to insert a style using drag and drop.
Task: Write the steps to insert a style using drag and drop feature.
Dragging and dropping to create a style
We can drag and drop a text selection into the Styles and Formatting window to
create a new style.
Step 1. Select the text from the document and change its formatting as desired.
Step 2. From the buttons at the top of the Style menu, choose the desired category
of style to create.
Step 3. Click on the desired style under which, new style is to be created.
Step 4. From the document drag the selected portion of text to the Style Menu.
Note – While dragging the text, check the cursor shape, as it changes to indicate
whether the desired operation is possible or not.
Step 5. Create Style dialog window appears, type the name of new style. Names
of existing styles are displayed in the window.
Step 6. Click OK button to save the name of new style.
Page 18 of 21
Unit: DIGITAL DOCUMENTATION
(Advanced)
Learning Outcome 13
Different Templates in Open Office Writer
Lab Assignment 13
Objective: Understanding the concept of template in Writer.
Task: Write the steps to create a template from a document.
To create a template from a document:
• Open a new or existing document.
• Add the content and styles that you want.
• From the main menu, choose File > Templates > Save.
• In the New template field, type a name for the new template.
• In the Categories list, click the category to which you want to assign the
template.
• Click OK to save the new template.
Page 19 of 21
Unit: DIGITAL DOCUMENTATION
(Advanced)
Learning Outcome 14
Set a custom template as the default template in Writer
Lab Assignment 14
Objective: Set a custom template as the default template in Writer.
Task: Write the steps to set a custom template as the default template.
To set a custom template as the default:
• From the main menu, choose File > Templates > Organize. The Template
Management dialog opens.
• In the box on the left, select the folder containing the template that you want
to set as the default, then select the template.
• Click the Commands button and choose Set As Default Template from the
drop-down menu.
Page 20 of 21
Unit: DIGITAL DOCUMENTATION
(Advanced)
Learning Outcome 15
Grouping drawing objects in Open Office Writer
Lab Assignment 15
Objective: Understanding the concept of grouping drawing objects in Writer.
Task: Write the steps to group drawing objects.
Grouping drawing objects:
Step 1. Select the object by clicking over it.
Step 2. Hold the Shift key and keep on selecting all other objects by clicking on it to be
included in the group.
Step 3. Select a group tool from Drawing Object Properties Toolbar. Alternatively,
selecting from main menu Format > Group > Group will also do same work.
Step 4. This process will group the selected drawing objects.
There are four options under Group option. These are Group, Ungroup, Enter Group, Exit
Group. The icons as shown below for these options are also present in the Drawing Object
Properties Toolbar.
Page 21 of 21