TY 2022 Pattern Computer Engineering
TY 2022 Pattern Computer Engineering
SEM-I
Course Course Title of Course Teaching Scheme Assessment Scheme and Marks Credits
Code Type Hrs./week
TH TU PR In End CA TU/ PR/ Total TH TU / PR/ Total
Sem Sem TW OR TW OR
FYE221001 BSC Applied Mathematics – I 4 1 0 20 60 20 25 0 125 4 1 0 5
FYE221005 BSC Applied Chemistry 3 0 2 20 60 20 50 0 150 3 1 0 4
FYE221006 ESC Fundamentals of 3 0 2 20 60 20 50 0 150 3 1 0 4
Electrical Engineering
FYE221010 ESC Computational Thinking 2 0 2 25 50 0 50 0 125 2 1 0 3
and C Programming
FYE221013 ESC Workshop Practice 0 0 2 0 0 0 50 0 50 0 1 0 1
FYE221014 LHSM Communication Skills 1 0 2 0 0 25 50 0 75 1 1 0 2
Total 13 1 10 85 230 85 275 0 675 13 6 0 19
SEM-II
Course Course Title of Course Teaching Scheme Assessment Scheme and Marks Credits
Code Type Hrs./week
TH TU PR In End CA TU/ PR/ Total TH TU / PR/ Total
Sem Sem TW OR TW OR
FYE221002 BSC Applied Mathematics – II 4 1 0 20 60 20 25 0 125 4 1 0 5
FYE221003 BSC Applied and Modern 3 0 2 20 60 20 50 0 150 3 1 0 4
Physics (A)
FYE221007 ESC Fundamentals of 3 0 2 20 60 20 50 0 150 3 1 0 4
Electronics Engineering
FYE221011 ESC Programming in C++ 3 0 2 25 50 0 50 0 125 3 1 0 4
FYE221012 ESC Engineering Drawing 1 1 2 25 50 0 50 0 125 1 2 0 3
FYE221015 PSI Engineering Explorations 0 0 2 0 0 0 100 0 100 0 1 0 1
FYE221016 LHSM Democracy, Election and 2 0 0 25 25 0 0 0 50 2 0 0 2
Governance
Total 16 2 10 135 305 60 325 0 825 16 7 0 23
Department Elective Course I (Sem-V) (Student have to choose any one of the following)
Banking, Financial
COM224008 LHSM 2 - - - - 50 - - 50 2 - - 2
Services and Insurance
COM224009 PSI Project Work - - 8 - - - 100 50 150 - - 4 4
Department Elective Course IV (Sem-VII) (Student have to choose any one of the following)
Teaching
Evaluation Scheme and Marks Credits
Sem Course Couse Scheme
Title of Course
Code Type TH TU PR INSEM ENDSEM CCE
TUT PR
TOTAL TH TU PR TOTAL
/TW /OR
VI Network
COM223021 DCC Protocols and 04 - - 20 60 20 - - 100 04 - - 04
Algorithms
Network
COM223022 DCC Protocols and - - 04 - - - 50 50 100 - - 02 02
Algorithms Lab
VII Cloud
COM224021 DCC 04 - - 20 60 20 - - 100 04 - - 04
Infrastructure
Cloud
COM224022 DCC - - 04 - - - 50 50 100 - - 02 02
Infrastructure Lab
VIII Wireless Sensor
COM224023 DCC 03 - - 20 60 20 - - 100 03 - - 03
Network
Software Defined
COM22404 DCC 03 - - 20 60 20 - - 100 03 - - 03
Network
Total 14 - 08 80 240 80 100 100 600 14 - 04 18
*It will be offered as honors degree for Computer Engineering/Artificial Intelligence and Data Science Engineering/Computer Science and Design
Engineering/Information Technology programs and is offered as minor degree for other programs
Teaching
Evaluation Scheme and Marks Credits
Sem Course Couse Scheme
Title of Course
Code Type TH TU PR INSEM ENDSEM CCE
TUT PR
TOTAL TH TU PR TOTAL
/TW /OR
VI Relational
COM223023 DCC Database and 04 - - 20 60 20 - - 100 04 - - 04
SQL
Relational
COM223024 DCC Database and - - 04 - - - 50 50 100 - - 02 02
SQL Lab
VII Modern Database
COM224025 DCC 04 - - 20 60 20 - - 100 04 - - 04
System
Modern Database
COM224026 DCC - - 04 - - - 50 50 100 - - 02 02
System Lab
VIII Query Processing
COM224027 DCC 03 - - 20 60 20 - - 100 03 - - 03
and Optimization
Parallel and
COM224028 DCC Distributed 03 - - 20 60 20 - - 100 03 - - 03
Database System
Total 14 - 08 80 240 80 100 100 600 14 - 04 18
*It will be offered as honors degree for Computer Engineering/Artificial Intelligence and Data Science Engineering/Computer Science and Design
Engineering/Information Technology programs and is offered as minor degree for other programs
ER Modeling CO3
Conceptual Design using ER features using tools like ERD plus, ER Win
etc. (Identifying entities, relationships between entities, attributes, keys,
cardinalities, generalization, specialization etc.) Convert the ER diagram
into relational tables and normalize the Relational data model.
1 ER model of a Hospital management using the
following description . Each of these entities have
their respective attributes which are −
Patients - ID(primary key), name, age,visit_date
Tests- Name(primary key), date, result
Doctor- ID(primary key), name, specialization
SQL Queries CO1, CO2
Consider the following schema
account(acc-no,branch-name,balance)
depositor(cust-name,acc-no)
borrower (cust-name, loan-no)
2
loan (loan - no, branch - name, amount)
Write following queries using SQL
1. Create tables using proper primary keys
2. Update information of particular customer
3. Find the customers having loan less than 1 lac
4. Display account number and customer name starting with ‘P’
5. Display name of the depositor with balance
6. Find names of all customers who have a loan at the ‘Redwood
branch’.
7. Find all customers who have an account and loan or both.
8. Find all customers who do not have loan
9. Find average account balance at each branch.
10. Find the name of borrower having maximum loan amount
PLSQL Block CO1, CO2
Write a Stored Procedure namely proc_Grade for the categorization of
students. If marks scored by students in examination is <=1500 and
marks>=990 then students will be placed in distinction category if marks
scored are between 989 and 900 category is first class, if marks 899 n
825 category is Higher Second Class and Less than 825 and > 600 have
3 ‘Pass Class’. Insert the result in Result table for all
Write a Stored Procedure for calculating Number of students getting each
class e.g Distinction - 10 students, First class -5 students. Insert count in
the Analysis table
Write a PL/SQLblock to use procedures created with the above
requirement. Stud_Marks(roll,
name, total_marks) Result(Roll,Name, Class)
Analysis( class , count)
4 Cassandra Queries: Design and Develop Queries using CRUD operations CO4
Guidelines for Laboratory Conduction
Use of coding standards and Hungarian notation, proper indentation and comments.
Use of open source software is to be encouraged.
Operating System recommended: - Linux or its derivative
Programming tools recommended: - Open Source line gcc/g++
Guidelines for Student's Lab Journal
The laboratory assignments are to be submitted by students in the form of a journal. Journal consists of
Certificate, table of contents, and handwritten write-up of each assignment (Title, problem statement, theory
concepts in brief, algorithm, flowchart, test cases and conclusions). Program codes with sample outputs shall
be submitted in soft form
Guidelines for Termwork Assessment
Continuous assessment of laboratory work shall be based on overall performance of a student. Assessment of
each laboratory assignment shall be based on rubrics that include R1- timely completion (10), R2-
understanding of assignment (10) and R3- presentation/clarity of journal writing (10) (Coding standard,
Indentation, Hungarian notation, input validation etc)
Testing Strategies: Unit Testing, Integration Testing, System Testing, Smoke, Regression Testing,
Acceptance Testing. Functional/Non Functional Testing. Testing Tools, Categorization of testing
methods: Manual Testing, Automation Testing and Automated Testing Vs. Manual Testing
Non Functional Testing: Performance Test, Memory Test , Scalability Test, Compatibility Test,
Security Test, Cookies Test, Session Test, Recovery Test, Installation Test, Ad-hoc Test, Risk Based
Test, Compliance Test. McCall’s Quality Factors, FURPS.
Unit III Software Testing Methodologies (08hrs) CO3
Validation & Verification, White/Glass Box Testing, Black Box Testing, Grey Box Testing, Statement
Coverage Testing, Branch Coverage Testing, Path Coverage Testing, Conditional Coverage Testing,
Loop Coverage Testing, Boundary Value Analysis, Equivalence Class Partition, State Based Testing,
Cause Effective Graph, Decision Table, Use Case Testing, Exploratory testing and Testing Metrics,
Testing GUI.
Unit IV Software Testing Life Cycle and Test Cases (08hrs) CO4
Software Testing Life Cycle: Requirements Analysis/Design, Traceability Matrix, Test Planning,
Objective, Scope of Testing, Schedule, Approach, Roles & Responsibilities, Assumptions, Risks &
Mitigations, Entry & Exit Criteria, Test Automation, Deliverables
Test Cases Design: Write Test cases, Review Test cases, Test Cases Template, Types of Test Cases,
Difference between Test Scenarios and Test Cases. Test Environment setup; Understand the SRS,
Hardware and software requirements, Test Data.
Test Execution: Execute test cases, Error/Defect Detecting and Defect Life Cycle, Types of Bugs , Art
of Debugging,. Debugging Approaches, Reporting the Bugs, Severity and priority, Test Closure, Criteria
for test closure, Test summary report.
(06hrs) CO5
Unit V Quality and Process Improvement
Define What Is Quality, Application of Concept of Quality to Software Application, Quality Assurance,
Quality Control, Testers Contribution To Quality of Software Application,
Software Testing Metrics: Test Measurements, Test Metrics, Metric Life Cycle, Types of Manual Test
Metrics. TQM, Four Principles of TQM.
Quality Standards: CMMI (Capability Maturity Model Integration), ISO, IEEE, Six Sigma, Motorola.
Text Books
1. M G Limaye, “Software Testing Principles, Techniques and Tools‖”, Tata McGraw Hill, ISBN:
9780070139909.
2. Srinivasan Desikan, Gopal Swamy Ramesh, “Software Testing Principles and Practices”, Pearson, ISBN-
10: 817758121X .
Reference Books
1. Naresh Chauhan, “Software Testing Principles and Practices", OXFORD, ISBN-10: 0198061846.
ISBN-13: 9780198061847
2. Allan C. Gillies, “Software Quality: Theory and Management”, Cengage Learning
3. Stephen H. Kan, “Metrics and Models in Software Quality Engineering”, Pearson Education, 2002.
4. Daniel Galin, “Software Quality Assurance: From Theory to Implementation”, Pearson Education,
2004
Mini Project using Raspberry pi to identify and solve any real world CO1 to CO4
10 problem
Create a C# script that plays a video when an image is scanned using AR App CO3
2. 3
(AR Core & Unity).
Develop & Deploy a simple marker-based AR app in which you have to write CO3,CO4
3. 4
a C# program to play video on tracking a particular marker.
Design and Develop the following using Vuforia Engine developer portal: CO3, CO4
I. Plane detection
II. Marker based Tracking (Create database of objects to be tracked
4. 5
in Vuforia)
III. Object Tracking
and deploy it on AR devices.
Demonstration of the working of HTC Vive, Oculus Quest 2, Microsoft CO2
5. 6
Hololens2.
Develop a scene in Unity that includes: CO4
6. 7
I. A cube, plane and sphere, apply transformations on the 3 game
objects.
II. Add a video and audio source.
Develop a scene in Unity that includes a cube, plane and sphere. Create a new CO4
material and texture separately for three Game objects. Change the color,
7. 8material and texture of each Game object separately in the scene. Write a C#
program in visual studio to change the color and Material/texture of the game
objects dynamically on button click.
Develop and deploy a VR app, Add interactive elements to the environment, CO4
8. 9such as objects that can be picked up, manipulated, or triggered by the user's
actions.
A. Create a multiplayer VR game (battlefield game). The game should CO1 to CO4
keep track of score, no. of chances/lives, levels (created using
different scenes), involve interaction, animation and immersive
environment.
OR
9. 1 B. Create a treasure hunt AR application which should have the
0 following features:
A help button for instruction box to appear
A series of markers which would give hints on being scanned
Involve interaction, sound, and good UI
OR
C. Evaluate an existing VR application or a VR game.
Guidelines for Laboratory Conduction
Use of coding standards and Hungarian notation, proper indentation and comments.
Use of open source software is to be encouraged.
Practice using AR & VR tools such Unity, Vuforia, Blender, Unreal.
Operating System recommended: - Linux or its derivative , Windows 10 and above
Programming tools recommended: - Open Source line gcc/g++/C#
Guidelines for Student's Lab Journal
The laboratory assignments are to be submitted by students in the form of a journal. Journal consists of
Certificate, table of contents, and handwritten write-up of each assignment (Title, problem statement, theory
concepts in brief, algorithm, flowchart, test cases and conclusions). Program codes with sample outputs
shall be submitted in soft form
Guidelines for Term-work Assessment
Continuous assessment of laboratory work shall be based on overall performance of a student. Assessment
of each laboratory assignment shall be based on rubrics that include R1- timely completion (10), R2-
understanding of assignment (10) and R3- presentation/clarity of journal writing (10) (Coding standard,
Indentation, Hungarian notation, input validation etc)
Design and develop a code for binary search algorithm C++/Java. Determine the
1 basis paths and using them derive different test cases, execute these test cases and
discuss the test results.
Design, and develop a code for quick sort algorithm using C++/Java. Determine the
2 basis paths and using them derive different test cases, execute these test cases and
discuss the test results.
Design and develop a code using C++/Java to implement an absolute letter grading
3 procedure, making suitable assumptions. Determine the basis paths and using them
derive different test cases, execute these test cases and discuss the test results.
Design and develop a code using C++/Java to implement the Next Date function.
4 Analyze it from the perspective of boundary value testing, derive different test cases,
execute these test cases and discuss the test results.
Leave Management System with following modules:
a. Login – Two types of User: Admin and User
b. Admin Functionalities:
i. Manage Leave Types
ii. Manage User Leaves
iii. Manage Users
iv. Manage Different Shifts
v. Manage Reporting Groups and Team Structure
5
c. Time and Attendance
i. User can view his/her attendance detail
ii. Admin can view user's attendance log
iii. Admin can generate various reports like LateIn, EarlyOut, etc.
d. Leaves
i. User can apply leave and Admin can reject/approve
ii. User can view his leave request log, can modify and cancel as well
** Many other functionalities can be added to make it more complex
In Airline reservation system, the following features need to be tested
namely,
a. Login
b. Search and book flights
c. Search and book packages
d. Register Feature not in scope,
6 e. Search and book hotels
– Pre-requities: Database & Payment gateway's sandbox environment access should
be available.
– Prepare the Test Plan for the above with all the possible criteria need to be
considered.
– Prepare the Test Cases for the features in scope to be tested.(At least one for each
above mentioned feature)
– Prepare the Defect Report.
Healthcare Web application with following modules:
a. Patient Registration
7 b. Scheduling
c. Treatment
d. Billing
Follow the instructions for assignment Number 5, 6, and 7
Part 1: Test Planning
a) Prepare Quality Plan for any Application like online shopping etc.
b) Prepare Test Plan for any Application like Railway Reservation System etc.
Part 2: Test Case Design
Part 3: Software Testing (Manual)
a) Create Test cases : Unit testing, Integration testing , System testing and
Acceptance testing for Application
b) Perform manual testing using test case created and prepare test Metrics
Suggested Template for Test case creation.
Sr. No. # Test condition / Input Expected Actual Pass/Fail
Steps Result Result
Prerequisite Courses: -
Companion Course: -
Course Objectives:
● To understand concepts of Management Information System and Business intelligence for MIS.
● To recognize the need of an information system in today’s global business with tools and technologies.
● To identify IT infrastructure components and to study security in the Information System.
● To understand the importance of project management and the international information system.
● To understand the concepts of decision support systems for business applications.
Prerequisite Courses: --
Companion Course: --
Course Objectives:
● To develop critical thinking and problem solving ability by exploring and finding solutions to social
problem.
● To evaluate alternative approaches and justify the use of selected methods.
● To provide every student the opportunity to get involved either individually or as a group
so as to develop team skills.
Course Outcomes: On completion of the course, students will be able to–
Course Outcomes Bloom’s Level
CO1 Identify the real life problem from societal need point of view 3-Apply
CO2 Compare alternative approaches to select the most feasible method 4-Analyze
CO3 Develop the reliable and scalable solution to meet challenges 3-Apply
CO4 Develop communication skill through demonstration of their ideas 3-Apply
Reference Books
1. EMC Education Services, “Data Science and Big Data Analytics- Discovering, analyzing
Visualizing and Presenting Data”
2. 2. DT Editorial Services, “Big Data, Black Book”, DT Editorial Services, ISBN:
9789351197577, 2016 Edition
3. Chirag Shah, “A Hands-On Introduction To Data Science”, Cambridge University Press,
(2020), ISBN : ISBN 978-1-108-47244-9
4. Wes McKinney, “Python for Data Analysis ”, O' Reilly media, ISBN: 978-1-449-31979-3
Perform the following operations using Python on any open source CO1
dataset
1. Import all the required Python Libraries.
2. Locate open source data from the web (e.g. https://www.kaggle.com).
Provide a clear description of the data and its source (i.e., URL of the
web site).
3. Load the Dataset into the pandas data frame.
2 4. Display the initial statistics.
5. Scan all variables for missing values and inconsistencies. If there are
missing values and/or inconsistencies, use any of the suitable techniques
to deal with them.
6. Scan all numeric variables for outliers. If there are outliers, use any of
the suitable techniques to deal with them.
7. Apply data transformations on at least one of the variables.
8. Turn categorical variables into quantitative variables in Python.
3 Implement PCA Feature extraction technique on any data set CO1
4 Create a Linear Regression Model using Python/R to predict home CO4
prices using Boston Housing Dataset (https://www.kaggle.com/c/boston-
housing).
Implement logistic regression using Python/R to perform classification CO4
5
on Social_Network_Ads.csv dataset. Evaluate the model
Classify the email using the binary classification method. Email Spam CO2
detection has two states: a)Normal State – Not Spam, b) Abnormal State
– Spam. Use Support Vector Machine classification algorithm for
6 classification. Analyze its performance.
Dataset: The emails.csv dataset on the Kaggle
https://www.kaggle.com/datasets/balaka18/email-pam-classification-
dataset-csv
Implement KNN classification algorithm using Python/R on iris.csv CO2
7 dataset. Compute Confusion matrix to find TP, FP, TN, FN, Accuracy,
Error rate, Precision, Recall on the given dataset.
Implement K-Means clustering on a dataset. Determine the number of CO3
clusters using the elbow method.
8 Dataset: https://www.kaggle.com/datasets/kyanyoga/sample-sales-data or
any dataset of your choice
Develop a mini project for any data science application using any
10 machine learning model.use Python/R for implementation. CO1-CO4
Reference Books
1. Rajkumar Buyya, Christian Vecchiola, S. Thamarai Selvi, “Mastering Cloud Computing”,
2. Dr. Kris Jamsa, “Cloud Computing: SaaS, PaaS, IaaS, Virtualization and more”, Wiley
Publications, ISBN: 978-0-470-97389-9
3. Tim Mather, Subra K, Shahid L.,”Cloud Security and Privacy”, Oreilly, ISBN-13 978-81-
8404-815-5
4. Dr. Kumar Saurabh, “Cloud Computing, 4ed: Architecting Next-Gen Transformation
Paradigms”, Wiley publication, ISBN: 9788126570966
5. Rishabh Sharma, “Cloud Computing: Fundamentals, Industry Approach and Trends”, Wiley
publication
Basic Communication Operations: One-to-All Broadcast, All-to-One Reduction, All-to-All Broadcast and
Reduction, All-Reduce and Prefix-Sum Operations, Scatter, Gather, All-to-All Personalized
Communication, Circular Shift,
Unit IV Analytical Modeling of Parallel Programs (08hrs) CO4
Analytical Models: Sources of overhead in Parallel Programs, Performance Metrics for Parallel Systems,
The effect of Granularity on Performance
Matrix Computation: Matrix-Vector Multiplication, Matrix-Matrix Multiplication.
Parallel Search Algorithms: Depth First Search(DFS), Breadth First Search( BFS),
Parallel Sorting: Bubble sort and Merge sort
Text Books
1. AnanthGrama, Anshul Gupta, George Karypis, and Vipin Kumar, "Introduction to Parallel
Computing", 2nd edition, Addison-Wesley, 2003, ISBN: 0-201-64865-2
2. Seyed H. Roosta, “Parallel Processing and Parallel Algorithms Theory and Computation‖”, Springer-
Verlag2000 ,ISBN 978-1-4612-7048-5 ISBN 978-1-4612-1220-1
3. John Cheng, Max Grossman, and Ty McKercher, “ Professional CUDA C Programming”, John Wiley
& Sons, Inc., ISBN: 978-1-118-73932-7
Reference Books
Prerequisite Course: -
Companion Courses: - Program Elective Course II, Program Elective Course III
Course Objectives:
● To study the fundamentals in selected elective subject.
● To design and develop a system / application
● To study modern tools, technologies, and techniques.
Course Outcomes
On completion of the course, students will be able to-
Marks
Sr. No. Components for Continuous Comprehensive Evaluation
Allotted
Quiz on Unit-1, Unit 2 and Unit -3 each of 10 marks.
1 30
(Total marks will be converted to 30 marks)
Assignment on Unit-4 and Unit-5 each of 10 marks.
2 20
(Total marks will be converted to 20 marks)
Total 50
K. K. Wagh Institute of Engineering Education and Research, Nashik
(Autonomous from Academic Year 2022-23)
COURSE CONTENTS
Unit I Introduction to Mobile Application (03hrs) CO1
Development
Mobile application development architectures: Introduction to Mobile Application technologies,
Android Architecture, IOS Architecture, Windows Architecture, Hybrid Architecture.
Introduction to Android: Android SDK, Eclipse Installation, Android Installation, Building you First
Android application, Android Manifest file.
Creating Android project, Project Structure, Activity and Activity Life Cycle,
Fragment and Fragment Life Cycle, Views and View groups
Location Based Services, Getting the Maps API key, Displaying the map, Displaying the zoom control,
Navigating to a specific location, Getting Location data, Monitoring location, Android Security Model
Text Books
Guidelines
• Each student will select a topic in the area of Computer Engineering and Technology
preferably keeping track with recent technological trends and development beyond scope of
syllabus avoiding repetition in consecutive years.
• The topic must be selected in consultation with the Institute guide.
• Each student will complete literature review for approved topic.
• Each student will make a seminar presentation using audio/visual aids for a duration of 20-25
minutes and submit the seminar report prepared in Latex only.
• Active participation at classmate seminars is essential.
• Seminar Logbook is recommended to use.
• To enhance technical writing skills guide can ask student to write a review paper and publish
in reputed journal/conference.
Recommended Format of the Seminar Report
• Title Page with Title of the topic, Name of the candidate with Exam Seat Number / Roll
Number, Name of the Guide, Name of the Department, Institution and Year and University
• Seminar Approval Sheet/Certificate
• Abstract and Keywords
• Acknowledgements
• Table of Contents, List of Figures, List of Tables and Nomenclature
• Chapters Covering topic of discussion- Introduction with section including organization of the
report, Literature Survey/Details of design/technology/Analytical and/or experimental work, if
any/ .....,Discussions and Conclusions ,Bibliography/References
• Plagiarism Check report
• Report Documentation page
Recommended Format of the Seminar Presentation(PPT)
Objectives
Introduction
Literature Review
Details of Design/Methodologies/Technologies/Analytical or experimental work
Algorithms(if any)
Summary
References
Guidelines for Termwork Assessment
Panel of staff members along with a guide would be assessing the seminar work based on these
Parameters-Topic, Contents and Presentation, regularity, Punctuality and Timely Completion,
Question and Answers, Report, Paper presentation/Publication, Attendance and Active Participation.
Sample evaluation sheet format given below:
Table 1 : Seminar Evaluation Sheet
Roll. Name of Contents Punctuality and Timely Seminar Question Total
No. Student and Completion Report and
Quality of (following of deadline) Answers
Presentation
(Table 2 )
25 05 15 05 50
Prerequisite Courses: -
Companion Course:- COM223021 Network Protocols and Algorithms
Course Objectives:
● To learn computer network hardware and software components
● To learn computer network topologies and types of network
● To develop an understanding of various protocols, modern technologies and applications
● To learn modern tools for network traffic analysis
● To learn network programming
Illustrate the steps for implementation of S/MIME email security, POP3 CO4
2 through Microsoft Office Outlook.
Normalization CO1
Wholesale Dealer Consider the following relation that keeps track of the
5
sales of a wholesale dealer in trousers:
TrousersSold(customerID, customerName, model, size, day,
numberSold, price)
Suppose the following functional dependencies hold on the relation:
customerID -> customerName
customerID, model, size, day -> numberSold model,
size -> price model,
price -> size
a. Decompose the relation in smaller relations such that – each of the
smaller relations is in BNCF with respect to the projection of the original
dependencies; – the decomposition is a loss less join decomposition.
b. Is your decomposition dependency preserving? If your answer is
“yes”, argue why. If your answer is “no”, show which dependencies have
been lost.
PL/SQL block CO1, CO2
Create a database with following schemas
Employee(Id, Name, mobile, address, salary) &
Sales(Id, Month, Amount)
Write a PL/SQL block to accept employee id and calculate the bonus
6
according to sale amount
if sale amount < 50000 then no bonus
if sale amount between 50000 to 150000 then bonus is 5%
If sale amount >150000 bonus is 10%
Display the final salary of the employee (salary + bonus)
Cursors CO1, CO2
Write a block in PL/SQL to modify the accounts table according to
instructions stored in the action table. Each row in the action table contains
7
an account number, an action to be taken (I, U, or D for insert, update, or
delete), an amount by which to update the account, and a time tag used to
sequence the transactions. Use explicit cursor
Database Trigger CO1, CO2
Create a Library database with the schema
Books(AccNo, Title, Author, Publisher, Count).
a. Create a table Library_Audit with same fields as of Books and Date and
status column
8 b. Create a before trigger to insert records into Librry_Audit table
if there is deletion in Books table, insert date of deletion and status as
deleted
Create a after trigger to insert records into Librry_Audit table if there is
updation in Books table , insert date of updation and status as updated