0% found this document useful (0 votes)
3 views4 pages

IMPORTANT QUESTIONS ANSWERS CLASS 10

The document provides an overview of Relational Database Management Systems (RDBMS), highlighting their importance in data organization, integrity, security, and management. It explains key concepts such as tables, reports, forms, and queries, along with SQL statements for creating tables and examples of data grouping in query design. Additionally, it outlines steps for creating a table of contents in a word processor and includes SQL examples for managing billing data.

Uploaded by

suiwalrishika
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)
3 views4 pages

IMPORTANT QUESTIONS ANSWERS CLASS 10

The document provides an overview of Relational Database Management Systems (RDBMS), highlighting their importance in data organization, integrity, security, and management. It explains key concepts such as tables, reports, forms, and queries, along with SQL statements for creating tables and examples of data grouping in query design. Additionally, it outlines steps for creating a table of contents in a word processor and includes SQL examples for managing billing data.

Uploaded by

suiwalrishika
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/ 4

IMPORTANT QUESTIONS ANSWERS CLASS 10

1. RDBMS (Relational Database Management System) is a software system used to store and
manage data in a structured format. It organizes data into tables, where each table
represents a specific entity (like customers, products, or orders). Each table has rows
(records) and columns (fields), and relationships between tables are defined using primary
and foreign keys.

Importance of RDBMS:

1. Data Organization: RDBMS provides a structured way to organize data,


making it easier to manage, retrieve, and analyze.
2. Data Integrity: RDBMS ensures data integrity by enforcing data consistency
and preventing data redundancy.
3. Data Security: RDBMS offers features like access control, encryption, and
backup mechanisms to protect data from unauthorized access and loss.
4. Data Relationships: RDBMS allows for the establishment of relationships
between different data entities, enabling complex queries and analysis.
5. Data Management: RDBMS provides tools for data management tasks like
creating, modifying, and deleting tables and data.

2. Database Management System Concepts


• Table: A table is a fundamental structure in a DBMS that represents a
collection of data related to a specific entity or subject. It consists of rows
(records) and columns (fields).
Example: A customer table might have columns like customer_id, name,
address, and phone_number.
• Report: A report is a structured presentation of data extracted from a
database. It can be used to summarize information, analyze trends, or
generate specific outputs.
Example: A sales report might show the total sales for each product, the top-
selling regions, and the sales performance over time.
• Form: A form is a user interface that allows users to input, edit, or view data
in a database. It typically includes fields corresponding to the columns in a
table.
Example: A customer registration form might have fields for name, address,
email, and password.
• Query: A query is a request to retrieve data from a database. It is expressed
using a query language, such as SQL (Structured Query Language). Queries
can be simple or complex, involving multiple tables and conditions.
Example: A query to find all customers from a specific city might be written
as:
SQL
SELECT * FROM customers WHERE city = 'New York';
These four concepts are interconnected and essential components of a DBMS.
Tables store the raw data, queries retrieve and manipulate the data, forms provide a
user interface for interacting with the data, and reports present the data in a
structured format.
3. SQL statement to create a table called Person with the specified fields, designating
Email_Id as the primary key:
CREATE TABLE Person (
Full_Name VARCHAR(100) NOT NULL,
Birth_Date DATE NOT NULL,
Email_Id VARCHAR(100) NOT NULL PRIMARY KEY,
City VARCHAR(50)
);
4. Grouping data by a specific field in Query Design View allows you to organize and summarize
your data in a meaningful way, such as calculating totals, averages, or counts for specific
categories. Here are the steps involved in this procedure, typically using Microsoft Access or
similar database management systems:

Steps to Group Data in Query Design View

• Open Query Design View:

Launch your database management software (e.g., Microsoft Access).

Navigate to the Create tab on the ribbon.

Click on Query Design to open a new query in Design View.

Select the Table:

In the Show Table dialog box, select the table you want to query from the list of available
tables.

Click Add to include the table in your query.

Close the dialog box once you've added the table.

Add Fields to the Query:

Drag the fields you want to include in your query from the table list to the query grid (the
main design area).

Ensure that you include the field by which you want to group the data.

Enable Grouping:

In the query grid, find the Total button (often represented by a Σ symbol) in the toolbar and
click it. This will add a new row labeled Total to your query grid.

In the Total row, you will see dropdown menus for each field in your query.

Specify Grouping Field:

In the cell corresponding to the field you want to group by (e.g., "City" or "Category"), click
the dropdown menu in the Total row.
Select Group By from the options. This tells the query to group the results by this field.

Save the Query:

If you wish to keep this query for future use, click on the Save icon or go to the File menu
and select Save. Give your query a meaningful name.

5. Creating a table of contents (TOC) with three levels of headings, using the Impact font and a
light blue fill area color, can be accomplished in a word processor like Microsoft Word
Steps to Create a Table of Contents
1. Open Your Document:
o Open your document in Microsoft Word or your preferred word processor.
2. Apply Heading Styles:
o Go through your document and apply heading styles to the relevant sections:
▪ Heading 1 for main sections.
▪ Heading 2 for subsections.
▪ Heading 3 for sub-subsections.
o To apply a heading style, highlight the text you want to designate as a heading, then
go to the Home tab, find the Styles group, and select the appropriate heading style.
3. Insert the Table of Contents:
o Place your cursor where you want the table of contents to appear (usually at the
beginning of the document).
o Go to the References tab in the ribbon.
o Click on Table of Contents and select Custom Table of Contents or choose one of the
automatic styles.
o In the Table of Contents dialog box, click on the Options button to customize which
heading levels to include.
o Ensure that levels 1, 2, and 3 are selected, then click OK.
4. Format the Table of Contents:
o Once the TOC is inserted, click on it to highlight it.
o Go to the Home tab, and from the Font dropdown, select Impact as the font for the
TOC.
o With the TOC still highlighted, right-click and select Paragraph to adjust the spacing if
needed.
5. Add Fill Color:
• Highlight the entire TOC.
• Go to the Table Tools Design or Table Tools Layout tab (if you’re using a table
format) or directly use the Home tab.
• Look for the Shading option (paint bucket icon) and select a light blue fill color from
the color palette.
• If using paragraph shading, select Borders and Shading and then choose Shading to
select the color.

I. Create the table billing with SubscriberID as the primary key


CREATE TABLE billing (
SubscriberID VARCHAR(10) PRIMARY KEY,
Name VARCHAR(100) NOT NULL,
Connection VARCHAR(50) DEFAULT 'Prepaid',
Pending_Amount INT
);
II. SELECT Name
FROM billing
WHERE Name LIKE 'P%';
III. SELECT Name
FROM billing
WHERE Name LIKE '%A';
IV. SELECT SUM(Pending_Amount) AS Total_Pending_Amount
FROM billing
WHERE Connection = 'Fiber'; SELECT SUM(Pending_Amount) AS Total_Pending_Amount
FROM billing
WHERE Connection = 'Fiber';
V. SELECT Connection, COUNT(*) AS Total_Subscribers
FROM billing
GROUP BY Connection;
VI. SELECT Name, Pending_Amount
FROM billing
WHERE Pending_Amount > 1000;

You might also like