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

Table of Contents

1] Lab - 4 DBMS Lab (OMC 321)-Semester III..............................................................................................1


Syllabus....................................................................................................................................................1
2] Lab - 5 C Lab (OMC 322)-Semester III......................................................................................................4
Syllabus....................................................................................................................................................4
1] System Analysis and Design (OMC 304)-Semester III..............................................................................4
Syllabus....................................................................................................................................................5
2] Operating System (OMC 303)-Semester III..............................................................................................5
Syllabus....................................................................................................................................................5
3] Object Oriented Programming Concept Using C (OMC 302)-Semester III...............................................7
Syllabus....................................................................................................................................................7
4] Database Management System (OMC 301)-Semester III........................................................................8
Syllabus....................................................................................................................................................8

1] Lab - 4 DBMS Lab (OMC 321)-Semester III

Syllabus

 Consider the insurance database given below. The primary keys are made
bold  and the data types are specified.
PERSON( driver_id:string , name:string , address:string )
CAR( regno:string , model:string , year:int )
ACCIDENT( report_number:int , accd_date:date , location:string )
OWNS( driver_id:string , regno:string )
PARTICIPATED( driver_id:string , regno:string , report_number:int ,
damage_amount:int)

1. Create the above tables by properly specifying the primary keys and foreign
keys.
2. Enter at least five tuples for each relation.
3. Demonstrate how you-
a) Update the damage amount for the car with specific regno in the accident
with report number 12 to 25000.
b) Add a new accident to the database.
4. Find the total number of people who owned cars that were involved in
accidents in the year 2008.
5. Find the number of accidents in which cars belonging to a specific model were
involved.

 Consider the following relations for a order processing database application in


a company.
CUSTOMER( custno:int , cname:string , city:string )
ORDER( orderno:int , odate:date , custno:int , ord_amt:int )
ORDER_ITEM( orderno:int , itemno:int , quantity:int )
ITEM( itemno:int , unitprice:int )
SHIPMENT( orderno:int , warehouseno:int , ship_date:date )
WAREHOUSE( warehouseno:int , city:string )

1. Create the above tables by properly specifying the primary keys and foreign
keys.
2. Enter at least five tuples for each relation.
3. Produce a listing: custname , No_of_orders , Avg_order_amount ,  where the
middle column is the total number of orders by the customer and the last
column is the average order amount for that customer.
4. List the order no for orders that were shipped from allthe warehouses that the
company has in a specific city.
5. Demonstrate the deletion of an item from the ITEM table and demonstrate a
method of handling the rows in the ORDER_ITEM table that contains this
particular item.

 Consider the following database of student enrollment in courses and books


adopted for that course.
STUDENT( regno:string , name:string , major:string , bdate:date )
COURSE( courseno:int , cname:string , dept:string )
ENROLL( regno:string , courseno:int , sem:int , marks:int )
BOOK_ADOPTION( courseno:int , sem:int , book_isbn:int )
TEXT( book_isbn:int , book_title:string , publisher:string , author:string )

1. Create the above tables by properly specifying the primary keys and foreign
keys.
2. Enter atleast five tuples for each relation.
3. Demonstrate how you add a new text book to the database and make this book
to be adopted by some department.
4. Produce a list of text books ( includes courseno , book_isbn , book_title ) in
the alphabetical order for courses offered by the 'CS' department that use
more than two books.
5. List any department that has allits books published by a specific publisher.
 

 The following are maintained by abook dealer.


AUTHOR( author_id:int , name:string , city:string , country:string )
PUBLISHER( publisher_id:int , name:string , city:string , country:string )
CATALOG( book_id:int , title:string , author_id:int , publisher_id:int ,
category_id:int , year:int , price:int)
CATEGORY( category_id:int , description:string )
ORDER_DETAILS( order_no:int , book_id:int , quantity:int )

1. Create the above tables by properly specifying the primary keys and foreign
keys.
2. Enter at least five tuples for each relation.
3. Give the details of the authors who have 2 or more books in the catalog and
the price of the books is greater than the average price of the books in the
catalog and the year of publication is after 2000.
4. Find the author of the book that has maximum sales.
5. Demonstrate how you increase the price of books published by a specific
publisher by 10%.

 Consider the following database for a banking enterprise.


BRANCH( branch_name:string , branch_city:string , assets:real )
ACCOUNT( accno:int , branch_name:string , balance:real )
DEPOSITOR( customer_name:string , accno:int )
CUSTOMER( customer_name:string , customer_street:string ,
customer_city:string )
LOAN( loan_number:int , branch_name:string , amount:real )
BORROWER( customer_name:string , loan_number:int )

1. Create the above tables by properly specifying the primary keys and foreign
keys.
2. Enter at least five tuples for each relation.
3. Find allthe customers who have at least two accounts at the main
4. Find all the customers who have an account at allthe branches located in a
specific city.
5. Demonstrate how you delete all account tuples at every branch located in a
specific city.

Text & References

 Learning SQL-Book by Alan Beaulieu


 SQL Fundamentals-Book by John J Patrick
2] Lab - 5 C Lab (OMC 322)-Semester III

Syllabus
 WAP to find greatest of three numbers.
 WAP to calculate factorial of a number.
 WAP to print Fibonacci series of ‘n’ numbers , where n is given by the programmer
 WAP to check whether a number is prime or not.
 WAP to find the number of characters and words in a string .
 WAP to read a set of numbers in an array & to find the largest of them.
 WAP to implement bubble sort using arrays.
 WAP to read a set of numbers from keyboard & to find sum of all elements of the
given array using a function.
 WAP to exchange contents of two variables using call by value.
 WAP to exchange contents of two variables using call by reference.
 WAP to find the sum of three numbers using pointer to function method.
 WAP to display content of an array using pointer arithmetic.
 Calculate area of different geometrical figures (circle, rectangle,square, triangle)
using function overloading.
 WAP a program to maintain the student record containing roll number , Name,
marks1, marks2, marks3 as data member and getdata(), display() and setdata() as
member functions(use array of object)
 WAP to increment the employee salaries on the basis of there designation
(Manager-5000, General Manager-10000, CEO-20000, worker-2000). Use employee
name, id, and designation, salary as data member and inc_sal as member function
(Use array of object).
 Write a class bank, containing data member: Name of Depositor, A/c type, Type of
A/c, Balance amount. Member function: To assign initial value, To deposit an
amount, to withdraw an amount after checking the balance (which should be greater
than Rs. 500), To display name & balance.

Text & References

 The C++ Programming Language - Anna University 3 Edition


 A Laboratory Course in C++ 2nd Edition

1] System Analysis and Design (OMC 304)-Semester III


Syllabus
Module III- System Requirements

Performing Requirements Determination, Traditional Method, Modern' Methods,


Radical Methods. The Tools of Structured Analysis: Process Modeling: DFD, Logical
Modeling: Structured English, Decision Trees, and Data Modeling: ER Diagram

Module IV- System Design

The process of design: logical design, physical design, Structured Design,


Functional Decomposition, and Structured Walkthrough. Input/output and Forms
Design: Input design, output design, forms design, types of forms, layout
considerations and forms control.

Module V- File organization and Database Design

File structure, file organization, -objectives of database, data structure,


normalization, the role of database administrator. Automated Tools for Systems
Development: CASE Tools

Text & Reference:

 Systems Analysis and Design (9th Edition, 2014) by Kenneth E. Kendall, Julie
E. Kendall; Pearson
 Systems Analysis and Design, 6th Edition (2014) Alan Dennis, Barbara Haley
Wixom, Roberta M. Roth ; John Wiley & Sons, Inc.
 Systems Analysis and Design Methods (7th Edition, 2007) by Jeffrey L.
Whitten, Lonnie D. Bentley, Victor Barlow; McGraw-Hill/Irwin
 Systems Analysis and Design (9th Edition, 2012) by Gary B. Shelly and Harry
J. Rosenblatt; Cengage Learning

2] Operating System (OMC 303)-Semester III

Syllabus
Module I: Introduction
What is an Operating System, Types of Operating Systems, Simple Batch Systems,
Multiprogramming Systems, Time-Sharing Systems, Parallel Systems, Distributed Systems,
Real-time Systems

Operating System Structures: System Components, System Calls, System Programs,


System Structure, Virtual Machines

Module II: Processes Management

Process Concept, Process Scheduling, Operation on processes, Cooperating Processes,


Interprocess Communication, Back ground process,

Module III: CPU Scheduling


Basic Concepts, Scheduling Criteria, Scheduling Algorithms, Multi-Processor Scheduling,
Real-Time Scheduling, Algorithm Evaluation System Models, Methods for Handling
Deadlocks, Deadlock Prevention, Deadlock Avoidance, Deadlock Detection, Deadlock
Recovery

Module IV: Memory Management

Memory Management, Address Space, Memory Allocation Techniques, Swapping, Paging


Segmentation with paging, Virtual Memory, Demand Paging, Performance of Demand
Paging, Page Replacement, Thrashing, Demand Segmentation

Module V: File System Interface

File Concept, Access Methods, Directory Structure, Protection, File System Structure, and
Allocation Methods.

The Unix System Case Study:

History, Design Principle, Programmer Interface, User Interface, Process Management,


Memory Managements, File management, Interprocess Communication.

Text & References:


 Operating Systems Concepts, Silberschatz Galvin, Fifth Edition Addition Wesley
Publication.
 Modern Operating Systems, A S Tanenbaum, Prentice Hall of India New Delhi,
1995.
 Design of UNIX Operating System, Maurice J. Bauch, Prentice Hall of India.
 Operating Systems Design, Peterson & Galvin

3] Object Oriented Programming Concept Using C (OMC 302)-


Semester III

Syllabus
Module I: Basic Concepts Of OOPS

Introduction of C++, Features Of Oops, Distinction between Procedural And Oops


Programming, Definitions Of Class And Objects, Concepts Of Inheritance And
Encapsulation

Module II: Overview of OOP Using C++

Basic Program Construction :Main And Functions ,Program Statements, Class Declaration,


Comments, Starting, Compiling And Executing C++ Programs, Elements Of C++ Language,
Variables And Constants, Data Types Operators, Control Statements, Loops, Arrays

Module III: Functions

Simple Functions, Passing Arguments And Returning Values ,Reference Variables And
Arguments, Function Overloading, Inline Functions, Programming Style, Access Specifier

Module IV: Classes & Objects

Declaration of Objects, Declaration Of Members, Array Of Objects, Structures And Classes,


Constructors And Destructors, Operator Overloading, Data Conversion, Inheritance, Levels
Of Inheritance, Containership, Inheritance, Multiple Inheritance

Module V: Pointers & Streams

Address and Pointers, Pointers And Arrays, Pointers And Functions Graphics, Virtual
Functions, Streams, Stream Classes, Templates, Polymorphism

Text & References:

 Object Oriented Programming in Turbo C++ , E.Balaguruswamy, Tata McGrahill


 Object Oriented Programming with C++, Robert Lafore, Galgotia Publication
 C++ Programming, Yashavant Karnitkar, BPB Publications

4] Database Management System (OMC 301)-Semester III

Syllabus
Module  I: Introduction to DBMS

Introduction to DBMS, Architecture of DBMS, Components of DBMS, Traditional data


Models (Network, Hierarchical and Relational), Database Users, Database Languages,
Schemas and Instances, Data Independence

Data Modeling: Entity sets attributes and keys, Relationships (ER), Database modeling
using entity, Weak and Strong entity types, Enhanced entity-relationship (EER), Entity
Relationship Diagram Design of an E-R Database schema Object modeling, Specialization
and generalization

Module II: Relational Database Model and Design

Basic Definitions, Properties of Relational Model, Keys, Constraints, Integrity rules,


Relational Algebra, Relational Calculus

Relational Database Design: Functional Dependencies, Normalization, Normal forms (1 st,


2nd, 3rd,BCNF), Lossless decomposition, Join dependencies, 4th & 5th Normal form.

Module III: Query Language, PL/SQL

SQL Components (DDL, DML, DCL), SQL Constructs (Select…from…where…. group by….
having…. order by…), Nested tables, Views, correlated query, Objects in Oracle.

PL/SQL: Introduction, Basic block, Structure of PL/SQL program, Control Statements,


Exception handling, Cursor Concept, Procedure, functions and triggers.

 
Module IV: Transaction Management and Concurrency Control Techniques
Transaction concept, ACID properties, Schedules and recoverability, Serial and Non-serial
schedules, Serializability, Concurrency Techniques: Locking Protocols, Timestamping
Protocol, Multiversion Technique, Deadlock Concept - detection and resolution.

Module V: Database Security and Authorization

Basic security issues, Discretionary access control, Mandatory access control, Statistical
database security.

Backup and Recovery: Database recovery techniques based on immediate and deferred


update, ARIES recovery algorithm, Shadow pages and Write-ahead Logging

Text & References:

 Fundamental of Database Systems, Elmasri & Navathe, Pearson Education, Asia


 Data Base Management System, Leon & Leon, Vikas Publications
 Database System Concepts, Korth & Sudarshan, TMH

You might also like