0% found this document useful (0 votes)
19 views11 pages

IT Practical File

Useful for information technology
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views11 pages

IT Practical File

Useful for information technology
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Practical File Questions

Q1. Write the steps to apply Styles using Fill Format mode.

Ans. Fill Format mode makes it easier for you to apply the same style
to many different areas on just one click without having to go back to
the Styles and Formatting window and double-click every time.
To apply Styles using Fill Format mode, follow these steps:
1. Click on Styles and Formatting icon to open the Styles and
Formatting window.

2. Select the Style of your choice in a particular category (such as Page,


Character, Paragraph).

3. Click on Fill Format Mode icon at the top right side of the Styles and
Formatting window. The mouse pointer changes.

4. To apply a Style on paragraph or page, drag the mouse over the


paragraph or page and click. Similarly, to apply style on a word, select
the character style and click on the word.

5. To quit Fill Format mode, click the Fill Format Mode icon again or
press Esc key.

Q2. Write the steps to insert an image in a Writer document from the
Clipboard.

Ans. To insert an image from the clipboard, follow the given steps:

1. Open the document from where the image has to be copied and select
the image.

2. Press Ctrl+C and copy the image to the clipboard.


3. Now, switch to the document in which graphic needs to be inserted.

4. Click at the place where graphic is to be inserted.

5. Press Ctrl+V to paste/insert the image.

Q3. What do you mean by cropping? Give steps to crop a picture


inserted in the Writer document.

Ans. Cropping means to cut off some part of the picture. This is done
when you do not wish to use the entire picture and are interested only
in some part of it.Steps to Crop a Picture are as under -

1. Right-click on the image and select Crop option from the context
menu.
OR
Select Picture and choose Format Menu->Image->Crop option.
The crop angles will appear on the image for cropping.

2. Following are the parameters, which you can adjust to crop an image:

* Keep scale/ Keep image size: When you do not want the scale of the
image to be changed after cropping, then click on Keep Scale radio
button (selected by default). When Keep image size is selected, cropping
enlarges, shrinks or distorts the image to keep the image size constant.

* Left, Right, Top and Bottom: If you want to crop the image from the
left side of the image then enter the value in Left box. Similarly, to crop
the image from the right side, enter the value in Right box and so on.
When Keep scale is selected, the size of the image also changes.

When Keep image size is selected, the remaining part of the image gets
enlarged by positive values of cropping and shrunk by negative values
of cropping. This does not effect the size of the image.

* Width and Height: Entering the value of width and height helps to
adjust the width and height of an image.
4. Click OK after setting the required parameters.

Q4. Write the steps to create a Template from a document.

Ans. To create a Template from a Document, follow these steps:

1. Open a new or existing document of your choice you want to make


into a template.

2. Add the content and styles that you want. You can edit the page
layout as per your need like setting Page Margins, orientation, Style,
Header and Footer, etc. You can also add table of contents or some
predefined text.

3. In the last step of the wizard (step 6) specify the Template name and
location for saving the template. On the menu bar, click File →→
Templates →→Save. The Templates dialog box opens up.

4. In the New template field, type a name for the new template.

5. In the Categories field, choose the category to which you want to


assign the template. The Searching of template becomes easier when
saved in relevant category.

Q5. How to link the Data Source for creating labels in mail merge?

Ans. To link the Data Source for creating labels in mail merge, follow
the steps -

1. Start OpenOffice Writer and click File menu → Wizards → Address


Data Source. The Address Book Data Source Wizard opens.

2. Choose Other external data source option and click Next button.

3. Click Settings button in step 2 of the wizard. The Create Address


Data Source dialog box appears.
4. From the Database type drop-down list, choose Spreadsheet and click
Next button.

5. Specify the path to the spreadsheet documents by clicking Browse


button. The Open dialog box appears.

6. Select the spreadsheet file,i.e., Mail Merge Address.ods and click


Open button.

7. The path of the file is displayed. Click Finish button.

8. You returned to step 4 of Address Book Data Source Wizard. Click on


Next button.

9. Give any name for the address book and click Finish button.

Q6. What is subtotal? Write the steps for creating subtotals.

Ans.The Subtotal feature in Calc helps to use statistical functions (Sum,


Average, Count, Min, Max and Product) on the group of data repeatedly
in one column. This helps to manage, analyse and extract specific
information from the data.

1. Enter the data in a worksheet as shown and sort the data month-
wise.

2. Select the range of data with column heading.

3. Click on Data → Subtotals. The Subtotals dialog box appears.

4. In the Group by box, select the column that you want to add the
subtotals to. If the contents of the selected column change, the subtotals
are automatically updated.

5. In the Calculate subtotals for box, select the column(s) containing the
value that you want to subtotal.
6. Select the function you want to use for calculation from the Use
function box.

7. Click OK. The Subtotal gets calculated.

Q7. Define Scenario. Give steps to create and use Scenarios.

Ans. A Scenario is a What-if Analysis tool that allows us to substitute a


set of values automatically in a worksheet. The steps to create and use
Scenarios are -

1. Select the range of cells that contain the values that will change
between scenarios.

2. Click on Tools → Scenarios. The Create Scenarios dialog box appears.

3. Enter an appropriate name for the new Scenario. This name is


displayed in the Navigator and on the Title bar ofthe Scenario.

4. Optionally, give some information to the Comment box. This


comment is displayed in the Navigator while using Scenarios.

5. You can select unique border colour for individual Scenarios. To do so,
make sure that the Display border checkbox is selected and then select
the colour of your choice from the drop-down list to the right of the
Display border.

6. Click OK button to close the Create Scenario dialog box and come
back to the active worksheet.

7. Now change the data for Scenario1.

8. Similarly, create other Scenarios for your sheet.

9. On the worksheet, click on the dropdown at the rightmost corner of


the Scenario border. This displays the list of Scenarios created.
10. Double click on the desired Scenario from the list to apply the
Scenario to see the different results.

Q8. Write the steps for setting up a Spreadsheet for Sharing.

Ans. The stepsfor setting up a Spreadsheet for Sharing are as under -

1. Open the spreadsheet you want to share.

2. Click on Tools → Share Document.

3. The Share Document dialog box appears to enable or disable sharing


as shown below. Select the checkbox Share this spreadsheet with other
users.

4. Click on OK button.

5. A dialog box to save the document prompts. Click on Yes and save the
document. The word (Shared) appears on the title bar which shows that
the file is shared where many people can work together.

Q9. How to accept or reject changes in the shared workbook?

Ans. Calc provides the facility to accept or reject individual or all


changes made on the worksheet.

To accept or reject changes, follow these steps:

1. Click Edit → Changes → Accept or Reject. The Accept or Reject


Changes dialog box appears. It displays the list of changes made in the
worksheet.

2. Select the change(s) to be accepted or rejected. When you select a


change in the dialog box, the actual change is highlighted in the
document, so you can see what the editor has changed.
3. Click Accept or Reject to accept or reject the selected change(s). To
accept or reject all the changes, click on Accept All or Reject All.
Accepted changes are removed from the list and appear in the text
without any marking.

Q10. What is a macro? Write the steps to create a simple macro.

Ans. Steps to create a Simple Macro are-

1. Select Tools → Macros → Record Macro to start recording a macro. A


small window is displayed to show that you are recording.

2. Perform a series of operations that you want to record.

3. Click the Stop Recording button to stop recording. The OpenOffice


Basic Macros dialog box appears.

4. Select the current worksheet. Existing worksheets show a library


named Standard. You can create a new library that contains the Macro.

5. Click the New Module button. If no libraries exist, then the Standard
library is automatically created and used. In the New Module dialog box,
type a name for the new module and click OK. The OpenOffice.Org
Basic Macros dialog box appears again.

6. Select the newly created module and enter the Macro name in the
Macro name text box. Now click on Save to save the Macro.

Q11. Write the steps to create the following table Student in the
database of your name in Design View in LibreOffice Base:
(Note: Set Primary Key on Roll_No column)

Field Name Data Type


Roll_No Tiny int
StudentName Text(varchar)
Class Text (char)
Marks Small int
Solution.
Steps-
1) Click Start-> LibreOffice->LibreOffice 7.0.
2) Click on Base to launch the database application. The Database
Wizard appears.
3) Click the Create a new database option (selected by default) to
create a new database.
4) Now click on Finish button. The Save As dialog box appears.
5) Enter your name for the database and click on Save button. A new
database file appears.
6) Click on Create Table in Design View option present under Tasks.
The Table Design window appears.
7) Fill in the Field Name, Field Type (data type) and the Description
(optional) of each field.
8) Set the Primary key by right-clicking on the green triangle to the
left of the desired field (Here- Roll_No) and select Primary Key
from the context menu.
9) Save the table by clicking on File->Save or click on Save icon on
the standard toolbar. The Save As dialog box appears.
10) Enter the table name Student and click OK.
11) Close the Table Design window and notice the name of the
table created is shown under Tables.
Q12. Write the steps to insert 5 records in the above created table using
datasheet view.

Roll_No StudentName Class Marks

1 Simran Jain X 353


2 Nishant Verma IX 495
3 Surbhi Gupta X 100
4 Tanmay Singh IX 289
5 Manan Garg IX 296

Solution.
Steps-
To enter data in table, follow these steps:
1) Start LibreOffice Base and open the previously created database
with your name.
2) Double-click on the table name Student. The Table Data View
window appears.
3) Enter the data (5 Records) as given in the above table Student.
4) Click on Save current record to save the record.

Q13. Write the SQL commands for the following –


(a) Create a table named Student with the fields Roll_No” integer(3),
Name varchar(30), Class char(2), Address varchar(50), City
varchar(15), Mobile integer(10).
(b) Add a record of a student with the data as (‘11’,’Naira’,’X’,’101
Heritage C.P. Road’,’Delhi’,’9809805555’)
(c) Display all records from STUDENT student table by arranging
them by NAME in descending order.
(d) Set the class of all students to XI

Solution.
(a) CREATE TABLE STUDENT(“Roll_No” integer(3), Name varchar(30), Class
char(2), Address varchar(50), City varchar(15), Mobile Integer(10));
(b) INSERT INTO STUDENT VALUES (‘11’,’Naira’,’X’,’101 Heritage C.P.
Road’,’Delhi’,’9809805555’);
(c) SELECT * FROM STUDENT ORDER BY NAME DESC;
(d) UPDATE STUDENT SET CLASS =’XI’;

Q14. Write the SQL commands for the following –


(a) Create table named EMPLOYEE with the structure as (“Emp_ID” integer(5),
Emp_Namevarchar(50), Emp_DOJ date, Emp_Dept integer(3), Emp_Sal
integer(10))

(b) Add a record of a student with the data as (‘101’,’Shishir’,’25-02-


2015’,’1’, ’55000’)

(c) Increase the salaries of all the employee by 5000

(d) Display all records from EMPLOYEE table by arranging them by


Emp_Sal in ascending order.

Solution.
(a) CREATE TABLE EMPLOYEE(“Emp_ID” integer(5), Emp_Namevarchar(50),
Emp_DOJ date, Emp_Dept integer(3), Emp_Sal integer(10));

(b) INSERT INTO EMPLOYEE VALUES (‘101’,’Shishir’,’25-02-2015’,’1’, ’55000’);

(c) UPDATE EMPLOYEE SET Emp_Sal =Emp_Sal+5000;

(d) SELECT * FROM STUDENT ORDER BY Emp_Sal;

Q15. Write the SQL commands for the following –


(a) Create table PRODUCT with the fields as (Pid char(4), Pname varchar(20),
Description varchar(40), Price decimal)
(b)
(i) Display all records from PRODUCT table
(ii) Insert values as (‘P005’, ‘Chocolate Cone ’, ‘Vadilal Ice Cream’, 32.00)
(iii) Set price as 40.00 where Pid as P005
Solution.
(a) CREATE TABLE PRODUCT(PID char(4), Pname varchar(20), Description
varchar(40), Price decimal);
(b)
(i) SELECT * FROM PRODUCT;

(ii) INSERT INTO PRODUCT VALUES (‘P005’, ‘Chocolate Cone ’, ‘Vadilal Ice
Cream’, 32.00);
(iii) UPDATE PRODUCT SET Price = 40.00 where Pid=’P005’;

You might also like