User Photos Friends: File Processing Database Management System

You might also like

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

Objectives:

The objective of this lab session is to know what is SQL some basics of DBMS.
By the end of this lab students will be able
 To understand what is SQL and database
 To understand RDBMS
 Components of a Table
 To install SQL server management studio.

Lab Tasks:

Task 1
Install SQL server on your systems.

Task 2
List two significant differences between a file-processing system and a DBMS.

File Processing Database Management System


File system cannot efficiently store and DBMS have wide range of ways to store
retrieve the data. and retrieve the data
It is Difficult to protect the data stored in DBMS have a good Protection Mechanism
the File System

Task 3

Case Study
Describe at least 3 tables that might be used to store information in a social-networking system
such as Facebook

User Photos Friends


Name Photo itself Friendship Date
Gender Upload Date Mutual Friend
Date of Birth Tagged Friends Friend Likes
%
Enrollment Number: 03-134191-007
Place Living Photo ID Number of Friends
ID Caption Recently Added

Page 2 of 4
%
Enrollment Number: 03-134191-007
Task 4

 Give complete details of table and draw a schema for this.


 Define all components of all three tables

User

Date of
Name Gender Birth

Home User ID
Address

Photos

Date of
Name Gender Birth

Home
User ID
Address

Friends

Date of
Name Gender Birth

Home
Address User ID

Page 3 of 4
%
Enrollment Number: 03-134191-007

Lab Grading Sheet :


Max
Obtained
Task Mark Comments(if any)
Marks
s
1. 10
2. 10
3. 10
4. 10

Total 40 Signature

Note : Attempt all tasks and get them checked by your Instructor

Page 4 of 4

You might also like