0% found this document useful (0 votes)
79 views2 pages

Important Question of Ch-10

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)
79 views2 pages

Important Question of Ch-10

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/ 2

Q. 1What is RDBMS?

Ans1) RDBMS - Relational Database Management System


2) It is introduced by E. F. Codd.
3) In this model all data is represented in term of tuples/rows &
columns, grouped into relations/tables. A database organized in
terms of the relational model is a relational database.
4) Oracle, MySQL, MS Access, Open Office Base, Sybase

Q.2 What is database server? Explain primary key and foreign key.
Ans
Database servers are dedicated computers that hold the actual databases
and run only the DBMS and related software. Database servers are also
referred to as Back-ends.

A primary key is a unique field/column that identifies a row in a table.

A foreign key identifies a column or set of columns in one (referencing)


table that refers to a column or set of columns in another (referenced)
table.

Q.3 (a)
Create table employee
EMPID Char(4)
EMPNAME Varchar(15)
DESIGN Varchar(15)
SALARY Decimal

Ans CREATE TABLE Employee (


EMPID
Char(4),
EMPNAME Varchar(15),
DESIGN Varchar(15),
SALARY Decimal
OR
a)• select the Create tab in the toolbar at the top of the screen.
• click on the Table Design button in the Tables group.
• add the fields to the table with desired datatype from the list
• right-clicking the table > Click Datasheet view from the shortcut
menu.
• Add New Field column, enter the name of the fields that you
want to create.

(b)
What is a primary key?
Ans A primary key is a unique value that identifies a row (tuple) in a table

Q.4 What do you mean by relationship? Explain the different types of relationships.
Ans
A relationship refers to an association or connection between two or more tables.
1. ONE to ONE:- In this relationship, both the tables must have primary key columns.
2. ONE to MANY OR MANY to ONE:- In this relationship, one of the tables must
have a primary key column. It signifies that one column of the primary key table
is associated with all the columns of the associated table.
3. 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 columnsof the
associated table.

Q.5 What is the difference between form and reports?


Ans:
Form: A form provides the user a systematic way of collecting information for a database.

Reports: A report helps to display the data in a summarized manner.


OR
A report is an effective way to organise and summarize the data for viewing or printing.

Q.6 Define the following:


a. Database Management System (DBMS)
b. Primary key
c. Numeric data type
d. Referential integrity

Ans:
a. A database management system is a software package with computer programs that
controls the creation, maintenance and use of a database.
b. A primary key is a unique value that identifies a row in a table.
c. Numeric data types are numbers stored in database column. The exact numeric
data types are INTEGER, INT, TINYINT, SMALLINT, MEDIUMINT, BIGINT,
NUMBER, DECIMAL, NUMERIC, FLOAT, REAL, DOUBLE.
d. Referential integrity is used to maintain accuracy and consistency of data in a relationship.

You might also like