Class 10 Notes
Class 10 Notes
ANSWERS
CHAPTERS – 10, 11, 12, 13, 14
3. Tuples: All the rows (consists of a set of related information that belongs to a particular
object) in a table/database are called tuples or records.
Attributes: An attribute is a piece of information about an object. All the columns in a
table/database are called attributes.
4. A primary key is a set of one of more fields that uniquely identifies each record in a table. It
does not contain any duplicate data. A table can have only one primary key. The value in the
primary key field is different for every tuple and thus helps in uniquely identifying the records. A
foreign key is a field or set of fields that is used to establish a relation between the two tables. In
other words, it consists of one or more fields whose value matches with a primary key in
another table. Basically, a foreign key in one table is used to point at a primary key in another
table. It acts as a cross-reference between the tables.
5. A composite key or composite primary key refers to a combination of two or more attributes
(fields) that uniquely identify the records in a table. It may be a candidate key or primary key.
For example, In the Customer table of Dominos database, the CustOrder_ID field alone cannot
become a primary key as many products can be purchased by the same customer, thus the
same customer can have multiple entries. Similarly, column Product_ID alone cannot become a
primary key as the same product can be purchased by different customers. Hence, composite
key is CustOrder_ID and Product_ID, as records can be retrieved uniquely by using both the
fields.
2. Data types determine what type of data you can enter into a field.
3. Text [VARCHAR] data type a variable length field type, which is used to store character or
string values.
4. The Table Data view is the default view of LibreOffice Base. In this view, you can enter and
navigate the records. In Table Design view, you can create a table by defining the field names
and field types. This view also allows you to edit the structure of the created tables.
3. Referential Integrity (RI) is a rule in RDBMS. It states that a foreign key must have a matching
primary key, i.e., all its references must be valid and the users cannot accidentally delete or
amend the data. It ensures the accuracy and consistency of the data within a relationship, and
prevents the users to enter the inconsistent data.
5. Students and Courses tables are best example of a many-to many relationship. A student can
register for many courses, and a same course can be opted by many students.
3. The Query Wizard guides you to create a query based on selected table. It is the easiest
method for beginners. The Query Design View gives you more control over a query. It allows you
to create a query from the scratch.
4. SQL is a language that allows you to make queries to define the data structure and
manipulate the data in the database. A user can create and manipulate (insert new data, delete
data, select and update data) the database anytime by using the Structured Query Language
(SQL) commands.
5. DDL commands are used to define and modify the structure of a database whereas DML
commands allow the users to manipulate data in the database.
2. To launch the Form Wizard, click on the Forms option in the Database Objects pane. Then,
select the Use Wizard to Create Form option in the Tasks pane. The Form Wizard will open.
4. A report is a summary of your database. It is an effective way to organise and summarise the
data for viewing and printing. It consists of information obtained from tables or queries, and
presented as per the user's requirements.
5. A static report always displays the same data from the time when the static report was
created. A dynamic report generates the result of the report from the current table data. This
means that if you have some updated data in the table that feeds the report, then the report
will change accordingly.
BRAIN DEVELOPER
Section 4: Competency Based Questions (Unsolved)
1. Launch OpenOffice Base on your computer, the Database Wizard opens. Choose the Create a
new database option and click on Next. Stay with the default settings and click on Finish. The
Save As dialog box opens. Enter a new for the database and click on OK.
2. To switch to the Table Design View, click on the Create Table in Design View option in the
Tasks Pane. Specify the following field types for the fields:
• _EMP_ID: Interger[INTEGER];
Name: Text[VARCHAR];
• Address: Text[VARCHAR];
• City: Text[VARCHAR];
• Contact: Interger[INTEGER];
• Aadhaar _Number: Interger[INTEGER];
• Department: Text[VARCHAR]
4. To display the students with grade 'A' or 'E' apply the following criteria:
5. He can use the Reports option in the Database Objects Pane. A report is an effective way to
organise and summarise the data for viewing and printing.
2. A composite primary key refers to a combination of two or more attributes (fields) that
uniquely identify the records in a table.
3. A relational model enables the users to store data in several tables, and whenever the data is
need, it can be retrieved easily by establishing a relationship among them.
4. A field type determines what type of data you can enter into a field.
5. Data/ Time data type is used to store date and time information in form of MM/DD/YY
HH:MM:SS AM/PM.
6. The Yes/No [BOOLEAN] field type stores value in the form of Yes or No. Since, Boolean
interpretation of Yes and No is 1 and 0, respectively. The field length of this data type is 1, i.e., it
can store either 1 or 0.
7. Using the Table Wizard, one can start with the basic structure of a table.
8. In UIDAI database, each person has only one Aadhaar number, and each Aadhaar number is
assigned to only one person.
9. AutoValue: If set to Yes, the values for this data field is generated by the database engine.
10. SELECT and INSERT
Section 6: Long Answer Type Questions (Unsolved)
1. Following are the advantages of DBMS:
• A database always holds data in a standard format.
• The data of a database can be available anytime and anywhere.
• It has the capability to minimise data duplication and redundancy.
• It also ensures data security.
2. A primary key is a set of one of more fields that uniquely identifies each record in a table. It
does not contain any duplicate data. A table can have only one primary key. The value in the
primary key field is different for every tuple and thus helps in uniquely identifying the records.
A foreign key is a field or set of fields that is used to establish a relation between the two tables.
In other words, it consists of one or more fields whose value matches with a primary key in
another table. Basically, a foreign key in one table is used to point at a primary key in another
table. It acts as a cross-reference between the tables.
3. Launch OpenOffice Base on your computer, the Database Wizard opens. Choose the Create a
new database option and click on Next. Stay with the default settings and click on Finish. The
Save As dialog box opens. Enter a new for the database and click on OK.
4. Tables are the easiest way to store, organise, and present a large amount of information.
They are the building blocks of a database. Tables play an important role in storing data. All the
data is stored in the database in tabular form. A well-designed table helps the users to retrieve
the data from a database easily. You can create table, by using any of the following methods:
• Using Table Wizard
• Using Table Design View
5. Structured Query Language (SQL) is a language that allows you to make queries to define the
data structure and manipulate the data in the database. Data manipulation is the process of
editing or modifying the data to keep it updated. A user can create and manipulate (insert new
data, delete data, select and update data) the database anytime by using SQL commands.