0% found this document useful (3 votes)
2K views6 pages

Class 10 DBMS RDBMS Solutions Guide

1. The document provides information on database concepts like RDBMS, tables, keys, and SQL commands. It includes fill in the blank questions and short answer questions on these topics. 2. Key points covered include the definition of a database, DBMS, RDBMS, tables, rows, columns, primary keys, relationships, SQL commands like SELECT, UPDATE, DELETE, and the use of forms and reports. 3. Short answer questions test understanding of topics like data types, relationships, DML commands, and the differences between forms and reports.

Uploaded by

Sian Soj
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (3 votes)
2K views6 pages

Class 10 DBMS RDBMS Solutions Guide

1. The document provides information on database concepts like RDBMS, tables, keys, and SQL commands. It includes fill in the blank questions and short answer questions on these topics. 2. Key points covered include the definition of a database, DBMS, RDBMS, tables, rows, columns, primary keys, relationships, SQL commands like SELECT, UPDATE, DELETE, and the use of forms and reports. 3. Short answer questions test understanding of topics like data types, relationships, DML commands, and the differences between forms and reports.

Uploaded by

Sian Soj
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
  • Introduction to RDBMS
  • Short Answer Questions - Page 114
  • Numeric and Alphanumeric Data Types
  • OpenOffice.Org Base Relationships
  • DML Commands and Reports
  • Forms and Reports

Information Technology Code 402 Class 10 Book Solutions |

Unit 3 RDBMS(Basic)
A.   Fill in the blanks.
1. A database is an organized collection of data.
2. A DBMS is a software package that can be used for creating and
managing databases.
3. A RDBMS is a database management system that is based on the
relational model.
4. Three popular DBMS software are Microsoft Access,
OpenOfficeBase & MySQL.
5. A Primary Key is a unique value that identifies a row in a table.
6. Composite Key is a combination of one or more columns.
7. A table is a set of data elements that is organized using a model of
vertical columns and horizontal rows.
8. A column is a set of data values of a particular type, one for each row of
the table.
9. A row represents a single, data item in a table.
10. Datatypes are used to identify which type of data we are going to store
in the database.
11. Create table DDL command is used to create a table.
12. Common DDL statements are create, alter and drop.
13. The types of languages used for creating and manipulating the data in
the Database are DDL & DML.
14. A DDL is a standard for commands that define the different structures
in a database.
15. A DML is a language that enables users to access and manipulate data
in a database.
16. A Select is a part of DML involving information retrieval only.
17. A popular data manipulation language is SQL.
18. Tables are the basic building blocks of a database.
19. There are three types of Relationships in a table.
20. A form helps the user to systematically store information in the
database.
21. A form enables users to view, enter, and change data directly in
database objects such as tables.
22. SELECT statement retrieves zero or more rows from one or more
database tables or database views.
23. By default, data is arranged in ascending order using ORDER BY
clause.
24. UPDATE statement is used for modifying records in a database.
25. DELETE statement is used to remove one or more records in a
Database.
26. To create a form you need to select the form option available under
Database section.
27. A query helps to collect specific information from the pool of data in
the database.
28. Report is used to display the summary of data.
29. Forms are the interfaces with which the user interacts.
30. Data from multiple tables can be linked with the help of Primary
Key and Foreign Key constraints.

Short Answer Questions – Page 114

Q1. What does DBMS Stands for?

Ans. DBMS stands for Database Management System.


Q2. What does RDBMS Stands for?

Ans. RDBMS stands for Relational Database Management System.


Q3. How is data organized in a RDBMS?

Ans. The Relational Database Management System (RDBMS) organizes the


data into tables. In tables vertical lines are called fields and horizontal lines
are called records.
Q4. State the relationship and difference between a primary and foreign key.

Ans. Primary key and Foreign key are used to relate the tables so that data
can be fetched from multiple tables.
We can not enter duplicate values in Primary key while duplicate values can
be entered in Foreign Key.
Short Answer Questions – Page 129
Q5. In how many ways tables can be created in Base?
Ans. Tables can be created in two ways.
1. In Design view
2. Using Wizard
Q6. Why are data types used in DBMS /RDBMS?

Q7. List datatypes available in Numeric Datatype?

Ans. The different types of numeric data types are:


Boolean
Tinyint
Smallint
Integer
Bigint
Numeric
Decimal
Real
Float
Double
Q8. List datatypes available in Alphanumeric Data Type?

Ans. The different types of Alphanumeric Data Type are:


Longvarchar
Char
Varchar
Varchar_Ignore Case
Q9. Define the structure of a table.

Ans. A table is a set of data elements (values) that is organized in vertical


columns and horizontal rows. A table has a defined number of columns, but
can have any number of rows.
Q10. Differentiate between Tuples and Attributes of a table.

Ans. A row also called a Record or Tuple represents a single, data item in a
table. Whereas A column is a set of data values of a particular simple type,
one for each row of the table.
Q11. Name different Binary data types.
Ans. The different Binary data types are:
1. Longvarbinary
2. Binary
3. Varbinary
Short Answer Questions – Page 140
Q12. What is the file extension for databases created using [Link] Base?

Ans. The extension is .odb


Q13. List any three file formats that can be managed using [Link] Base?

Ans. Three file formats that can be managed using [Link] Base.
1. .odb
2. .odf
3. .odt
Q14. How many types of relationships can be created in Base? Explain each of
them.

Ans. There are three types of relationship in OpenOffice Base.


ONE to ONE : In this relationship, both the tables must have primary key
columns. Example: In the given tables EMP and DEPT, EMP_ID in EMP
table and DEPT_ID in DEPT table are the primary keys.
ONE to MANY : 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.
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.
Q15. What do you mean by Sorting? In how many ways it can be done?

Ans. Sorting means arranging elements in particular sequence. It can be done


in two ways.
1. Increasing order
2. Decreasing Order
Q16. Explain Referential Integrity with the help of an example.

Ans. Referential integrity is used to maintain accuracy and consistency of data


in a relationship. In Base, data can be linked between two or more tables with
the help of primary key and foreign key constraints. for example we have two
tables :
Student table has fields Admno, Name, Fname , Mname (Admno is a primary
Key)
Teacher table has fields T_id, Admno, Tname, Tsal (T_id is primary key and
Admno is Foreign Key)
Both the above tables can be linked by Common Fields ie Admno

Short Answer Questions – Page 148


Q17. Name DML commands.

Ans. DML stands for Data Manipulation Language. DML Commands are :
SELECT – retrieve data from a database.
INSERT – insert data into a table.
UPDATE – updates existing data within a table.
DELETE – deletes all or specific records from a table.
Q18. What is the purpose of using queries?

Ans. The purpose of using query is to collect specific information from the
pool of data(TABLE). A query also helps us to extract information from
different tables.
Q19. Which clause of the Select statement helps to display specific data?

Ans. ‘Where’ clause of the Select statement helps to display specific data.
Q20. Differentiate between Where and Orderby clause of SQL statements.

Ans. Where clause helps to retrieve specific row from the table and ORDER
BY clause specifies an order in which to return the rows.
Q21. State the purpose of Update Command with the help of an example.

Ans. Update statement is used for modifying records in a table. for example
the following command will increase the salary of all employees by Rs 2000.
Update emp set sal = sal + 2000;
Information Technology Code 402 Class 10 Book Solutions
Short Answer Questions – Page 161
Q22. Why is there a need to create Forms?

Ans. 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.
Q23. What is the purpose of creating Reports?

Ans. A report helps to display the data in a summarized manner. It is


used to generate the overall work outcome in a clear format. We can
create reports in OpenOffice Base using wizard.
Q24. What are the prerequisites to create a Form and Reports?
Ans. Table must be created and selected before creating forms and reports in
OpenOffice Base.
Q25. Differentiate between Forms and Reports.

Forms Reports

A form provides an interface that allows


users to enter, change and view the data in a  Reports are used to present data from
database table. Forms are made up of tables
elements or queries in a format that can be printed.
such as textboxes and labels.

We can make changes to data. We can not make changes to the data.
Q26. Can a form display data from queries?

Ans. Yes
Q27. In how many ways Forms and Reports can be created in a database?

Ans. Forms and Reports can be created in two ways:


1. Create Form in design View
2. Create Form using wizard

Common questions

Powered by AI

A primary key is a unique identifier for a record in a database table, ensuring that no duplicate entries exist for that column . On the other hand, a foreign key is a field (or collection of fields) in one table that uniquely identifies a row of another table, thus establishing and enforcing a link between the data in the two tables . These keys contribute to data integrity by ensuring consistent and reliable connections between related tables, as the foreign key must match an existing primary key elsewhere in the database .

Data Definition Language (DDL) includes commands like CREATE, ALTER, and DROP, which are used to define and manage database structure . Data Manipulation Language (DML), on the other hand, involves commands like SELECT, INSERT, UPDATE, and DELETE, which are used for data retrieval and manipulation . While DDL is concerned with the schema and structure of the database, DML handles the manipulation of data within the database's existing structure .

Sorting data in databases involves arranging data records in a specified sequence, which can either be in increasing or decreasing order . This process benefits data retrieval by organizing data in a manner that enhances readability, allows quicker searches, and facilitates orderly data presentation. Sorting can help in identifying trends, patterns, or anomalies within datasets . By utilizing the ORDER BY clause in SQL, databases can efficiently sort data to meet varying user requirements .

Forms in a relational database serve as user interfaces that allow data entry, updating, and viewing directly within tables . They provide a structured way for interacting with data using elements like textboxes and labels . Reports, however, are used to format and display data from tables or queries in a printable form, presenting data summaries without allowing for data modifications . While forms facilitate data manipulation, reports are designed for data presentation and output .

Querying is vital in databases as it allows users to retrieve specific data sets and information from larger data pools, effectively filtering data for analysis and reporting . SQL, particularly through commands like SELECT, WHERE, and ORDER BY, provides a standardized means of querying databases, enabling efficient data retrieval and manipulation to meet user needs . Without querying capabilities, extracting meaningful insights from complex datasets would be cumbersome and inefficient .

Having a predefined structure when creating tables in a database is essential as it ensures data consistency, integrity, and efficiency in storage and retrieval . A structured approach defines clear data constraints and relationships, helping maintain data quality across transactions and preventing anomalies. It facilitates efficient indexing and querying, crucial in large-scale data operations. By establishing a definitive structure upfront, it aids in avoiding redundant data entry and supports scalable database management .

Data types in databases define the kind of data that can be stored in each column of a table, ensuring data is stored in a consistent and appropriate format . In both DBMS and RDBMS, data types are crucial because they help optimize storage, facilitate data manipulation, and ensure data integrity by restricting data input to specific forms like numeric, alphanumeric, or binary . Proper usage of data types aids in efficient query execution and storage management, making them essential for robust database systems .

Referential integrity is a property of data that ensures that relationships between tables remain consistent . Primary and foreign keys ensure this by creating a link between tables where the foreign key column in one table refers to the primary key column of another table. This setup prevents orphan records and maintains logical data consistency across tables . For example, in a database containing a 'Student' table with 'Admno' as the primary key, and a 'Teacher' table where 'Admno' is a foreign key, referential integrity would require that any 'Admno' appearing in the 'Teacher' table must also exist in the 'Student' table .

The 'Where' clause in SQL is used to filter data by specifying conditions that rows must meet to be included in query results, thereby limiting the dataset to relevant entries . Alternatively, the 'Order By' clause organizes the output of a SQL query by specifying the order in which records are to be presented, without altering the dataset size . While 'Where' refines the dataset by filtering, 'Order By' enhances readability by ordering the result set .

In a relational database, three types of relationships can be established between tables: ONE to ONE, where both tables' columns involved must be primary keys; ONE to MANY, where one table has a primary key that can relate to multiple entries in another table; and MANY to MANY, where neither of the tables involved needs a primary key but involves a junction table to establish a relationship .

Information Technology Code 402 Class 10 Book Solutions | 
Unit 3 RDBMS(Basic)
A.   Fill in the blanks.
1. A database is an o
22. SELECT statement retrieves zero or more rows from one or more 
database tables or database views.
23. By default, data is
Ans. Tables can be created in two ways.
1. In Design view
2. Using Wizard
Q6. Why are data types used in DBMS /RDBMS?
Q7. Lis
Short Answer Questions – Page 140
Q12. What is the file extension for databases created using OpenOffice.Org Base?
Ans. The e
Both the above tables can be linked by Common Fields ie Admno
Short Answer Questions – Page 148
Q17. Name DML commands.
Ans.
Ans. Table must be created and selected before creating forms and reports in 
OpenOffice Base.
Q25. Differentiate between For

You might also like