0% found this document useful (0 votes)
35 views12 pages

Vijay Advance Excel

Uploaded by

vijaykashyap6900
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)
35 views12 pages

Vijay Advance Excel

Uploaded by

vijaykashyap6900
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/ 12

Ques 1. What do you mean by database? Give example.

What is the
use of sort feature in database? Explain.

Sol. A database is a structured collection of data that is organized in a way that


allows for efficient retrieval, management, and updating of information. It typically
consists of tables (or relations) where each table contains rows (or tuples) with related
data organized into columns (or attributes). Databases are used extensively in various
applications to store and manage structured information.

Example of a database: A classic example is an online retail store's database. It


might have tables for customers, products, orders, payments, etc. Each table will have
columns representing specific attributes (e.g., customer ID, name, and address in the
customers table) and rows containing the actual data (e.g., individual customer
records).

Use of Sort Feature in Database:

The sort feature in a database refers to the ability to arrange data in a specified order
based on one or more columns or fields. Sorting is fundamental for several reasons:

1. Data Retrieval: Sorting helps in quickly retrieving data in a specific order,


which is crucial for generating reports, displaying data in user interfaces, or
performing calculations.
2. Query Optimization: Sorting can optimize query performance. If a query
needs data in a particular order and that order is indexed, the database engine
can efficiently retrieve and process the data.
3. Analysis and Reporting: When analysing data or generating reports, sorting
data by relevant criteria (such as date, alphabetical order, numerical value)
makes it easier to identify patterns, trends, or anomalies.
4. User Interface: Sorting is essential in user interfaces where users expect to
view data in a structured and organized manner. For example, in a web
application displaying a list of products, users might want to sort products by
price or by popularity.
5. Grouping and Aggregation: Sorting is often a precursor to grouping and
aggregation operations. For example, before calculating the average sales per
region, data may need to be sorted by region.
Ques 2. Write steps in your word to perform sorting in data, with
one example.
Step 1: Open Microsoft Word

- Launch Microsoft Word on your computer.

Step 2: Insert a Table

- Create or open a document where you want to sort data.

- Click on the "Insert" tab in the top menu.

- Select "Table" and choose the number of rows and columns you need, or insert a pre-
existing table.

Step 3: Enter Data into the Table

- Populate the table with data. For example, create a simple table with columns like "Name,"
"Age," and "City" and enter some sample data.

Step 4: Select the Table

- Click anywhere inside the table to select it. You should see the Table Tools tab appear in
the ribbon.

Step 5: Sort Data

- In the Table Tools tab, click on the "Layout" or "Design" tab (depending on your Word
version).

- Locate the "Sort" button. It usually appears in the Data group under the Layout or Design
tab.

Step 6: Choose Sorting Options

- Click on the "Sort" button. A dialog box will appear.

- In the Sort dialog box, choose the column by which you want to sort. For example, you can
choose to sort by "Name," "Age," or "City."

- Specify whether you want to sort in ascending or descending order.


- Click "OK" to apply the sorting.

Step 7: Review Sorted Data

- Word will rearrange the rows of the table according to your sorting criteria.

- Review the sorted data to ensure it meets your requirements.

Example: Sorting a Table by Name

Let's say you have a table with the following data:

To sort this table by Age:

1. Select the entire table by clicking anywhere inside it.

2. Go to the Table Tools tab (Layout or Design tab).

3. Find the "Sort" button in the Data group and click on it.

4. In the Sort dialog box, under "Sort by," choose “age”.

5. Choose "Smallest to Largest" to sort.

6. Click "OK" to apply the sorting.

After performing these steps, your table will be sorted by the "Age" column:
This demonstrates how you can easily sort data in a table using Microsoft Excel, which is
useful for organizing and presenting information in various documents.

Ques 3. Write steps to perform filtering the data.


Step 1: Open your Excel Worksheet

 Launch Microsoft Excel and open the workbook that contains the data you want to
filter.

Step 2: Select the Data Range

 Click on any cell within the range of data you want to filter. Ensure your data is
organized into a table or a structured range with headers for each column.

Step 3: Activate the Filter

 Go to the "Data" tab in the Excel ribbon.

Step 4: Apply Filters

 Click on the "Filter" button. This will add filter arrows to each header cell in your
selected range.

Step 5: Filter by Specific Criteria

 Click on the filter arrow (drop-down arrow) in the header of the column by which you
want to filter. For example, if you want to filter by "City," click the arrow in the
"City" column header.

Step 6: Choose Filtering Options

 In the filter drop-down menu, you can:


o Sort A to Z / Z to A: Sort the values in ascending or descending order.
o Text Filters / Number Filters: Apply specific text or number filters such as
equal to, contains, greater than, etc.
o Date Filters: Filter by specific date ranges or time periods.
o Filter by Colour: If you've applied cell colours or font colours, you can filter
by these colours.

Step 7: Select Filter Criteria

 Choose the filter criteria that you want to apply. For example, if filtering by "City,"
you can select specific cities from the list or use the search box to find a specific city.

Step 8: Apply the Filter

 After selecting your filter criteria, click "OK" or "Apply" (depending on your Excel
version) to apply the filter. Excel will hide the rows that do not meet your selected
criteria and display only the rows that match.

Step 9: Review Filtered Data

 Review the filtered data to ensure it meets your requirements. The rows that do not
meet the filter criteria will be hidden, but they are not deleted and can be displayed
again by clearing the filter.

Ques 4. (Practical on excel sheet) Create an Excel sheet of name of


10 students on your computer with their marks in subject English,
Science, Mathematics, SST, Hindi (out of 100).
A. Now sort the data from highest to lowest marks in Science.

B. Now sort the data from highest to lowest marks in maths.


Ques 5.

Sol.
SOL.
SOL.
Sol.

You might also like