Sunteți pe pagina 1din 8

Assignment no 1

University of gujrat
Database
Computerscience
Name
M.Farhannasir
Class
BSCS A

Rollno

16181519-001

Submitted to

SIR HAROON
Q#4

Case study
Departmental store salesman
Gulberg 3
Sr No Store informations Sr Salesmanid name Shift loc Area

1 Salesman id 1 123 asad Morn Lhr canal

2 124 kamran even Guj cantt


2 Items id
3 125 iqbal morn Rwl gulberg
3 Categories id

4 Transactions id

5 Location id

6 Spoiled items id

7 Quantity on hand id Categoryies

Sr Category id Description

1 8754 Kd trades

Items
2 4875 Mh trades

Sr ite Manufactu name Description Category


mid re id 3 4758 Fg trades
name

1 24 54489 Pickel Kd trades foods

2 25 54490 Bread Mh trades foods


Location info
Transactions
Sr Sales Department Spoiled items
man id sr Credit Order no
or cash
1 123 Sales sr Items id
1 cred 5447
2 124 Sales
2 cash 5448 1 Breads 8754

3 125 Cash
3 cash 5224 2 Pickels 4875

3 Snacks 4751

Quantity on hand

sr Quantity id Category

1 8754 pickel

2 4875 Bread

Q#5

Database of School

School

Department
Department id
Name
Budget
Start date
Administartor
Online course

Course id Course

url Course id
Student grade
Code title

Credits Enrollment id
Subject
Couse id
department
id Student id

grade

Onsite course
Course instructure
Office assignment
Course id Course id

Person id Instructure id
Location
Person name
Days Location

Time
Time stam

person

Person id

Last name

First name

Enrolment date
Q#1

Data Dependence

An application program deals with


data store externally to it include a
source code .the extended to which
that program exposed to changes to
that external source

Data independence

The type of data transparency that


matters for a centralized dbms its
refers to immunity to user
applications to changes made in
definition and organization
data,Hiding details

2)

Stucture data

It usually resides in relational data


base include text strings variable
lengths etc commonly are airline
reservation systems

Un structured data

It has a internal structure but is not


structured via predefined models or
schema store in no relation data base
no sql like social media
3)

Data

Raw unorganized facts that needed to


be process a piece of information is
called data

Information

Processed form of data organized


structured or presented in a useful
way is called information

4)

Data

List of measurements or a piece of


unorganized information is data

Metadata

Specifies the revelant information


about the data which helps in
identifying the nature and features of
the data

5)

Row

A horizontal collections of items


belonging to a certain category in a
table is a row

Column

A vertical collections of items


Belonging to a certain category in a
table is column

Q#2

20 databases are as follows

1. Oracle
2. SQl Server
3. My SQL
4. Postgre SQL
5. Mongo SQL
6. DB2
7. Access
8. Sybase
9. Tera data
10. SQlite
11. dBase
12. file maker
13. Informix
14. mariaDB
15. Firebird
16. MemSQL
17. ADABAS
18. SImpleDB
19. EnterpriseDB
20. EXASol

Q#3

Database is beneficial over File


management system
Because of the following reasons

1. Redundancy can be reduced in


DBMS
2. Inconsistency can be avoided
3. Reduced programming effect
4. Security can be enforced in dbms
5. Integrity can be maintain in
dbms over file system

S-ar putea să vă placă și