Your whole semester on one page! Register free, add your course, year & semester — and get your syllabus, notes, question banks & PYQs in one place. Register here
UniversityAcademy app icon
Get the free Android app — AKTU notes, question banks, PYQs & syllabus on your phone
GET IT ONGoogle Play
Cover of DBMS Lab Syllabus (BCA 102P)
FREE

DBMS Lab Syllabus (BCA 102P)

DBMS Lab BCA 102P

All syllabus, notes, question bank & PYQ for this subject

  • English
  • Semester 2
  • 0 downloads
  • 0 views
Official GGSIPU syllabus of DBMS Lab (BCA 102P): units, topics, course outcomes and recommended books. Read it online or download the PDF.

Syllabus — DBMS Lab

Download PDF

BCA 102P · 1 credits · L-T-P 0-0-2

GGSIPU | Paper code BCA 102P | L-T-P 0-0-2 | Credits 1

Course Name: DBMS Lab 0 2 1 LEARNING OBJECTIVES: The paper aims to introduce the concept of Back end, data storage in computers, design of a DBMS, Queries to construct database, store and retrieve data from the database. The objective of this course is to provide the learners expertise in the following:

  • Understanding of the requirement of database management System for storing data and its advantages over file management system.
  • Designing the database conceptually, physically and finally implementing the creation of database for any application.
  • Learning of queries in SQL for creating database and performing various operations for manipulating data in the database.
  • Knowledge of database utilities i.e. backup, recovery, transaction processing. PRE-REQUISITES: Basic knowledge of data storage and file management system COURSE OUTCOMES (COs): After completion of this course, the learners will be able to: CO # Detailed Statement of the CO
  • CO1: Understand the DBMS concepts with detailed architecture, characteristics. Describe different database languages and environment and learn various data models, along with the related terminologies
  • CO2: Explore Structure Query Language, a brief on NOSQL, Query By Example. Also understand the overview of SQL, and try to implement DDL, DML and DCL along with operators, use of joins, nested query, use of views and Indexes Discuss Integrity Constraints
  • CO3: Describe Relational Data Model, explain Codd’s Rules, Relational Algebra, Set theory operations and the concept of functional dependencies and normalization
  • CO4: Acquire Knowledge about Transaction Processing, concurrency problems, and its controlling techniques, Database backup and recovery and security. List of Practicals

S. No. Detailed Statement Mapping to CO # Core Practicals (Implement All the mentioned practicals)

The following are two suggestive databases. The students may use any one or both databases for their core practicals. However, the instructor may provide any other databases for executing these practical.

  • COLLEGE DATABASE:

STUDENT (USN, SName, Address, Phone, Gender) SEMSEC (SSID, Sem, Sec) CLASS (USN, SSID) SUBJECT (Subcode, Title, Sem, Credits) IAMARKS (USN, Subcode, SSID, Test1, Test2, Test3, FinalIA)

  • COMPANY DATABASE:

EMPLOYEE (SSN, Name, Address, Sex, Salary, SuperSSN, DNo) DEPARTMENT (DNo, DName, MgrSSN, MgrStartDate) DLOCATION (DNo,DLoc) PROJECT (PNo, PName, PLocation, DNo) WORKS_ON (SSN, PNo, Hours) 1 Draw an E-R diagram from given entities and their attributes CO1 2 Convert the E-R diagram into a Relational model with proper CO1 constraints. 3 Write queries to execute following DDL commands : CO2 CREATE :Create the structure of a table with at least five columns ALTER:Change the size of a particular column. Add a new column to the existing table. Remove a column from the table. DROP: Destroy the table along with its data. 4 Write queries to execute following DML commands : CO4 INSERT: Insert five records in each table. UPDATE: Modify data in single and multiple columns in a table DELETE: Delete selective and all records from a table 5 Write queries to execute following DML command : CO5 SELECT: Retrieve the entire contents of the table. Retrieve the selective contents (based on provided conditions) from a table. Retrieve contents from a table based on various operators

  • i.e. string operators, logical operators and conditional operators, Boolean operators. Sort the data in ascending and descending order in a table on the basis of one column or more than one column. 6 Create table using following integrity constraints: CO3 Primary Key Unique Key Not Null Check Default Foreign Key 7 Write queries to execute following Aggregate functions CO7 Sum,Avg,Count,Minimum and Maximum value of a numeric column of a table using aggregate function 8 Retrieve data from a table using alias names. CO5 9 Retrieve data of a table using nested queries. CO5 10 Retrieve data from more than one table using inner join, left CO5 outer, right outer and full outer joins 11 Create view from one table and more than one table. CO6 12 Create index on a column of a table. CO6 Application Based Practicals 1 Consider the Insurance company’s Database given below. CO7 The primary keys are underlined and the data typesare specified. PERSON(driver_id# : string, name : string, address : string) CAR(regno : string, model : string, year : int) ACCIDENT(report_number : int, acc_date : date, location : string) OWNS(driver_id# : string, regno : string) PARTICIPATED(driver_id# : string, regno : string, report_number : int, damage_amount :number(10,2) ) (i) Create the above tables by properly specified the primary key and the foreign key (ii) Enter at least five tuples for each relation (iii) Demonstrate how you can
  • a. Update the damage amount for the car with a specific regno, the accident with report number 12 to 25000.
  • b. Add a new accident to the database. (iv) Find the total number of people who owned cars that were involved in accident in2002. (v) Find the number of accident in which cars belonging to a specific models were involved 2 Consider the following schema of a library management system. Write the SQL queries for the questions given below; Student(Stud_no : integer, Stud_name: string) Membership(Mem_no: integer, Stud_no: integer) Book_(book_no: integer, book_name:string, author: string) lss_rec_(iss_no:integer, iss_date: date, Mem_no: integer, book_no: integer) (i) Create the tables with the appropriate integrity constraints (ii) Insert around 10 records in each of the tables (iii) Display all records for all tables (iv) List all the student names with their membership numbers (v) List all the issues for the current date with student and Book names (vi) List the details of students who borrowed book whose author is Elmarsi & Navathe (vii) Give a count of how many books have been bought by each student (viii) Give a list of books taken by student with stud_no as 1005 (ix) Delete the List of books details which are issued as of today (x) Create a view which lists out the iss_no, iss _date, stud_name, book name 3 Use the relations below to write SQL queries to solve the business problems specified. CLIENT (clientno#,name, client_referred_by#) ORDER (orderno#, clientno#, order_date, empid#) ORDER_LINE (orderno#, order line number#, item_number#, no_of_items, item_ cost,shipping_date) ITEM (item_number#, item_type, cost) EMPLOYEE (empid#, emp_type#, deptno, salary, firstname, lastname) Notes:
  • a. Column followed by # is the primary key of the table.
  • b. Each client may be referred by another client. If so, the client number of the referring client is stored in referred_by.
  • c. The total cost for a particular order line = no_of_items * item_cost.c. Write queries for the following (i) Create all the above tables. (ii) Insert at least five records. (iii) Display all the rows and columns in the CLIENT table. Sort by client name in reverse alphabetical order. (iv) Display the item number and total cost for each order line (total cost = no of items X item cost). Name the calculated column TOTAL COST. (v) Display all the client numbers in the ORDER table. Remove duplicates. (vi) Display the order number and client number from the ORDER table. Output the result in the format. Client <clientno> ordered <orderno> (vii) Display full details from the ORDER_LINE table where the item number is (first condition) between 1 and 200 (no > or < operators) OR the item number is greater than1000 AND (second condition) the item cost is not in the list 1000, 2000, 3000 OR the order number is not equal to 1000. (viii) Display the client name and order date for all orders. (ix) Repeat query (6) but also display all clients who have never ordered anything. (x) Display the client name and order date for all orders using the join keywords. (xi) Display the client name and order date for all orders using the JOIN method. (xii) Display the client number, order date and shipping date for all orders where the shipping date is between three and six months after the order date. (xiii) Display the client number and name and the client number and name of the person who referred that client. (xiv) Display the client name in upper case only and in lower case only. (xv) Display the second to fifth characters in each client name. Note:
  • In total 15 practicals to be implemented. 2 additional practical may be given by the course instructor.
  • This is a suggestive list of programs. However, the instructor may add programs as per the requirement of the course.

Prepared from the official GGSIPU syllabus. Please check the latest official notification on ipu.ac.in for any change.

Ratings & Reviews

No reviews yet — share your experience with this item.

Write a review

Used this resource? Share your rating to help other students.

Write a review