Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

PART B: UNIT 3 : DATABASE MANAGEMENT SYSTEM

Session 1 : Appreciate the concept of Database Management System


Q1: What is DBMS?
Ans. DBMS stands for Database Management system. It is a software that controls the creation,
maintenance and use of a database.
Q2. Name two DBMS Software.
Ans. Two DBMS Software are:
1 MySQL 2. Oracle 3. Microsoft SQL Server 4. Microsoft Access.
Q3: What is the difference between Flat file and Relational Database ?
Flat File Relational

Data is stored in a single table. Data is stored in multiple tables.

It is suitable for less amount of data. It is suitable for large amount of data

Q4: Write four advantages of database.


Ans. Four advantages of database are
1 It reduces Data Redundancy
2. It allows sharing of data.
3. It help to maintain data integrity.
4. It provides Data Security.

Q5: What do you mean by Data Integrity?


Ans: Data integrity means that the data is accurate and consistent in the database.

Q6: What do you mean by RDBMS?


Ans: RDBMS stands for Relational Database Management System. When data is to be stored,
maintained, and retrieved from multiple tables then special database software are required
known as RDBMS.

Q7: What is Primary Key?


Ans. A field which is unique for each and every record in a table is called primary key.

Q8. What do you mean by Composite Primary key?


Ans. When primary key constraint is applied on one or more columns then it is known as
Composite Primary Key.

Q9. What is Foreign Key?


Ans: A Foreign Key is a field in one table that refers to the primary key of another table. It is used
to link two tables.
PART B: UNIT 3 : DATABASE MANAGEMENT SYSTEM
Session 2 : Create and Edit Tables using Wizard and SQL Commands
Session 3: Perform Operations on Table

Q1: Define the following terms :


1 Table
2. Fields
3. Records
Ans.
Table : A table is a set of data elements that is organized in vertical columns and horizontal rows.
Fields : A field is a set of data values of a particular simple type, one for each row of the table.
Records : A row also called a Record or Tuple represents a single, data item in a table.

Q2. What are the two ways of creating table in OpenOffice Base.
Ans. Two ways of creating table in OpenOffice Base are :
a. Create table in design view
b. Use Wizard to create table.
Q3. What do you mean by Data type? Give example of two data type used in OpenOffice Base.
Ans. Datatypes are used to identify which type of data (value) we are going to store in the
database. Example: Integer, varchar, char etc.

Q4:Write four appropriate field names and their data types to store record of book.
Ans. Four appropriate field names and their data types to store record of book are :
a. Author_name ————- Char / Varchar
b. Price ———————– Float / Decimal / Double
c. Class ———————– Char / Varchar
d. Subject ———————Char / Varchar

Q5: Write the expanded form of SQL.


Ans. SQL : Structured Query Language

Q6. What do you mean by Datasheet View?


Ans. A view in which new data can be inserted and inserted data can be modified or removed in
a table is called datasheet view.

Q7: What do you mean by design view?


Ans. A view in which we can change the structure of the table is called design view.

Q8. What is Referential Integrity?


Ans. Referential Integrity is used to maintain the accuracy and consistency of data in
relationship.
Q9. What do you mean by relationship between tables?
Ans. A relationship refers to an association or connection between two or more tables.
Q10. How many types of relationship can be created between tables? Name them.
Ans. Three types of relationship can be created between tables.
1. One to One
2. One to Many or Many to One
3. Many to Many
PART B: UNIT 3 : DATABASE MANAGEMENT SYSTEM
SESSION 4 : RETRIEVE DATA USING QUERY
SESSION 5: CREATE FORMS AND REPORTS USING WIZARDS

Q1. What do you mean by query in Open Office Base?


Ans. A query is a request to collect specific information from a table or combination of tables.

Q2. In how many ways you can create query in Open Office Base?
Ans. We can create query in Open Office Base by three ways which are :
1. Create query in Design view
2. Create query using Wizard
3. Create query in SQL view

Q3. Which command is used to retrieve data from the table?


Ans. Select command is used to retrieve data from the table.

Q4. Name two categories of SQL Commands and Differentiate between them.
Ans. Two categories of SQL Commands are :
1. DDL
2. DML

DDL DML

It stands for Data Definition Language. It stands for Data Manipulation Language.

It is the part of SQL that enables a


database user to create and restructure It is that part of SQL that enables a database user
database objects such as creation and to add, delete and modify data in database.
deletion of the table.

Example : Create, Alter, Drop Example : Select, Insert, Update, Delete

Q5. Name two clauses which can be used with Select Command.
Ans. Two clauses which can be used with Select Command are :
1. Where Clause
2. Order By Clause

Q6: Which command is used for the following task in database?


a) To insert a new record
b) To modify the existing data.
c) To delete a record
d) To display record
Ans.
a) Insert
b) Update
c) Delete
d) Select
Q7:
.

Ans:
1. Four fields and four records are there in table Sales.
2. SQL commands:
i. Select “Sale_Id”, “Price” from “Sales” where “Discount” > 1000;
ii. Select * from “Sales” order by “Prod_Name”;
iii. Select “Prod_Name”, “Price”- “Discount” from “Sales”;
Q8. What is Form in OpenOffice Base?
Ans. A form provides the user a systematic way of storing information into the database.
Q9. Name the interface which lets users to view, enter, and change data directly in database.
Ans. Form
Q10. Write two ways of creating form in Open Office Base.
Ans. Two ways of creating form in Open Office Base are :
a. Create form in design view
b. Use Wizard to create form
Q11: What do you mean by Report in Open Office Base?
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
Q12. Differentiate between Forms and Report.
Ans.
Form Report

1. It is a way of storing data into a database It is a way to display data in a printed form.

2. Values entered in the form can be modified Values in the report can not be modified.

Q13. What do you mean by static report?


Ans. A report which do not show any change if we make any changes in the data of the table.
Q14. What do you mean by dynamic report?
Ans. A report which shows the corresponding changes which we make in the data of the table.

You might also like