Unit 3 DBMS Notes
Unit 3 DBMS Notes
ASSESSMENT 1
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 OpenOffice.org BASE, Ms-Access, &
MySQL .
5. A PRIMARY KEY is a unique value that identifies a row in a table.
6. Composite Key is a combination of two or more columns.
1. What is Database?
Answer: An organized collection of data is called a Database. It is a container
of information.
1
8. What is Flat-file?
Answer: When data is stored in a single table, called a flat-file. It is suitable for
less amount of data.
2
(e) Privacy
(f) Standardization of Data,
(g) Data Consistency
(h) Backup and Recovery
3
SESSION 2: CREATE AND EDIT TABLES USING WIZARD AND SQL
COMMANDS
ASSESSMENT 2
Fill in the blanks:
1. A table is a set of data elements that is organized using a model of
vertical column (column/attribute) and horizontal row (tuple/record).
2. A column is a set of data values of a particular type, one for each row of the
table.
3. A tuple/row represents a single, data item in a table.
4. Data type are used to identify which type of data we are going to store in
the database.
5. There are 3 ways to create a table.
Note : in three ways possible if include the SQL Command – CREATE TABLE
6. Field properties can be set in both the Table Wizard and in Table Design .
4
4. List datatypes available in Alphanumeric Datatype?
Answer: Alphanumeric datatypes allows to store alpha numeric value i.e.
alphabet, numbers, and symbol.
The different types of numeric data types are:
LONGVARCHAR (Memo), CHAR (Text Fix),
VARCHAR (Text), VARCHAR_IGNORECASE (Text)
5
Perform operations on table
ASSESSMENT3
Fill in the blanks:
1. The types of languages used for creating and manipulating the data in the
Database are DDL & DML.
2. A Queries is a standard for commands that define the different structures in
a database.
3. A DML is a language that enables users to access and manipulate data in a
database.
4. A SELECT is a part of DML involving information retrieval only.
5. A popular data manipulation language is DML.
6. Tables are the basic building blocks of a database.
7. There are 3 types of Relationships in a table.
2. List any three file formats that can be managed using OpenOffice.Org
Base?
Answer: .odf, .odb, .ods, .dbf, .csv, .xls, .accdb
6
4. What do you mean by Sorting? In how many ways it can be done?
Answer: Sorting means to arrange the data in either ascending order of
descending order. Select the column(s) then click on sort buttons. The data will
be displayed accordingly.
Sorting can be done in two ways:-
(a) Sort Ascending and (ii) Sort Descending
ASSESSMENT 4
Fill in the blanks.
1. A FORM helps the user to systematically store information in the database.
2. A FORM enables users to view, enter, and change data directly in database
objects such as tables.
3. SELECT statement retrieves zero or more rows from one or more database
tables or database views.
4. By default, data is arranged in ascending order using ORDER BY clause.
5. UPDATE statement is used for modifying records in a database.
6. DELETE statement is used to remove one or more records in a Database.
7
3. Which clause of Select statement helps to display specific data?
Answer: WHERE clause is used to display specific data.
8
3. What are the prerequisites to create a Form and Reports?
Answer: To create a forms in OpenOffice.org Base, first of all you need to create
a Database. After that you need to create table according to the requirements
i.e. on the basis of data you want to collect.
To create reports, you must have at least one table with records under your
database. Because Report helps to display the data in a summarized manner.