NOTEBOOK QUESTION Grade 10
NOTEBOOK QUESTION Grade 10
DIGITAL DOCUMENTATION
Define Styles
A style is a set of formats that you can apply to selected pages, text, frames, and other elements
in your document to quickly change their appearance. When you apply a style, you apply a whole
group of formats at the same time.
Advantages of Styles
you apply a whole group of formats at the same time.
Styles help improve consistency in a document.
They also make major formatting changes easy.
Styles make the task easy and fast.
Different type 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 attribute
Presentation styles include attributes for font, indents, spacing, alignment, and tabs.
What are the different ways to open Style and formatting window?
- Format > Styles and Formatting,
- press F11.
- Styles and Formatting icon in side bar
- Standard toolbar > style and formatting
Styles Tab: Writer automatically assigns to the table of contents all paragraphs formatted
with the default heading styles (Heading 1, Heading 2, and so on). This tab can apply a
different paragraph style to each outline level of the table.
Background Tab: add colour or a graphic to the table background.
Column Tab: To put table of content into more than one tab
What is mail merge?
A mail merge is a way to take a letter you’ve written and send it to a whole bunch of
people, personalizing it with information about them so they might think that you typed
that letter personally for them.
Advantage of mail merge
• A mail merge is a quick way to send personalize letter to many people.
• Beneficial for any person or organization that has a lot of clients, partners, parents
and children, or other people to communicate with.
• It saves time and effort and ensure consistency.
Example of mail merge.
Invitation letter sent to guests have a more or less common content and layout.
Component of Mail Merge
• Main Document: Main document is the document which contains text and graphics.
It may be a formal or an official letter.
• Data Source: Data source is a file that contains the names and addresses or any
other information that vary with each version of a mail-merge document.
• The Writer uses main document and address database to produce a Merged
document.
Merge Field: A merge field is where you want to insert the information from a data source
into a main document. Merge fields appear with chevrons (« »).
Types of data on which mail merge can be applied are
Labels / envelope and Letters and email
Steps to create a mail merge
• Create a new Writer document or open existing document.
• create a data source using File > New > Database. The file will end in .odb
• Open the letter you want to use.
• Press F4. Click the + next to the database you want, then click the + next to Tables
and the + next to the table you want.
• Drag the field name into the letter to the place where you want it.
• Merged fields are displayed in grey background
• The next step is to either print the letter to a printer, or “print” to a Writer file so
you can see all the data merged
F4:- open close data source window.
Different databases can be used in mail merge
Define Label
a small piece of paper attached to letter or envelope giving information about it or address
of receiver.
How to create a label?
• Choose File > New > Labels.
• On the Labels Tab. Select database and table. Click the drop-down arrow under
Database field. Select the field to be used in the label. Click the left arrow button to
move this field to the Label text area.
• Continue adding fields and inserting desired punctuation, spaces, and line breaks
until the label is composed. shows the completed label.
• ● Click New Document. You now have a new, single-page document containing a
series of label frames.
Spreadsheet
Define Data consolidation.
Data Consolidation allows you to gather together your data from separate worksheets into a
master worksheet. In other words, the Data Consolidation function takes data from a series
of worksheets or workbooks and summaries it into a single worksheet that you can update
easily
How to apply data consolidation?
• Create a workbook with data in sheet2, sheet3 and sheet4. For consolidating this
data in Sheet1.
• Goto Data> Consolidate data
• In Consolidate dialog box, select Source data range, select a target range and
function to be applied on data.
Functions applied in data consolidation feature.
Sum, count, average, max, min, product, STDEV
How to give name to range of data?
Data > Define Range
Define SubTotal.
SUBTOTAL, totals/adds data arranged in an array—that is, a group of cells with labels for
columns and/or rows. Using the Subtotals dialog, you can select arrays, and then choose a
statistical function to apply to them.
What are the steps to get Subtotal?
• Select the range of cells that you want to calculate subtotals for,
• and then choose Data -> Subtotals.
• In the Subtotals dialog, 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
recalculated.
• In the Calculate subtotals for box, select the columns containing the values that you
want to subtotal.
• In the Use function box, select the function that you want to use to calculate the
subtotals.
What is What-if analysis?
What-If Analysis is the process of changing the values in cells to see how those changes
will affect the outcome of formulas on the worksheet. Three kinds of What-If Analysis
tools come with Excel: Scenarios, Goal Seek, and Solver
What is Scenario?
A Scenario is a What-if analysis tool which helps to build a model wherein changes made
in values are reflected in the possible outcome, which is based on some formula using these
values.
For example, if you wanted to calculate the effect of different interest rates on an
investment, you could add a scenario for each interest rate, and quickly view the results.
How to create Scenarios?
• Select the cells that contain the values that will change between scenarios.
• Choose Tools > Scenarios.
• On the Create Scenario dialog enter names for the new scenarios.
What is Goal seek? How and where to use it?
Goal seek tool is used to calculate backward to obtain an input that would yield a given
output.
Example
A student wants to find how much he has to score in IT 402 to obtain his desired
percentage. Other subject marks he knows. Final expected percentage he knows. So, he
can use Goal seek to find IT 402 in order to get desired percentage.
Steps
• Enter the marks of science, social, language, math.
• Enter the formula to calculate the percentage.
• Place the cursor in the formula cell , and choose Tools > Goal Seek.
• On the Goal Seek dialog, add insert Formula cell address, variable cell address and
Target value
What is Solver?
Solver tool is more elaborate than Goal Seek and deals with equations with multiple
unknown variables. Aim of solver is to find the maximum or minimum result from a
multiple unknown variable.
Example: A student wants to find how much he has to score in IT, Math and English to
obtain his desired percentage. Other subject marks he knows. Final expected percentage he
knows. So, he can use Solver to find IT, Math and English in order to get desired
percentage. HE can also give minimum and maximum limit for IT, Math and English.
Steps :
• Enter the Science, Social, Hindi marks.
• Create space for IT, Math and English
• Insert function to calculate percentage.
• Choose Tools -> Solver. The solver dialog opens
• Insert Target cell address, Changing cell address and max and min rage of marks.
On the Insert Sheet dialog, you can also add a sheet from a different spreadsheet file (for
example, another Calc or Excel spreadsheet), by choosing the From file option.
Or use
Insert> sheet from file
How to get live data in a worksheet if you have inserted the sheet from file?
Select the Link option to insert the external sheet as a link instead as a copy in Insert sheet
dialog box. This is one of several ways to include “live” data from another spreadsheet.
Or select Tools > Options > OpenOffice.org Calc > General > Updating, to manually
update whenever the file is opened.
Different ways of rename sheet.
• Double-click on one of the existing worksheet names.
• Right-click on an existing worksheet name, then choose Rename
• Format menu >> sheet>> rename.
What is cell reference?
A cell reference refers to a cell or a range of cells on a worksheet
• Data from one or more contiguous cells on the worksheet.
• Data contained in different areas of a worksheet.
• Data on other worksheets in the same workbook.
How to Reference Other Sheets?
‘Path and file name’.’Sheet name’.’Cell
‘Checking Account’.F3
What is Hyperlink? Different types of Hyperlink.
Hyperlinks can be used in Calc to jump to a different location from within a spreadsheet
and can lead to other parts of the current file, to different files or even to web sites.
A relative hyperlink means is a hyperlink that contains an address that is relative to the
address of the destination file. Relative links use the location of the working file as a base
and show the path to the document from there.
An absolute hyperlink is a hyperlink that contains the full address of the destination file or
of the Web site starting from the top most folder.
An absolute link will stop working only if the target is moved. A relative link will stop
working only if the start and target locations change relative to each other. For instance, if
you have two spreadsheets in the same folder linked to each other and you move the entire
folder to a new location, a relative hyperlink will not break.
To change the way that OOo saves the hyperlinks in your file(Relative or absolute),
select Tools > Options > Load/Save > General and choose if you want URLs saved
relatively when referencing the File System, or the Internet, or both.
How to insert Hyperlink?
click the Hyperlink icon on the Standard toolbar or choose Insert > Hyperlink from the
menu bar. To turn existing text into a link, highlight it before opening the Hyperlink dialog.
Explain different types of objects/files/things we can link with a hyperlinked text?
• Internet: the hyperlink points to a web address, normally starting with http://
• Mail & News: the hyperlink opens an email message that is pre-addressed to a particular
recipient.
• Document: the hyperlink points to a place in either the current worksheet or another
existing worksheet.
• New document: the hyperlink creates a new worksheet.
Explain same and different settings in hyperlink dialog box
Different settings for different hyperlink type
• Internet: For an Internet hyperlink, choose the type of hyperlink (choose between Web,
FTP or Telnet),and enter the required web address (URL).
• Mail & News: For a Mail and News hyperlink, specify whether it is a mail or news link,
the receiver address and for email, also the subject
• Document For a Document hyperlink dialog box, specify the worksheet path
• New document: For a New Document type hyperlink, specify whether to edit the newly
created worksheet immediately (Edit now) or just create it (Edit later) and enter the file
name and the type of worksheet to create (text, spreadsheet, etc.).
Calc gives you tremendous control over what changes you see when reviewing a
worksheet. To change the available filters, select Edit > Changes > Show.
added a comment to a changed cell can be seen by hovering the mouse pointer over
the cell
How to accept or reject changes?
The original author of the shared spreadsheet can go through each change and decide to
accept or reject changes
1. Open the edited worksheet.
2. Select Edit > Changes > Accept or Reject.
3. Calc show the changes one at a time. You can choose to accept or reject each change
If multiple reviewer has changed the same cell. How calc represent multiple change?
If more than one person has reviewed the worksheet, one reviewer may have modified
another reviewer’s change. If so, the changes are hierarchically arranged with a plus sign
for opening up the hierarchy
Why merging of worksheet required? How is it done?
Sometimes, multiple reviewers return edited versions of a worksheet at the same time. In
this case, it may be quicker to review all of these changes at once, rather than one review at
a time. For this purpose, Calc provides the feature of merging worksheets.
When sharing worksheets reviewers may forget to record the changes they make. This is
not a problem with Calc because Calc can find the changes by comparing worksheets.
Steps:
1. Open the edited worksheet that you want to compare with the original worksheet.
2. Select Edit > Compare Document.
3. An open worksheet dialog appears. Select the original worksheet and click Insert.
How Calc finds and marks the changes in compared document?
Advantages
• Macros are especially useful to repeat a task the same way over and over again.
• Macro automate the repetitive keystrokes and tasks.
• Macro reduces the amount of time spent in repetitive tasks.
• Macro reduces the possibilities of human errors in repetitive strokes.
• Macro helps in making complex computation easier.
How to record a Macro?
• Open a new spreadsheet
• Insert the data
• Select the range to be formatted
• Use Tools > Macros > Record Macro to start the macro recorder.
• It will start recording of action in a macro and display Record macro toolbar with
Stop recording icon
• Click Stop Recording to stop the macro recorder. The OpenOffice.org Basic
Macros dialog opens.
• Give name to macro and save it.
If no libraries exist, then the Standard library is automatically created
Create a macro as a function.
Function Address()
Address()=”Bangalore, India”
End Function
Create a macro as a function with argument.
Function square(Optional a)
Square = a * a
End Function
Define arguments?
The values passed to a macro are called is arguments.
What is Database?
A database is an organized collection of data. You can visualize it as a container of information.
DBMS
What is DBMS. Give example.
A database management system is a software package with computer programs that controls the
creation, maintenance, and use of a database.
What is RDBMS. Give example.
The software used to store, manage, query, and retrieve data stored in a relational database is
called a relational database management system (RDBMS).
When data is to be stored, maintained, and retrieved from multiple tables then special database
software are required known as Relational Database Management System.
Oracle, IBM DB2, Microsoft SQL Server, Microsoft Access, PostgreSQL, MySQL, FoxPro, and SQLite.
Explain in how many ways data can be organized?
Data can be organized into two types: • Flat File: Data is stored in a single table. Usually suitable
for less amount of data. • Relational: Data is stored in multiple tables and the tables are linked
using a common field. Relational is suitable for medium to large amount of data.
What are the advantage of database?
• Reduces Data Redundancy: there is no chance of encountering duplicate data in multiple
files in DBMS.
• Sharing of Data: Many remote users can also access the database simultaneously and
share the data between themselves.
• Data Security: Only authorised users should be allowed to access the database and their
identity should be authenticated using a username and password.
• Privacy: To secure data levels are set in the database and a user can only view the data
which is allowed to be seen.
• Backup and Recovery: DBMS automatically takes care of backup and recovery. Moreover,
it also restores the database after a crash or system failure to its previous condition.
• Data Consistency: any changes made to the database are immediately reflected to all the
users and there is no data inconsistency.
What are features of DBMS?
• A database can have one or many tables.
• Each table in a database contains information about one type of item
• record uniqueness: Uniqueness helps to avoid accidental duplication of records caused by
user or computer error. This can be achieved by using some number or value that
uniquely identifies a record (Primary Key)
• Every database table should have one or more fields designated as key.
Define the following:
• Candidate key is a single key or a group of multiple keys that uniquely identify
rows in a table. Primary key +alternate key
• Primary Key (PK). A primary key is a unique value that identifies a row in a table.
• Composite Primary Key: When primary key constraint is applied on one or more columns
then it is known as Composite Primary Key.
• Alternate Key or Secondary Key is the key that has not been selected to be the
primary key, but are candidate keys
• the foreign key identifies a column or set of columns in one (referencing) table that
refers to a column or set of columns in another (referenced) table.
A primary key is used to assure the value in the particular column is unique. The foreign
key provides the link between the two tables.
DBMS terms
• Table is a collection of data organised in rows and columns.
A table is a set of data elements (values) that is organized using a model of vertical
columns (which are identified by their name) and horizontal rows.
• Columns or Fields or Attributes: A column is a set of data values of a particular simple
type, one for each row of the table . column is set of data of a particular type
• Rows or Records or Tuples: A row also called a Record or Tuple represents a single, data
item in a table. rows is a single group of related data
In how many ways , we can create a table in OO Base
There are different ways to create a table:
1. Create table in Design View
2. Use Wizard to Create Table
3. SQL
Data type
Alpha
Numeric Binary Date Other
Numeric
Stores Java
objects
Define following
Sorting means to arrange the data in either ascending order of descending order.
Query is to collect specific information from the pool of data. A query helps us join information
from different tables and filter that information.
Filtering means that the query uses criteria you provide to hide some data and present only what
you want to see.
Form :A form provides the user a systematic way of storing information into the database. It is an
interface in a user specified layout that lets users to view, enter, and change data directly in
database objects such as tables.
Reports: A report helps to display the data in a summarized manner. It is used to generate the
overall work outcome in a clear format. It is an excellent way to organize, analyse, and
present data in an easy-to-understand format.
2. ONE to MANY OR MANY to ONE : In this relationship, one of the table must have primary key
column. It signifies that one column of primary key table is associated with all the columns of
associated table.
3. MANY to MANY: In this relationship, no table has the primary key column. It signifies that all
the columns of primary key table are associated with all the columns of associated table.
What is the file extension for databases created using OpenOffice.Org Base?
.ODB
List any three file formats that can be managed using OpenOffice.Org Base?
.ODT, .ODS, .ODP
SQL (pronounced as “sequel”) or Structured Query Language. Query languages are computer
languages used to make queries into databases and information systems.
Queries are commands that are used to define the data structure and also to manipulate the data
in the database.
Data definition language (DDL) CREATE, ALTER, DROP
Data manipulation language (DML) SELECT, INSERT DELETE MODIFY
DCL – Data Control Language. GRANT REVOKE
TCL – Transaction Control Language START TRANSACTION COMMIT ROLLBACK
What is a Select statement?
A SELECT statement retrieves zero or more rows from one or more database tables or database
views. In most applications, SELECT is the most commonly used Data Manipulation
Language(DML) command.
The SELECT statement has many optional clauses:
• WHERE specifies which rows to retrieve.
• ORDER BY specifies an order in which to return the rows.
To retrieve all the columns in a table the syntax is:
SELECT * FROM TableName ;
In Base, simple calculations can be done on the data using arithmetic operators.
• Select “EmployeeID”, “FirstName”, “Salary” +1000 from “Employee”;
• Select “EmployeeID”, “FirstName”, “Salary” - 10000 from “Employee”;
• Select “EmployeeID”, “FirstName”, “Salary” * 2 from “Employee”;
Grouping of Data To display the records containing the same type of values “WHERE” clause can
be used with the Select SQL Command.
E.g. To get details about the list of students whose favorite color is blue, you can use:
• select * from SDetails where Color=’Blue’;
Sorting: Order By clause: To view records in ascending order of RollNo, from the table the select
statement will be:
select * from SDetails order by “Rollno” ASC;
SELECT * FROM Customers
ORDER BY Country DESC;
UPDATE statement Update statement is used for modifying records in a database.
e.g.
Update SDetails set Location = ‘Bhubaneswar’ where Rollno = 14;