R22 B.tech (CSE) Course Structure and Contents

Download as pdf or txt
Download as pdf or txt
You are on page 1of 186

Page Number

Page
xxix Numbers
xxxi 03
04
xxxi
04
xxxi
05
xxxii
06

22MT103 Linear Algebra and Ordinary Differential Equations 13


22PY105 Semiconductor Physics
21HS105 and Electromagnetics
Engineering Mathematics - I (E) 3 15
22EE101 Basics
21HS113 of Electrical and Electronics Engineering
Engineering Physics (A) 5 17
22CS103 IT Workshop and Tools 19
21EE101 Basic Electrical and Electronics Engineering 8
22TP103 Programming in C 22
22EN102 21ME104 Engineering
English Proficiency and Graphics
Communication Laboratory
Skills 10 32
22TP101 21CS151
Constitution of India Introduction to C Programming 14 34
22SA101 Physical Fitness, Sports and Games – I

21HS111 Engineering Mathematics - II (E) 18


22MT106 Algebra 36
22MT107 21HS118
Discrete MathematicalEngineering
Structures Chemistry (C) 20 38
22ME101 Engineering Graphics Programming for Problem Solving
21CS152 22 40
22TP104 Basic Coding Competency
21HS122 English Proficiency and Communication Skills 27 42
22EN104 Technical English Communication 51
21HS123 Technical English Communication 29
22CS104 Python Programming 54
21HS124 Constitution of India 32
22SA102 Orientation Session
22SA103 21EE102 Basic
Physical Fitness, Sports andEngineering
Games – IIProducts 34
21ME103 Workshop 37
22ST202 Probability and Statistics 61
22TP201 Data Structures 63
22MS201 21CS251
Management ScienceData Structures 41 68
22CS201 21EE201 Electrical
Database Management SystemsCircuit Analysis 45 70
22CS202 21EE202
Digital Logic Design Digital Electronic Circuits 47 73
22CS203 Object-Oriented Programming
21EE203 through JAVA
Analog Electronics 49 75
22CT201 Environmental
21EE204 StudiesElectrical Measurements Laboratory 51 79
22SA201 Life Skills – I
21PC005 Intra-Disciplinary Projects - I 53
NCC/ NSS/ SAC/ E-cell/ Student Mentoring/ Social activities/ Publication

22TP203 21EE205 Electrical Machines - I


Advanced Coding Competency 55 81
22TP204 21EE206 Power Transmission and Distribution
Professional Communication 57 84
22CS205 Computer Organization
21EE207 and Architecture
Probability Theory and Statistics for Machine Learning 59 86
22CS206 Design
21HS204 and Analysis of Algorithms
Environmental Studies 61 89
22CS207 Operating Systems Management Science
21MS302 63 92
22CS208 Theory of Computation 95
21PC009 Intra-Disciplinary Projects - II 65
22SA202 Life Skills - II
22TP301 Soft Skills Laboratory 101
22CS301 Introduction to Artificial Intelligence 103
22CS302 Compiler Design 106
22CS303 Web Technologies 109
22CS304 Inter-Disciplinary Project - Phase I
22CS305 Industry Interface Course
Department Elective - 1
NCC/ NSS/ SAC/ E-cell/ Student Mentoring/ Social activities/ Publication

22TP302 Quantitative Aptitude and Logical Reasoning 112


22CS204 Computer Networks 114
22CS306 Data Mining Techniques 116
22CS307 Software Engineering 118
22CS308 Inter-Disciplinary Project - Phase II
Department Elective - 2

22CS401 Cryptography and Network Security 123


22CS402 Big Data Analytics 125
22CS403 Cloud Computing 127
Department Elective - 3
Department Elective - 4

22CS404 Internship / Project Work

22CS801 Advanced Data Structures 131


22CS802 Advanced JAVA Programming 135
22CS803 Computer Graphics 137
22CS804 Deep Learning 141
22CS805 Digital Image Processing 144
22CS806 Machine Learning 146
22CS807 Mobile Ad-hoc Networks 150
22CS808 Mobile Application Development 152
22CS809 Text Mining 157
22CS810 Numerical Algorithms 159
22CS811 Operating System Design 161
22CS812 Optimization Techniques 165
22CS813 Simulation and Modeling 169

22CS951 Advanced Graph Algorithms 175


22CS952 Biometrics 177
22CS953 Parallel and Distributed Computing 179
22CS954 Internet of Things 182
22CS955 Wireless Sensor Networks 184
22CS956 Capstone Project
FOREWORD
The vital aspect of Computer Science & Engineering program is problem solving through programming.
It is an essential skill required to carry out profession of Software Engineer. CSE graduates practice the
activities (analysis, design, development, testing and maintenance) of software development life cycle to
solve complex and challenging real world problems.

R22 Curriculum enables our students to start with the basic science, basic engineering and introductory
programming courses. Further, they learn the mathematical foundations of computing; get hands-on
experience in building software solutions using various technologies for various real-world problems and
pursue advanced courses such as Artificial Intelligence, Machine Learning, Cloud Computing, Big Data &
Analytics, Internet of Things and much more.

Salient Features of R 22 Curriculum:


  Multidisciplinary holistic education with continuous learning and continuous assessment.
  Lateral entry and lateral exit options.
  Credit Earning by credit transfer.
  Honors/ Research Honors/ Minor/ Add-on Diploma/ Add-on Certification and Dual B.Tech.+
M.Tech./ MBA Degree of 5 Years.
  Semester drop option to pursue innovation, incubation, entrepreneurial and advanced exploratory
activities and subsequent re-entry.

Emphasis on continuous formative assessment with a creative summative assessment will facilitate the student
to “Move away from high stake examinations – towards more continuous and comprehensive evaluation”.

The Board of Studies of B.Tech. CSE Programme consists of a right mix of eminent personalities from
Academic, Research and Industry Organizations, besides experienced faculty members of the University.

External BoS Members:


1. Prof. C. R. Rao, Professor SCIS, University of Hyderabad.
2. Prof. R. B. V. Subramanyam, Professor, Department of CSE, NIT Warangal.
3. Dr. B. Venkata Ramana, Assoc. Professor & HoD, Department of CSE, IIT Tirupathi.
4. Dr. Nagesh Bhattu Sristy, Asst. Professor, Department of CSE, NIT AP.

I thank all the BOS members, Academic Council Members and University authorities for their continuous
support and encouragement towards design of this innovative curriculum for CSE.

Dr. K.V. Krishna Kishore


Head, Department of CSE
VFSTR Deemed to be University
VISION
To evolve into a Centre of Excellence in Science & Technology through creative and
innovative practices in teaching – learning, towards promoting academic achievement
and research excellence to produce internationally accepted, competitive and world class
professionals who are psychologically strong & emotionally balanced, imbued with social
consciousness & ethical values.

MISSION
To provide high quality academic programmes, training activities, research facilities and
opportunities supported by continuous industry - institute interaction aimed at promoting
employability, entrepreneurship, leadership and research aptitude among students and
contribute to the economic and technological development of the region, state and nation.

Department of
COMPUTER SCIENCE &
ENGINEERING

VISION of the department


To evolve as a centre of high repute in Computer Science & Engineering and create
computer software professionals trained on problem solving skills imbued with ethics to
serve the ever evolving and emerging requirements of IT Industry and society at large.
MISSION of the department
M1: Imparting quality education through well designed curriculum, innovative teaching
and learning methodologies integrated with professional skill development activities
to meet the challenges in the career.
M2: Nurture research and consultancy activities amongst students and faculty by providing
State-of-art facilities and Industry-Institute Interaction.
M3: Developing capacity to learn new technologies and apply to solve social and industrial
problems to become an entrepreneur.
B.Tech in Computer Science and Engineering
Program Educational Objectives (PEOs)
Program Educational Objectives (PEOs) are established through a consultation process. PEOs are broad statements that describe
the career and professional accomplishments that the graduates should achieve within three to five years after their graduation.
Graduates of the UG-CSE program will be able to
PEO1: Graduates acquire extensive technical knowledge and related skills required to demonstrate themselves as professionals
or pursue higher education.
PEO2: Graduates adapt to upskilling and excel in their careers despite future technological changes, and demonstrate research
aptitude to generate innovative engineering solutions.
PEO3: Graduates acquire the potential to contribute for the field of computing as well as for the societal development by demonstrating
professional, social and ethical practices.

Program Specific Outcomes (PSOs)


The students will be able to
PSO1: Application Development Skills: Design and development of web applications using various technologies such as
HTML, JSP, PHP, ASP and ASP.NET to cater the needs of the society.
PSO2: Enrich Research Skills: Offer solutions which impact geo-socio-economic and environmental scenarios by using
Machine Learning, Artificial Intelligence and IoT.

Program Outcomes (POs)


Program Outcomes (POs), are attributes acquired by the student at the time of graduation. The POs given in below, ensure that
the POs are aligned to the Graduate Attributes (GAs) specified by National Board of Accreditation (NBA). These attributes are
measured at the time of Graduation.
PO1: Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering
specialization to the solution of complex engineering problems.
PO2: Problem analysis: Identify, formulate, review research literature, and analyze complex engineering problems reaching
substantiated conclusions using first principles of mathematics, natural sciences, and engineering sciences.
PO3: Design/development of solutions: Design solutions for complex engineering problems and design system components
or processes that meet the specified needs with appropriate consideration for the public health and safety, and the
cultural, societal, and environmental considerations.
PO4: Conduct investigations of complex problems: Use research-based knowledge and research methods including
design of experiments, analysis and interpretation of data, and synthesis of the information to provide valid conclusions.
PO5: Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern engineering and IT
tools including prediction and modelling to complex engineering activities with an understanding of the limitations.
PO6: The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal, health, safety,
legal and cultural issues and the consequent responsibilities relevant to the professional engineering practice.
PO7: Environment and sustainability: Understand the impact of the professional engineering solutions in societal and
environmental contexts, and demonstrate the knowledge of, and need for sustainable development.
PO8: Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering
practice.
PO9: Individual and team-work: Function effectively as an individual, and as a member or leader in diverse teams, and in
multidisciplinary settings.
PO10: Communication: Communicate effectively on complex engineering activities with the engineering community and
with society at large, such as, being able to comprehend and write effective reports and design documentation, make
effective presentations, and give and receive clear instructions.
PO11: Project management and finance: Demonstrate knowledge and understanding of the engineering and management
principles and apply these to one’s own work, as a member and leader in a team, to manage projects and in
multidisciplinary environments.
PO12: Life-long learning: Recognize the need for, and have the preparation and ability to engage in independent and life-
long learning in the broadest context of technological change.
Course Structure

4 YEAR
DEGREE
PROGRAMME
22MT103 Linear Algebra and Ordinary Differential Equations 3 2 0 4

22PY105 Semiconductor Physics and Electromagnetics 2 0 2 3

22EE101 Basics of Electrical and Electronics Engineering 2 0 2 3

22CS103 IT Workshop and Tools 0 2 4 3

22TP103 Programming in C 2 0 4 4

22EN102 English Proficiency and Communication Skills 0 0 2 1

22TP101 Constitution of India 0 2 0 1

22SA101 Physical Fitness, Sports and Games-I 0 0 3 1

22MT106 Algebra 3 2 0 4

22MT107 Discrete Mathematical Structures 2 2 0 3

22ME101 Engineering Graphics 2 0 2 3

22TP104 Basic Coding Competency 0 1 3 2

22EN104 Technical English Communication 2 0 2 3

22CS104 Python Programming 2 0 2 3

22SA102 Orientation Session 0 0 6 3

22SA103 Physical Fitness, Sports and Games – II 0 0 3 1

VFSTR 6
Course Structure

4 YEAR
DEGREE
PROGRAMME

22ST202 Probability and Statistics 3 0 2 4

22TP201 Data Structures 2 2 2 4

22MS201 Management Science 2 2 0 3

22CS201 Database Management Systems 2 2 2 4

22CS202 Digital Logic Design 2 0 2 3

22CS203 Object-Oriented Programming through JAVA 2 0 4 4

22CT201 Environmental Studies 1 1 0 1

22SA201 Life Skills-I 0 0 2 1


NCC/ NSS/ SAC/ E-cell/ Student Mentoring/ Social activities/
Publication.
0 0 0 1

22TP203 Advanced Coding Competency 0 0 2 1

22TP204 Professional Communication 0 0 2 1

22CS205 Computer Organization and Architecture 2 2 0 3

22CS206 Design and Analysis of Algorithms 2 2 2 4

22CS207 Operating Systems 2 0 2 3

22CS208 Theory of Computation 3 2 0 4

22SA202 Life Skills - II 0 0 2 1

Open Elective – 1 3 0 0 3

Minor / Honours - 1 3 0 2 4

VFSTR 7
Course Structure

4 YEAR
DEGREE
PROGRAMME

22TP301 Soft Skills Laboratory 0 0 2 1

22CS301 Introduction to Artificial Intelligence 2 2 0 3

22CS302 Compiler Design 3 2 0 4

22CS303 Web Technologies 2 0 4 4

22CS304 Inter-Disciplinary Project – Phase I 0 0 2 0

22CS305 Industry Interface Course 1 0 0 1

Department Elective – 1 3 0 2 4

Open Elective – 2 3 0 0 3
NCC/ NSS/ SAC/ E-cell/ Student Mentoring/ Social activities/
Publication. 0 0 0 1

Minor / Honours - 2 3 0 2 4

22TP302 Quantitative Aptitude and Logical Reasoning 1 2 0 2

22CS204 Computer Networks 3 0 2 4

22CS306 Data Mining Techniques 2 0 2 3

22CS307 Software Engineering 2 0 2 3

22CS308 Inter-Disciplinary Project – Phase II 0 0 2 2

Department Elective – 2 3 0 2 4

Open Elective – 3 3 0 0 3

Minor / Honours - 3 3 0 2 4

VFSTR 8
Course Structure

4 YEAR
DEGREE
PROGRAMME

22CS401 Cryptography and Network Security 3 0 2 4

22CS402 Big Data Analytics 3 0 2 4

22CS403 Cloud Computing 3 0 2 4

Department Elective – 3 3 0 2 4

Department Elective – 4 3 0 2 4

Minor / Honours – 4 3 0 2 4

22CS404 Internship / Project Work 0 2 22 12

Minor / Honors – 5 0 2 6

VFSTR 9
Course Structure

4 YEAR
DEGREE
PROGRAMME

22CS801 Advanced Data Structures 2 2 2 4

22CS802 Advanced JAVA Programming 2 2 2 4

22CS803 Computer Graphics 2 2 2 4


22CS804 Deep Learning 3 0 2 4
22CS805 Digital Image Processing 2 2 2 4
22CS806 Machine Learning 3 0 2 4
22CS807 Mobile Ad-hoc Networks 3 0 2 4
22CS808 Mobile Application Development 2 0 4 4
22CS809 Text Mining 3 0 2 4
22CS810 Numerical Algorithms 3 2 0 4
22CS811 Operating System Design 3 0 2 4
22CS812 Optimization Techniques 3 2 0 4
22CS813 Simulation and Modeling 3 0 2 4

22CS951 Advanced Graph Algorithms 3 0 2 4


22CS952 Biometrics 3 0 2 4

22CS953 Parallel and Distributed Computing 3 2 0 4

22CS954 Internet of Things 3 0 2 4

22CS955 Wireless Sensor Networks 3 0 2 4


22CS956 Capstone Project 0 2 6 4

VFSTR 10
I
Y E A R
COMPUTER SCIENCE
AND ENGINEERING

B.Tech.
I SEMESTER
 22MT103 - Linear Algebra and Ordinary Differential Equations
 22PY105 - Semiconductor Physics and Electromagnetics
 22EE101 - Basics of Electrical and Electronics Engineering
 22CS103 - IT Workshop and Tools
 22TP103 - Programming in C
 22EN102 - English Proficiency and Communication Skills
 22TP101 - Constitution of India
 22SA101 - Physical Fitness, Sports and Games-I

II SEMESTER
 22MT106 - Algebra
 22MT107 - Discrete Mathematical Structures
 22ME101 - Engineering Graphics
 22TP104 - Basic Coding Competency
 22EN104 - Technical English Communication
 22CS104 - Python Programming
 22SA102 - Orientation Session
 22SA103 - Physical Fitness, Sports and Games-II

COURSE CONTENTS
I SEM & II SEM
CSE - I Year I Semester

22MT103 LINEAR ALGEBRA AND


ORDINARY DIFFERENTIAL
EQUATIONS
Hours Per Week :

L T P C
3 2 0 4
Source: https://
PREREQUISITE KNOWLEDGE: Basics of matrices, Differentiation and Integration. www.amazon.com/
Differential-Equations/dp/
B01H30X2JA
COURSE DESCRIPTION AND OBJECTIVES:
The goal of this course is to build a grasp of the principles of mathematics through matrices, differential
equations and applications that serves as an essential tool in several engineering applications.

MODULE-1
UNIT-1 12L+8T+0P=20 Hours

MATRICES
Definition of matrix; Types of matrices; Algebra of matrices, adjoint of a matrix, inverse of a matrix
through adjoint and elementary row operations, Rank of a matrix, Echelon form, Normal form. Eigen
values and Eigen vectors (up to 3 x 3 matrices only) and properties (without proofs).

UNIT-2 12L+8T+0P=20 Hours

APPLICATIONS OF MATRICES
Consistency of system of linear equations, Solution of system of linear equations having unique solution
and involving not more than three variables by Gauss elimination method and Gauss Jordan method.
Cayley-Hamilton theorem (without proof), Power of a matrix, Inverse of a matrix. Strength of materials
and strength of beams using Eigen value and Eigen vectors.

PRACTICES:
●● Compute inverse of a matrix if exists.
●● Explain with suitable examples how rank of matrix is independent of the elementary operations.
●● Explain with suitable examples how rank of matrix is unique.
●● Discuss with suitable examples when eigen values and eigen vectors are possible for a matrix.
●● Discuss the possibility of solution of a system of equations.
●● Discuss when inverse and power of a matrix exist using Cayley-Hamilton theorem.

MODULE-2
UNIT-1 12L+8T+0P=20 Hours

ORDINARY DIFFERENTIAL EQUATIONS (ODE)


First Order Differential Equations: Introduction to ODE, variable separable method, homogenous and
non-homogenous differential equations, linear differential equations, Bernoulli’s equations.
Second Order Differential Equations: Linear differential equations with constant coefficients with RHS
of the form eax, xn, sin(ax) or cos(ax).

VFSTR 13
CSE - I Year I Semester

SKILLS: UNIT-2 12L+8T+0P=20 Hours


99 Find rank of a
matrix using dif- APPLICATIONS OF ODE
ferent methods.
Applications of ODE: Newton’s law of cooling, Law of natural growth and decay, LR Circuit.
99 Compute the
eigen values and
PRACTICES:
eigen vectors of
a matrix. ●● Check the order and degree of an ODE.
99 Find analytical ●● Find solution for any four ordinary differential equations by applying suitable method.
solution of a ●● Find numerical solution for any four ordinary differential equations by applying suitable method.
differential
equation using ●● Discuss some applications of ODE.
appropriate
method. COURSE OUTCOMES:
99 Demonstrate Upon successful completion of this course, students will have the ability to:
any one numer-
ical method to CO Blooms Module Mapping
solve differential Course Outcomes
No. Level No. with POs
equation
Apply the concepts of rank, eigen values and
1 eigenvectors of a matrix and finding inverse of a Apply 1 1, 2, 9, 10, 12
matrix and powers of a matrix.
2 Apply differential equations in real life problems. Apply 2 1, 2, 9, 10, 12
Analyse the solution of a system of linear equa-
3 Analyze 1 1, 2, 9, 10, 12
tions and find it.
Inspect the analytical method for solving differ-
4 Analyze 2 1, 2, 9, 10, 12
ential equations and applications.

TEXT BOOKS:
1. N. P. Bali, K. L. Sai Prasad, “A Textbook of Engineering Mathematics I, II, III”, 2nd edition
Universal Science Press, New Delhi, 2018.
2. B. S. Grewal,”Higher Engineering Mathematics”, 44th edition, Khanna Publishers, 2018.

REFERENCE BOOKS:
1. Erwin Kreyszig, “Advanced Engineering Mathematics”, 10th Edition, John Wiley & Sons, Inc,
2015.
2. H. K. Dass and Er. RajanishVerma, “Higher Engineering Mathematics”, 3rd revised edition, S.
Chand & Co., 2015.
3. B. V. Ramana, “Advanced Engineering Mathematics”, TMH Publishers, 2020.
4. T. K.V. Iyengar et al, “Engineering Mathematics, I, II, III”, S. Chand & Co., New Delhi.

VFSTR 14
CSE - I Year I Semester

22PY105 SEMICONDUCTOR PHYSICS AND


ELECTROMAGNETICS
Hours Per Week :

L T P C
2 0 2 3

PREREQUISITE KNOWLEDGE: Basics of vectors and semiconductors.


Source: https://www.
scitusacademics.com/
COURSE DESCRIPTION AND OBJECTIVES: product/semiconductor-
devices-and-circuits/
This course ensures commensurable understanding of electrostatics and magnetostatics. It enunciates
the electron dynamics in solids through the conceptual grasp of principles of quantum mechanics. This
embark perspective outlook on optoelectronic devices and optical fibres in the backdrop of semiconductor
physics.
MODULE-1
UNIT-1 10L+0T+10P=20 Hours

ELECTROSTASTICS AND MAGNETOSTASTICS


Electrostatics: Introduction to Vector analysis, Computation of electric field and potential due to Point
charge, linear charge density, surface charge density, bulk charge density, Coulomb’s law, Electric field
due to line of charges, Gauss law, Differential Form of Gauss law, Applications, Electric field due to a
charged sphere – inside, on the surface, and outside, Electric field due to a spherical shell- inside and
outside.
Magnetostatics: Introduction to magnetic force – Lorentz force, Biot-Savart’s law, Magnetic field due
to a linear conductor – magnetic field due to a circular loop – Ampere’s law, Faraday’s law in integral
form; Lenz’s law, Maxwell’s equations – correction to Ampere’s law.

UNIT-2 6L+0T+6P=12 Hours

QUANTUM MECAHNICS AND FREE ELECTRON THEROY


Quantum mechanics: Introduction to Quantum mechanics; Concepts of wave and particle duality of
radiation; de Broglie’s concepts of matter waves, Schrödinger’s time-independent wave equation –
Eigen values and Eigen functions; Particle confined in a one-dimensional infinite Potential square well.
Free electron theory of solids: Classical and Quantum free electron theory of metals; Fermi- Dirac
distribution; Density of states – derivation -Bloch’s Theorem (Qualitative); Classification of solids based
on energy bands.

PRACTICES:
●● Photoelectric effect-Determination of plancks constant.
●● Stewart & Gee’s Experiment- Study of magnetic field along the axis of a current carrying coil.
●● Melde’s Experiment - determination of the frequency of tuning fork.
●● Sonometer- Determination of AC frequency.

MODULE-2
UNIT-1 8L+0T+8P=16 Hours

SEMICONDUCTOR PHYSICS AND OPTOELECTRONICS


Introduction, Classification of Semiconductors, Direct and indirect band gap semiconductors, Intrinsic
semiconductors; Variation of Intrinsic carrier concentration with temperature, Fermi level, and conductivity;
Extrinsic semiconductor, the effect of temperature on carrier concentration in extrinsic semiconductors,
Band diagrams of extrinsic semiconductors; Hall effect, Classification of optoelectronic devices; Photo
voltaic cell, LED.

VFSTR 15
CSE - I Year I Semester

SKILLS: UNIT-2 8L+0T+8P=16 Hours


99 Able to compute
the electric and LASERS AND OPTICAL FIBERS
magnetic field
and potentials in
Introduction to lasers, Population inversion & pumping processes, Semiconductor diode laser, Applications
different applica- of lasers. Optical fiber-Numerical Aperture, types of optical fibres, Fiber optic communication system.
tions
99 Apply the PRACTICES:
quantum laws to ●● Laser - Determination of wavelength.
understand the
electron dynam- ●● Optical fiber - Determination of Numerical aperture – Acceptance angle.
ics of solids ●● Determination of Energy Band gap of p-n junction diode.
99 Realizing the ●● Hall Effect - Determination of Hall coefficient.
importance of
●● Solar cell – Determination of Fill factor & efficiency.
optoelectronic
devices
COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
1 Apply Maxwell’s equations to unravel electron
dynamics in amidst of electric and magnetic Apply 1 1, 2, 4, 5, 9, 10
fields.
2 Discriminate solids based on principles of quan-
Analyse 1 1, 2, 3, 4, 9, 10
tum mechanics.
3 Assessment of semiconductors in the perspec-
Evaluate 2 1, 3, 4, 5, 6, 9, 10
tive of optoelectronic devices.
4 Comprehend the knowledge of Lasers and op-
tical fibers to conceive their applications in vivid Apply 2 1, 2, 3, 5, 9, 10
domains.

TEXT BOOKS:
1. S.O. Pillai, “Solid State Physics”, New age International publishers, 8th edition, 2018.
2. H.C. Varma, “Classical Electromagnetism”, Bharathi Bhavan Publication, 2022.

REFERENCE BOOKS:
1. D. Halliday, R. Resnick and J. Walker, “Fundamentals of Physics”, 6th edition, John Wiley and
Sons, New York, 2001.
2. M.N. Avadhanulu, “Engineering Physics”, S. Chand publications 2010.
3. Charles Kittel, “Introduction to Solid State Physics”, 7th edition, Wiley, Delhi, 2007.
4. Donald A. Neamen, “Semiconductor Physics and Devices: Basic Principle”, 4th edition, McGraw-
Hill, New York, 2012.
5. David J. Griffiths, “Introduction to Electrodynamics”, 3rd edition, Prentice Hall of India, New
Delhi, 2012.
6. N.W. Ashcroft and N.D. Mermin, “Solid State Physics”, International student edition, Brooks
Cole, 2008.

VFSTR 16
CSE - I Year I Semester

22EE101 BASICS OF ELECTRICAL AND


ELECTRONICS ENGINEERING
Hours Per Week :

L T P C
2 0 2 3
PREREQUISITE KNOWLEDGE: Electrostatics and Electromagnetism.
Source: https://vita.
vision.org.in/emerging-
COURSE DESCRIPTION AND OBJECTIVES:
technologies-in-electrical-
This course provides an insight into the functioning of basic electrical components like resistor, inductor engineering/
and capacitor. It deals with the constructional and operational details of AC machines. It also deals with
the basic electronic components like P-N junction diode, Zener diode, Transistor and their characteristics.

MODULE–1
UNIT-1 8L+0T+8P=16 Hours

FUNDAMENTALS OF ELECTRIC CIRCUITS


DC Circuits: Concept of network, Active and passive elements, Voltage and current sources, Concept
of linearity and linear network, Unilateral and bilateral elements, R, L and C as linear elements, Ohm’s
Law, Kirchhoff’s Laws, Application to simple series, Parallel circuits, Mesh and nodal analysis of resistive
circuits with DC source.
AC circuits: Generation of AC voltage, Frequency, Average value, R.M.S. value, Form factor, Peak
factor for sinusoidal only.

UNIT-2 8L+0T+8P=16 Hours

SEMICONDUCTOR DEVICES
Classification of semiconductors, P-N junction diode -operation and its characteristics, Half wave
rectifier - operation, efficiency; Full wave rectifiers -types, operation, efficiency; Zener diode and its
characteristics, Zener diode as Voltage regulator.
Bi polar junction transistor- operation, types (NPN & PNP)

PRACTICES:
●● Verification of Ohm’s law.
●● Verification of Kirchhoff’s current law.
●● Verification of Kirchhoff’s voltage law.
●● Determination of R.M.S. Values of sinusoidal waveform.
●● Verification of PN junction diode characteristics under both forward and reverse bias.
●● Verification of Zener diode characteristics under reverse bias.

MODULE–2
UNIT-1 8L+0T+8P=16 Hours

ANALYSIS OF AC CIRCUITS
Analysis of single- phase ac circuits consisting of R, L, C, RL, RC (series and parallel) (simple numerical
problems). Introduction to three phase system, Relation between phase and line quantities of voltages
and currents in star and delta connected systems (Elementary treatment only).

VFSTR 17
CSE - I Year I Semester

SKILLS: UNIT-2 8L+0T+8P=16 Hours


99 Distinguish
between linear AC MACHINES
and nonlinear
Electromagnetism: Concepts of Magneto motive force, Reluctance, Flux and flux density, Concept of
elements by
looking at VI self-inductance and mutual inductance, Coefficient of coupling .
characteristics.
Static AC Machine: Principle of operation of single phase transformer, Constructional features, EMF
99 Develop a equation (simple numerical problems).
simple loop
generator. Rotating AC Machine Principle of operation of three phase induction motor, Slip ring and squirrel cage
motors, Torque equation; Constructional details of synchronous machine.
99 Design a voltage
regulator using
Zener diode. PRACTICES:
99 Design a half ●● Transformation ratio of a single phase transformer at different loads.
wave rectifier us- ●● Measurement of Energy in single phase resistive load circuit.
ing PN junction
diode. ●● Measurement of Power in single phase resistive load circuit.
99 Design a full ●● Determination of impedance in complex AC circuits.
wave rectifier us- ●● Verification of line and phase quantities in a balanced three phase system.
ing PN junction
diodes. COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Analyze the resistive circuits with independent
1 Analyze 1,2 1,2,6,9
sources and find its solution.
Solve the AC (single and three phase) and DC
2 Apply 1,2 1,2,9,12
circuits using different methods.
Apply the concepts of electromagnetism for its
3 Apply 2 1,2,3,9,12
applications.
4 Examine the different electrical equipment. Evaluate 2 1,2,9,12
Acquire the knowledge of semiconductor devices
5 Create 1 1,2,3,9,12
to create circuits.

TEXT BOOKS:
1. V. K. Mehta, “Principles of Electrical Engineering and Electronics”, 1st edition, S.Chand& Co.,
Publications, New Delhi, 2019.
2. D.P. Kothari, “Basic Electrical and Electronics Engineering”, 2nd edition, TMH, New Delhi, 2017.

REFERENCE BOOKS:
1. Millman and Halkias, “Electronic Devices and Circuits”, Mc Graw Hill, 2006.
2. A.K. Thereja and B.L.Thereja, “Electrical Technology”, Vol.–II, S. Chand & Co., Publications,
2020.
3. U. Bakshi and A. Bakshi, “Basic Electrical Engineering”, 1st edition, Technical Publications,
Pune, Nov 2020.

VFSTR 18
CSE - I Year I Semester

22CS103 IT WORKSHOP AND TOOLS

Hours Per Week :

L T P C
0 2 4 3
PREREQUISITE KNOWLEDGE: Basics of Computer knowledge, Applications of Computers.
Source: https://
www.facebook.com/
COURSE DESCRIPTION AND OBJECTIVES:
TheITWorkshopWA
This course enables the students to learn various components of a computer system, assembly and
dis-assembly of various components, troubleshooting, installation of OS and other applications. Also
practicing of the usage of software tools such as word, excel, ppt and LaTex, text and image editors.

MODULE-1
UNIT-1 0L+16T+32P=48 Hours

PRACTICING EXERCISES ON HARDWARE DEVICES:


●● Demo of various physical components of a computer system.
●● Integration of various components of a computer system and dismantling.
●● Installation of OS in a computer system through various storage devices.
●● Installation of OS in a computer system through cloning.
●● Demonstration of booting process of a computer system
●● Detection of faulty components such as hard disk, RAM, SMPS, network interface in a computer
system.
●● Demonstration of program execution environment.
●● Demo of Windows/Linux file system.
●● Demo of location OS files in the file system (Windows/Linux).
●● Configuration of network interface in a computer system and troubleshooting of network
connectivity issues.
●● Demo of shell scripts for maintenance and administration of a computer system.
●● Usage of editor tools.
●● Installation of software tools such as C compiler / interpreter, Java IDE, Python IDLE, Pycharm
etc.
●● Installation of antivirus software, web browsers and application of servers such as Apache
server etc.

ACTIVITIES:
●● Assemble and dis-assemble of various components of a computer system.
●● Connect devices to various interfaces-(a) Serial Port, (b) Parallel Port, (c) USB Port, (d) Fire
wire, (e) RJ45 connector, (f) VGA connector, (g) Audio plugs (Line-In, Line-Out and microphone),
(h) PS/2 Port, and (h) SCSI Port.
●● Install Linux/windows OS in your computer.
●● Identification of different Computer hardware problems and troubleshooting of the same.
●● Editing of image, audio and video files using different editor tools.
●● Build Ethernet and Wi-Fi LANs.

VFSTR 19
CSE - I Year I Semester

SKILLS: MODULE-2
99 Integration
of various UNIT-1 0L+16T+32P=48 Hours
components
of a computer PRACTICING EXERCISES USING SOFTWARE TOOLS:
system.
●● Prepare your resume using MS-word.
99 Trouble shooting ●● Design a “Birthday Invitation” card.
of components
of a computer ●● Design a Timetable given to you at the beginning of the semester without grid lines.
system. ●● Using Draw Table feature, insert a 7-column, 6-row table to create a calendar for the current
99 Installation month.
of OS and its a. Enter the names of the days of the week in the first row of the table.
various tools/
applications. b. Centre the day names horizontally and vertically.
99 U
sage of IT tools c. Change the font and font size as desired.
such as MS- d. Insert a row at the top of the table.
Word, LaTex etc.
e. Merge the cells in the row and enter the current month and year using a large font size.
99 Creating the
documents using f. Shade the row.
MS-Word and
LaTex.
g. Enter and right-align the dates for the month in the appropriate cells of the table.

99 Analysing and
h. Change the outside border to a more decorative border. Identify two important dates in the
visualizing data calendar and shade them.
with excel. ●● Prepare mark sheet using MS-Excel.
99 Developing ●● Create a pivot table to analyse your worksheet data.
various
power point ●● Prepare a presentation on your university using MS-PowerPoint.
presentations ●● Design a Magazine cover. Use the following:
1) Select a theme for the page,
2) Insert either a picture or clipart, and
3) Use WordArt.
●● Design a poster inviting all students of your university to the Computer Festival.
●● Installation and demonstration of LaTeX.
●● Prepare professional pdf documents using LaTeX.
●● Prepare LaTex document containing mathematical equations.

ACTIVITIES:
●● Create a 5-page document. Use hyperlinks, insert bookmarks in the same document.
●● Design a worksheet using the following functions-MODE, STDDEV, VARIANCE, MEDIAN, SIN,
COS, TAN, COUNT, MAX, MIN, ABS, MOD, SUM, SUMIF, POWER.
●● Create bar graphs, pie charts and line charts in excel.
●● Create a 5-slide presentation on any topic. Use Images, Graphs, Chart, Tables, Animation,
Time, Bullets, Transition, Sound, Hyperlink, Background template, Header and Footer.
●● Create a following numbered list using LaTex.

INTRODUCTION:
This is a display of numbered list
●● Abstract
●● Introduction.
●● Section 1.
a) Section 1.1.
b) Sedtion 1.2.
●● Section 2.

VFSTR 20
CSE - I Year I Semester

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Ability to assemble and disassemble the computer
1 Apply 1 1
system components and trouble shooting.
Installing Operating Systems and understanding Under-
2 1 1
the system booting process. stand
Ability to develop system maintenance using shell
3 Apply 1 1
scripts.
Create word documents, presentations and spread
4 Create 2 2,5
sheets by applying various tools.

TEXT BOOKS:
1. Fundamentals of Computers by Reema Thareja, Oxford University Press 2nd edition 2019,
India.
2. Stefan Kottwitz, “LaTeX Beginner’s Guide: Create visually appealing texts, articles, and books
for business and science using LaTeX”, 2nd Edition, Kindle, 2021.

REFERENCE BOOKS:
1. Priti Sinha and Pradeep K. Sinha, “Computer Fundamentals: Concepts, Systems and
Applications”, 8th edition, BPB Publications, 2004.
2. John Walkenbach, Herb Tyson, Michael R.Groh and FaitheWempen, “Microsoft Office 2010
Bible”, Wiley.

VFSTR 21
CSE - I Year I Semester

22TP103 PROGRAMMING IN C

Hours Per Week :

L T P C
2 0 4 4

PREREQUISITE KNOWLEDGE: Fundamentals of Problem Solving.


Source: Techgig.com
COURSE DESCRIPTION AND OBJECTIVES:
This course is aimed to impart knowledge on basic concepts of C programming language and problem
solving through programming. It covers basic structure of C program, data types, operators, decision
making statements, loops, functions, strings, pointers, and also file manipulations. At the end of this
course, students will be able to design, implement, test and debug complex problems using features of C.

MODULE-1
UNIT-1 8L+0T+16P=24 Hours

INTRODUCTION TO ALGORITHMS AND PROGRAMMING LANGUAGES


Introduction to Algorithms: Basics of algorithms; Flow charts; Generations of programming languages.
Introduction to C: Structure of a C program - pre-processor statement, inline comments, variable
declaration statements, executable statements; C Tokens - C character set, identifiers and keywords,
type qualifiers, type modifiers, variables, constants, punctuations and operators.
Data Types and Operators: Basic data types; Storage classes; Scope of a variable; Formatted I/O;
Reading and writing characters; Operators - assignment, arithmetic, relational, logical, bitwise, ternary,
address, indirection, sizeof, dot, arrow, parentheses operators; Expressions - operator precedence,
associative rules.
Control Statements: Introduction to category of control statements; Conditional branching statements
- if, if - else, nested-if, if - else ladder, switch case; Iterative statements - for, while, do - while, nested
loops; Jump statements - break, jump, goto and continue.

UNIT-2 8L+0T+16P=24 Hours

ARRAYS & STRINGS


Arrays: Introduction; Types of arrays; Single dimensional array - declaration, initialization, usage,
reading, writing, accessing, memory representation, operations; Multidimensional arrays.
Strings: Character array, Reading string from the standard input device, Displaying strings on the
standard output device, Importance of terminating a string, Standard string library functions.

PRACTICES:

QUESTIONS ON DATA HANDLING – LEVEL 1:


●● Write a program to accept a character as input from the user and print it.
●● Write a program to accept a number as input from the user and print it.
●● Write a program to accept a float value from the user and print it.
●● Write a program to accept a message as input from the user and print it.
●● Write a program to accept a message from the user as input and print it in 3 different lines.
●● Write a program to accept 2 numbers from the user as input and print their sum.
●● Write a program to accept 2 numbers from the user as input and print their product.
●● Write a program to accept a number as input from the user which denotes the temperature in
Celsius, convert it to Fahrenheit reading and print it.

VFSTR 22
CSE - I Year I Semester

●● Write a program to accept a number as input from the user which denotes the radius and print SKILLS:
the area of the circle. 99 Analysis of the
●● Write a program to accept a character as input from the user and print it’s corresponding ASCII problem to be
solved.
value.
99 Select static
QUESTIONS ON CONTROL STATEMENTS - LOOPING – LEVEL 1: or dynamic
data structures
●● Write a C program to print all the characters from a to z once. for a given
●● Write a C program to print all the characters from Z to A once. problem and
manipulation of
●● Write a C program to print all the characters from A to Z 3 times.
data items.
●● Write a C program to print the first N natural numbers, where N is given as input by the user.
99 Application
●● Write a C program to print the first N natural numbers and their sum, where N is given as input of various file
by the user. operations
●● Write a C program to print all the odd numbers between 1 and N where N is given as input by effectively in
solving real
the user. world problems.
●● Write a C program to print all the even numbers between I and N where N is given as input
99 Develop C
by the user. programs
●● Write a C program to print the squares of the first N natural numbers between 1 and N, where that are
understandable,
N is given as input by the user.
debuggable,
●● Write a C program to print the cubes of the first N natural numbers between 1 and N, where maintainable
N is given as input by the user. and more likely
to work correctly
●● Write a C program to print the squares of every 5th number starting from 1 to N, where N is in the first
given as input by the user. attempt.

QUESTIONS ON CONTROL STATEMENTS – DECISION MAKING – LEVEL 1:


●● Write a program to accept two numbers as input check if they are equal.
●● Write a program to accept two characters as input and check if they are equal.
●● Write a program to accept two numbers as input and print the greater of the 2 numbers.
●● Write a program to accept two numbers as input and print the lesser of the 2 numbers.
●● Write a program to accept 3 numbers as input and print the maximum of the 3.
●● Write a program to accept 3 numbers as input and print the minimum of the 3.
●● Write a program to accept a number as input and print EVEN if it is an even number and ODD
if it is an odd number.
●● Write a program to accept a number as input and check if it is divisible by 3. If it is divisible by
3 print YES else print NO.
●● Write a program to accept a number as input and check if it is divisible by both 3 & 5. If it is
divisible print YES else print NO.
●● Write a program to accept a number as input and check if it is positive, negative or zero.

QUESTIONS ON PATTERNS – LEVEL 1:


1. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
*****
*****
*****
*****
*****
2. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
*****
* *
* *
* *
*****

VFSTR 23
CSE - I Year I Semester

3. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
*
**
***
****
*****
4. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
*
**
***
****
*****
5. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
1
12
123
1234
12345
6. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
1
22
333
4444
55555
7. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
54321
4321
321
21
1
8. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
12345
2345
345
45
5
9. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
A
AB
ABC
ABCD
ABCDE

VFSTR 24
CSE - I Year I Semester

10. Write a program to accept a number N as input from the user and print the following pattern.
Sample N = 5.
A
BC
DEF
GHIJ
KLMNO

QUESTIONS ON NUMBER CRUNCHING – LEVEL 1:


●● Write a program to accept a number as input and print the number of digits in the number.
●● Write a program to accept a number as input print the sum of its digits.
●● Write a program to accept a number as input, reverse the number and print it.
●● Write a program to accept a number and digit as input and find the number of occurrences of
the digit in the number.
●● Write a program to accept a number as input and check if it is an Armstrong number.
●● Write a program to accept a number as input and check if it is an Adam number.
●● Write a program to accept a number as input and check if is a prime number.
●● Write a program to accept 2 numbers as input and check if they are amicable or not.
●● Write a program to accept a number as input and check if it is a power of 2.
●● Write a program to accept 2 numbers as input and find their LCM.

QUESTIONS ON ARRAYS – LEVEL 1:


●● Print the contents of an array from the left to the right.
●● Print the contents of an array from the right to the left.
●● Find the sum of the elements of an array.
●● Find the maximum element in an unsorted array.
●● Find the minimum element in an unsorted array.
●● Find the average of the elements in an unsorted array.
●● Count the number of 0s and 1s in an array having 0s and 1s in random order.
●● Count the number of elements in an array whose elements are lesser than a key element in
an unsorted array.
●● Print all the elements in an array whose values are lesser than a key element in an unsorted array.
●● Find the repeated elements in a sorted array.

QUESTIONS NUMBER CRUNCHING – LEVEL 2:


●● Write a program to accept a number as input and print the product of its digits.
●● Write a program to accept a number as input and check if it is a palindrome.
●● Write a program to accept a number as input and print the frequency of occurrence of each digit.
●● Write a program to accept a number as input and print its factors.
●● Write a program to accept a number as input and print its prime factors.
●● Write a program to accept a number as input and check if it is a perfect square of not.
●● Write a program to accept 2 numbers as input and check if they are betrothed numbers or not.
●● Write a program to accept 2 numbers as input and print their HCF.
●● Write a program to accept a number as input and check if is a strong number.
●● Write a program to generate prime numbers between two intervals given as input.

QUESTIONS ON ARRAYS – LEVEL 2:


●● Find the sum of the maximum and minimum numbers of an unsorted array.
●● Replace every element in an array with the sum of its every other element.
●● Replace every element in an array with the sum of its right side elements.
●● Replace every element in an array with the sum of its left side elements.
●● Reverse the elements of an array (in place replacement).
●● Reverse the first half of an array.

VFSTR 25
CSE - I Year I Semester

●● Reverse the second half of an array.


●● Write a program to find the second largest element in an unsorted array.
●● Write a program to find the second smallest element in an unsorted array.
●● Write a program to print the number of odd and even numbers in an unsorted array.

QUESTIONS ON STRINGS – LEVEL 1:


●● Write a program to accept a string as input and print it.
●● Write a program to accept a string as input and count the number of vowels in it.
●● Write a program to accept a string as input and count the number of consonants in it.
●● Write a program to accept a string as input and print its length.
●● Write a program to accept a string as input and print the reversed string.
●● Write a program to accept 2 strings as input and check if they are the same.
●● Write a program to accept a string as input and copy the contents into a second string and
print the second string.
●● Write a program to accept 2 strings as input and concatenate them into a third string and print
the third string.
●● Write a program to accept a string as input and check if it is a palindrome.
●● Write a program to accept two strings as input and check if the second string is a substring
of the first.

QUESTIONS ON STRINGS – LEVEL 2:


●● Implement the string length function.
●● Implement the string copy function.
●● Implement the string concatenate function.
●● Implement the string compare function.
●● Implement the vowel count function.
●● Implement the consonant count function.
●● Implement the count words function.
●● Implement the string reverse function.
●● Implement the strstr function.
●● Complete the code snippet to implement the is Palindrome function that checks if a given
string is a palindrome. You will need to use the 3 functions string Copy, str Reverse and string
Compare functions provided to accomplish this.

MODULE-2
UNIT-1 8L+0T+16P=24 Hours

FUNCTIONS & POINTERS


User-defined functions: Function declaration - definition, header of a function, body of a function,
function invocation; Call by value; Call by address; Passing arrays to functions; Command line arguments;
Recursion; Library Functions.
Pointers: Declaration, Initialization, Multiple indirection, Pointer arithmetic, Relationship between arrays
and pointers, Scaling up - array of arrays, array of pointers, pointer to a pointer and pointer to an array;
Dynamic memory allocation functions.

UNIT- 2 8L+0T+16P=24 Hours

STRUCTURES, UNIONS & FILES


Structures: Defining a structure, Declaring structure variable, Operations on structures, Pointers
to structure - declaring pointer to a structure, accessing structure members using pointer; Array of
structures, Nested structures, Passing structures to functions - passing each member of a structure
as a separate argument, passing structure variable by value, passing structure variable by reference/
address; Typedef and structures.

VFSTR 26
CSE - I Year I Semester

Unions: Defining a union - declaring union variable, operations on union; Pointers to union - declaring
pointer to a union, accessing union members using pointer; Array of union, Nested union, Typedef and
union, Enumerations, Bit-fields.
Files: Introduction to files, Streams, I/O using streams – opening a stream, closing stream; Character
input, Character output, File position indicator, End of file and errors, Line input and line output, Formatted
I/O, Block input and output, File type, Files and command line arguments.

PRACTICES:

QUESTIONS ON STRINGS – LEVEL 3:


●● Write a program to swap two given strings and print the swapped strings.
●● Write a program to swap two given words of the given sentence and print the altered string.
●● Return the maximum occurring character in the string.
●● Write a program to print the character in the string with the count where count is the occurrence
of the character.
●● Write a program to print the duplicate characters in the given string.
●● Write a program to remove the duplicate characters in the given string.
●● Write a program to remove the vowels from a given string.
●● Write a program to rotate a given string N number of times.
●● Write a program to check if 2 strings are rotations of each other.
●● Write a program to remove the characters from the first string that are present in the second
string.

QUESTIONS ON 2D ARRAYS – LEVEL 1:


●● Print the contents of a 2D array row-wise.
●● Print the contents of a 2D array column-wise.
●● Print the contents of a 2D array in a zig-zag order.
●● Print the contents of a 2D array diagonal-wise.
●● Print the contents of a 2D array right-diagonal order.
●● Print the contents of a 2D array left-diagonal order.
●● Print the contents of a 2D array in the upper triangular order – left top to right bottom.
●● Print the contents of a 2D array in the lower triangular order.
●● Find and print the maximum element along with its position in a matrix.
●● Find and print the minimum element along with its position in a matrix.

QUESTIONS ON 2D ARRAYS – LEVEL 2:


●● Find and print the maximum element of each row of a matrix.
●● Find and print the minimum elements of each row of a matrix.
●● Find and print the maximum element of each column of a matrix.
●● Find and print the minimum element of each column of a matrix.
●● Find the lowest value in the upper triangle area and the largest value in the lower triangular
area of a matrix and print their product.
●● Find the sum of the elements of each row and each column of a matrix and print the minimum
row sum and maximum sum column.
●● Write a program to find the row with the maximum number of 1’s in a matrix consisting of only
0’s and 1’s.
●● Write a program to print the quotient and remainder on dividing sum of left-top to right-bottom
diagonal by sum of right-top to left-bottom diagonal.
●● Write a program to print the absolute difference of the sum of major diagonal elements and the
sum of minor diagonals of the given matrix.
●● Write a program to search a given element in a row-wise and column-wise sorted 2D array.

VFSTR 27
CSE - I Year I Semester

QUESTIONS ON 2D ARRAYS – LEVEL 3:


●● Write a program to find the Kth smallest element in the given matrix.
●● Write a program to find the Kth largest element in the given matrix.
●● Write a program to check whether the given two two-dimensional array of same dimensions
are equal or not.
●● Write a program to add the given two two-dimensional array of same dimensions.
●● Write a program to subtract the given two two-dimensional array of same dimensions.
●● Write a program to multiply the given two two-dimensional array of same dimensions.
●● Write a program to sort each row of a matrix.
●● Write a program to find the sum of the elements in ‘Z’ sequence of the given 2D array.
●● Write a program to print the unique rows of the given two-dimensional array consisting of only
0’s and 1’s.
●● Write a program to print the unique columns of the given two-dimensional array consisting of
only 0’s and 1’s.

QUESTIONS ON FILES, STRUCTURES & UNIONS:


1. Write a C program to create a struct, named Student, representing the student’s details as
follows: first_name, last_name, Age and standard.
Example
Read student data
john
carmack
15
10
Display the data in the following format
First Name: john
Last Name: carmack
Age: 15
Standard: 10
2. Declare a structure POINT. Input the coordinates of point variable and write a C program
to determine the quadrant in which it lies. The following table can be used to determine the
quadrant.
Quadrant X Y
1 Positive Positive
2 Negative Positive
3 Negative Negative
4 Positive Negative
Example
Input the values for X and Y coordinate: 7 9
The coordinate point (7,9) lies in the First quadrant.
3. Bob and Alice both are friends. Bob asked Alice how to store the information of the books using
Structures. Then Alice written a c program to store the information of books using book structure
by taking different attributes like book_name, author, book_id, price. Write a C program to read
and display the attributes of the books using structures.
Sample Input:
Enter number of books: 1
Enter the book name: c Programming
Enter the author name: balaguruswamy

VFSTR 28
CSE - I Year I Semester

Enter the book ID: 23413


Enter the book price: 500
Sample Output:
The details of the book are:
The book name is: c Programming
The author name is: balaguruswamy
The book ID is: 23413
The book price is: 500.00
4. Ramesh wants to do addition on complex numbers. He did it with regular practice but Charan
asked him to do with the help of structures by following below Criteria.
Write a C program that defines a structure named ‘Complex’ consisting of two floating point
members called “real and imaginary”. Let c1 and c2 are two Complex variables; compute the
sum of two variables.
Example:
c1= 2 8
c2= 6 4
Sum= 8.000000+12.000000i
5. Customer Payment Details is a structure with members as customers_name, address,
account_number, payment_status(paid(1)/ not_paid(0)), due_date, and amount. In this example,
payment_date is another structure with month, day and year as integer members. So, every
customer record can be considered as an array of structures.
Write a C program that displays the amount to be paid by each customer along with their names.
If payment_status is 1, display NIL for such customers.
Input Format:
First line of input contains ‘n’ number of customers, followed by 8 lines of input for each
customer. Each line represents (customers_name, address, account_number, amount
payment_status(paid(1)/ not_paid(0)), and due_date).
Output Format: First line of output is Amount to be paid by each customer as on date: followed
by n lines of output. Each line contains name of the customer followed by tab space, and
amount to be paid.
Hint: Use nested structure to represent date.
6. Write a ‘C’ program to accept customer details such as: Account_no, Name, Balance using
structure. Assume 3 customers in the bank. Write a function to print the account no. and name
of each customer whose balance < 100 Rs.
7. Write a C program to accept details of ‘n’ employee(eno, ename, salary) and display the details
of employee having highest salary. Use array of structure.
8. Write a C program to print the bill details of ‘N’ number of customers with the following data:
meter number, customer name, no of units consumed, bill date, last date to deposit and city.
The bill is to be calculated according to the following conditions:
No. of units Charges
For first 100 units Rs.0.75 per unit
For the next 200 units Rs.1.80 per unit
For the next 200 units Rs.2.75 per unit
Sample Input
Enter no. of customers
1
Enter Meter Number AP01213

VFSTR 29
CSE - I Year I Semester

Enter Customer Name: Karthik


Enter No. of units consumed: 200
Enter Bill date:22/01/2021
Enter Last date: 12/2/2021
Enter City: Guntur
Sample Output
Meter Number AP01213
Customer Name: Karthik
No. of units consumed: 200
Bill date:22/01/2021
Last date: 12/2/2021
City: Guntur
Total Amount: 255.000000
9. Write a C program that creates a student file containing {Roll No, Student Name, Address,
Stream}, where the data will be inserted and display the list of students who are in CSE
(Stream=CSE).
Input: A file name
Output: The attributes such as Roll_No, Student_Name, Stream, Address.
Sample Input
201fa4200 Raja CSE Guntur
201fa4201 Bala IT Tenali
Sample Output
201fa4200 Raja CSE Guntur
10. Write a C program that reads content from an existing text file and write the same in a new file
by changing all lowercase alphabetic character to upper case. (Existing file may contain digit
and special characters).
Example:
Input: Enter the file name.
Output: New file with updated content.
11. Write a C program to count the occurrences of the given string in a file.
Example:
Input: Enter the File name to read the string to be counted.
Output: Display the count of occurrences of the string.
12. Write a C Program to transfer the data from one location to another location without changing
the order of the content.
Example:
Read the file name from the user. If the source file exists, Transfer the data and display the
message as “Data is transferred successfully” otherwise display the message “No such file is
existing in the directory.”
13. Write a C program that reads numbers and write them into a text-file. Also find odd and even
numbers in that file and store it in 2 separate files named odd.txt and even.txt. All the values
should be in ascending order.
Input: Enter the values.
Output: Creates a separate file for Even and Odd numbers.
Sample Input:
4 43 2 53 45

VFSTR 30
CSE - I Year I Semester

Sample Output:
Even.txt: 2 4
Odd.txt: 43 45 53
14. Write a C program to replace the content in the given text file.
Input: Enter the file name, line number to be replaced and the new content
Output: New file with replaced lines.
Example:
Sample Input:
Enter the file name: abc.txt
Enter the line no to replace: 3
Enter the content: Files stores data presently.
Sample Output:
Line no 3 is replaced with the given content.
The content of the file abc.txt contains:
test line 1
test line 2
Files stores data presently
test line 4

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Identify suitable data type for operands and
1 Apply 1,2 1
design of expressions having right precedence.
Apply decision making and iterative features of
2 Apply 1,2 1
C Programming language effectively.
Select problem specific data structures and
3 Analyze 1,2 1,2
suitable accessing methods.
Design and develop non- recursive and recur-
sive functions and their usage to build large
4 Create 1,2 3
modular programs and also able to design string
manipulation functions.
Develop C programs that are understandable,
5 debuggable, maintainable and more likely to Evaluate 1,2 3,4
work correctly in the first attempt.

TEXT BOOKS:
1. Behrouz A. Forouzan, Richard F.Gilberg, “Programming for Problem Solving”, 1st edition,
Cengage publications, 2019.
2. Ajay Mittal, “Programming in C - A Practical Approach”, 1st edition, Pearson Education, India,
2010.

REFERENCE BOOKS:
1. Reema Thareja, “Computer Fundamentals and Programming in C”, 1st edition, Oxford University
Press, India, 2013.
2. Herbert Schildt, “C: The Complete Reference”, 4th edition, Tata McGraw-Hill, 2017.
3. Byron S Gottfried, “Programming with C”, 4th edition, Tata McGraw-Hill, 2018.

VFSTR 31
CSE - I Year I Semester

22EN102 ENGLISH PROFICIENCY AND


COMMUNICATION SKILLS
Hours Per Week :

L T P C
0 0 2 1

PREREQUISITE KNOWLEDGE: Basics of grammar, Read and understand for global context, Cultural
Source: https:// sensitivity and Basic writing skills.
www.scribd.com/
document/502301821/
Cambridge-Complete-B1- COURSE DESCRIPTION AND OBJECTIVES:
Preliminary-for-Schools-
Workbook-2020-Edition
English Proficiency and Communication Skills seeks to develop the students’ abilities in grammar,
speaking, reading, writing and overall comprehension skills. The course will provide students an exposure
on a wide range of language use in everyday situations. It will make the students to equip with functional
English and make them use it confidently in their professional and social contexts. Finally, students will
strengthen their reading, writing, listening and speaking skills in English

MODULE-1
UNIT-1 0L+0T+8P=8 Hours

MY LIFE AND HOME - MAKING CHOICES - HAVING FUN


Reading: Understanding main message, factual information global meaning, specific information and
paraphrasing.
Writing: Developing hints based mail, Writing short messages/paragraphs.
Listening: Understanding short monologues or dialogues and choose the correct visual.
Speaking: Express simple opinions /cultural matters in a limited way.
Vocabulary: Discerning use of right word suiting the context, B1 Preliminary word list.
Grammar: Frequency Adverbs, State Verbs, AFV and Prepositions.

UNIT-2 0L+0T+8P=8 Hours

ON HOLIDAY - DIFFERENT FEELINGS – THAT’S ENTERTAINMENT!


Reading: Longer text for detailed comprehension, gist and inference.
Writing: Developing notes and responding to penfriends or ‘e-pals’.
Listening: Understand straightforward instructions or public announcements.
Speaking: Describing people, things and places in a photograph.
Vocabulary/Grammar: Comparatives and Superlatives, Gradable and non-gradable adjectives, Cloze
tests.

PRACTICES:
●● Developing hints based mail.
●● Writing short message.
●● Writing paragraphs.
●● Expressing opinions and cultural matters.
●● Understanding short monologues.
●● Understanding straightforward instructions and public announcements.
●● Describing people, things and places in a photograph.

VFSTR 32
CSE - I Year I Semester

MODULE-2 SKILLS:
99 Use of
UNIT-1 0L+0T+8P=8 Hours
appropriate
grammar and
GETTING AROUND – INFLUENCES - STAY FIT AND HEALTHY vocabulary
Reading: Reading for understanding coherence of the text and drawing inferences. with syntactic
patterns in short
Writing: Reading an announcement from a magazine or website for preparing an article. texts.
Listening: Discussion activities and listening to understand the gist of each short dialogue.
99 Read and
Speaking: Snap Talks, Make and respond to suggestions, discuss alternatives and negotiate extract the
agreement. main message,
global meaning,
Vocabulary / Grammar: Punctuation, Prepositions, Phrasal Verbs, B1 Preliminary word list. specific
information,
UNIT-2 0L+0T+8P=8 Hours detailed
comprehension,
LOOKS AMAZING! - THE NATURAL WORLD - EXPRESS YOURSELF! understanding of
attitude, opinion
Reading: Content, Communicative Achievement, Organisation and Language. and writer
Writing: Developing a story with clear links to the given opening sentence. purpose and
inference.
Listening: An interview for a detailed understanding of meaning and to identify attitudes and opinions.
Speaking: Discuss likes, dislikes, experiences, opinions, habits, etc. 99 Listen to
understand key
Vocabulary/Grammar: Modals, Conditionals, Verb forms (Time and Tense). information,
specific
PRACTICES: information, gist
and detailed
●● Listening to understand the gist of each short dialogue. meaning and
●● Listening to an interview for a detailed understanding of meaning and to identify attitudes and to interpret
opinions. meaning.
●● Preparing an article. 99 Understand
●● Discuss for alternatives and negotiate agreement. questions
and make
●● Discussion on likes, dislikes, experiences, opinions, habits, etc. appropriate
responses and
COURSE OUTCOMES: talk freely on
Upon successful completion of this course, students will have the ability to: everyday topics

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply to read and grasp content on a range of
topics/texts related to their everyday life like
1 Apply 1 7, 8, 9, 10, 12
notifications, advertisements, travel brochures,
news reports, articles.
Apply suitable strategies to achieve comprehension,
2 like listening for main points and checking Apply 1 7, 8, 9, 10, 12
comprehension using contextual clues etc.
Use functional English to communicate and
3 Apply 1, 2 7, 8, 9, 10, 12
interact effectively in everyday situations.
Demonstrate vocabulary beyond that of the
4 Analyze 1, 2 7, 8, 9, 10, 12
familiar subjects.
Show sufficient control of English grammar
5 and sentence variety to coherently organise Evaluate 2 7, 8, 9, 10, 12
information at sentence and discourse levels.

TEXT BOOK:
1. Emma Heyderman and Peter May, “Complete Preliminary”, Student’s Book with Answers, 2nd
edition, Cambridge University Press, 2019.
REFERENCE BOOKS:
1. Annette Capel and Rosemary Nixon, “Introduction to PET”, Oxford University Press, 2009.
2. Adrian Doff and Craig Thaine, “Empower Pre intermediate”, Cambridge University Press, 2015.
3. Louise Hashemi and Barbara Thomas, “Objective PET”, Cambridge University Press, 2010.

VFSTR 33
CSE - I Year I Semester

22TP101 CONSTITUTION OF INDIA

Hours Per Week :

L T P C
0 2 0 1
PREREQUISITE KNOWLEDGE: High School-level Civics and Social Studies.
Source: https://commons.
wikimedia.org/wiki/ COURSE DESCRIPTION AND OBJECTIVES:
File:Constitution_india.
jpg To provide students with a basic understanding of Indian Polity and Constitution and make students
understand the functioning of government at the center and state level besides local self-government.
This course also equips students with knowledge pertaining to fundamental rights and fundamental
duties of a citizen in a democracy such as India.

MODULE-1
UNIT-1 0L+8T+0P=8 Hours

HISTORICAL BACKGROUND TO THE INDIAN CONSTITUTION


Meaning of the constitution law and constitutionalism; Historical perspective of the Constitution of India;
Salient features and characteristics of the Constitution of India.

UNIT-2 0L+8T+0P=8 Hours

FUNDAMENTAL RIGHTS, DUTIES, DIRECTIVE PRINCIPLES, AND AMENDMENT


Scheme of the fundamental rights - scheme of the Fundamental Right to Equality; scheme of the
Fundamental Right to certain Freedom under Article 19; scope of the Right to Life and Personal Liberty
under Article 21; Scheme of the Fundamental Duties and its legal status; Directive Principles of State
Policy – its importance and implementation; Amendment of the Constitution - Powers and Procedure.

PRACTICES:
●● Enactment of Constituent Assembly debates to further understand the rationale for the provisions
of the constitution.
●● Fundamental Rights in our popular culture - discussion in the movie Jai Bhim.

MODULE-2
UNIT-1 0L+8T+0P=8 H Hours

STRUCTURE AND FORM OF GOVERNMENT


Federal structure and distribution of legislative and financial powers between the Union and the States;
Parliamentary Form of Government in India – The constitution powers and status of the President of
India; Emergency Provisions: National Emergency, President Rule, Financial Emergency.

UNIT-2 0L+8T+0P=8 Hours

LOCAL SELF GOVERNMENT


Local Self Government – Constitutional Scheme in India – 73rd and 74th Amendments.

PRACTICES:
●● Debate on federalism in India.
●● Collect news published in the local papers about panchayats in the nearby areas.

VFSTR 34
CSE - I Year I Semester

COURSE OUTCOMES: SKILLS:


Upon successful completion of this course, students will have the ability to: 99 Knowledge
the basics
of the Indian
CO Blooms Module Mapping constitution.
Course Outcomes
No. Level No. with POs
99 Know the
1 Analyse major articles and provisions of the fundamental
Analyze 1 6 rights,
Indian constitution.
fundamental
duties, and
2 Appreciation for the constitution and safeguard-
Apply 1 6 Directive
ing individual rights. Principles of
State Policy.
3 Evaluating functions of various organs of the
Evaluate 2 6
State in a democracy. 99 Fair knowledge
about the
functioning
TEXT BOOK: of various
institutions in a
1. PM Bhakshi, “Constitution of India”, 15th edition, Universal Law Publishing, 2018. democracy
REFERENCE BOOKS:
1. B. R. Ambedkar, “The Constitution of India” Educreation Publishing, India, 2020.
2. Subhash Kashyap, “Our Constitution” 2nd edition, National Book Trust, India, 2011.
3. Arun K. Thiruvengadam, “The Constitution of India: A Contextual Analysis”, Hart Publishing
India, 2017.

VFSTR 35
CSE - I Year II Semester

22MT106 ALGEBRA

Hours Per Week :

L T P C
3 2 0 4
PREREQUISITE KNOWLEDGE: Basics of sets, Relations and Functions.
Source: https://pll.
harvard.edu/course/ COURSE DESCRIPTION AND OBJECTIVES:
college-algebra.
This course emphasizes on motivation and justification for the algorithmic usage of group theory in
different domains. The objective of this course is to introduce the concepts of Groups, Rings, Integral
domains and Fields. Develop the ability to form and evaluate group theory and its actions. Understand
the fundamental concepts of algebra. The fundamental notions viz. linear dependence, basis and
dimension and linear transformations on these spaces have to be studied thoroughly.

MODULE-1
UNIT-1 12L+8T+0P=20 Hours

GROUP THEORY
Algebraic structures with binary operations, Semigroup, Monoid, Group, Subgroup, Cosets, Lagrange’s
theorem, Normal subgroup, Quotient group.

UNIT-2 12L+8T+0P=20 Hours

APPLICATIONS OF GROUP THEORY


Introduction to Rings, Integral Domains, Fields with examples.
Properties of groups, order of an element in a group, homomorphism, isomorphism.

PRACTICES:
●● List all the properties for group.
●● Give examples for groups and other binary structures.
●● In a group of even order there is an element a e such that a2 = e.
●● For any two subgroups discuss the possibility of their intersection and union being a subgroup.
●● Any two groups of order 6 are isomorphic, Verify.

MODULE-2
UNIT-1 12L+8T+0P=20 Hours

VECTOR SPACES
Vector space, Subspace, linear span, linearly independent and dependent vectors, Bases, Dimension,
Linear transformations, Inner product spaces.

VFSTR 36
CSE - I Year II Semester

UNIT-2 12L+8T+0P=20 Hours SKILLS:


99 Identifying
APPLICATIONS OF VECTOR SPACES identity elements
of an Algebraic
Matrix of Linear Transformation, Change of Coordinates, Rank and Nullity, Orthogonality, Cauchy’s
structure and
Schwartz Inequality, Gram Schmidt Orthogonalization. inverses of
elements.
PRACTICES: 99 Evaluate the
●● Examine whether or not a given algebraic structure is a vectorspace. rank and nullity
of a Linear
●● Verify whether a given set forms a basis or not of R3. Transformation.
●● Testing orthogonality of given set of vectors.
●● Finding Rank and Nullity of linear transformation.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply the concepts of cosets to study properties
1 Apply 1 1, 2, 9, 10, 12
of subgroups.
Outline the various properties and apply group
2 Apply 1 1, 2, 9, 10, 12
actions critically.
Understand and apply the concepts of vector
3 spaces, subspaces, bases, dimension and their Apply 2 1, 2, 9, 10, 12
properties.
Analyse inner product spaces for their orthogo-
4 Analyse 2 1, 2, 9, 10, 12
nality.

TEXT BOOKS:
1. Tremblay, J.P. and Manohar. R, “Discrete Mathematical Structures with Applications to Computer
Science”, 30th Reprint, Tata McGraw Hill Pub. Co. Ltd, New Delhi, 2017.
2. Rosen, K.H., “Discrete Mathematics and its Applications”, 7th Edition, Tata McGraw Hill Pub.
Co. Ltd., New Delhi, 2018.

REFERENCE BOOKS:
1. R.P. Grimaldi, “Discrete and Combinatorial Mathematics: An Applied Introduction”, 4th Edition,
Pearson Education Asia, Delhi, 2017.
2. S. Lipschutz and Mark Lipson., “Discrete Mathematics”, Schaum‘s Outlines, Tata McGraw Hill
Pub. Co. Ltd., New Delhi, 2021.
3. T. Koshy, “Discrete Mathematics with Applications”, Elsevier Publications, 2015.
4. S B Singh. “Discrete Structures”, Khanna Book Publishers Co-Pvt. Ltd. 2019

VFSTR 37
CSE - I Year II Semester

22MT107 DISCRETE MATHEMATICAL


STRUCTURES
Hours Per Week :

L T P C
2 2 0 3

PREREQUISITE KNOWLEDGE: Basic of set theory, Algebra.


Source: https://www.
amazon.in/Discrete- COURSE DESCRIPTION AND OBJECTIVES:
Mathematical-Structures-
Dr-D-S-C/dp/9388478398 The course objective is to provide students with an overview of discrete mathematics. Students will
learn about of group and expected to demonstrate analytical and combinatorial methods such as
propositional logic , Mathematical Induction, Boolean functions, combinatorial ,recurrence relation,
generating function and graph theory

MODULE-1
UNIT-1 8L+8T+0P=16 Hours

BOOLEAN ALGEBRA AND LOGIC


Group: Group, Subgroup, Lagrange’s theorem, Introduction to rings and fields.
Boolean algebra: Boolean algebra, Truth table, Basic logic gates, Postulates of Boolean algebra,
Principle of duality, Propositions, Connectives, Equivalence and Normal form.

UNIT-2 8L+8T+0P=16 Hours

APPLICATIONS OF LOGIC & BOOLEAN ALGEBRA


Normal form: CNF, DNF, CDNF, CCNF, Conversion of CNF to DNF and vice versa. Minimization of
Boolean function (Karnaugh Maps), Generalized Pigeonhole Principle.

PRACTICES:
●● Determine order of an element of group.
●● Determine the order of a subgroup of a finite group.
●● Determine whether algebraic structure is a Ring or a Field.
●● Construct Truth table of propositions.
●● Check whether propositions are equivalence.
●● Obtain CNF, DNF of expression.
●● Draw 2 – variables, 3-variables K-map.
●● Minimize the Boolean function by K-map.
●● Simplify the Boolean expression using Boolean algebra laws.
●● Determine the homogeneous solution and particular solution for recurrence relation.
●● Switching Circuit in Boolean algebra, Combination of two switches in a Circuit

MODULE-2
UNIT-1 8L+8T+0P=16 Hours

COMBINATORICS AND GRAPHS


Combinatorics: The basics of counting, Permutations and combinations, Discrete Numeric Functions.
Recurrence relations and Generating functions.
Graph theory: Graph terminology, Special types of graphs, Connected graph, Weighed graph, Graph
Isomorphism, Euler and Hamiltonian paths and circuits, Planar graphs, Bipartite graph, Tree.

VFSTR 38
CSE - I Year II Semester

UNIT-2 8L+8T+0P=16 Hours SKILLS:


99 Familiarity of
APPLICATIONS OF COMBINATORICS AND GRAPHS concepts of
Graph Coloring, Chromatic number, Matrix representation of graph, DFS, BFS algorithms, Minimum statements, logic
and truth tables.
spanning tree.
99 Analyze closed
form of discrete
PRACTICES: numeric
●● Represent sequence by Generating function. function.
●● Solve Generation function by recurrence relation. 99 Know some
●● Find degree of digraph and undirected graph. basic properties
of graphs,
●● Identify Isomorphic graph, Euler circuit, Hamiltonian circuit. trees and
●● Determine matrix representation of graph. related discrete
structures.
●● Determine the regions of planer connected graph.
●● Draw Kn, Km,n.
●● Determine the chromatic number of graphs.
●● Find the weight of minimum spanning tree.
●● Find number of arrangements that are possible.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply the concepts of mathematical logic and
1 Apply 1 1, 2, 9, 10, 12
Boolean algebra.
2 Apply Karnaugh map to minimize. Apply 1 1, 2, 9, 10, 12
3 Solve generating function by recurrence relations. Apply 2 1, 2, 9, 10, 12
Model and solve real world problems using graphs
4 Apply 2 1, 2, 9, 10, 12
and trees.

TEXT BOOKS:
1. Tremblay, J.P. and Manohar. R, “Discrete Mathematical Structures with Applications to Computer
Science”, 30th Reprint, Tata McGraw Hill Pub. Co. Ltd, New Delhi, 2017.
2. Rosen, K.H., “Discrete Mathematics and its Applications”, 7th Edition, Tata McGraw Hill Pub.
Co. Ltd., New Delhi, 2018.

REFERENCE BOOKS:
1. R.P. Grimaldi, “Discrete and Combinatorial Mathematics: An Applied Introduction”, 4th Edition,
Pearson Education Asia, Delhi, 2017.
2. S. Lipschutz and Mark Lipson., “Discrete Mathematics”, Schaum‘s Outlines, Tata McGraw Hill
Pub. Co. Ltd., New Delhi, 2021.
3. T. Koshy, “Discrete Mathematics with Applications”, Elsevier Publications, 2015.
4. S B Singh. “Discrete Structures”, Khanna Book Publishers Co-Pvt. Ltd. 2019.

VFSTR 39
CSE - I Year II Semester

22ME101 ENGINEERING GRAPHICS

Hours Per Week :

L T P C
2 0 2 3
PREREQUISITE KNOWLEDGE: Basics of Geometry.
Source: https://
depositphotos. COURSE DESCRIPTION AND OBJECTIVES:
com/5087383/stock-
photo-the-engineering- Engineering graphics is the language of engineers and is the most effective way of communicating and
drawing.html
sharing technical ideas in the form of pictures/drawings. The objective of this course is to familiarize the
students with the conventional concepts of engineering drawing and computer aided drawing.

MODULE-1
UNIT-1 6L+0T+6P=12 Hours

ENGINEERING CURVES
Types of lines; Lettering, Dimensioning, Geometric constructions - lines, polygons (Angle, ARC, General
and Inscribe in circle method), Conical curves (General method), Ellipse by Oblong method.

UNIT-2 10L+0T+10P=20 Hours

ORTHOGRAPHIC PROJECTIONS OF POINTS, LINES & PLANES


Principles of projection; Projections of points; Projection of straight lines - Inclined to one plane, inclined
to both planes; Projection of planes - Inclined to one plane.

PRACTICES:
●● Construction of polygons using different methods (i.e. ARC, Angle, General).
●● Inscribe a regular hexagon & pentagon in a circle of the given diameter.
●● Tracing of conical curves (Ellipse, Parabola, Hyperbola) by using General Method.
●● Draw the projections of the points situated in all the 4 quadrants.
●● Draw the projections of a line when it is inclined to one plane (HP or VP).
●● Draw the projections of a line when it is inclined to both the planes (HP &VP).
●● Draw the projections of a plane when it is inclined to one plane (HP or VP).

MODULE-2
UNIT-1 6L+0T+6P=12 Hours

PROJECTIONS OF SOLIDS
Projection of solids axis inclined to one reference plane - Prisms, pyramids, Cylinder and cone.

DEVELOPMENT OF SURFACES
Development of lateral surfaces of simple solids - Prisms, Pyramids, Cylinder and cone.

UNIT-2 10L+0T+10P=20 Hours

ORTHOGRAPHIC VIEWS
Conversion of pictorial views into orthographic views.
Drafting Using Computer Package: Introduction to 2D modelling software - AutoCAD; Conversion
of Isometric view into Orthographic views of simple castings; Conversion of Orthographic views into
Isometric view of simple solids - Prisms, Pyramids, Cylinders and cones.

VFSTR 40
CSE - I Year II Semester

PRACTICES: SKILLS:
●● Draw the projections of Prisms, when they are inclined to one reference plane (HP or VP). 99 Convert
isometric views
●● Draw the projections of Pyramids, when they are inclined to one reference plane (HP or VP). of objects into
●● Draw the projections of cylinder & cone, when they are inclined to one reference plane (HP orthographic
or VP). views and vice
versa.
●● Draw the complete surface development of prisms & pyramids with the given dimensions.
99 Visualize the
●● Draw the complete surface development of cylinder & cone with the given dimensions.
shape of the 3D
●● Draw the orthographic view’s (i. e. front view, top view, and side view) of the given pictorial components.
view of the sketches by using AutoCAD. 99 Create pictorial
●● Draw the Isometric view of simple solids (Prisms & Pyramids) by using AutoCAD. views by using
AutoCAD.
●● Draw the Isometric view of simple solids (Cylinder & Cone) by using AutoCAD.
99 Know
COURSE OUTCOMES: projections by
visualization.
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Communicate the technical ideas in the form of
1 Apply 1 1,2,3,5
drawings.
Apply the drawing skills in representing various
2 Apply 1 1,2,3,5
geometrical features.
Develop orthographic projections and isometric
3 Apply 1 1,2,3,5
views of various objects.
Estimate the lateral surface area of regular
4 Analyze 2 1,2,3,5
geometrical solids.
Sketch simple objects and their pictorial views
5 Analyze 2 1,2,3,5
using AutoCAD.

TEXT BOOKS:
1. J Hole, “Engineering Drawing”, Tata McGraw-Hill, 2nd Edition, 2019.
2. N D Bhatt, “Engineering Drawing”, Charotar Publication, 53rd Edition, 2014.

REFERENCE BOOKS:
1. Basant Agrawal and C.M. Agrawal “Engineering Drawing”, , Tata Mc Graw- Hill, 2nd Edition
2018.
2. K L Narayana, “Engineering drawing”, SciTech Publications, 3rd Edition, 2011.
3. Colin H. Simmons, Dennis E. Maguire, Manual of Engineering Drawing, 2nd Edition, 2003.

VFSTR 41
CSE - I Year II Semester

22TP104 BASIC CODING COMPETENCY

Hours Per Week :

L T P C
0 1 3 2
PREREQUISITE KNOWLEDGE: Programming in C.
Source: www.
geeksforgeeks.org/ COURSE DESCRIPTION AND OBJECTIVES:
best-way-to-start-
with-competitive- This course is aimed to impart knowledge on advanced concepts of C programming language and
programming- problem solving. At the end of this course, students will be able to design, implement, test and debug
geeksforgeeks-cp-live-
course/
complex problems using features of C.

MODULE-1
UNIT-1 0L+4T+12P=16 Hours

NUMBER CRUNCHING

PRACTICES:
Problems On Number Crunching
●● Write a program to check if a given number is perfect or not.
●● Write a program to check if a given number is deficient or not.
●● Write a program to check if 2 given numbers are amicable or not.
●● Write a program to check if 2 given numbers are betrothed or not.
●● Write a program to check whether a given number is an Armstrong number or not.
●● Write a program to print the series of prime numbers in the given range.
●● Write a program to print all the perfect numbers in a given range.
●● Write a program to generate all deficient numbers in a given range.
●● Write a program to generate all the amicable numbers in a given range.
●● Write a program to generate all the betrothed numbers in a given range.
●● Write a program to find the largest prime factor of a given number.
●● Write a program to check whether the given number is a palindrome or not.
●● Write a program to calculate sum of the individual digits for the given number.
●● Write a program to find the first number that has more than ‘n’ factors, excluding 1 and that
number.
●● Write a program to accept a number as input and print its factorial.
●● Write a program to accept a number n, print first N Fibonacci numbers.
●● Write a program to check if an input number is Armstrong number or not.
●● Write a program that takes input a,b. Print a power b.
●● Write a program that takes input a number n, check if it a perfect square or not.
●● Print array in spiral format.
●● Print sum of each row in a matrix.
●● Print sum of each column in matrix.
●● Print left->right and right->left diagonals in a matrix.
●● Initially you are at (0,0) find the shortest path count to reach the (n, n) block in matrix.
●● Remove all the elements present in row and column of unsafe elements. An element is called
unsafe if it is equal to smallest or largest value. Count number of remaining elements.
●● Write a program to check if the string contains all the letters of alphabet.
●● Check if a string is matching password requirements.

VFSTR 42
CSE - I Year II Semester

●● Check if String A contains String B (String searching). SKILLS:


●● Check if a number is harshad number or not. 99 Analysis of the
problem to be
●● Write a program to get 3 numbers as input. The first is the number num1 and second is the solved.
digit that needs to be replaced. The third is the digit that is to replace the 2nd digit. Print the
99 Application
number after performing this operation.
of various file
●● Write a program to accept a number and swap its alternate digits. Print the number generated. operations
●● Write a program to accept a number and choice as input. If the choice is 0 rearrange the effectively in
solving real
number such that the odd digits are ordered first followed by the even digits. If the choice is world problems.
1 rearrange the number such that the even digits are ordered first followed by the odd digits.
99 Develop C
Print the rearranged number. The order of occurrence of the digits is to be preserved. programs
●● Write a program to determine that whether the given quadrilateral is cyclic or not. You are that are
given the sizes of angles of a simple quadrilateral (in degrees) A, B, C and D, in some order understandable,
debuggable,
along its perimeter. maintainable
Note: A quadrilateral is cyclic if and only if the sum of opposite angles is 1801800. and more likely
to work correctly
●● Chef is a very lazy person. Whatever work is supposed to be finished in x units of time, he in the first
finishes it in max units of time. But there is always a limit to laziness, so he delays the work by attempt.
at max d units of time. Given x,m,d, find the maximum time taken by Chef to complete the work.
●● Suppose Chef is stuck on an island and currently he has x units of food supply and y units of
water supply in total that he could collect from the island. He needs xr units of food supply and
yr units of water supply per day at the minimal to have sufficient energy to build a boat from
the woods and also to live for another day. Assuming it takes exactly D days to build the boat
and reach the shore, tell whether Chef has the sufficient amount of supplies to be able to reach
the shore by building the boat? Read five integers x,y,xr,yr,D from the user and display “YES”
if Chef can reach the shore by building the boat and “NO” if not (without quotes).
●● There are 3 problems in a contest namely A,B,C respectively. Alice bets Bob that problem C
is the hardest while Bob says that problem B will be the hardest.
You are given three integers SA,SB,SC which denotes the number of successful submissions
of the problems A,B,C respectively. It is guaranteed that each problem has a different number
of submissions. Determine who wins the bet.
1) If Alice wins the bet (i.e. problem C is the hardest), then output Alice.
2) If Bob wins the bet (i.e. problem B is the hardest), then output Bob.
3) If no one wins the bet (i.e. problem A is the hardest), then output Draw.
Note: The hardest problem is the problem with the least number of successful submissions.
Input Format
●● The first line of input contains a single integer T denoting the number of test cases. The
description of T test cases follows.
●● The first and only line of each test case contains three space-separated integers SA,SB,SC,
denoting the number of successful submissions of problems A,B,C respectively.
Output Format
For each test case, output the winner of the bet or print Draw in case no one wins the bet.
Sample Input 1
3
142
16 8 10
14 15 9
Sample Output 1
Draw
Bob
Alice
●● In a season, each player has three statistics: runs, wickets, and catches. Given the season
stats of two players A and B, denoted by R, W, and C respectively, the person who is better

VFSTR 43
CSE - I Year II Semester

than the other in the most statistics is regarded as the better overall player. Tell who is better
amongst A and B. It is known that in each statistic, the players have different values.
Input
The first line contains an integer T, the number of test cases. Then the test cases follow.
Each test case contains two lines of input.
The first line contains three integers R1, W1, C1, the stats for player A.
The second line contains three integers R2, W2, C2, the stats for player B.
Output
For each test case, output in a single line “A” (without quotes) if player A is better than player
B and “B” (without quotes) otherwise.
●● Write a program to find the direction.
Chef is currently facing the north direction. Each second he rotates exactly 90 degrees in
clockwise direction. Find the direction in which Chef is facing after exactly X seconds.
Note: There are only 4 directions: North, East, South, West (in clockwise order). Initially chef
is at 0th second i.e., facing North direction.
Input Format
●● First line will contain T, number of testcases. Then the testcases follow.
●● Each testcase contains of a single integer X.
Output Format
For each testcase, output the direction in which Chef is facing after exactly X seconds.
Sample Input 1
3
1
3
6
Sample Output 1
East
West
South
●● Chef is playing in a T20 cricket match. In a match, Team A plays for 20 overs. In a single over,
the team gets to play 6 times, and in each of these 6 tries, they can score a maximum of 6 runs.
After Team A’s 20 overs are finished, Team B similarly plays for 20 overs and tries to get a higher
total score than the first team. The team with the higher total score at the end wins the match.
Chef is in Team B. Team A has already played their 20 overs, and have gotten a score of R.
Chef’s Team B has started playing, and have already scored C runs in the first O overs. In the
remaining 20−O overs, find whether it is possible for Chef’s Team B to get a score high enough
to win the game. That is, can their final score be strictly larger than R?
Input: There is a single line of input, with three integers, R, O, C.
Output: Output in a single line, the answer, which should be “YES” if it’s possible for Chef’s
Team B to win the match and “NO” if not.
●● Make Array Zeros using pointers
You are given an array A of length N (size should be created using Dynamic memory allocation)
and can perform the following operation on the array:
Select a subarray from array A having the same value of elements and decrease the value of
all the elements in that subarray by any positive integer x.
Find the least possible number of operations required to make all the elements of array A
equal to zero.
The first line contains an integer N denoting the number of elements in the array.
The next line contains space-separated integers denoting the elements of array A.

VFSTR 44
CSE - I Year II Semester

Print the least possible number of operations required to make all the elements of array A
equal to zero.
Sample Test case
Input:
5
22131
Output:
4

UNIT-2 0L+4T+12P=16 Hours

PATTERNS

PRACTICES:
Problems on Number Patterns
●● Write a program to generate Floyd triangle. Sample input N= 4.
1
23
456
7 8 9 10
●● Write a program to generate the following pattern. Sample input N=5.
13579
3579
579
79
9
●● Write a program to generate the following pattern. Sample input N=4.
1111111
222222
33333
4444
333
22
1
●● Write a program to generate the following pattern. Sample input N=5.
5432*
543*1
54*21
5*321
*4321
●● Write a program to generate the following pattern. Sample input N=5.
12 21
123 321
1234 4321
123454321
●● Write a program to generate the following pattern. Sample input N=5.
1
2*2

VFSTR 45
CSE - I Year II Semester

3*3*3
4*4*4*4
4*4*4*4
3*3*3
2*2
1
●● Write a program to generate the following pattern. Sample input N=4.
1
212
32123
4321234
●● Write a program to generate the following pattern. Sample input N=5.
*
**
****
**
*
●● Write a program to print Pascal triangle for the given number of rows. Sample input N=5.
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
●● Write a program to generate the following pattern. Sample input N=4.
1234
2341
3421
4321
●● Print Hollow Diamond pattern.
●● Print pascals triangle.
●● Print Floyds triangle.
●● Print Butterfly Pattern.
●● Print palindromic pattern.
●● Print full inverted number triangle.
●● Check if a number is prime or not ( Efficient Approach).
●● Find sum of all the digits of the number.
●● Print transpose of given matrix.
●● Rotate a two dimensional matrix by 90, 180, 270 degrees.

MODULE-2
UNIT-1 0L+4T+12P=16 Hours

ARRAYS

PRACTICES:
Problems On Arrays
●● Given an unsorted array of size N, and the array elements are in the range of 1 to N. There
are no duplicates, and the array is not sorted. One of the integers is missing. Write a program
to find the missing number.

VFSTR 46
CSE - I Year II Semester

●● Given an array consisting of only 0s and 1s in random order rearrange the array such that all
the 0s are to the left of the array and 1s to the right.
●● Give an array consisting of odd and even numbers in random order, rearrange the array such
that all the odd numbers are to the left of the array and even numbers are to the right of the array.
●● Write a program to find all the unique elements in an array.
●● Write a program to merge two arrays of the same size sorted in descending order.
●● Write a program to count the frequency of each element in an array of integers.
●● Write a program to find the second largest element in an array.
●● Write a program to find the second smallest element in an array.
●● Write a program to find that one element in array that occurs odd number of times, where every
other element appears even number of times.
●● Create a jagged array (adjacency list representation of a graph) with no of rows and no of
columns in each row as specified by the user.
Hint: Use Dynamic memory allocation (malloc() or calloc())
Input:
Enter no of rows: 3
Enter no of columns Row in 1: 3
Enter no of columns Row in 2: 5
Enter no of columns Row in 3: 2
Enter the elements row wise:
865
84697
92
Output:
865
84697
92
●● Write a program to find second largest number in the array.
●● Write a program to find first repeating element in the array.
●● Write a program to left rotate the array.
●● Write a program to right rotate the array.
●● Write a program to find the largest continuous sum.
●● Write a program to print the sum of 2nd largest and 2nd smallest elements.
●● Write a program to find the maximum product of two numbers multiplies in array (same index
should not be used twice).
●● Rearrange an array consisting of 1s and 0s such that they are alternatively arranged. Print
minimum number of moves required.
●● In a given array, find two numbers whose sum equal k.
●● Find the difference between positive and negative elements in the array.
●● Implement sorting algorithms (Insertion, selection, bubble).

UNIT-2 0L+4T+12P=16 Hours

STRINGS

PRACTICES:
Problems on Strings:
●● Write a program to reverse a given string word by word.
●● Write a program to find the first occurrence of non-repeating character in the given string.
●● Write a program to compress the string as provided in the example.
●● Write a program to expand a string as provided in the example.

VFSTR 47
CSE - I Year II Semester

●● Write a program to reverse those words of a string whose length is odd.


●● Write a program to check if a given matrix is symmetric or not.
●● Write a program to convert all the cases of letter (Lower case -> Upper Case, Upper Case->
Lower Case).
●● Write a program to reverse all the words (Not the entire sentence but individual words).
●● Find the longest palindrome in a given string.
●● Check if two strings are anagrams or not.
●● Find minimum number of changes to be done to make a string palindrome.
●● Convert Excel sheet name to number ( A-1, B-2, Z-26, AA-27).
●● Find number of possible palindromes present in a string.
●● Write a C program to read a string s, and determine the number of words in s.
Example: s=oneTwoThree
There are 3 words in the string: ‘one’, ‘Two’, ‘Three’.
●● Write a C program that reads a string S and remove all duplicates characters from the given
string S.
NOTE: 1) Order of characters in output string should be same as given in input string.
2) String S contains only lowercase characters [‘a’-’z’].
Example: S = Vignanuniversity
The program should generate the output as: Vignauersty
●● Today Ron is reading the book. Due to some reason, he started hating the word ‘are’ (without
quotes). So he decided to replace the substring ‘are’ with ‘R’. Write a C program that reads a
line of message ‘s’ and replace the substring ‘are’ with ‘R’. Example: s= Howareyou.
The program should generate the output as: HowRyou
●● Write a program to concatenate the characters of the two given strings alternatively.
●● Given a string S consisting of uppercase and lowercase letters, change the case of each
alphabet in this string. That is, all the uppercase letters should be converted to lowercase and
all the lowercase letters should be converted to uppercase.
Input: Vignan University
Output: vIGNAN uNIVERSITY
●● Write a program to insert a given character at the beginning and end of the given string.
●● Given two Strings A and B. They are said to be friends if ASCII sum of the each individual
string is divisible by 4 else they are not friends. You need to find whether given two strings are
friends or not.
Sample Test case:
Input:
man nam
vignan university
Output:
YES
NO
●● Write a program to find the frequency of each digit in the given string.
Input Format
The first line contains a string, which is the given number.
Output Format
Print ten space-separated integers in a single line denoting the frequency of each digit, indicate
that the integers are from 0 to 9.
Sample Input 0
a11472o5t6
Sample Output 0

VFSTR 48
CSE - I Year II Semester

0210111100
Explanation 0
In the given string:
1 occurs two times.
2,4,5,6 and 7 occur one time each.
The remaining digits and don’t occur at all.
●● Sherlock considers a string to be valid if all characters in the given string appear the same
number of times. It is also valid if he can remove just 1 character at 1 index in the string, and
the remaining characters will occur the same number of times.
Write a C program that reads a string s and determine whether it is valid or not. If valid, return
YES, otherwise return NO.
Example: S=abc
This is a valid string because frequencies are {a:1,b:1,c:1}
S=abcc
This is a valid string because we can remove one c and have 1 of each character in the
remaining string.
S=abccc
This string is not valid as we can only remove 1 occurrence of c. That leaves character
frequencies of {a:1,b:1,c:2}
●● Read a string containing characters A and B only. Your task is to change it into a string such
that there are no matching adjacent characters. To do this, you are allowed to delete zero or
more characters in the string.
Write a C program that finds the minimum number of deletions required.
Example: S=AABAAB
Remove A at positions 0 and 3 to make S=ABABA in 2 deletions.
Input Format
The first line contains an integer ( the number of queries ).
The next q lines each contain a string s to analyze.
Sample Input:
5
AAAA
BBBBB
ABABABAB
BABABA
AAABBB
Sample Output:
3
4
0
0
4
●● Write a C program that reads a string ‘s’ and it is said to be complete if it contains all the
characters from a to z.
Input Format
First line of the input contains the number of strings N. It is followed by N lines each contains
a single string.
Output Format
For each test case print “YES” if the string is complete, else print “NO”

VFSTR 49
CSE - I Year II Semester

Constraints 1 <= N <= 10


The length of the string is at max 100 & the string contains only the characters a to z.
●● Write a C program that reads two strings and determine whether they share a common substring
or not. A substring may be as small as one character.
Example;
S1=and
S2=art
The common substring in these two strings: a.
Sample Input
2
hello
world
hi
world
Sample Output
YES
NO

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
1 Write simple, but complete, C programs. Apply 1,2 1
2 Identify suitable data type for operands and
Apply 1,2 1
design of expressions having right precedence.
3 Apply decision making and iterative features of
Apply 1,2 1
C Programming language effectively.
4 Select problem specific data structures and
Analyse 1,2 1,2
suitable accessing methods.
5 Design and develop non- recursive and recur-
sive functions and their usage to build large
Create 1,2 3
modular programs and also able to design string
manipulation functions.
6 Develop C programs that are understandable,
debuggable, maintainable and more likely to Create 1,2 3,4
work correctly in the first attempt.

TEXT BOOKS:
1. Behrouz A. Forouzan, Richard F.Gilberg, “Programming for Problem Solving”, 1st edition,
Cengage publications, 2019.
2. Ajay Mittal, “Programming in C - A Practical Approach”, 1st edition, Pearson Education, India,
2010.

REFERENCE BOOKS:
1. Reema Thareja, “Computer Fundamentals and Programming in C”, 1st edition, Oxford University
Press, India, 2013.
2. Herbert Schildt, “C: The Complete Reference”, 4th edition, Tata McGraw-Hill, 2017.
3. Byron S Gottfried, “Programming with C”, 4th edition, Tata McGraw-Hill, 2018.

VFSTR 50
CSE - I Year II Semester

22EN104 TECHNICAL ENGLISH


COMMUNICATION
Hours Per Week :

L T P C
2 0 2 3

PREREQUISITE KNOWLEDGE: Basic sentence formation, understanding contextual meanings, basic


writing skills and moderate fluency in English. Source: https://
www.abebooks.
com/9781316640081/
COURSE DESCRIPTION AND OBJECTIVES: English-Technical-
Communication-
In this course students will read, analyze, and interpret material from technical and general fields, and Students-
practice reading, writing, listening and speaking skills to gain exposure and functional English on a variety Book-1316640086/plp
of contemporary topics. The overall course objective is to provide English for Specific Purposes(ESP)
instruction to enhance students’ reading, writing, listening and speaking skills through a practice in the
language. It will aim to build students’ confidence and motivation through exposure to academic skills
like Note making/taking, Paraphrasing, Summarizing, Report Writing, Making Presentations etc., so as
to generate interest in the language from an ESP perspective. Finally, students are expected through the
course to gain key strategies and expression for communicating with professionals and non-specialists.

MODULE-1
UNIT-1 8L+0T+8P=16 Hours

GENETICS
Reading: Reading for Note Making Sub skills: Reading for global understanding (skimming), specific
information (scanning), understanding main ideas and supporting ideas, guessing contextual meanings
from the text. -Vocabulary building: commonly used roots, prefixes, and suffixes.
Writing: Note making, organising main points and sub points, numbering and sequencing, suggesting
titles, paraphrasing and summarising.
Functional grammar: Common Errors in Articles and Prepositions (Handout).
Listening: Listening for Note Taking: top down and bottom up approach, listening for main ideas and
supporting points.
Speaking: Presentation in teams - ideas on the topic summarised, making a PPT, effective introductions
and conclusions, logical organisation of content, using appropriate structure and cohesive devices.

UNIT-2 8L+0T+8P=16 Hours

ALIENS
Reading: Reading: predicting, skimming, scanning, reading for inference, extrapolative reading.
Vocabulary building: Academic vocabulary from the text: synonyms, antonyms, Words often confused.
Writing: Paragraph writing; writing a topic sentence, supporting sentences, effective introductions and
conclusions, use of cohesive devices. Types of Paragraphs: Descriptive, narrative, argumentative and
expository.
Functional grammar: Common Errors inVerb forms and Conditional sentences (Handout).
Listening: Listening for identifying parts from a description, listening to and sorting information, listening
for specific information.
Speaking: Narrating/Retelling an incident, using suitable cohesive devices/discourse markers Speaking
of past and present habits/activities/events - Speaking of future plans.

VFSTR 51
CSE - I Year II Semester

SKILLS: PRACTICES:
99 A
pply different ●● Note making.
sub skills like
skimming, scan- ●● Summarizing.
ning, reading ●● Paragraph Writing.
for information,
reading for ●● Error correction and Restructuring.
inference etc. ●● Vocabulary building.
to understand
●● Listening comprehension.
different kinds of
text. ●● Note taking.
99 Apply different
sub skills like top MODULE-2
down, bottom up
approaches to
UNIT-1 8L+0T+8P=16 Hours
listening.
SOCIAL MEDIA – HEALTH AND NUTRITION
99 Use functional
vocabulary Reading: Reading for factual information researching for supporting evidence - skimming, scanning.
relevant to
engineering and Vocabulary building: One-word substitutes.
technology to
express ideas
Writing: Letter Writing- E-mail writing – New age communication – Format, protocol, and style-
lucidly. WhatsApp, Facebook and Twitter Functional grammar: Common Errors in Sub-Verb Agreement and
Modals.
99 Use appropriate
sentence struc- Listening: Listening to a Business Presentation: Listening for deducing information, for abstract details
ture, cohesive
devices to and specific details, listening for taking a message.
construct simple
text in regular
Speaking: Making a presentation with a PPT on a topic assigned- organising the presentation using
correspondence appropriate discourse markers - presenting a point of view - Extempore.
like e-mails and
letters. UNIT-2 8L+0T+8P=16 Hours

FASHION
Reading: Reading for data interpretation and information transfer from graphical aids to text reports
(pictograms. tables, graphs, pie charts, flow charts), deducing specific information and general
information.
Vocabulary building: business vocabulary, collocations, idioms and phrasal verbs.
Writing: Writing a Report: Drafting general and factual reports - writing an overview - an effective
introduction - organising information into paragraphs (Stages of writing: planning /organising /writing /
editing /rewriting).
Functional grammar: transformations and miscellaneous common errors.
Listening: Listening to a Ted talk and sorting information - taking notes from a discussion.
Speaking: Group Discussion - prerequisites -generating content - initiating a discussion - expressing
one’s opinion - leading a discussion - agreeing/ disagreeing to someone’s view - cutting into a speech
- body language and voice modulation.

PRACTICES:
●● E-mail writing.
●● Letter writing.
●● Report writing.
●● Messaging in Social media.
●● Extempore.
●● Making PPTs.

VFSTR 52
CSE - I Year II Semester

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply a variety of strategies to interpret and
1 comprehend spoken texts/ discourse using Apply 1 6, 7, 8, 9, 10, 12
contextual clues.
Apply appropriate reading strategies to interpret
2 content / material related to engineering and Apply 1 6, 7, 8, 9, 10, 12
technology domain.
Participate in discussions and make short pre-
3 Apply 1, 2 6, 7, 8, 9, 10, 12
sentations on general and technical topics.
Possess an ability to write clearly on topics
4 related to technology and workplace commu- Analyze 2 6, 7, 8, 9, 10, 12
nication.
Choose functional language, grammar struc-
5 tures, cohesive devices and skills of organisa- Evaluate 2 6, 7, 8, 9, 10, 12
tion to express clearly in speaking.

LANGUAGE LAB ACTIVITIES


Session - 1: Dictionary Skills.
Session - 2: Introduction to Phonetics and Identifying Phonemes.
Session - 3: Pronunciation Practice (Commonly mispronounced words).
Session - 4: Rosetta Stone (Exercises on LSRW).
Session - 5: Listening Comprehension (Summarising exercise on a Ted Talk).
Session - 6: Technical Presentations (Individual).
Session - 7: Technical Presentations (Team).
Session - 8: TOEFL Mastery.

TEXT BOOK:
1. N P Sudharshana & C Savitha, “English For Technical Communication”, Cambridge University
Press, 2016.

REFERENCE BOOKS:
1. Balasubramanian T,“A Text book of Phonetics for Indian Students”, Orient Longman, New Delhi,
1989.
2. Krishnaswamy, N and Sriraman, T, “Current English for Colleges”, Trinity publications, 2016.
3. Mohan Krishna and Meera Banerjee, “Developing Communication Skills”, Macmillan India Ltd.
New Delhi, 1990.
4. Ashraf Rizvi M, “Effective Technical Communication”, 2ndEdition, McGraw Hill Education, 2017.
5. Narayana Swamy V R, “Strengthen your Writing”, Third Edition Orient Black Swan, New Delhi,
2005.

VFSTR 53
CSE - I Year II Semester

22CS104 PYTHON PROGRAMMING

Hours Per Week :

L T P C
2 0 2 3
PREREQUISITE KNOWLEDGE: Prior knowledge of any programming language and object-oriented
Source: https://www. concepts is helpful but not mandatory.
hitalent.co/blog/2019/12/
tech-jobs-python- COURSE DESCRIPTION AND OBJECTIVES:
programming-language-
and-aws-skills-demand- This course offers sufficient knowledge required to understand the fundamental concepts of Python
has-exploded
programming language. This course enables students to choose appropriate data structures (lists,
dictionaries, tuples, sets, strings) for the given problem. In addition, the students will be able to create
reliable, modular and reusable applications using Object- Oriented Programming approaches. At the end
they will get an idea of how to access database using python programming, develop web applications,
and using web Services using python Programming.

MODULE-1
UNIT-1 6L+0T+6P=12 Hours

INTRODUCTION
Introduction to python, Variables, Assignment, Keywords, Built-in functions, Indentation, Comments,
Basic data types - integers, float, complex, Boolean, strings; Python program development, running
python using REPL shell, Python scripts.
Operators and Expressions: Operators- arithmetic operators, comparison (relational) operators,
assignment operators, logical operators, bitwise operators, membership operators, identity operators;
Expressions and order of evaluations.
Control Structures: Conditional control structures - if, elif, else; Loop control structures - for, while,
for... else, while…else, nested loops, break, continue, pass.

UNIT-2 10L+0T+10P=20 Hours

PYTHON DATA STRUCTURES AND FUNCTIONS


Data Structures: Lists, Tuples, Sets, Strings, Dictionary - creation, accessing, basic operators and
methods; List comprehensions.
Functions: Defining functions, calling functions, Passing arguments - keyword arguments, default
arguments, positional arguments, variable-length arguments; Types of functions- anonymous functions,
fruitful function, recursive functions; Scope of the variables- global and local variables, Development of
recursive and non-recursive functions.

PRACTICES:
●● A. Given an integer N, write a program to find its 1’s complement.
●● B. Given two integers N1 and N2, write a program to find their product without using multiplication
(‘*’) operator and loops.
●● C. Given two integers N1 and N2 having same value, write a program to check whether N1
and N2 points to the same object or not.
●● A. Given an Integer N, write a program to check whether given number is even or odd without
using modulus operator.
●● Given a number N, number of bits K and starting position P, write a program to extract K bits
from a position P (from right) in the binary representation of N. Convert the extracted bits in
decimal number.

VFSTR 54
CSE - I Year II Semester

●● Given coordinates of centre of a circle, radius and a point coordinate, write a program to check SKILLS:
whether the given point lies inside or on the circle, or outside the circle. 99 AInstallation and
●● Write a program to find the sum of digits in a given integer. usage of python
libraries.
Given an integer N as an input, decides the geometrical figure for which the area has to be
calculated, for example N=1 for circle, N=2 for rectangle, and N=3 for triangle. Write a program 99 Working with
varieties of data
to display the area of the respective figure. structures.
●● A semi prime number is an integer which can be expressed as a product of two distinct primes. 99 Improved
For example, 15 = 3*5 is a semi prime number but 9 = 3*3 is not. analytical and
For a Given an integer number N, write a program to find whether it can be expressed as a problem-solving
abilities.
sum of two semi-primes or not (not necessarily distinct).
99 Developing
●● Given an integer amount X, write a program to find the minimum number of currency notes $ structured
(500, 100, 50, 20, 10, 5, 2, 1) required for the given amount. modular and
Input: Object-oriented
programming
575 solutions.
Where input is the amount for which we have to calculate the number of currency notes.
Output: 4
Explanation: Total amount = 1(500 dollar note) + 1(50 dollar note) + 1(20 dollar note) + 1(5
dollar note) = 575, hence the minimum number of notes required is 4.
●● For a given a string S and width W, write a program to wrap the string S into a paragraph of
width W.
Example:
Input:
ABCDEFGHIJKLIMNOQRSTUVWXYZ
4
Output:
ABCD EFGH IJKL IMNO QRST UVWX Y
Z
●● Write a program to Measure the required time to access the first element, nth element and n/2
element stored in list and tuple data structure.
Given a list L of N numbers (integers), Write a program to find the sum of the elements of given
list L with the corresponding elements of the reverse of list L. If list L has elements [1,2,3], then
reverse of the list L will be [3,2,1] and the resultant list should be [4,4,4].
●● Given a positive integer number n. Write a program to generates a dictionary d which contains
(i, i*i*i) such that i is the key and i*i*i is its value, where i is from 1 to n (both included). Print
the content of the dictionary d.
●● Write a program to create a data structure to store student information such as regd no, name,
percentage of marks, phone number and display the student details based on the order of
percentage of marks.
●● For a Given a string, design and implement functions to perform the following:
a) remove vowels in the given string.
b) count number of uppercase and lowercase letters.
c) remove all special characters.
d) check whether it is a palindrome or not.
e) swap case of each letter.
●● Create a function that receives 3 numbers and returns the median, i.e. the number that is not
the min and not the max, but the one in between.
●● Given two lists of integer numbers, write a function to perform the following operations.
a. print elements that are common in both the lists. (Print without duplicates).
b. print elements that are present in the first list and not present in second list.
c. print elements that contain the first element of the first list and last element of the second list.
d. print elements that contain sum of elements of first list and sum of elements of second list.

VFSTR 55
CSE - I Year II Semester

e. print largest number of both the lists.


f. print smallest number of both the lists.

MODULE-2
UNIT-1 8L+0T+8P=16 Hours

MODULES
Creating modules, Import Statement, From...Import Statement, Name Spacing, Creating user defined
modules.
Standard Modules: sys, math, date, time, os, random and itertools modules.
Packages: Numpy, Pandas, Matplotlib, Requests, Nltk.
File Processing: Reading and writing files -creating a new file, writing to a file, reading text files, opening
and closing files, reading, writing, tell (), seek (), rename ().

UNIT-2 8L+0T+8P=16 Hours

ERRORS AND EXCEPTIONS


Introduction to Exceptions, Handling Exception, Try Except Else and Finally Block, Raising Exceptions.
Simple Graphics and Image Processing: Overview of Turtle Graphics, Two Dimensional Shapes,
Colours and RBG System and Image Processing

PRACTICES:
●● Given a string ‘S’, find all possible permutations of the string S in lexicographic sorted order.
Each Permutation size is “2” or “3”.
Sample Input:
HACK
Expected Output: AC AH AK CA CH CK HA HC HK KA KC KH
●● Write a program that finds area of the pentagon when length from center of a pentagon to vertex
are given, the formula for computing the area of pentagon is ∛3/2 s2, where s is the length of
the side, the side can be computed using formula s= 2r sin⁡〖π/5〗, where r is the length from
the center of a pentagon to vertex.
Given X as a date. Write a program to find what the day is on that date.
Sample Input: 08 05 2015
Expected Output: Wednesday
●● Arun is working in an office which is N blocks away from his house. He wants to minimize the
time it takes him to go from his house to the office. He can either take the office cab or he can
walk to the office. Arun’s velocity is V1 m/s when he is walking. The cab moves with velocity V2
m/s but whenever he calls for the cab, it always starts from the office, covers N blocks, collects
Arun and goes back to the office. The cab crosses a total distance of N meters when going
from office to Arun’s house and vice versa, whereas Arun covers a distance of (2–√*N)(2*N)
while walking. Help Arun to find whether he should walk or take a cab to minimize the time.
Input Format:
A single line containing three integer numbers N, V1, and V2 separated by a space.
Example-1:
Input:
5 10 15
Output:
Cab
●● Create a binary NumPy array (containing only 0s and 1s) and convert a binary NumPy array
in to to a Boolean NumPy array Convert the first column of a Data Frame as a Series by using
suitable packages.

VFSTR 56
CSE - I Year II Semester

Sample Input:
Original Data Frame
col1 col2 col3
0 1 4 7
1 2 5 5
2 3 6 8
3 4 9 12
4 7 5 1
5 11 0 11
Sample Output:
0 1
1 2
2 3
3 4
4 7
11
●● Create two text files and read data from two text files. Display a line from first file followed by
the corresponding line from the second file.
●● Define the following functions that are more robust to erroneous input data
a) To divide two numbers (To handle Zero Division Error).
b) To read two integer numbers and display them (To handle Value Error).
c) To display elements of a list (To handle Index Error).
d) To open a file and display file contents (To handle File Not Found Error).
●● Write a python program to handle multiple exceptions using raise keyword.
●● Draw the spiral hexagon, where we use turtle to create a spiral structure. The final shape is a
hexagon and there are various colors used in producing the sides of the hexagon.
●● Implement a program to print it in a counterclockwise spiral form for a given square matrix.
Sample Input:
4
25 1 29 7
24 20 4 32
16 38 29 1
48 25 21 19
Sample Output:
25 24 16 48 25 21 19 1 32 7 29 1 20 38 29 4
●● Write a function that finds the nearest prime number of a given number.

VFSTR 57
CSE - I Year II Semester

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Analyze various features of programming
language and their application in problem solving
1 Analyze 1 1, 2
in computer programming to write, compile, and
debug programs in python language.
Make use of different data types to design
2 Apply 1 1, 2, 5
programs involving decisions, loops, and functions.
Analyze the usage of different data structures
3 for practical and contemporary applications for a Analyze 1 1, 2, 3, 5
given problem.
Develop functional, reliable and User-friendly
4 Python programs for given problem statement Apply 2 1, 2, 3,5
and constraints.
Installing the python environment and related
5 packages that are required for practical and Apply 2 1, 2,3,5
contemporary applications.

TEXT BOOKS:
1. Kenneth A. Lambert, “The Fundamentals of Python: First Programs”, Cengage Learning, 2011.
2. Mark Lutz, “Learning Python”, 5th edition, Orielly Publishers, 2013.

REFERENCE BOOKS:
1. Introduction to Computation and Programming Using Python. John V. Guttag, The MIT Press.
2. James Payne, “Beginning Python using Python 2.6 and Python 3”, Wrox publishing.
3. Paul Gries, “Practical Programming: An Introduction to Computer Science using Python 3”,
The Pragmatic Bookshelf, 2nd edition, 4 Oct. 2013.
4. Allen B. Downey, “Think Python”, 1st edition, Orielly publishing.

VFSTR 58
II
Y E A R
COMPUTER SCIENCE
AND ENGINEERING

B.Tech.
I SEMESTER
 22ST202 - Probability and Statistics
 22TP201 - Data Structures
 22MS201 - Management Science
 22CS201 - Database Management Systems
 22CS202 - Digital Logic Design
 22CS203 - Object Oriented Programming Through Java
 22CT201 - Environmental Studies
 22SA201 - Life Skills - I
NCC/NSS/SAC/E-Cell/Student Mentoring/Social
-
 activities/Publication

II SEMESTER
 22TP203 - Advanced Coding Competency
 22TP204 - Professional Communication
 22CS205 - Computer Organization and Architecture
 22CS206 - Design And Analysis of Algorithms
 22CS207 - Operating Systems
 22CS208 - Theory of Computation
 22SA202 - Life Skills - II

COURSE CONTENTS
I SEM & II SEM
CSE - II Year I Semester

22ST202 PROBABILITY AND STATISTICS

Hours Per Week :

L T P C
3 0 2 4
PREREQUISITE KNOWLEDGE: Basic knowledge in statistics and mathematics.
Source: https://
COURSE DESCRIPTION AND OBJECTIVES: www.amazon.com/
Differential-Equations/dp/
To provide students with foundation in elementary topics of statistics and probability such as descriptive B01H30X2JA
statistics, correlation, probability, random variables, correlation, regression, and testing of hypothesis.
The course emphasizes statistics to solve engineering and management problems.

MODULE-1
UNIT-1 12L+0T+8P=20 Hours

DESCRIPTIVE STATISTICS
Basic Definitions, Frequencies, Graphical Representation, Histogram, Ogive curves; Measures of
Central tendency, Arithmetic mean, Median, Mode, Mean deviation, Standard deviation; Symmetry and
Skewness, Karl Pearson’s Coefficient of skewness.

UNIT-2 12L+0T+8P=20 Hours

PROBABILITY AND RANDOM VARIABLES


Probability: Introduction, Definition (Classical and Axiomatic approach), Addition theorem, Conditional
probability, Multiplication theorem and Bayes theorem.
Random Variables: Random variables, Discrete and Continuous variables and distribution function.

PRACTICES:
●● Various graphical presentation techniques.
●● Measures of central tendency.
●● Skewness.
●● Karl Pearson’s coefficient of skewness.
●● Applications of addition theorem.
●● Applications of multiplication theorem.

MODULE-2

UNIT-1 12L+0T+8P=20 Hours

REGRESSION ANALYSIS AND DISTRIBUTIIONS


Correlation and Regression: Correlation, types, Pearson’s coefficient of correlation, regression,
regression lines.
Distributions: Introduction to distributions: Binomial, Poisson and Normal distributions with properties
and applications.

UNIT-2 12L+0T+8P = 20 Hours

TESTING OF HYPOTHESIS
Testing large samples-one mean, two means, one proportion and two proportions. Testing small

VFSTR 61
CSE - II Year I Semester

SKILLS: samples- one mean, two means (independent and paired samples), Chi square tests-goodness of fit
99 Collect the data and independence of attributes.
from various
data sources
and evaluate
PRACTICES:
mean, median, ●● Correlation.
mode mean
deviation and
●● Karl Pearson’s coefficient of correlation.
standard devi- ●● Regression and regression lines.
ation. ●● Applications of statistical distributions.
99 Identify the ●● Testing the large sample tests-one mean and two sample means.
areas which
we can apply ●● One proportion and two proportion tests.
the probability ●● Testing small samples-one, two samples and paired tests.
theory.
●● Chi-square test for goodness of fit.
●● Chi-square test for independence of attributes.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply measures of central tendency, skewness,
1 and Karl Pearson’s coefficient of skewness to Apply 1 1,2
study the statistical data sets.
Apply the probability theory and their applications
2 Apply 1 1,2
to measure the uncertainty.
Study the relations between statistical variables
3 Analyze 2 1,2,3
and can fit the mathematical models for association.
Test the statistical significances for various
4 Evaluate 2 1,2,4
samples.
Identify the distribution type to measure the
5 Evaluate 2 1,4,5
occurrences of chance.

TEXT BOOKS:
1. Sheldon M. Ross, An Introduction to Probability and Statistics for Engineers and Scientists,
3rd Edition, Academic Press, Elsevier.
2. S. C. Gupta and V. K. Kapoor, “Fundamentals of Mathematical Statistics”, Sultan Chand &
Sons, 2012.

REFERENCE BOOKS:
1. P. R. Vittal, “Mathematical Statistics”, Margham Publications, Chennai, 2018.
2. Kishore S. Trivedi, “Probability and Statistics with Realiability, Queueing and Computer Science
Applications”, 2nd edition, Wiley Student edition, 2008.
3. A. Singaravelu, “Probability and Statistics”, 22nd edition, Meenakshi Agency, 2015.

VFSTR 62
CSE - II Year I Semester

22TP201 DATA STRUCTURES

Hours Per Week :

L T P C
2 2 2 4
PREREQUISITE KNOWLEDGE: Programming in C.
Source: https://
www.youtube.com/
COURSE DESCRIPTION AND OBJECTIVES: watch?v=Qmt0QwzEmh0
This course is aimed at offering fundamentals concepts of data structures and explains how to implement
them. It begins with the basic concepts of data, data structures and then introduces the primitive and
non-primitive data structures in detail. It forms the basis for understanding various ways of representing
data and its usage in different computing applications.

MODULE-1
UNIT-1 6L+6T+6P=18 Hours

DATA STRUCTURES BASICS


Basic Terminology – data, information, datatype; Data Structures – Introduction, storage structures-
sequential and linked storage representations; classification of data structures; Applications of data
structures.
Sorting: Selection Sort, Bubble Sort, Insertion Sort, Quick Sort and Merge Sort.
Searching: Linear Search and Binary Search.

UNIT-2 10L+10T+10P=30 Hours

LINKED LISTS AND STACKS, QUEUES


Linked List: Introduction, Types of linked list – Singly linked list, doubly linked list and circular linked
list, representation of linked list, Operations of linked list: Traverse forward/ reverse order, searching,
insertion and deletion; Applications of linked lists.
Stack – Introduction, array and linked representations, implementation and their applications; Queue
– Introduction, array and linked representations, implementation; Types – Linear, circular and doubly
ended queues – operations; Applications of Queues.

PRACTICES:

PROBLEMS ON RECURSION – LEVEL 1


●● Find the product of 2 numbers using recursion.
●● Find the sum of natural numbers using recursion.
●● Find the factorial of a number using recursion.
●● Find the Nth term of Fibonacci series using recursion.
●● Calculate the power using recursion.
●● Write a recursive program for checking if a given number is a prime number.
●● Given two integers write a function to sum the numbers without using any arithmetic operators.
●● Convert a decimal to binary using recursion.
●● Print all factors using recursion.
●● Find the maximum product of digits among numbers less than or equal to N.

VFSTR 63
CSE - II Year I Semester

SKILLS: PROBLEMS RECURSION – LEVEL 2


99 Experienced to ●● Implement insertion sort recursively.
Store data and
various types of ●● Write a program to find the numbers less than N that are product of exactly 2 distinct prime
data to handle. numbers - using recursion.
99 Ordering and ●● Implement selection sort recursively.
sorting of data. ●● Find the middle of a singly linked list using recursion.
99 Indexing and ●● Find the sum of even numbers of an array using recursion.
Searching of
●● Check if a given array is in sorted order using recursion.
required data
from large data ●● Print alternate nodes of a linked list using recursion.
sequences. ●● Reverse a doubly linked list using recursion.
99 Exposed ●● Write a recursive function that returns all permutations of a given list.
to various
characteristics ●● Implement bubble sort recursively.
such as Linear
or non-linear, PROBLEMS ON SORTING AND SEARCHING – LEVEL 1
Homogeneous ●● Implement the insertion sort function.
or
heterogeneous ●● Implement the bubble sort function.
and Static and ●● Implement the quick sort function.
Dynamic.
●● Implement the merge sort function.
●● Implement the selection sort function.
●● Implement linear search function.
●● Implement binary search function.

PROBLEMS ON SLL – LEVEL 1


●● Implement the insert function to insert nodes into a singly linked list (ascending order).
●● Implement the insert function to insert nodes into a singly linked list (descending order).
●● Implement the search node function.
●● Implement the delete node function.
●● Display forwards function.
●● Display backwards function.
●● Count the number of nodes in a singly linked list.
●● Swap alternate nodes of a singly linked list.
●● Move last node to the front of the linked list.
●● Move first node to the last of the linked list.

PROBLEMS ON STACKS – LEVEL 1


●● Implement two stacks using a single array.
●● Given an array replace every element with nearest greater element on the right.
●● Given a stack reverse the elements using only push and pop functions.
●● Postfix evaluation using stack.
●● Balance symbols.
●● Find middle element in a stack.
●● Remove middle element from a stack.
●● Implement push and pop using linked list.
●● Given an array of characters with the middle marked by X, check if the string is a palindrome.
●● Maximum sum in sliding window.

PROBLEMS ON QUEUES – LEVEL 1


●● Write a program to accept two numbers as input check if they are equal.
●● Write a program to accept two characters as input and check if they are equal.
●● Write a program to accept two numbers as input and print the greater of the 2 numbers.
●● Write a program to accept two numbers as input and print the lesser of the 2 numbers.
●● Write a program to accept 3 numbers as input and print the maximum of the 3.

VFSTR 64
CSE - II Year I Semester

●● Write a program to accept 3 numbers as input and print the minimum of the 3.
●● Write a program to accept a number as input and print EVEN if it is an even number and ODD
if it is an odd number.
●● Write a program to accept a number as input and check if it is divisible by 3. If it is divisible by
3 print YES else print NO.
●● Write a program to accept a number as input and check if it is divisible by both 3 & 5. If it is
divisible print YES else print NO.
●● Write a program to accept a number as input and check if it is positive, negative or zero.

PROBLEMS ON DLL – LEVEL 1


●● Implement insert function.
●● Implement display forward function.
●● Implement display backward function.
●● Implement search function.
●● Implement delete function.
●● Reverse a doubly linked list from M to N.
●● Find the sum of the odd and even nodes.
●● Count odd keys of the linked list.
●● Merge two sorted lists.
●● Delete adjacent duplicate nodes.

PROBLEMS ON CLL – LEVEL 1


●● Insert function (circular doubly linked list).
●● Search function.
●● Display forward.
●● Display backward.
●● Delete node (circular doubly linked list).
●● Print the middle N nodes of a circular singly linked list.
●● Move the last node of a circular singly linked list to the beginning.
●● Delete adjacent duplicate nodes of a circular singly linked list.
●● Delete nodes greater than a value from a circular doubly linked list.
●● Find the sum of the nodes of a circular linked list.

PROBLEMS ON LINKED LIST – LEVEL 2


●● Given 2 sorted linked lists, print the common elements.
●● Reverse a list (using Stack).
●● Given a pointer to a node (not the last node), delete the node.
●● Reverse a list (Recursive).
●● Reverse a list (Iterative).
●● Reverse a singly linked list in pairs (recursive).
●● Reverse a singly linked list in pairs (iterative).
●● Check if a singly linked list is a palindrome or not.
●● Remove the loop if exists.
●● Given 2 linked lists with data in the ascending order, merge them into a single list.

MODULE-2
UNIT-1 8L+8T+8P=24 Hours

TREES
Trees: Basic Terminology, Types of Trees, Binary Tree – Introduction, properties, array and linked
representations; Tree traversals and their implementation; Expression trees; BST – definition and
operations, AVL trees – definition and construction; Applications of binary trees.

VFSTR 65
CSE - II Year I Semester

UNIT-2 8L+8T+8P=24 Hours

GRAPHS & HASHING


Graphs: Basic Terminology, Types of Graphs, Graphs representations – adjacency matric, adjacency
list; Traversals - breath first search and depth first search; Applications of graphs.
Hashing: Introduction, Different hash functions, collision: avoidance and handling methods.

PRACTICES:

PROBLEMS ON BST – LEVEL 1


●● Insert function.
●● Insert function (recursive).
●● Search function.
●● Pre order traversal.
●● Post order traversal.
●● In order traversal.
●● Level order traversal.
●● Delete child node.
●● Delete parent node.
●● Delete nodes greater than a value from a circular doubly linked list.

PROBLEMS ON PRIORITY QUEUES – LEVEL 1


●● Meeting rooms problem.
●● Ugly number.
●● Find median from data stream.
●● Find the top K frequent elements.
●● Find K Pairs with smallest sums.
●● Find the Kth smallest element in a sorted matrix.
●● Trapping Rain Water.
●● Rearrange String k distance apart.
●● Sort characters by frequency.
●● Solve the maze problem.

PROBLEMS ON GRAPHS – LEVEL 1


●● Implement Graph data structure.
●● Implement BFS - iterative solution.
●● Implement BFS - recursive solution.
●● Implement DFS - iterative solution.
●● Implement DFS - recursive solution.
●● Check if given graph is strongly connected or not.
●● Check if given graph is strongly connected or not - using DFS.
●● Given a graph find the arrival and departure time of its vertices in DFS. Arrival time is the time
when the vertex was explored for the first time, and departure time is the time at which all the
neighbours are explored and are ready to backtrack.
●● Given a directed acyclic graph and a source vertex, find the cost of the shortest path from
source vertex to all other vertices present in the graph. If a vertex cannot be reached from
given source vertex that distance may be printed as infinite.
●● Given an undirected graph, check if the graph is 2 edge connected or not.

PROBLEMS ON HASHING – LEVEL 1


●● Print a binary tree in vertical order.
●● Find whether an array is subset of another array.
●● Given an array A [ ] and a number x, check for pair in A [ ] with sum as x.

VFSTR 66
CSE - II Year I Semester

●● Minimum operation to make all elements equal in array.


●● Maximum distance between two occurrences of same element in array.
●● Check if a given array contains duplicate elements within k distance from each other.
●● Find duplicates in a given array when elements are not limited to a range.
●● Most frequent element in an array.
●● Smallest subarray with all occurrences of a most frequent element.
●● First element occurring k times in an array.

PROBLEMS ON GRAPHS – LEVEL 2


●● Find the shortest graph distances between every pair vertex in a given path. Assume that the
graph does not have any negative edges.
●● Find the shortest graph distances between every pair of vertices in a given path. The graph
can have negative edges.
●● Detect cycle in DFS.
●● Count the number of connected components of a graph represented in the adjacent matrix.
●● Count the number of connected components of a graph represented in the adjacent matrix -
using DFS.
●● Find a spanning tree - not necessarily a minimum spanning tree.
●● Detect cycle in an undirected graph.
●● Given an undirected graph, find its depth.
●● Determine if a directed graph has a unique topological ordering.
●● Given a directed acyclic graph and two vertices v and w, find the lowest common ancestor.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Explore the organization of several ADTs and
1 the manipulation (searching, insertion, deletion, Apply 1,2 1
traversing) of data stored in various data structures.
Apply different data structures to solve a given
2 Apply 1,2 1
problem.
Analyze the efficiency of using different data
3 structures and choose the efficient data structure Analyze 1,2 2
for solving a given problem.
4 Develop new algorithms to solve various problems. Create 1,2 3,4

TEXT BOOKS:
1. Reema Thareja, “Data Structures Using C”, 2nd Edition, Oxford University Press, 2014.
2. Seymour Lipschutz, “Data Structures with C”, 1st Edition, McGraw Hill Education, 2017.

REFERENCE BOOKS:
1. Ellis Horowitz and Sartaj Sahni, “Fundamentals of Data Structures”, illustrated edition, Computer
Science Press, 2006.
2. Richard F. Gilberg and Behrouz A. Forouzan, “Data Structures: A Pseudocode Approach with
C”, 2nd Edition, CENAGE Learning, 2005.
3. R G Dromey and Pearson, “How to solve it by Computer”, 2nd edition, Impression edition,
1998.

VFSTR 67
CSE - II Year I Semester

22MS201 MANAGEMENT SCIENCE

Hours Per Week :

L T P C
2 2 0 3
PREREQUISITE KNOWLEDGE: Basic knowledge on management .
Source:
https://xueqi326. COURSE DESCRIPTION AND OBJECTIVES:
wordpress.com/
semester-3/management- The goal of this course is to analyse the importance of management, significance of operation
science/
management and carry out production operations through work-study. Students will be able to analyse
the markets, customers, competitors, and then plan HR function effectively.

MODULE-1
UNIT-1 6L+6T+0P=12 Hours

INTRODUCTION TO MANAGEMENT
Concepts of Management and organization- nature, importance and Functions of Management, Systems
approach to Management - Taylor’s Scientific Management Theory, Fayol’s Principles of Management,
Mayo’s Hawthorne Experiments, Maslow’s Theory of Human Needs, Douglas McGregor’s Theory X
and Theory Y, Herzberg’s Two-Factor Theory of Motivation, Leadership Styles, Social responsibilities
of Management.

UNIT-2 10L+10T+0P=20 Hours

OPERATIONS MANAGEMENT
Principles and Types of Plant Layout-Methods of production (Job, batch and Mass Production), Work
Study -Basic procedure involved in Method Study and Work Measurement, Objectives, Need for Inventory
control, EOQ, ABC Analysis, Purchase Procedure, Stores Management and Stores Records. Statistical
Quality Control: control charts for variables and attributes (simple Problems), Acceptance Sampling.

PRACTICES:
●● Collect some examples with videos for types of production.
●● Carry out production operations through work-study.
●● Practice problems with Inventory control methods and Quality Control charts.

MODULE-2

UNIT-1 8L+8T+0P=16 Hours

HUMAN RESOURCES MANAGEMENT


Concepts of Human Resource Management, Basic functions of HR Manager: Manpower planning,
Recruitment, Selection, Training and Development, Placement, Wage and Salary Administration,
Promotion, Transfer, Separation, Performance Appraisal, Grievance Handling and Welfare Administration,
Job Evaluation and Merit Rating.

UNIT-2 8L+8T+0P =16 Hours

MARKETING MANAGEMENT
Evolution of Marketing, Functions of Marketing Selling Vs Marketing, 4 P’s of Marketing - Product Mix
- Product Life Cycle – Place Mix - Channels of Distribution - Price Mix - Pricing Methods - Promotion
Mix - Tools of Promotions.

VFSTR 68
CSE - II Year I Semester

PRACTICES: SKILLS:
●● Select any Designation in an organization and try to describe its job description and job 99 Expert in
managerial
specifications.
skills.
●● How do you deal with grievances at your work.
99 Maintain social
●● Analyze marketing mix in various situations. relations.

COURSE OUTCOMES: 99 Evaluate pricing


strategies.
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
1 Analyze the nature and importance of management Analyze 1 1,2,4,6
2 Significance of Operations Management. Analyze 1, 2 1,2,5
Carry out production operations through work-
3 Apply 1, 2 1, 2, 3, 5
study
4 Analyze the markets, customers, and competition Analyze 2 1,2,4,5,6
5 Plan and control the HR function effectively Evaluate 1, 2 1,2,3,4,5,6

TEXT BOOKS:
1. Stoner, Freeman, Gilbert, Management, 6th Ed, Pearson Education, New Delhi, 2004.
2. P. Vijay Kumar, N. Appa Rao and Ashnab, Chnalill, Cengage Learning India, 2012.

REFERENCES :
1. Kotler Philip & Keller Kevin Lane: Marketing Mangement 12/e, PHI, 2005.
2. Koontz & Weihrich: Essentials of Management, 6/e, TMH, 2005.
3. Thomas N. Duening & John M .Ivancevich Management - Principles and Guidelines, Biztantra,
2003.
4. Aryasri: Management Science, TMH, 2004.

VFSTR 69
CSE - II Year I Semester

22CS201 DATABASE MANAGEMENT


SYSTEMS
Hours Per Week :

L T P C
2 2 2 4

PREREQUISITE KNOWLEDGE: Discrete Mathematical Structures.


Source: https://
www.youtube.com/
COURSE DESCRIPTION AND OBJECTIVES:
watch?v=lDpB9zF8LBw
This course presents an introduction to database management systems with an emphasis on how to
organize, maintain and retrieve data efficiently from a relational database. It also focuses on requirements
gathering and conceptual, logical, physical database design. The objective of the course is to enable
the student to understand database design, expressing queries using SQL, query optimization and
transaction processing.

MODULE-1
UNIT–1 10L+6T+4P=20 Hours

DATABASE SYSTEM CONCEPTS


Databases And Database Users: Introduction; Characteristics of the database approach; Actors on
the scene; Advantages of using DBMS approach.
Database System Concepts and Architecture: Data models, Schemas and instances; Three-Schema
architecture and data Independence; Database languages and interfaces; The database system
environment; Centralized and Client-Server architectures for DBMS.
Conceptual Data Modeling and Database Design: Entity types, Entity sets, Attributes and keys;
Relationship types, Relationship sets, Roles and structural constraints; Weak entity types; Relationship
types.

UNIT–2 6L+10T+12P=28 Hours

RELATIONAL DATABASE DESIGN


Relational Database Design by ER–To-Relational Mapping: Relational Database design using ER-
to-Relational mapping.
The Relational Data Model and Relational Database Constraints: Relational model concepts;
Relational model constraints and Relational database schemas.
Relational Algebra: Unary relational operations - SELECT and PROJECT; Relational algebra operations
from set theory; Binary relational operations - JOIN and DIVISION.
SQL: SQL data definition and data types; specifying constraints in SQL, Basic retrieval queries in SQL;
INSERT, DELETE, and UPDATE statements in SQL.

PRACTICES:
●● Design ER Model for various real time database applications.
●● Development of Relational Database schemas for Company/Student/Sailors/ using DDL
constructs of SQL.
●● Apply various DML Commands such as select, insert, update etc. of SQL on Relational Database.
●● Design of Relational Database schemas by specifying different types of Constraints.
●● Apply various Relational Database operators (Arithmetic, Logical &comparison) and string-
matching constructs of SQL.
●● Expressing queries using Aggregate Functions of SQL on Relational Database.
●● Queries on Relational Database using GROUP BY, HAVING and ORDER BY clauses of SQL.

VFSTR 70
CSE - II Year I Semester

MODULE-2 SKILLS:
99 Develop E-R
UNIT–1 8L+8T+12P=28 Hours model for real
life applications.
NORMALIZATION
99 Design of
Complex Queries, Triggers, Views: More complex SQL retrieval queries; Specifying constraints as relational
assertions and actions as triggers; Views (virtual tables) in Pl/SQL. databases
for real world
Basics of Functional Dependencies and Normalization for Relational Databases: Informal applications.
design guidelines for relation schemas; Functional dependencies-inference rules, equivalence and 99 Devise queries
minimal cover; Normal forms based on primary keys; Boyce-Codd normal form; Properties of relational using relational
decompositions, multi valued dependency, join dependencies. algebra and
SQL.

UNIT–2 8L+8T+4P=20 Hours 99 Analyze


transaction
TRANSACTION PROCESSING processing,
concurrency
Introduction To Transaction Processing Concepts and Theory: Introduction to transaction control and
processing; Transaction and system concepts; Desirable properties of transactions; Characterizing recovery
schedules based on serializability. techniques

Concurrency Control Techniques: Two-phase locking techniques for concurrency control, concurrency
control based on timestamp ordering.
Database Recovery Techniques: Recovery concepts; Shadow paging; The ARIES recovery algorithm.
Indexing Structures for Files and Physical Database Design: Single level and multi-Level indexing;
Dynamic multi-level indexing using B-trees and B+ trees.

PRACTICES:
●● Design and Development of company database and expressing Nested queries using SQL.
●● Design and Development of student database and specifying queries using set operations.
●● Design and Development of sailor’s database and specifying queries using different types of JOINs.
●● Implementation of PL/SQL programs with Control Structures.
●● Implementation of PL/SQL programs with Procedures.
●● Implementation of PL/SQL programs with Function.
●● Implementation of PL/SQL programs with Triggers.
●● Creation and dropping of VIEWS.
●● Relation R has eight attributes ABCDEFGH. Fields of R contain only atomic values. F = {CH
-> G, A -> BC, B -> CFH, E -> A, F -> EG} is a set of functional dependencies (FDs) so that F+
is exactly the set of FDs that hold for R. How many candidate keys does the relation R have?
●● Apply various DCL and TCL constructs of SQL on Relational Database.

VFSTR 71
CSE - II Year I Semester

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
1 Develop an E-R model for real life applications. Apply 1 1,10
Design and normalize databases for real time
2 Create 1 1,3
applications.
Devise queries using Relational Algebra and
3 Analyze 2 2
SQL.
Express queries using database tools like Ora-
4 Apply 2 5,10
cle, DB2, MYSQL.

TEXT BOOKS:
1. Ramez, Elmasri and Shamkant B. Navathe, “Fundamentals of Database Systems”, 7th Edition,
Pearson Education, 2016.
2. Raghu Rama Krishnan and Johannes Gehrke, “Database Management Systems”, 3rd Edition,
Tata McGraw Hill, 2013.

REFERENCE BOOKS:
1. Abraham Silberschatz, Henry F.Korth and S.Sudarshan, “Database System Concepts”, 7th
edition, Tata Mc Graw Hill,2019.
2. Allen G. Taylor “Database Development for Dummies” 1st Edition, 2011
3. C. J. Date “Introduction to Database Systems” 7th Edition, Addison Wesley, 2003.

VFSTR 72
CSE - II Year I Semester

22CS202 DIGITAL LOGIC DESIGN

Hours Per Week :

L T P C
2 0 2 3
PREREQUISITE KNOWLEDGE: Basics of Computers.
Source: https://
collegeacademy.in/
COURSE DESCRIPTION AND OBJECTIVES: images/ex-blogs/deld.jpg
This course introduces the basic knowledge on number systems, analysis and design of combinational
and sequential circuits. The course mainly focuses on designing digital circuits in optimized manner by
using components like decoders, encodes, multiplexers. It also deals with design of sequential circuits
and Programmable logic devices.

MODULE-1
UNIT-1 8L+0T+8P=16 Hours

INTRODUCTION
Number Systems: Binary Numbers, Number base Conversions, Complements, Binary codes.
Boolean Algebra: Fundamental concepts of Boolean algebra basic theorems and properties.
Gate-Level Minimization: Canonical and standard forms - SOP and POS forms, Logic gates, Algebraic
simplification and realization with basic gates and universal gates, The map method – two, three, four
variable K map; POS and SOP simplification; Don’t care conditions; NAND and NOR implementation.

UNIT-2 8L+0T+8P=16 Hours

COMBINATIONAL LOGIC CIRCUITS


Combinational circuits analysis, design procedure; Half adder, Full adder, Half subtractor, Full subtractor,
Binary adder/subtractor; BCD adder; Binary multiplier; Magnitude comparator; Decoders; Encoders;
Multiplexers; De-Multiplexer.

PRACTICES:
●● Design a combinational circuit with three inputs and one output. The output is 1 when the binary
value of the inputs is less than 3. The output is 0 otherwise.
●● Design a combinational circuit with three inputs x, y, z and three outputs A, B, C. When the
binary inputs is 0, 1, 2 or 3, the binary output is one grater than the input. When the binary
input is 4, 5, 6, or 7 then the binary output is one less than the input.
●● Design a code converter that converts a decimal digit from the 8, 4, -2, -1 code to BCD.
●● Implement a Full – Adder using 4 X 1 multiplexer.
●● Design a 16 X 1 Multiplexer with five 4 X 1 multiplexer.
●● Design a 5-to-32 line decoder with four 3-to-8-line decoders with enable and 2-to-4-line decoder.
●● Design and realize 4bit parallel adder and subtractor.

MODULE-2
UNIT-1 10L+0T+10P=20 Hours

CIRCUITS, REGISTERS AND COUNTERS


Sequential Logic Circuits: Latches, Flip-Flops - SR, JK, D, T; Flip-flop conversion; Analysis of sequential
circuits; Design procedure.
Registers and Counters: Shift registers; Ripple counters; Synchronous counters.

VFSTR 73
CSE - II Year I Semester

SKILLS: UNIT-2 6L+0T+6P=12 Hours


99 Learn different
data and number MEMORY AND PROGRAMMABLE LOGIC DEVICES
representations. Random access memory; Read only memory; Programmable logic array; Programmable array logic.
99 Design of logical PRACTICES:
circuits using all
types of gates. ●● Design a JK flip-flop using a D flip-flop.
99 Minimizing ●● Design a sequential circuit with two D flip-flops A and B and, one input x. When x=0, the state
of Boolean of the circuit remains same. When x = 1, the circuit goes through the state transitions from 00
functions. to 01 to 11 to 10 back to 00 and repeats.
99 D
esign of simple ●● Design a 4-bit binary synchronous counter with D flip-flop.
logical circuits
●● Design and realize a decimal counter.
●● A sequential circuit has two J-K fiip-flops A and B. Two inputs x and y, and one output z. The
flip-flop input equations and circuit output equation are:
JA=Bx+B’y’
KA=B’xy’
JB=A’x
KB=A+xy’
Z=Ax’y’+Bx’y’
a) Tabulate the state table. b) Derive the state equations.
●● Realize the given two Boolean functions with a PLA:
F1(A, B, C) = ∑(0, 1, 2, 4)
F2(A, B, C) = ∑ (0, 5, 6, 7)
F3(A, B, C) = ∑ (1, 3, 4, 5, 7)
●● Tabulate the PAL programming table for the four Boolean functions listed below. Minimize the
numbers of product terms.
A(x, y, z) = ∑ (1, 3, 5, 6) B(x, y, z) = ∑ (0, 1, 6, 7)
C(x, y, z) = ∑ (3, 5) D(x, y, z) = ∑ (1, 2, 4, 5, 7).

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply the knowledge of digital logic concepts to
1 Apply 1 1
optimize digital circuits.
Apply Boolean algebra rules and karnaugh map
2 Apply 1 1, 2
method to reduce the Boolean functions.
Design Combinational digital circuits for the
3 given problem statement by applying the digital Analyze 1 3
techniques.
Design and analyze sequential digital circuits for
4 the given problem statement and improve the Analyze 2 3
performance by reducing the complexities.
Categorize various types of Programmable Logic
5 Analyze 2 2
Devices.

TEXT BOOK:
1. M Morris Mano and Michael D. Ciletti, “Digital Design”, 5th Edition, Pearson Education, 2013.
REFERENCE BOOKS:
1. John F.Wakerly, “Digital Design Principles and Practices”, 3rd Edition, Pearson/PHI, 2015
2. Charles H.Roth. “Fundamentals of Logic Design”, 6th Edition, Thomson Learning, 2013.
3. John. M Yarbrough, “Digital Logic Applications and Design”, Thomson Learning, 2006.

VFSTR 74
CSE - II Year I Semester

22CS203 OBJECT-ORIENTED
PROGRAMMING THROUGH JAVA
Hours Per Week :

L T P C
2 0 4 4

PREREQUISITE KNOWLEDGE: Classes, Objects and Inheritance.


Source: https://www.datasc
COURSE DESCRIPTION AND OBJECTIVES: iencecentral.com/
wp-content/uploads
This course is about the fundamentals of Object-Oriented Programming (OOP) Concept and OOP- /2021/10/8667
507462.jpeg
based software development methodology. Java as a class-based and pure OOP language is used to
demonstrate and implement appropriate concepts and techniques. The students are exposed to the
concepts, fundamental syntax, and the thought processes behind object- oriented programming. By
end of the course, students will acquire the basic knowledge and skills necessary to implement object-
oriented programming techniques in software development using Java.
MODULE-1
UNIT-1 6L+0T+12P=18 Hours
INTRODUCTION
History of Java, Byte code, JVM, Java buzzwords, OOP principles, Data types, Variables, Scope of
variables, Operators, Control statements, Type conversion and casting, Arrays.
Concepts Of Classes and Objects: Introduction to methods, Method over loading, Constructors,
Constructor overloading, Usage of static with data and method, Access control, this keyword, Garbage
collection, String class, String Tokenizer.
UNIT-2 10L+0T+20P=30 Hours
INHERITANCE AND EXCEPTIONS
Inheritance: Types of inheritance, Member access rules, Usage of super keyword, Method overriding,
Usage of final keyword, Abstract classes, Interfaces - differences between abstract classes and interfaces,
defining an interface, implementing interface, applying interfaces, variables in interface and extending
interfaces. Packages-defining, creating and accessing a package, importing packages, access control
in packages.
Exception Handling: Concepts of exception handling, Types of exceptions, Usage of try, catch, throw,
throws and finally keywords, Built-in exceptions, User defined exception.

PRACTICES:
●● There is a telecommunication company called “Powered Air” who have approached you to build
their Interactive Voice Response (IVR) system. write a Java program and be able to provide
the following menu (given below):
Note: User should provide an input for each menu display. Welcome to Powered Air service.
What would you like to do?
a. Know my balance. b. Know my validity date
c. Know number of free calls available. d. More
1. Prepaid Bill Request 2. Customer Preferences 3. GPRS activation
4. Special Message Offers 5. Special GPRS Offers 6. 3G Activation
7. Go back to Previous menu
You are free to display your own messages in this IVR.
●● Create a class Rectangle. The class has attributes length and width. It should have methods
that calculate the perimeter and area of the rectangle. It should have read Attributes method
to read length and width from user.

VFSTR 75
CSE - II Year I Semester

SKILLS: Hint: Area of rectangle = length * width, Perimeter of rectangle = 2*(length+width).


99 To analyse ●● Implement a Java Program that reads a line of integers, and then displays each integer, and
and develop the sum of all the integers (use StringTokenizer class).
algorithm for real
life problems ●● Implement a java program to print all tokens of a string on the bases of multiple separators
using Java. (use StringTokenizer class).
99 Experience ●● Using inheritance, one class can acquire the properties of others. Consider a class Animal
with developing that has only one method “walk”. Next, create a Bird class that also has a fly method. Finally,
and debugging
create a bird object that can both fly and walk.
programs in
different IDEs. ●● Using inheritance, Write the following code in your editor :
99 Develop 1. A class named Arithmetic with a method named “add” that takes integers as parameters and
multi-threaded returns an integer denoting their sum.
applications.
2. A class named Adder that inherits from a superclass named Arithmetic.
99 Creating web Note: Your classes should not be Public.
applications
●● When a subclass inherits from a superclass, it also inherits its methods; however, it can also
override the superclass methods (as well as declare and implement new ones). Consider
the Sports class having methods getName()[which returns name of sport] and getNumberOf
TeamMembers()[which returns noof team members] create a Soccer class that inherits from
the Sports class. We can override the get Name method and return a different subclass-specific
string and override getNumberOfTeamMembers method and return noof team members
●● Implement a java program to create an abstract class named Shape that contains an empty
method named number Of Sides ( ).Provide three classes named Trapezoid, Triangle and
Hexagon such that each one of the classes extends the class Shape. Each one of the classes
contains only the method number Of Sides ( ) that shows the number of sides in the given
geometrical figures.
●● You are given an interface Advanced Arithmetic which contains a method signature int divisor_
sum(int n). You need to write a class called My Calculator which implements the interface.
divisor_sum function just takes an integer as input and return the sum of all its divisors. For
example divisors of 6 are 1, 2, 3 and 6, so divisor_sum should return 12. The value of n will
be at most 1000.
●● Implement a Java program for the following
a) Creation of simple package.
b) Accessing a package.
●● Implement a Java program to read two numbers a,b from user and perform division a/b,if the user
passes b value as zero, handle the exception using try and catch otherwise display the result.
●● Create a class called Customer with data members account_number, balance (initialize with
10000), and member functions print(), deposit(), and withdraw(). Print method display account
number and balance. If withdraw amount is less than current balance while withdrawing, throw
an exception “In Sufficient Funds”. If the input is 1 do print. If the input is 2 withdraw (). If the
input is 3 deposit. If the input is 4 terminate program.
●● Implement a Java program which accepts age as input from the user and throws an exception
“Not Eligible to Vote” when age is <=18 otherwise print “Eligible to Vote”.

MODULE-2
UNIT-1 8L+0T+16P=24 Hours

MULTI THREDING AND FRAMEWORK


Multithreading: Concepts of multi threading, Differences between process and thread, Thread life
cycle, Creating multiple threads using Thread class and Runnable interface, Synchronization, Thread
priorities, Inter thread communication.
Collection Framework: Collections Overview, Collection Interfaces - List, Set, Map, List – Array List,
Linked List, Vector, Set - HashSet, TreeSet, Map - HashTable, HashMap, accessing a collection via an
Iterator, comparator, comparable.

VFSTR 76
CSE - II Year I Semester

UNIT-2 8L+0T+16P=24 Hours

SWINGS
GUI Programming With Swing: Delegation event model-Events, Event sources, Event Listeners,
Event classes, handling mouse and keyboard events.
Exploring Swing Controls: JLabel and Image Icon, JText Field, JButton, JCheckBox, JRadioButton,
JTabbed Pane, JList, JCombo Box.

PRACTICES:
●● Print in Order
Suppose we have a class:
public class Foo {
public void first() { print(“first”); }
public void second() { print(“second”); }
public void third() { print(“third”); }
}
The same instance of Foo will be passed to three different threads. Thread A will call first(),
thread B will call second(), and thread C will call third(). Design a mechanism and modify the
program to ensure that second() is executed after first(), and third() is executed after second().
Note: We do not know how the threads will be scheduled in the operating system, even though
the numbers in the input seem to imply the ordering. The input format you see is mainly to
ensure our tests’ comprehensiveness.
Example 1:
Input: nums = [1,2,3] Output: “firstsecondthird”
Explanation: There are three threads being fired asynchronously. The input [1,2,3] means
thread A calls first(), thread B calls second(), and thread C calls third(). “firstsecondthird” is
the correct output.
Example 2:
Input: nums = [1,3,2] Output: “firstsecondthird”
Explanation: The input [1,3,2] means thread A calls first(), thread B calls third(), and thread C
calls second(). “firstsecondthird” is the correct output.
●● Flood Fill:
An image is represented by an m x n integer grid image where image[i][j] represents the pixel
value of the image.
You are also given three integers sr, sc, and color. You should perform a flood fill on the image
starting from the pixel image[sr][sc].
To perform a flood fill, consider the starting pixel, plus any pixels connected 4-directionally to the
starting pixel of the same color as the starting pixel, plus any pixels connected 4-directionally to
those pixels (also with the same color), and so on. Replace the color of all of the aforementioned
pixels with color.
Return the modified image after performing the flood fill.

1 1 1 2 2 2

1 1 0 è 2 2 0

1 0 1 2 0 1

Example 1:
Input: image = [[1,1,1],[1,1,0],[1,0,1]], sr = 1, sc = 1, color = 2
Output: [[2,2,2],[2,2,0],[2,0,1]]
Explanation: From the centre of the image with position (sr, sc) = (1, 1) (i.e., the red pixel),
all pixels connected by a path of the same color as the starting pixel (i.e., the blue pixels) are
colored with the new color.
VFSTR 77
CSE - II Year I Semester

Note the bottom corner is not coloured 2, because it is not 4-directionally connected to the
starting pixel.
Example 2:
Input: image = [[0,0,0],[0,0,0]], sr = 0, sc = 0, color = 0
Output: [[0,0,0],[0,0,0]]
Explanation: The starting pixel is already colored 0, so no changes are made to the image.
●● Count words in a given string
The input parameter is a list of strings representing lines of text.
Count how often the word occurs in the text.
If the word “kitten” occurred in a text 23 times, then its entry would be “kitten - 23\n”. Return
statistics as a String containing all the entries.
Omit all words which contain less than 4 letters and appear less than 10 (the words which are
too small or to rare) The entries in the resulting String should be also sorted by their amount
and then in alphabetical order if it is needed.
●● Implement a Java program for handling mouse events when the mouse entered, exited, clicked,
pressed, released, dragged and moved in the client area.
●● Implement a Java program for handling key events when the key board is pressed, released,
typed.
●● Implement a Java swing program that reads two numbers from two separate text fields and
display sum of two numbers in third text field when button “add” is pressed.
●● Implement a Java program to design student registration form using Swing Controls. The form
which having the following fields and button “save”. Form Fields are: Name, RNO, Mail id,
Gender, Branch, and Address.
●● Implement a java program using swings to design a multiple choice question having three
options (use radio button) ,display the message using dialog box “Your answer is wrong” if the
user selects wrong option otherwise display ,”Your answer is correct.”

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply object oriented concepts on real time
1 Apply 1 1,2
scenarios.
Apply the concepts of Multithreading and Exception
2 Apply 1, 2 1,2
handling to develop efficient and error free codes
Design and develop Java applications to solve
3 real world problems by using modern tools and Create 2 3,5
collection framework
Design and develop GUI based applications using
4 Create 2 3,5
swings for internet and system based applications.

TEXT BOOKS:
1. Herbert Schildt, “Java the complete reference”, 12th Edition, McGraw Hill, Education, 2021.
2. M.T. Somashekara, D. S. Guru, K.S. Manjunatha, “Object-Oriented Programming with Java”,
1st Edition, PHI Learning, 2017.

REFERENCE BOOKS:
1. E. Balagurusamy, “Programming with Java”, 6th Edition, McGraw Hill, 2019.
2. Mark Lassoff,“ Java Programming for Beginners: Learn the fundamentals of programming with
Java”, 1st Edition, Packt Publishing Limited,2017.
3. Philip Conrod, Lou Tylee,“ Learn Java GUI Applications : A JFC Swing Tutorial”, 11th Edition,
Kidware Software, 2019.

VFSTR 78
CSE - II Year I Semester

22CT201 ENVIRONMENTAL STUDIES

Hours Per Week :

L T P C
1 1 0 1

PREREQUISITE KNOWLEDGE: General awareness regarding environmental problems and importance


of environmental protection. Source: Biogas plant at
VFSTR

COURSE DESCRIPTION AND OBJECTIVES:


It is a multidisciplinary subject where different aspects of society and environment are dealt using a
holistic approach. It is evolving to be the education for sustainable and ethical development both at
a local and global level. It helps to prepare the next generation for planning appropriate strategies to
address environmental issues. It identifies and creates solutions that conserve to manage ecosystem
and biodiversity and helps to eliminate pollutants, toxicants, preserve air, water and soil quality.
Environmental education recognizes impacts of global issues, enhances the public awareness and
helps to take decisions towards environmentally responsible actions.

MODULE-1
UNIT-1 4L+4T+0P=8 Hours
INTRODUCTION TO ENVIRONMENT
NATURAL RESOURCES, ECOSYSTEMS AND BIODIVERSITY
Environment and sustainable development; Natural resources- forest, water, energy and land resources;
Ecosystem – basic structural components, function and interactions in ecosystem, ecological succession.

UNIT-2 4L+4T+0P=8 Hours

BIODIVERSITY AND CONSERVATION


Introduction to biodiversity, types of biodiversity- species, genetic and ecosystem diversity; Threats
to biodiversity - natural and anthropogenic, species extinctions, man wildlife conflicts; Biodiversity
conservation - principles and strategies; in-situ and ex-situ conservation.

PRACTICES:
●● Visit to a Biogas plant, Solar Power plant.
●● Visit to a local area: river / pond / lake / forest / grassland / hill / mountain and study of different
types of ecosystems, biodiversity study and documentation (herbarium sheet preparation).
●● Set up an aquarium.
●● Case study: Renewable energy use.

MODULE-2
UNIT-1 4L+4T+0P=8 Hours

ENVIRONMENTAL POLLUTION AND CLIMATE CHANGE


Air, water, soil, radioactive and noise pollution; Study of different pollutants (SOx, NOx, PAN, PAH etc.);
Toxicity study; Climate change - greenhouse effect, acid rain, ozone layer depletion.

UNIT-2 4L+4T+0P=8 Hours


POLLUTION CONTROL DEVICES AND WASTEWATER TREATMENT TECHNOLOGIES
Air pollution control devices - Gravitational settling chambers, cyclonic separators, electrostatic
precipitators, fabric filters and bio filters, Wastewater management.

VFSTR 79
CSE - II Year I Semester

SKILLS: PRACTICES:
99 Create a ●● Visit to a sewage treatment plant and wastewater analysis.
biodiversity map
of any habitat/ ●● Case study: Recycling Technologies.
ecosystem. ●● Case study: Effects of contaminants on microorganisms.
99 Strategize ●● Report writing: 12 principles of green chemistry for environmental sustainability.
different ways of ●● Report writing: Environmental Impact Analysis, Local Disaster Management Plan.
using renewable
energy
COURSE OUTCOMES:
resources.
Upon successful completion of this course, students will have the ability to:
99 Design novel
strategies and
approaches for CO Blooms Module Mapping
Course Outcomes
pollution control No. Level No. with POs
and waste
management Apply the basic concepts of sustainable
development, natural resource utilization and 1,6,7, 9, 10, 11,
1 Apply 1
ecology for the purpose of environmental 12
protection.
Design remediation technologies for their 1, 3,6,7, 9, 10,
2 Apply 2
abatement 11, 12
Analyze the biodiversity of different ecosystems 1, 7, 8, 9, 10, 11,
3 Analyze 1
and formulate various conservation approaches 12
Analyze the presence of various environmental 1, 6,7,9, 10, 11,
4 Analyze 2
pollutants. 12
Recommend various waste management 1,2, 7,8,9,10,11,
5 Evaluate 2
approaches and their implementation strategies. 12

TEXT BOOKS:
1. A. Kaushik and C. P. Kaushik, “Perspectives in Environmental Studies”, New Age International
Publishers, 5th Edition, 2016.
2. Y. Anjaneyulu, “Introduction to Environmental Science”, B. S. Publications, 2015.

REFERENCE BOOKS:
1. B. Joseph, “Environmental Studies”, Mc Graw Hill Education, 2nd Edition, 2015.
2. S. Subash Chandra, “Environmental Science”, New Central Book Agency, 2011.
3. M. Basu and S. Xavier, “Fundamentals of Environmental Studies”, Cambridge University Press,
2016.
4. K. Mukkanti, “A Textbook of Environmental Studies”, S. Chand Company Ltd., 2009.
5. M. Anji Reddy, “A Textbook of Environmental Science and Technology”, B. S. Publications,
2008.

VFSTR 80
CSE - II Year II Semester

22TP203 ADVANCED CODING


COMPETENCY
Hours Per Week :

L T P C
0 0 2 1
PREREQUISITE KNOWLEDGE: Programming in C, Data Structures.
Source: https://www.
geeksforgeeks.org/
COURSE DESCRIPTION AND OBJECTIVES: best-way-to-start-
This course helps to understand the impact of the choice of data structures and design strategies to with-competitive-
programming-
solve the problem in an efficient manner. This course also provides the understanding of advanced geeksforgeeks-
graph applications and also throw light in tractable intractable problems. cp-live-course/

MODULE-1
UNIT-1 0L+0T+8P=8 Hours

STACKS, QUEUES AND SINGLE LINKED LISTS

PRACTICES:

PROBLEMS ON STACKS & QUEUES


●● Check if given stack of integers are consecutive or not (could be ascending or descending).
●● Find the maximum sum in a sliding window using queues.
●● Given a queue of integers, rearrange the elements by interleaving the first half with the second
half.
●● Given an integer k and a queue of integers, reverse the order of the first k elements of the queue.
●● Given a maze in the form of a rectangular matrix filled with O, X or M where O represents an
open cell, X represents a blocked cell and M represents landmines, find the shortest distance
of every open cell in the maze from its nearest mine.
●● For a given parenthesis expression, check whether it is balanced parenthesis or not.
●● Reverse a number using stack.
●● You are given a string s consisting of lowercase English letters. A duplicate removal consists
of choosing two adjacent and equal letters and removing them. We repeatedly make duplicate
removals on s until we no longer can.
●● Find first Unique character in a string (Queue).
●● Implement Tower of Hanoi problem.

PROBLEMS ON LINKED LISTS


●● Given a random pointer to a random node in a singly linked list, clone the list.
●● Given a list rotate the list to the right by k places.
●● Remove duplicates from a sorted list.
●● Find fractional node in a singly linked list.
●● Sort a linked list using constant space complexity.
●● Delete a node in start, middle, end of Singly linked list.
●● Add a node in start, middle, end of Singly linked list.
●● Find whether given single linked list is circular or not.
●● Arrange a singly linked list in Descending order.
●● Addition of two numbers using Singly Linked List.

VFSTR 81
CSE - II Year II Semester

SKILLS: UNIT-2 0L+0T+8P=8 Hours


99 Experienced to
Store data and DOUBLY LINKED LISTS, CIRCULAR LINKED LISTS
various types of
data to handle. PRACTICES:
99 Ordering and
sorting of data. PROBLEMS ON DOUBLE LINKED LISTS AND CIRCULAR LINKED LISTS
99 Indexing and ●● Implement a clockwise rotation of a doubly linked list by N places.
Searching of ●● Count triplets in a sorted doubly linked list whose product is equal to a given value x.
required data
from large data
●● Find the product of all prime nodes in a doubly linked list.
sequences. ●● Find the count of common nodes in two doubly linked lists.
99 Exposed ●● Find pairs with given product in a sorted doubly linked list.
to various ●● Delete all the even nodes of a circular singly linked list.
characteristics
such as Linear ●● Count nodes in a circular linked list.
or non-linear, ●● Delete all prime nodes from a circular singly linked list.
Homogeneous
or
●● Exchange first and last nodes in a circular linked list.
heterogeneous ●● Reverse a doubly circular linked list.
and Static and ●● Linear search using a stack of incomplete sub problems.
Dynamic
●● 1 2 3 4 5 6 in stack S is push X is pop, SSSSXXSSSXXX.
●● Recursively remove all adjacent duplicates.
●● Check if a given singly linked list is a palindrome using stack.
●● Convert a multilevel singly linked list to a singly linked list.
●● Remove duplicates from an unsorted doubly linked list.
●● Sort a doubly linked list using insertion sort.
●● Check if a doubly linked list of characters is palindrome or not.
●● Swap Kth node from beginning with Kth node from end in a Double Linked List.
●● Convert a Binary Tree into Double Linked List.

MODULE-2
UNIT-1 0L+0T+8P=8 Hours

TREES

PRACTICES:

PROBLEMS ON TREES
●● Given a sorted doubly linked list, convert it into a balanced BST.
●● Given a singly linked list with data in the ascending order, convert it into a height balanced BST.
●● Print the leaf to root path for every leaf node in a binary tree.
●● Write a function to implement the reversed level order traversal of a binary tree.
●● Truncate a given binary tree to remove nodes that lie on a path having sum less than K.
●● Find the vertical sum in a given binary tree.
●● Delete minimum & Maximum element from a BST.
●● Implement Inorder, preorder and postorder tree traversal techniques.
●● Print Kth largest element in a BST.
●● Implement Zig-Zag tree traversal.

VFSTR 82
CSE - II Year II Semester

UNIT-2 0L+0T+8P=8 Hours

GRAPHS

PRACTICES:

PROBLEMS ON GRAPHS
●● Given a directed acyclic graph, determine whether there is a path that visits every vertex
exactly once.
●● Reverse a directed graph such that each edge from v to w is replaced by an edge from w to v.
●● Find the shortest path in a graph that visits each vertex at least once, starting and ending at
the same vertex.
●● Find the minimum number of throws required to win a snake and ladder game.
●● Implement DFS of a Graph.
●● Implement BFS of a Graph.
●● Detect whether a cycle is present in an undirected graph.
●● Detect cycle in a Directed Graph.
●● Find Shortest Distance to goal node from root node in a graph.
●● Find no. of nodes in Kth level of a Graph.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply various data structures to solve a different
1 Apply 1,2 1
algorithm.
Investigate the various data structures to solve a
2 Analyse 1,2 2
given problem in an efficient manner.
Design and implement an appropriate hashing
3 Create 1,2 4
function for an application.

TEXT BOOKS:
1. Reema Thareja, “Data Structures Using C”, 2nd Edition, Oxford University Press, 2014.
2. Seymour Lipschutz, “Data Structures with C”, 1st Edition, McGraw Hill Education, 2017.

REFERENCE BOOKS:
1. Ellis Horowitz and Sartaj Sahni, “Fundamentals of Data Structures”, illustrated edition, Computer
Science Press, 2006.
2. Richard F. Gilberg and Behrouz A. Forouzan, “Data Structures: A Pseudocode Approach with
C”, 2nd Edition, CENAGE Learning, 2005.
3. R G Dromey and Pearson, “How to solve it by Computer”, 2nd edition, Impression edition,
1998.

VFSTR 83
CSE - II Year II Semester

22TP204 PROFESSIONAL
COMMUNICATION
Hours Per Week :

L T P C
0 0 2 1
PREREQUISITE KNOWLEDGE: High School-level English.
Source: https://
www.coursera.org/ COURSE DESCRIPTION AND OBJECTIVES:
specializations/improve-
english To improve the overall professional communication skills (LSRW) of students and prepare them for
their profession as engineers and managers. To provide them exposure to conventions of corporate
communication and training them on how to function in the business world.

MODULE-1
UNIT-1 0L+0T+8P=8 Hours

BASICS OF BUSINESS WRITING SKILLS, PRACTICING BUSINESS CORRESPONDENCE AND


REPORT WRITING
Business English Vocabulary: Glossary of most commonly used words (formal and informal usage).
Elements of Technical Writing: Sentence structure, reducing verbosity, arranging ideas logically,
building coherence, cohesive devices and transitional words.
Mechanics of Writing: elementary rules of grammar, choice of diction, elementary principles of
composition, matters of form, punctuation, conventions of business communication, language and
professional tone, code of conduct (not sending illegal, offensive, disparaging personal remarks or
comments) in written business communication.
Business Correspondence: E-mail: nature and scope, e-mail etiquette, clear call for action, common
errors in composing e-mails, office communication such as meeting agenda and notice, circular and
memo.
Letter-Writing: Formal and informal letters, structure of formal letters, expressions of salutations,
different types of letters [such as sales letter, complaint letter, response to the complaint letter (dispute
resolution), letter of permission, letter of enquiring, claim letter – letter of apology etc], introductory and
concluding paragraphs and clear call for action.
Professional Proposal/Report: Differentiating proposals and reports, Drafting formal business
proposals, types of reports such as factual reports, feasibility reports and survey reports, parts of a
report (such as title page, declaration, acknowledgements, table of contents, abstract, introduction,
findings, conclusion and recommendations).
New Age Corporate Communication Media: Importance of social media communication and Etiquettes,
form and structure, sharing texts through Twitter, Whatsapp, instgram etc.

UNIT-2 0L+0T+8P=8 Hours

PRACTICING COMMUNICATIVE LANGUAGE IN VARIOUS PROFESSIONAL CONTEXTS


Speaking: Speaking in business context, assertiveness, politeness, making requests, queries and
questions, negotiations, asking for information, offering suggestions, conflict resolution, contacting clients,
initiating, addressing delegates (in public), delivering the presentation effectively, telephone etiquettes,
delivering seminar/proposal/report effectively, team meeting etiquettes (face to face and conference
call), making effective one minute presentations(JAM) and participating in Group Discussions.

PRACTICES:
●● Basic grammar practice, framing paragraphs on topics allocated, paraphrasing an article or a
video in your own words, finding topic sentences in newspaper articles, finding out new words

VFSTR 84
CSE - II Year II Semester

from a professional viewpoint and understanding the meaning and its usage. SKILLS:
●● Perusing samples of well-prepared business emails, memo, letter writing and short proposals 99 To enhance
and reports, students will draft business correspondence writing tasks and different proposals/ listening and
reports on topics assigned. spoken abilities
of students
●● Watching videos/listening to audios of business presentations, classroom activities of team and needed for
individual presentations, using PPTs, mock exercises for BEC speaking, agreeing, disagreeing professional and
politely, developing content, extended speaking in Group Discussion(s). social success
in interpersonal
situations, group
MODULE-2 interactions, and
UNIT-1 0L+0T+8P=8 Hours personal and
professional
presentations.
READING AND COMPREHENDING BUSINESS DOCUMENTS
99 Know and
Reading: Reading and comprehending business documents, learning business register, regularizing
practice specific
the habit of reading business news, suitable vocabulary, skimming and scanning a text for effective and functions and
speedy reading and dealing with ideas from different sectors of corporate world in different business vocabulary
contexts. in a business
context.
UNIT-2 0L+0T+8P=8 Hours 99 Produce short
business
IMPARTING AND PRACTICING LISTENING SKILLS reports,
proposals and
Listening: Specific information in business context, listening to telephonic conversations / messages correspondence.
and understanding the correct intended meaning, understanding the questions asked in interviews or
99 Write various
in professional settings, summarizing speaker’s opinion or suggestion, enable active listening. business
documents
PRACTICES: through reading
techniques.
●● Hand-outs; matching the statements with texts, finding missing appropriate sentence in the text
from multiple choices, using right vocabulary as per the given context and editing a paragraph.
●● Working out BEC/TOEFL/IELTS listening exercises with hand-outs; matching the statements
with texts, finding missing appropriate sentence in the text from multiple choice- multiple choices,
using right vocabulary in context-editing a paragraph, listening to a long conversation such as
an interview and answer MCQ s based upon listening.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Possess comprehensive skills in listening and
1 Apply 2 7
reading business texts in formal context.
Communicate effectively both in their academic
2 Apply 1, 2 10
as well as professional environment.
3 Clear grasp on the register of business language. Analyze 1 8
Possess the ability to write business reports and
4 proposals clearly and precisely to succeed in Create 1 12
their future.
Make effective presentations and participate in
5 Create 2 10
formal context.

TEXT BOOK:
1. S. Schnurr, “Exploring Professional Communication: Language in Action”, London: Routledge,
2013.
REFERENCE BOOKS:
1. Brook Hart Guy, “Cambridge English Business Bench Mark: Upper Intermediate”, 2nd Edition:
CUP, 2014.
2. Cambridge University Publication, “Cambridge: BEC VANTAGE Practice Papers”, CUP, 2002.
3. J. Seely, “The Oxford Guide to Effective Writing and Speaking”, Oxford University Press, 2005.

VFSTR 85
CSE - II Year II Semester

22CS205 COMPUTER ORGANIZATION AND


ARCHITECTURE
Hours Per Week :

L T P C
2 2 0 3
PREREQUISITE KNOWLEDGE: Digital logic design.
Source: https://
machinelearningmedium. COURSE DESCRIPTION AND OBJECTIVES:
com/assets/images/
computer-architecture.jpg This course covers the basics of modern Computer Organization and Architecture. The emphasis is on
understanding the design of computer and its components. The student will learn the concepts of data
representation, micro-operations, memory organizations and input output organization.

MODULE-1
UNIT-1 8L+8T+0P=16 Hours

INTRODUCTION, RTL, DATA REPRESENTATION AND COMPUTER ARITHMETIC


Introduction, Register Transfer language & Data Representation: Organization and Architecture, Register
Transfer, Bus and Memory Transfers, Data Representation-Fixed Point Representation, Floating Point
Representation.
Computer Arithmetic: Fixed point arithmetic operations such as Addition and Subtraction, Multiplication
Algorithms, Division Algorithms.

UNIT-2 8L+8T+0P=16 Hours

MICRO OPERATIONS AND BASIC COMPUTER ORGANIZATION AND DESIGN


Micro operations: Arithmetic Micro operations, Logic Micro Operations, Shift Micro Operations,
Arithmetic Logic Shift Unit.
Basic Computer Organization and Design: Instruction Codes, Computer Register, Computer
Instructions, Instruction Cycle, Memory – Reference Instructions. Register Reference Instructions,
Input –Output and Interrupt.

PRACTICES:
●● Design a Common bus system for eight registers with eight bits each using multiplexers.
●● Design a Common bus system for four registers with four bits each using three state gate buffers.
●● A digital computer has a common bus system for 16 registers of 32 bits each. The bus is
constructed with multiplexers.
How many selection inputs are there in each multiplexer?
What size of the multiplexers are needed?
How many multiplexers are there in the bus?
●● Perform arithmetic operations (+42) + (-13) and (-42) – (-13) in binary using signed 2’s
complement representation for negative numbers.
●● Find the product using Booth Multiplication Algorithm.
●● a. (9) X (13) b. (9) X (-13) c. (-9) X (13) d. (-9) X (-13)
●● Perform the division of 27 and 4 using Division algorithm.
●● Design a 4- bit combinational circuit decrementer using 4 full adder circuits.
●● Register A holds the 8-bit binary 11011001. Determine the B operand and the logic micro
operation to be performed in order to change the value in A to :
a) 01101101 b) 11111101

VFSTR 86
CSE - II Year II Semester

●● An 8-bit register contains the binary value 10011100. What is the register value after an arithmetic SKILLS:
shift right? Starting from the initial number 10011 100, determine the register value after an 99 Learn
arithmetic shift left, and state whether there is an overflow. different data
representations.
●● Starting from an initial value of R =11011101, determine the sequence of binary values in R
after a logical shift-left, followed by a circular shift-right, followed by a logical shift-right and a 99 Design digital
circuitry for
circular shift-left. implementing
●● Design arithmetic logic shift unit that performs different operations on 4 bits. different
operations.
MODULE-2 99 I dentify the types
of memories and
UNIT-1 8L+8T+0P=16 Hours their uses.

CPU AND MEMORY ORGANIZATION 99 Study various


data transfer
Central Processing Unit: General Register Organization, STACK Organization. Instruction Formats, mechanisms in
Addressing Modes, Data Transfer and Manipulation, Program Control. digital computer
and I/O.
Memory Organization: Memory Hierarchy, Main Memory, Auxiliary Memory, Associative Memory,
Cache Memory.

UNIT-2 8L+8T+0P=16 Hours

I/O ORGANIZATION
Input-Output Organization: Peripheral Devices, Input-Output Interface, Asynchronous data transfer,
Modes of Transfer, Priority Interrupts, Direct Memory Access.

PRACTICES:
●● The content of PC in the basic computer is 3AF (all numbers are in hexadecimal). The content
of AC is 7EC3. The content of memory at address 3AF is 932E. The content of memory at
address 32E is 09AC. The content of memory at address 9AC is 8B9F.
What is the instruction that will be fetched and executed next?
Show the binary operation that will be performed in the AC when the instruction is executed.
Give the contents of registers PC, AR, DR, AC, and IR in hexadecimal and the values of E, I,
and the sequence counter SC in binary at the end of the instruction cycle.
●● Implement the given expressions into different addressing architectures.
Y=(A-B)/(C*D + E) b. Y=A-B+C*(D *E+F)
●● How many 128 x 8RAM chips are needed to provide a memory capacity of 2048 byte?
●● How many lines of the address bus must be used to address 2048 bytes of memory? How
many of these lines will be common to all chips?
●● How many lines must be decoded for chip select and design the size of the decoders.
●● A computer uses RAM chips or 1024 x 1 capacity.
How many chips are needed, and show the connection of memory capacity 1024 bytes?
How many chips are needed to provide a memory capacity or 16K bytes? Explain in words
how the chips are to be connected to the address bus.
●● How many characters per second can be transmitted over a 1200-baud line in each of the
following modes? (Assume a character code of eight bits.)
Synchronous serial transmission.
Asynchronous serial transmission with two stop bits.
Asynchronous serial transmission with one stop bit.
●● Information is inserted into a FIFO buffer at a rate of m bytes per second. The information is
deleted at a rate of n byte per second. The maximum capacity of the buffer is k bytes.
How long does it take for an empty buffer to fill up when m >n?
How long does it take for a full buffer to empty when m <n?
Is the FIFO buffer needed if m = n?

VFSTR 87
CSE - II Year II Semester

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Analyze Computer Organization and Computer
1 Analyze 1 1, 2, 12
Architecture, different arithmetic operations.
Design different digital circuits required to perform
2 Apply 1 1, 2, 3, 12
the micro operations.
Design interface circuits for memory and
3 peripheral, DMA and communication devices. Analyze 2 1, 2, 3, 4, 12
Compare various modes of transfer.
Evaluate the performance of a processor and
4 Evaluate 2 1, 2, 12
memory in terms of speed, size and cost.

TEXT BOOKS:
1. M. Morris Mano, “Computer System Architecture”, 3rd Edition update, Pearson, 2017.
2. William Stallings, “Computer Organization & Architecture: Designing for Performance”, 11th
Edition, Pearson, 2019.

REFERENCE BOOKS:
1. Carl Hamacher, ZvonkoVranesic, SafwatZaky, “Computer Organization”, 5th Edition, McGraw
Hill, 2002.
2. Vincent P. Heuring and Harry F Jordan, “ Computer Systems Design and Architecture “, 2nd
edition , Pearson/ Prentice Hall India 2004.
3. David A. Patterson and John L. Hennessy, “Computer Organization and Design-The Hardware/
Software Interface”, ARM Edition, 5th Edition, Elsevier, 2009.

VFSTR 88
CSE - II Year II Semester

22CS206 DESIGN AND ANALYSIS OF


ALGORITHMS
Hours Per Week :

L T P C
2 2 2 4
PREREQUISITE KNOWLEDGE: Programming for problem solving, Discrete Mathematical Structures, Source: https://www.
Data Structures. facebook.com/Design-and-
Analysis-of-Algorithms-15
53902878155564/
COURSE DESCRIPTION AND OBJECTIVES:
This course offers the basic knowledge required to analyze the asymptotic performance of algorithms. In
addition, this course provides the knowledge required to solve different problems using suitable design
strategies such as the greedy method, divide and conquer, dynamic programming, backtracking and
branch & bound. This course helps to understand the impact of the choice of data structures and algorithm
design strategies on the performance. This course also provides the understanding of advanced graph
applications and throws light on tractable and intractable problems.

MODULE-1
UNIT-1 6L+6T+6P=18 Hours

INTRODUCTION
Algorithm, Pseudo-code for expressing algorithms, Performance analysis – space and time complexity;
Asymptotic notation - big oh notation, Omega notation, Theta notation and little oh notation; Analysis
of recursive algorithms through recurrence relations- substitution method, Recursion tree method,
Masters Theorem.
Disjoint sets: Disjoint set operations, Union and find algorithms.

UNIT-2 10L+10T+10P=30 Hours

DIVIDE & CONQUER AND GREEDY METHOD


Divide and Conquer: General method, Applications - Binary search, Quick sort, Merge sort and
Strassen’s matrix multiplication.
Greedy Method: Applications - job sequencing with deadlines, Knapsack problem, Minimum cost
spanning trees.

PRACTICES:
●● Sort a given set of elements using the following methods and determine the time required to
sort the elements. Repeat the experiment for different values of n, the number of elements in
the list to be sorted and plot a graph of the time taken versus n inputs. The elements can be
read from a file or can be generated using the random number generator.
a. Quick sort b. Merge sort
●● Search for a given set of elements using the following methods and determine the time required
to search the given element. Repeat the experiment for different values of n, the number of
elements in the list to be sorted and plot a graph of the time taken versus no. of elements. The
elements can be read from a file or can be generated using the random number generator.
a. Linear Search b. Binary Search
●● Implement the following using divide and conquer approach.
To multiply two given square matrices.
To multiply two given square matrices using Strassen’s matrix multiplication.
●● Design the Algorithm to solve Job sequencing with deadlines problem and Analyze its time
complexity. Implement the above algorithm using Greedy method.

VFSTR 89
CSE - II Year II Semester

SKILLS: ●● Design the Algorithm to solve fractional Knapsack problem using Greedy method. Analyze the
99 Analyze the time complexity and implement the above algorithm.
given algorithm ●● Design the Algorithm to find minimum spanning tree and its cost for an undirected graph.
concerning
space and time Analyze the time complexity and implement the above algorithm.
complexities and
compare it with MODULE-2
other algorithms.
UNIT-1 10L+10T+10P=30 Hours
99 Develop
algorithms for
solving problems
DYNAMIC PROGRAMMING AND BACKTRACKING
using divide Dynamic Programming: General method, Applications - optimal binary search trees, Matrix chain
and conquer, multiplication, 0/1knapsackproblem, All pairs shortest path problem, Travelling sales person problem.
greedy, dynamic
programming, Backtracking: General method, Applications - N-Queen problem, Sum of subsets problem, Graph
backtracking and colouring and Hamiltonian cycles.
branch & bound
techniques.
UNIT-2 6L+6T+6P=18 Hours
99 Application of
existing design
BRANCH & BOUND AND P, NP, NP - HARD AND NP-COMPLETE
strategies to
solve real-world Branch and Bound: General method, Applications- Travelling sales person problem, 0/1 knapsack
problems. problem using LC branch and bound solution and FIFO branch and bound solution.
P, NP, NP - HARD and NP-Complete: Basic Concepts - Non-Deterministic Algorithms - The Classes
NP-Hard and NP Complete- NP Hard Problems- Clique Decision Problem-Cook’s Theorem.

PRACTICES:
●● Design the Algorithm to find all pairs shortest path problem by using dynamic programming
approach. Analyze its time complexity and implement the above algorithm.
●● Design the Algorithm to find optimal binary search tree and its cost by using dynamic
programming approach. Analyze its time complexity and implement the above algorithm.
●● Design the Algorithm to find optimal order of matrix chain multiplication and its cost using dynamic
programming approach. Analyze its time complexity and implement the above algorithm.
●● Design the Algorithm to find optimal route for travelling sales person problem and its cost by
using dynamic Programming approach. Analyze its time complexity and implement the above
algorithm.
●● Design the Algorithm to solve N-queens problem by using backtracking approach and Analyze
its time complexity. Implement the above algorithm.
●● Design the Algorithm to solve sum of subsets problem using backtracking approach and Analyze
its time complexity. Implement the above algorithm.
●● Design the Algorithm to solve 0/1 Knapsack problem using Branch and Bound method. Analyze
the time complexity and Implement the above algorithm.

VFSTR 90
CSE - II Year II Semester

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Analyze the efficiency of a given algorithm using
time and space complexity theory. Understanding
1 Analyze 1 1, 2, 12
algorithmic design strategy like divide and conquer
approach.
Apply greedy algorithm Strategy for suit able prob-
2 lems and argue the correctness of such algorithms Apply 1 1, 2,3, 5, 12
with respect to the global optimization.
Apply the dynamic programming paradigm and
3 identify the kind of problem best suited to solve Apply 2 1, 2, 3, 5, 12
using dynamic programming.
Compare and contrast the design principles of
4 Apply 2 1, 2,3,5, 12
branch and bound with backtracking strategy.
Investigate computational complexity of different
5 Analyze 2 1, 2,4,12
class of problems.

TEXT BOOKS:
1. Ellis Horowitz, SatrajSahni and Rajasekharan, “Fundamentals of Computer Algorithms”, 2nd
Edition, Galgotia publications, 2006.
2. Thomas H. Coremen, Charles E. Leiserson and Ronald L. Rivest, “Introduction to Algorithm”,
2nd Edition, MIT press Ltd., 2014.

REFERENCE BOOKS:
1. Anony Levitin, “Introduction to Design and Analysis of Algorithms”, 3rd Edition, Pearson
Education, 2016.
2. Donald E. Knuth, “The Art of Computer Programming”, 2nd Edition, Addison Wesley Publishing
Company, 1998.
3. Ronald L. Graham, Donald E. Knuth and Oren Patashnik, “Concrete Mathematics”, 2nd Edition,
Addison wesley Publishing Company,1998.
4. Dasgupta, Papadimitriou and Vazirani,“Algorithms”, 1st Edition, McGraw-Hill publishers, 2008.
5. Weiss, “Data Structures and Algorithm Analysis”, 1st Edition, Addison-Wesley Publishing
Company, 2016.

VFSTR 91
CSE - II Year II Semester

22CS207 OPERATING SYSTEMS

Hours Per Week :

L T P C
2 0 2 3
PREREQUISITE KNOWLEDGE: Knowledge of computers fundamentals, Computer organization &
Source: https:// Digital logic and its design.
www.123rf.com/stock-
photo/operating_system.
html
COURSE DESCRIPTION AND OBJECTIVES:
This course aims at concepts and principles of Operating Systems, its overall responsibility inacting as
an interface between the system’s hardware components and the user. Further, it also helps students to
understand the different scheduling policies, process synchronization mechanisms, deadlock handling
mechanisms and memory management techniques.

MODULE-1
UNIT-1 10L+0T+10P=20 Hours

LINUX FILE SYSTEM & PROCESS SCHEDULING


Introduction to LINUX File System: The LINUX file System, File System Hierarchy, File system
Commands, File Attributes, File Permissions.
Filters: cmp, comm, diff, head, tail, find, cut, paste, sort, uniq.
Regular Expressions: grep, egrep, fgrep, Sed- line addressing, context addressing, text editing,
substitution.
Introduction to Operating System: What Operating System do; Operating System Structure; Process
concept-overview, Process Scheduling, Operations on Process; Inter Process Communication; Threads;
Process (CPU) Scheduling-Scheduling Criteria, Scheduling Algorithms; Multiple-Processor scheduling;

UNIT-2 6L+0T+6P=12 Hours

PROCESS SYNCHRONIZATION AND DEADLOCKS


Process Synchronization: The critical-section problem; Peterson’s solution; Synchronization hardware;
Semaphores; Classical problems of synchronization; Monitors.
Deadlocks: Deadlock characterization; Methods of handling deadlocks; Deadlock prevention; Deadlock
avoidance; Deadlock detection and recovery.

PRACTICES:
●● Use the cat command to create a file containing the following data. Call it mytable.txt usetabsto
separate the fields.
1425 ravi 15.65
4320 ramu 26.27
6830 sita 36.15
1450 raju 21.86
a. Use the cat command to display the file, mytable.txt.
b. Use the vicomm and to correct any errors in the file, mytable.txt.
c. Use the sort command to sort the file mytable.txt according to the first field.
d. Call thesortedfilemytable.txt (same name)
e. Printthefilemytable.txt.
f. Use the cut &paste commands to swap fields 2and 3mytable.Call itmytable.txt (same name)

VFSTR 92
CSE - II Year II Semester

g. Print the new file, mytable.txt. SKILLS:


●● Write a shell script that takes a command–line argument and reports on whether it is directory, 99 Manage open-
a file, or something else. source operating
systems like
●● Write a shell script that accepts one or more file name as arguments and convertsall of them Ubuntu, Fedora
to uppercase, provided they exist in the current directory. etc.
●● Write a shell script that displays a list of all the files in the current directory to which the user 99 Know the
has read, write and execute permissions. concepts of
●● Write a shell script that computes the total and average marks of a student according to the Processes
scheduling and
following; File Systems.
●● Ifaveragemarks≥69thenresultis-Distinction‖.
99 I dentification of
●● Ifaveragemarks≥59and≤70thenresultis-FirstClass‖. different disk
●● Ifaveragemarks≥49and≤60thenresultis-SecondClass‖If average marks ≤50 then result is -Pass‖. scheduling
●● Note that any subject marks ≤ 40then result is-Fail‖. methodologies.

●● Accept student name and six subject marks through the keyboard.
●● Write an interactive file-handling shell program. Let it offer the user the choice of copying,
removing, renaming, or linking files. Once the user has made a choice, have the program ask
the user for the necessary information, such as the file name, new name and so on.
●● Write a shell script, which receives two file names as arguments. It should check whether the
two file contents are same or not. If they are same then second file should be deleted.
●● Write a shell script that accepts a file name starting and ending line numbers as arguments
and displays all the lines between the given line numbers.
●● Write a shell script that deletes all lines containing a specified word in one or more files supplied
as arguments to it.
●● Implementation of new process creation and its communications.
●● Implement of thread creation and deletion.
●● Implementation of FCFS scheduling.
●● Implementation of SJF and RR Scheduling.
●● Implementation of producer consumer problem.
●● Implementation of Banker’s algorithm for Dead lock avoidance.

MODULE-2
UNIT-1 8L+0T+8P=16 Hours

MEMORY MANAGEMENT
Memory Management: Basic concept tofmemory management, Swapping, Contiguous Memory
Allocation, Paging, Structure of the Page Table, Segmentation.
Virtual Memory Management: Demand Paging, Page Replacement: Optimal, First in First Out (FIFO),
Second Chance (SC), Not recently used (NRU), Least Recently used (LRU), Allocation of Frames.

UNIT-2 8L+0T+8P=16 Hours

SECONDARY STORAGE STRUCTURE


Secondary Storage Structure: Over view of mass-storage structure, disk structure, disk scheduling;
File System Interface - File concept, Access Methods, Directory & Disk Structure, File-System Mounting,
File Sharing, Protection; File-system structure.
File System Implementation- Directory implementation, Allocation Methods, Free Space Management.

PRACTICES:
●● Assume that you have a page-reference string for a process with m frames (initially all empty).
The page-reference string has length p, and n distinct page numbers occur in it.
a) What is a lower bound on the number of page faults?
b) What is an upper bound on the number of page faults?
●● Consider the following page-replacement algorithms. Rank these algorithms on a five-point
scale from “bad” to “perfect” according to their page-fault rate. Separate those algorithms that

VFSTR 93
CSE - II Year II Semester

suffer from Belady’s anomaly from those that do not.


a) LRU replacement. b) FIFO replacement.
c) Optimal replacement. d) Second-chance replacement.
●● Consider the page reference string: 1, 2, 3, 4,2, 1, 5, 6, 2, 1, 2, 3,7, 6, 3, 2, 1, 2, 3, 6.
●● How many page faults would occur for the following replacement algorithms, assuming one,
two, three, four, five, six, and seven frames? Remember that all frames are initially empty, so
your first unique pages will cost one fault each.
●● LRU replacement.
●● FIFO replacement.
●● Optimal replacement.
●● How many page fault soccur for your algorithm for the following reference string with four page
frames? 1, 2, 3,4, 5, 3, 4, 1, 6,7, 8, 7, 8, 9, 7, 8,9, 5, 4, 5,4, 2.
●● What is the minimum number of page faults for an optimal page replacement strategy for
thereference string above with four page frames?
●● Consider a demand-paged computer system where the degree of multiprogramming is currently
fixed at four. The system was recently measured to determine utilization of the CPU and the
paging disk. Three alternative results are shown below. For each case, what is happening?
a) Can the degree of multiprogramming be increased to increase the CPU utilization? Is the
paging helping?
b) CPU utilization 13 percent; disk utilization 97 percent.
c) CPU utilization 87percent; disk utilization 3 percent.
d) CPU utilization 13 percent; disk utilization 3 percent.
●● Implementation of Disk scheduling algorithm–FCFS.
●● Implementation of Disk scheduling algorithm–SSTF and SCAN.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Classify the basic concepts of operating system
1 Analyze 1 1
and explore Linux ecosystem.
Apply the concepts of process scheduling
2 algorithms and process synchronization techniques Apply 1 1, 2, 3, 5, 12
to derive the efficiency of resource utilization.
Analyze the requirements for attempting Operating
3 Analyze 1,2 1,2,12
systems principles.
Design the various memory management
4 Create 2 3,5
schemes For a given scenario.
Apply the concepts of file system interface and
5 Apply 1,2 2,5
implementation.

TEXT BOOKS:
1. Sumitabha Das, Unix concepts and applications‖, TMH Publications, 4th Edition, July 2017.
2. Abraham Silberschatz, Peter Baer Galvin and Greg Gagne, “Operating System Concepts”, 9th
Edition, John Wiley & SonsInc, 2013.
REFERENCE BOOKS:
1. Richard. Stevens and Stephen A Rago, “Advanced Programming in the Unix Environment”,
3rd Edition, Addison-Wesley, 2013.
2. William Stallings, “Operating Systems-Internals and Design principles” PHI, 7th Edition, 2012.
3. Gary J. Nutt. Addison-Wesley, “Operating Systems: A Modern Perspective”, 2nd Edition, 2001.
4. B.A. Forouzan & R.F.Giberg, - Unix and shell Programming‖, Thomson, 1st Edition, New Delhi,
2003.

VFSTR 94
CSE - II Year II Semester

22CS208 THEORY OF COMPUTATION

Hours Per Week :

L T P C
3 2 0 4
PREREQUISITE KNOWLEDGE: Knowledge of graphs, trees and logic.
Source: https://
COURSE DESCRIPTION AND OBJECTIVES: sameer9247.wordpress.
com/2016/11/15/theory-
This course aims to teach the student to identify different formal language classes and their relationships, of-computation/
strong theoretical foundation for designing compilers. In addition to this the student will be able to learn
the techniques for information processing, design different grammars, automata and recognizers for
different formal languages.

MODULE-1
UNIT-1 12L+8T+0P=20 Hours
INTRODUCTION
Alphabets, Strings and languages, Automata and Grammars, Regular languages, Chomsky hierarchy
of languages, Deterministic finite automata (DFA)-Formal definition, Simplified notation, State transition
graph, Transition table, Language of DFA; Nondeterministic finite automata (NFA), NFA with epsilon
transition, Language of NFA, Equivalence of NFA and DFA, Minimization of finite automata, FA with
output - Moore and Mealy machine, Equivalence of Moore and Mealy machine, Applications and
Limitation of FA.

UNIT-2 12L+8T+0P=20 Hours


REGULAR EXPRESSIONS
Regular Expression (RE): Definition, Operators of regular expression and their precedence, Algebraic
laws for Regular Expressions, Kleen’s Theorem, Regular Expression to FA, DFA to regular expression,
Arden theorem, Non regular languages, pumping lemma for regular languages (proofs not Required),
Application of pumping lemma, Closure properties of regular languages, Decision properties of regular
languages.
Grammar Formalism: Regular Grammars-Right linear and left linear grammars, Equivalence between
regular linear grammar and FA;

PRACTICES:
●● Design DFA and NFA which accepts the following languages over the alphabet {0,1}. And
also covert NFA to DFA. Give separate Automata for each and also write RE for the obtained
automata.
a) The set of all strings ends with 00.
b) With three consecutive 0’s.
c) With 011 as a substring.
d) Either begin or ends with 01.
e) Strings whose fourth symbol from the right end is 1.
f) Even number of 0’s.
g) number of 1 ‘s are divisible by three.
●● Design NFA to recognize the following set of strings.
a) abc, abd, and aacd: Assume the alphabet is {a,b,c,d}.
b) 0101,101 and 011: Assume the alphabet is {0,1}.
c) ab,bc and ca: Assume the alphabet is {a,b,c}.

VFSTR 95
CSE - II Year II Semester

SKILLS: ●● Convert epsilon NFA to DFA.


99 Investigate
syntax and
semantics of
a regular and
context free
languages.
99 Develop
the problem ●● Minimize the following DFA.
understanding
solving ability.
99 Design
optimized
solutions for a
language.

●● Construct Mealy and Moore Machines and equivalent them for the residue (remainder) mod
3 of binary input.
●● Construct Finite Automata for the following Regular Expressions.
a) RE=ab(a+b)*
b) RE=(a+ab)(ab+ab)*
●● Prove that the following languages are nor Regular.
a) L={ap | p is a prime number}
b) L={bn | n=i2 and i>1}
c) L={ WWR | W is (a,b)*}
d) L={anbn+1 |n≥1}

MODULE-2
UNIT-1 12L+8T+0P=20 Hours

CONTEXT FREE GRAMMAR


Definition, Examples, Derivation, Derivation trees, Ambiguity in grammar, Inherent ambiguity, Ambiguous
to unambiguous CFG, Useless symbols, Simplification of CFGs; Normal forms for CFGs - CNF and
GNF, CFLs; Closure properties of Decision properties of CFLs-Emptiness, Finiteness and membership,
pumping lemma for CFLs (proofs not Required), Application of pumping lemma.

UNIT-2 12L+8T+0P=20 Hours

PDA AND TM
Push Down PDA AND TM Automata (PDA): Description and definition, Instantaneous description,
Language of PDA, Acceptance by final state, Acceptance by empty stack, Deterministic PDA, Equivalence
of PDA and CFG, CFG to PDA and PDA to CFG, Two stack PDA.
Turing Machines (TM): Basic model, Definition and representation, Instantaneous Description, Language
acceptance by TM, Computable functions, Types of Turing Machines, Universal TM, Recursive and
Recursively Enumerable Languages, undecidability, Church Turing Thesis, Universal Turing Machine,
The universal and diagonalization languages, Reduction between languages and Rice’s Theorem.

PRACTICES:
●● Construct CFG for the following:
a) L={anbn|n>1}
b) L={WWR | W is (a,b)*}
c) L={ap | p is a prime}

VFSTR 96
CSE - II Year II Semester

●● Derive the strings 10001 using left most derivation and right most derivation and parse tree by
using the following grammar. And show that grammar is ambiguous.
S-> T000T
T->0T|1T| ∈
●● Convert the following CFG to CNF.
S->ABC|Aa
A->a
B->d| ∈
C-> Aab|a
●● Convert the following CFG to GNF.
S->AA | 0
A->SS | 1
●● Prove that the following are not CFL.
e) L={ap | p is a prime number}
f) L={bn | n=i2 and i>1}
g) L={ WWR | W is (a,b)*}
h) L={anbn+1 |n≥1}
●● Convert the following language or PDA to CFG.
a) L={anbn|n≥1} and
b) δ(q,0,z)={(q,xz)}
c) δ(q,0,x)={(q,xx)}
d) δ(q,1,x)={(q,x)}
e) δ(q, ∈ , x)={(p, ∈ )}
f) δ(p,1,x)={(p,xx)}
g) δ(p, ∈ , x)={(p,∈ )}
h) δ(p, 1,z)={(p, ∈ )}
●● Construct PDA for the following Languages.
a) L={0n1m | n≥m}
b) L={anbn|n≥1}
c) L= L={w\w ∈ {a, b}*
d) L={w| na(w) >nb(w)}
e) L={0n12n | n>0}
f) L=Where wRis reverse of w
g) L= Where wRis reverse of w
h) L= {wcw R
| w ∈ {a, b} *} Where w is reverse of w
R

●● Construct PDA for the following Languages.


a) L= {anbncn | n >1}
b) L={anbmambn | n,m≥1}
●● Construct Turing Machine for the following Languages.
a) L={anbn | n ≥ 1}
b) L={02n1n |n >0 }
c) L={wwr | w is (0+1)*}
d) L={anbncn|n≥1}.
e) Well balanced Parenthesis for example: ()()

VFSTR 97
CSE - II Year II Semester

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Design abstract models of computing, including
Deterministic Finite Automata (DFA), non-
1 deterministic Finite. Automata (NFA), Push Down Analyze 1,2 1,2,3
Automata (PDA) and Turing Machine (TM) models
and their power to recognize the languages.
Design different finite state machines to perform
2 Apply 1,2 1,2,3
various operations.
Analyze the given language is regular or not
3 regular, CFL or not, Ambiguous unambiguous, Analyze 1,2 2
Recursive and Recursive Enumerable.
Design Regular grammar and context free
4 Apply 1,2 1,3
grammars for a language.

TEXT BOOK:
1. Hopcroft and Ullman, “Introduction to Automata Theory, Languages and Computation”, 2nd
Edition, Pearson/ Prentice Hall India, 2007.

REFERENCE BOOKS:
1. Zed A Shaw, Learn C the Hard Way: Practical Exercises on the Computational Subjects You
Keep Avoiding (Like C), Addison Wesley, 2015.
2. Christoph Dürr, Sorbonne University, Jill-Jênn Vie, Inria, Competitive programming in Python,
Cambridge University Press, 2020.
3. Michael Sipser, “Introduction to Theory of Computation”, 3rd Edition, Course Technology, 2012.

VFSTR 98
III
Y E A R
COMPUTER SCIENCE
AND ENGINEERING

B.Tech.
I SEMESTER
 22TP301 - Soft Skills Laboratory
 22CS301 - Introduction to Artificial Intelligence
 22CS302 - Compiler Design
 22CS303 - Web Technologies
 22CS304 - Inter-Disciplinary Project - Phase - I
 22CS305 - Industry Interface Course
 - Department Elective - 1
NCC/NSS/SAC/E-Cell/Student Mentoring/Social
-
 Activities/Publication

II SEMESTER
 22TP302 - Quantitative Aptitude and Logical Reasoning
 22CS204 - Computer Networks
 22CS306 - Data Mining Techniques
 22CS307 - Software Engineering
 22CS308 - Inter-Disciplinary Project - Phase - II
 - Department Elective - 2

COURSE CONTENTS
I SEM & II SEM
CSE - III Year I Semester

22TP301 SOFT SKILLS LABORATORY

Hours Per Week :

L T P C
0 0 2 1
PREREQUISITE KNOWLEDGE: Grasp on their own academic achievements.
Source: https://
COURSE DESCRIPTION AND OBJECTIVES: choosework.ssa.gov/
blog/2019-07-23-soft-
To impart employability skills like resume preparation and facing interviews. To enable trainees to develop skills-an-intro-to-effective-
interpersonal and leadership skills and to train them on work place skills like making presentations, communication
participating in group discussions etc.

MODULE-1
UNIT-1 0L+0T+8P=8 Hours
PERSONALITY DEVELOPMENT
Soft Skills: Need for soft skills, professionalism, employability skills; Communication: Need for effective
communication - the process of communication, levels of communication, flow of communication,
choice of diction and style with reference to setting (formal, semi-formal or informal); communication
networks, barriers to communication, miscommunication, noise and ways to overcome the barriers;
Career Planning: Job vs. career, SWOT analysis.

UNIT-2 0L+0T+8P=8 Hours


LANGUAGE AND VOCABULARY
Vocabulary Building: Word etymology, roots, prefixes & suffixes, synonyms & antonyms, collocations,
one-word substitutes, analogies, idioms and phrases, contextual guessing of unfamiliar words, task-
oriented learning; Reflection of language on Personality, Gender sensitive language in MNCs, Mind
your language, Seven essential skills for a team player; attentive listening, intelligent questioning, gently
persuading, respecting other’s views, assisting others, sharing, participating actively.

PRACTICES:
●● Self-Introduction.
●● Personal and Academic SWOC.
●● Johari Window.
●● Giving and taking opinions of Self Vs others and assessing oneself.
●● Goal setting.
●● Short, Mid and Long Term goals planning the semester.
●● Time management: four quadrant system.
●● Stephen Covey Time Management Matrix planning a semester.
●● Stress-management.
●● Questionnaire to assess level of stress.
●● 50 words towards resume preparation and interviews.
●● Newly coined words.
●● Gender sensitive words and Words acceptable in Indian context and objectionable international
context.

MODULE-2
UNIT-1 0L+0T+8P=8 Hours

LANGUAGE IN ACTION
Functional English: Situational dialogues, Role plays (including small talk); Group Discussion:
Articulation and flow of oral presentation, dynamics of group discussion, intervention, summarizing and
conclusion, voice modulation, content generation, Key Word Approach (KWA), Social, Political, Economic,

VFSTR 101
CSE - III Year I Semester

SKILLS: Legal and Technical Approach (SPELT), View Point of Affected Part (VAP), language relevance, fluency
99 Balance social and coherence – 11th and 12th weeks; Resume preparation: Structure and presentation, defining career
and emotional objective, projecting one’s strengths and skill-sets, summarizing, formats and styles and covering letter-
intelligence Statement of Purpose.
quotients though
SWOC, JOHARI
etc. activities.
UNIT-2 0L+0T+8P=8 Hours

99 Prepare tailor PREPARING FOR PRESENTATIONS AND INTERVIEWS


made resume
and face various Facing Interviews: Interview process, understanding employer expectations, pre-interview planning,
job interviews opening strategies, impressive self-introduction, answering strategies, other critical aspects such as body
with enriched language, grooming, other types of interviews such as stress-based interviews, tele- interviews, video
personality traits. interviews, frequently asked questions (FAQs) including behavioral and HR questions and the aspect
99 Career planning looked at by corporate during interviews; Presentation Skills: Selection of a topic, preparing an abstract,
with clear gathering information, organizing the information, drafting the paper, citing reference sources – writing
personal and striking introductions, discussing the methodology used, developing the argument, presentation style,
professional
goals.
language, presenting the paper and spontaneously answering audience questions.

99 Solve personal PRACTICES:


and professional
life hiccups with ●● Opening and closing a telephonic conversation.
confidence and ●● Making an appointment.
maturity ●● Making a query.
●● Offering/Passing on information.
●● Communicating with superiors.
●● Expressing agreement/objection.
●● Opening bank account (combination of prepared and impromptu situations given to each
student).
●● Group Discussions on various topics.
●● Preparing SoP and Resume.
●● Mock interviews on the FAQs including feedback.
●● Oral presentation with the help of technology (Preparing PPT and presenting).

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Have the ability to introspect on individual
strengths and weaknesses, and emerge as a bal-
1 Apply 1 12
anced personality with improved self-awareness
and self-worth.
Observe gender sensitive language and workplace
2 Analyze 1 9
etiquette in his professional life.
Be able to prepare a resume and gain the
3 Create 1, 2 10
confidence to face an interview.
Possess the interpersonal skills to conduct himself/
4 herself effectively in everyday professional and Apply 2 8
social contexts.
5 Bring professionalism into his/her daily activities. Create 2 8

TEXT BOOKS:
1. Adrian Furnham, “Personality and intelligence at work”, Psychology Press, 2008.
2. S. P. Dhanvel, “English and Soft skills”, Orient Blackswan, 2011.
REFERENCE BOOKS:
1. Edward Holffman, “Ace the corporate personality”, McGraw Hill, 2001.
2. John Adair Kegan Page, “Leadership for innovation”, Kogan, 2007.
3. Krishna Mohan & NP Singh, “Speaking English effectively”, Macmillan, 2008.
4. Rajiv K. Mishra, “Personality Development”, Rupa & Co. 2004.

VFSTR 102
CSE - III Year I Semester

22CS301 INTRODUCTION TO ARTIFICIAL


INTELLIGENCE
Hours Per Week :

L T P C
2 2 0 3
PREREQUISITE KNOWLEDGE: Probability and statistics.
Source: https://www.
forbes.com/sites/
COURSE DESCRIPTION AND OBJECTIVES:
bernardmarr/2020/08/03/3-
The primary objective of this course is to introduce the basic principles, techniques, and applications of important-ways-artificial-
intelligence-will-transform-
Artificial Intelligence. In addition to this, student will understand the building blocks of AI such as search, your-business-and-
knowledge representation, inference, logic and learning. This course enables the students to develop turbocharge-success/
a small AI system for real time problems.

MODULE-1
UNIT-1 6L+6T+0P=12 Hours

INTELLIGENT SYSTEMS
Introduction, what is AI, Examples of AI systems, Brief history of AI Agent, Agents and environments,
Structure of agents, the concept of rationality, the nature of environments, Types of agents, problem
solving approaches to typical AI problem.

UNIT-2 10L+10T+0P=20 Hours

PROBLEM SOLVING
State Space Problem; Searching: Uniform search, Informed Search: Solving problems by searching:
Heuristic functions, Hill climbing, Best First Search, A* algorithm, AO* algorithm, Searching game trees:
Min Max Search, Alpha Beta pruning.

PRACTICES:
●● In the classical vacuum cleaner problem, we have two rooms and one vacuum cleaner. There
is dirt in both the rooms and it is to be cleaned. The vacuum cleaner is present in any one of
these rooms. Find the solution, how we can reach to reach a state in which both the rooms
are clean and are dust free.
●● In this problem, three missionaries and three cannibals must cross a river using a boat which
can carry at most two people, under the constraint that, for both banks, that the missionaries
present on the bank cannot be outnumbered by cannibals. The boat cannot cross the river by
itself with no people on board. Find the solution, how to solve the given problem.
●● You are given two jugs, a 4-gallon one and a 3-gallon one, a pump which has unlimited water
which you can use to fill the jug, and the ground on which water may be poured. Neither jug
has any measuring markings on it. Find the solution, how can you get exactly 2 gallons of
water in the 4-gallon jug?
●● There is a farmer who wishes to cross a river but he is not alone. He also has a goat, a wolf,
and a cabbage along with him. There is only one boat available which can support the farmer
and either of the goat, wolf or the cabbage. So at a time, the boat can have only two objects
(farmer and one other). But the problem is, if the goat and wolf are left alone (either in the boat
or onshore), the wolf will eat the goat. Similarly, if the Goat and cabbage are left alone, then
goat will eat the cabbage. The farmer wants to cross the river with all three of his belongings:
goat, wolf, and cabbage. What strategy he should use to do so?
●● Either place a block that doesn’t have other blocks stacked on top of it on another block with
the same behaviour, or on the table. The initial and the goal state are described by the exact
position of each block. Find the solution, how to solve the given problem.

VFSTR 103
CSE - III Year I Semester

SKILLS: ●● Given a 3×3 board with 8 tiles (every tile has one number from 1 to 8) and one empty space.
99 Analyze The objective is to place the numbers on tiles to match the final configuration using the empty
Intelligent space. We can slide four adjacent (left, right, above, and below) tiles into the empty space.
systems.
Find the solution, how to solve the given problem by using using A* search algorithm.
99 Apply problem ●● The rules of tic-tac-toe on the 3 × 3 field are as follows. Before the first turn all the field cells are
solving
techniques. empty. The two players take turns placing their signs into empty cells (the first player places
Xs, the second player places Os). The player who places Xs goes first, the another one goes
99 Interface various
knowledge
second. Find the solution, how to solve the given problem where the winner is the player who
representation. first gets three of his signs in a row next to each other (horizontal, vertical or diagonal).
99 Create a ●● In crypt arithmetic problem, the digits (0-9) get substituted by some possible alphabets or
dynamic symbols. The task in crypt arithmetic problem is to substitute each digit with an alphabet to get
planning. the result arithmetically correct. Find the solution, how to solve the given problem, where we
can perform all the arithmetic operations on a given crypt arithmetic problem.

MODULE-2
UNIT-1 10L+10T+0P=20 hours

KNOWLEDGE REPRESENTATION AND PLANNING


Propositional logic: Inference in propositional logic, Resolution, Forward chaining, Backward chaining,
First order logic: Reasoning patterns in First order logic, Resolution, Forward chaining, Backward
chaining, The planning problem: Planning with state space search, Partial order planning, Planning
graphs.

UNIT-2 6L+6T+0P=12 hours

LEARNING
Forms of learning: Supervised Learning, Unsupervised learning, Reinforcement learning, Learning
Decision Trees, Ensemble Learning, Expert system.

PRACTICES:
●● With logic programming, compare expressions and find out unknown values.
●● The Wumpus world is a cave with 16 rooms (4×4). Each room is connected to others through
walkways (no rooms are connected diagonally). The knowledge-based agent starts from Room
[1, 1]. The cave has – some pits, a treasure and a beast named Wumpus. The Wumpus cannot
move but eats the one who enters its room. If the agent enters the pit, it gets stuck there. The
goal of the agent is to take the treasure and come out of the cave. The agent is rewarded,
when the goal conditions are met. The agent is penalized, when it falls into a pit or being eaten
by the Wumpus. Some elements support the agent to explore the cave, like -The Wumpus’s
adjacent rooms are stench. -The agent is given one arrow which it can use to kill the Wumpus
when facing it (Wumpus screams when it is killed). – The adjacent rooms of the room with pits
are filled with breeze. -The treasure room is always glittery. Find the Wumpus presented room.

●● you are on one side of a river with a wolf, a goat, and a cabbage. You want to transport all
three to the other side of the river, but you can only transport one object at a time. You cannot
leave the wolf and the goat alone, or the cabbage and the goat alone; you are the only thing
keeping them from eating each other. How can you transport everything from one side of the
river to the other? Formulate it in terms of a Planning Domain Definition Language (PDDL).

VFSTR 104
CSE - III Year I Semester

●● Impliment the working of the decision tree based ID3 algorithm. Use an appropriate data set
for building the decision tree and apply this knowledge to classify a new sample.
●● Build an Artificial Neural Network by implementing the Back propagation algorithm and test the
same using appropriate data sets.
●● Implement k-nearest neighbors classification using python.
●● Implement linear regression using python.
●● Implement the naïve Bayesian classifier for a sample training dataset. Compute the accuracy
of the classifier, considering few test data sets.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply AI search Models and Generic Search
1 Apply 1 1,3
strategies for problem solving.
Inspect and analyze Logic for representing Knowl-
edge and Reasoning of AI systems and Conduct
2 Analyze 1 2
investigation and implement project using AI
learning techniques.
Apply and evaluate the searching strategies to
3 Apply 2 6
achieve the goal for a given situation..
Design different learning algorithms for improving
4 Apply 2 4
the performance of AI systems.

TEXT BOOK:
1. S. Russel and P. Norvig, “Artificial Intelligence – A Modern Approach”, 4th Edition, Pearson
Education, 2010.

REFERENCE BOOKS:
1. David Poole, Alan Mackworth, Randy Goebel, “Computational Intelligence : a logical approach”,
Oxford University Press,2013.
2. G. Luger, “Artificial Intelligence: Structures and Strategies for complex problem solving”, 4th
Edition, Pearson Education, 2008.
3. J. Nilsson, “Artificial Intelligence: A new Synthesis”, Elsevier Publishers. 2012.

VFSTR 105
CSE - III Year I Semester

22CS302 COMPILER DESIGN

Hours Per Week :

L T P C
3 2 0 4
PREREQUISITE KNOWLEDGE: Programming for problem solving- I & II and Formal languages and
Source: https://www. automata theory.
javatpoint.com/compiler-
tutorial
COURSE DESCRIPTION AND OBJECTIVES:
This course introduces the foundation for understanding the theory and practice of compilers and
compiler design concepts; symbol table management, compiler parsing techniques, semantic analysis
and optimized code generation. This course introduced the concepts of lexical analyzer, parser, code
generation and code optimization techniques. The objective of this course is to enable the student to
acquire the knowledge of various phases of compiler such as lexical analyzer, parser, code optimization
and code generation.

MODULE-1
UNIT-1 10L+6T+0P=16 Hours

INTRODUCTION
The evolution of programming languages and basic language processing system; The structure of a
compiler; Bootstrapping; Lexical analyser and its Role; Input buffering; Specifications and recognition
of tokens; LEX.

UNIT-2 14L+10T+0P=24 Hours

SYNTAX ANALYSIS
The role of the parser; Context-free grammars; Types of parsers with examples, YACC.
Semantic Analysis: Type checking; Syntax directed definition (SDD) and translation schemes (TS);
Application of SDD and TS; Translation of expressions and control flow statements.

PRACTICES:
●● Implement various phases of compiler in detail. Write down the output of each phase for
expression Total = (b + c) + (b + c) * 50.
●● Construct the symbol table for any input file with the help of LEX tool.
●● Consider the context free grammar.
SàSS+, SàSS*, Sàa and the string aa+a*.
i) Give the leftmost derivation for the string.
ii) Give the rightmost derivation of the string.
iii) Is the grammar ambiguous or not.
●● Check whether the following grammar is a LL (1) grammar.
S àiEtS | iEtSeS | a, E à b.
●● Construct the FIRST and FOLLOW procedures for the following grammar.
S à Aa | bAC | dc | bda, A à d.
●● Consider the grammar,
EàTE’, E’à+TE’ | €, T à FT’, T’à *FT’ | €, F à (E) | id.
Construct a predictive parsing table for the grammar given above. Verify whetherthe input string
id + id * id is accepted by the grammar or not.

VFSTR 106
CSE - III Year I Semester

MODULE-2 SKILLS:
99 Design parsers
UNIT-1 10L+8T+0P=18 hours using top-down
and bottom-up
INTERMEDIATE REPRESENTATIONS approaches.
Three address code; Syntax tree; DAG. 99 Usage of tools
like LEX and
Run-Time Environment: Storage organization; Stack allocation - Activation Trees, Activation Records. YACC.
99 Design a simple
UNIT-2 14L+8T+0P=22 Hours
code generation

OPTIMIZATION AND CODE GENERATION


The principal sources of optimization; Basic blocks and flow graphs; Local optimization; Global
optimization and loop optimization.
Code Generation: Issues in the design of code generator; Code-generation algorithm – register allocation
and assignment and peephole optimization.

PRACTICES:
●● Translate the executable statements of the following C-code segment into three address code.
int i:
int a[10]
i = 0;
While (I <= 10) {
a[i] = i + 1; i + + ;
}
●● Compute the DAG for the following three address statements. Considering this DAG as an
example, explain the process of code generation from DAG.
t1 = a + b t2 = c + d t3 = e – t2 t4 = t1 - t3
●● What is Data flow equation? Represent the Data flow information for the following
a = b + c; d = c * d; e = a – c; f = d + e.
●● Draw a flow graph for the below code. Show the basic blocks clearly in your control flow graph?
If ( i&gt;=0){
sum = B[0];
i = 0;
L1: if (A[i]&lt; B[i]){
j=i;
L2:
if( B[i]&gt;=0){
sum = sum +B[j];
}
j = j+1
if ( j&lt;N) goto L2;
}
i = i+1
if ( i&lt;N) goto L1;
}

VFSTR 107
CSE - III Year I Semester

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply the different phases of compiler with various
1 Apply 1 1, 12
examples.
Design different parsing and optimization
2 Design 1 1, 2, 12
techniques in the design of compile.
3 Analyze the code optimization techniques. Analyze 2 1, 2, 3, 12
Analyze the algorithm for compiler segments
4 and evaluate the algorithm for optimized code Analyze 2 1, 2, 3,12
generation.

TEXT BOOKS:
1. Alfred V. Aho, Monica S. Lam, Ravi Sethi and Jeffrey D. Ulman, “Compilers: Principles,
Techniques and Tools”, 3rd Edition, Pearson Education, 2019.
2. Thomson, “Introduction to Theory of Computation”, 2nd Edition, Sipser, 2016.

REFERENCE BOOKS:
1. V. Raghavan, “Principles of Compiler Design”, 2nd Edition, Mc Graw Hill, 2016.
2. John R.Levin, Tony Mason and Doug Brown, “Lex & YAAC”, 2nd Edition, O Reilly, 2012.
3. Ms. Manisha Bharambe, “Compiler Construction”, 2nd Edition, Nirali Prakashan, 2017.

VFSTR 108
CSE - III Year I Semester

22CS303 WEB TECHNOLOGIES

Hours Per Week :

L T P C
2 0 4 4
PREREQUISITE KNOWLEDGE: OOPs through JAVA.
Source: https://www.
dreamstime.com/
COURSE DESCRIPTION AND OBJECTIVES:
web-development-
This course offers the concepts of web development like static and dynamic web page design and coding-programming-
provides internet programming knowledge, web servers, application servers, and design methodologies internet-technology-
business-concept-
using object-oriented concepts. The objective of this course is to build web applications using JSP, PHP, web-development-
Angular JS, and Node JS with a client and server-side scripting technologies that span multiple domains. coding-programming-
internet-technology-
image121903546
MODULE - 1
UNIT-1 8L+0T+16P=24 Hours

INTRODUCTION
HTML: Creating structured documents, Links and navigation, Tables, Forms, and Frames.
HTML 5: Introduction to HTML5, The HTML5 Canvas, HTML5 audio and Video;
CSS: Cascading Style Sheets, CSS Properties.
Java Script: Learning Java Script- how to add scripts to your page, DOM, variables, operators, functions,
conditional statements, Looping, Events, Built-in objects, form and regular expression validation.

UNIT-2 8L+0T+16P=24 Hours

JDBC AND JSP


JDBC: What is JDBC, system requirements, types of JDBC Drivers, creating database tables, connecting
to a database, executing SQL statements, processing result sets, and making changes to a result set.
JSP: JSP Processing, Generating Dynamic Content using Scripting Elements, Implicit JSP Objects,
Sharing Data between JSP pages, JSP application design with JDBC.

PRACTICES:
●● Design a webpage having four frames named a)Top, b)Center, c)Bottom, and d) Left. The top
frame should contain the company logo and title. The bottom frame should contain copyright
information. The left frame should contain various links like Home, Products, Services, Branches,
About, etc., When clicked on respective links, the content should display on the center frame.
●● Design a catalog page that should contain the details of all the books available on the website
in a table. The details should contain the following: a) Snapshot of Cover Page b) Author Name
c) Publisher. d) Price. e) Add to cart button.
●● Design a timetable schedule for your current semester using the Table tag.
●● Design a HTML page for Student Registration Form using Form ElementsthatincludesForm,input-
text,password,radio,checkbox,hidden,button,submit,reset,label,textarea,select,option and file
upload.
●● Design a HTML web page with at least two <h1>, two images, two buttons, and appropriate
CSS to display,
All<h1>withfont-size12pt, and bold in Verdana font using In line CSS.
All<img>withbordercoloryellow,thickness10pxusingDocumentLevelCSS.
All<inputtype=’button’>shouldchangebackgroundcolortoredonmouseoverthemusing External
CSS.

VFSTR 109
CSE - III Year I Semester

SKILLS: ●● Design a HTML page having a text box and four buttons viz Factorial, Fibonacci, Prime and
99 Perform client- Palindrome. When a button is pressed an appropriate java script function should be called to
side validation display the following:
using Java
Script and Factorial of that number.
Angular JS. Fibonacci series up to that number.
99 Store and Prime numbers up to that number.
retrieve data
using Node JS. Is it palindrome or not?
99 Generate ●● Design a web page that contains a color pallet, when the user moves the mouse to the particular
dynamic web area, then it changes the background color of the web page.
pages using JSP
●● Design a registration page to validate the following fields using Java Script.
and PHP.
Make sure the user name starts with an upper case letter.
99 Develop a web
application or The user name must have at least one digit.
website for
Ensure that Email is valid.
any real-time
requirements. Ensure that the password length is between 8 to 20 characters.
Make sure the password contains at least one upper case letter, one lower case, and one
special character exclude [. (dot), ,(comma), ;(semicolon), : (colon)].
●● Design a web page to display the videos on-page, on user selection using frames and HTML5
tags.
●● Design a web page to display different types of objects using HTML5 Canvas.
●● Design a web application to validate entered username and password through JDBC connection
program and display user information on successful login and provide profile editing option to
the user. Else display an error message.
●● Develop a JSP application to create a user on successful signup and update user information on
successful login and display user information on the home screen and provide a logout button.
●● Make an HTML form that collects the last name. Send the name to JSP page. If there is an
employee with that last name, show full details of him or her (just show the first employee if
there are multiple people with the same name). If there is no employee with that last name,
say “no employee records available.”

MODULE-2
UNIT–1 8L+0T+16P=24 Hours

PHP
Introduction to PHP, Expressions, and control flow in PHP, functions and objects, Arrays, Accessing
MySQL using PHP, Form Handling, Cookies, Sessions, and Authentication.

UNIT–2 8L+0T+16P=24 Hours

ANGULAR JS AND NODE JS


Angular JS: Introduction, Expressions, Modules, Directives, Controllers, Filters, Events, Forms, Form
Validation.
Node JS: Introduction, Setup Dev Environment, Modules, Node Package Manager, Creating Web
server, File System, Events, Express.js, Accessing MySQL from Node.js.

PRACTICES:
●● Design a web page using PHP, upload image into web page and display image, when user
clicking on view button.
●● Design a personal Information form, Submit & Retrieve the form data using $_GET(), $_POST()
and $_REQUEST() Variables.
●● Design a login page to validate username and password through MySQL. If login is successful
display user information on home page and modify user information on edit page using sessions.
When user logged out, destroy all user-related sessions.
●● Design a web page to accept payment data from user and do the payment, on successful

VFSTR 110
CSE - III Year I Semester

payment display details on the screen. A Session should be set while doing payment up to 10
minutes after that link/payment page should be destroyed irrespective of user payment.
●● Design a web application to validate user registration page using Angular JS.
●● Design a search engine using Angular JS. On key press, display data on web page.
●● Design a web page to validate user name and password using: Node.js and PHP. When user
clicks on login button, server checks the data availability in data base. If the data matches a
successful login page is returned. Otherwise, a failure message is shown to the user.
●● Design a web application to display the active duration of the user, i.e., time between login
and logout.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Usage of HTML, HTML5, CSS, Java Script, and
1 Apply 1, 2 1
PHP in web application development.
Apply Angular JS features for form validation and
2 Node JS, and JDBC concepts to perform database Apply 1, 2 1
operations from web pages.
Analyse the suitability of Node JS and JSP tech-
3 Analyse 2 2
nologies to build solutions for real-world problems.
Design and develop three tier web applications
4 Creating 2 3
using JSP, Node JS, Angular JS, and PHP.

TEXT BOOKS:
1. Jon Duckett, “Beginning Web Programming with HTML, XHTML, and CSS”, 2nd Edition, Wiley
Publishing, Inc, 2008.
2. Robin Nixon, “Learning PHP, MySQL & JavaScript WITH JQUERY, CSS & HTML5”, 4th Edition,
O’Reilly, 2015.

REFERENCEBOOKS:
1. Paul Deitel, Harvey Deitel, Abbey Deitel, “Internet & World Wide Web How to Program”, 5th
Edition, Pearson Education, 2012.
2. Kishori Sharon, “Java APIs, Extensions and Libraries with JavaFX, JDBC, jmod, jlink, Networking
and the process API”, 2nd Edition, Apress, 2018.
3. Brad Dayley, Brendan Dayley, and Caleb Dayley, “Node.js, Mongo DB and Angular Web
Development: The definitive guide to using the MEAN stack to build web applications,” 2nd
Edition, Pearson Education, 2018.
4. Steve Prettyman, “Learn PHP 7 Object Oriented Modular Programming using HTML5, CSS3,
JavaScript, XML, JSON, and MySQL”, 1st edition, Apress, 2015.
5. Adrian W. West and Steve Prettyman, “Practical PHP 7, MySQL 8, and MariaDB Website
Databases: A Simplified Approach to Developing Database-Driven Websites”, 1st edition, A
Press, 2018.

VFSTR 111
CSE - III Year II Semester

22TP302 QUANTITATIVE APTITUDE AND


LOGICAL REASONING
Hours Per Week :

L T P C
1 2 0 2
PREREQUISITE KNOWLEDGE: Basic logical thinking and Problem solving ability.
Source: https://
images.app.goo.gl/ COURSE DESCRIPTION AND OBJECTIVES:
kvtVgA8TkvDCqLhj7
The Students will be introduced to various Arithmetic and Reasoning Problems. The students will have
acquaintance with various problems like Time & Work, Time & distance, Percentages, Profit & Loss etc.
besides solving puzzles and Critical Reasoning.

MODULE-1
UNIT-1 4L+8T+0P=12 Hours
Number system, LCM & HCF of numbers, Percentage, Ratio and proportion, Profit, loss and discount,
Average & Mixtures, Simple Interest & Compound interest.

UNIT-2 4L+8T+0P=12 Hours


Time and work, Time & distance, Problems on trains, Problems on ages, Permutation & Combinations,
Probability.

PRACTICES:
●● Each concept would be taught in detail in the class followed by 10 problems solved in the class.
●● Students would have to solve 10 additional problems as a homework assignment in each
concept.

MODULE-2
UNIT-1 4L+8T+0P=12 Hours
Number series, Letter series, Analogy, Odd man out, Coding and decoding, Syllogisms- Statement &
Conclusions, Puzzle test.

UNIT-2 4L+8T+0P=12 Hours


Blood relations, Direction sense test, Order & Ranking, Seating Arrangements, Calendar & Clocks.

PRACTICES:
●● Each concept would be taught in detail in the class followed by 10 problems solved in the class.
Students would have to solve 10 additional problems as homework assignments in each concept.

VFSTR 112
CSE - III Year II Semester

COURSE OUTCOMES: SKILLS:


Upon successful completion of this course, students will have the ability to: 99 Helps in
developing
and improving
CO Blooms Module Mapping problem-solving
Course Outcomes
No. Level No. with POs skills.

1 Meet the demands of current job market besides 99 Flexing and


honing logical
equipping them higher studies like CAT, GMAT Apply 1 2, 5
abilities.
etc.
99 Allow students to
2 Solve Arithmetic and Reasoning Problems within develop critical
Apply 1 2, 5
shortest possible time without paper work. thinking skills.

3 Exhibit better analytical skills and aptitude skills. Analyse 2 2, 4


4 Develop interpretational skills. Evalua-
2 2, 4
tion

TEXT BOOKS:
1. R. S. Aggarwal, “Quantitative Aptitude for Competitive Examinations”, S. CHAND Publications-
Revised Edition, 2017.
2. ARIHANT, “A New Approach to Verbal & Non-Verbal Reasoning”, Arihant Publication- Revised
Edition, 2021.

REFERENCE BOOKS:
1. Trishna Knowledge Systems, “Quantitative Aptitude for Competitive Examinations”, Pearson
Publication, 2013.
2. R. S. Aggarwal, “A Modern Approach to Verbal & Non-Verbal Reasoning”, Revised Edition, S.
CHAND Publications, 2018.

VFSTR 113
CSE - III Year II Semester

22CS204 COMPUTER NETWORKS

Hours Per Week :

L T P C
3 0 2 4
PREREQUISITE KNOWLEDGE: JAVA programming and UNIX commands.
Source: https://
snabaynetworking. COURSE DESCRIPTION AND OBJECTIVES:
com/what-is-computer-
network-and-its-types/ This course focuses on imparting knowledge about various protocols involved in LANs and WANs. In
addition, it gives a good foundation on different protocols such as data link protocols, internet protocols,
and transport protocols present in the respective layers of the data communication system.

MODULE-1
UNIT-1 8L+0T+6P=14 Hours

INTRODUCTION TO COMPUTER NETWORKS AND INTERNET


Understanding of network and Internet, the network edge, the network core, Understanding of Delay,
Loss and Throughput in the packet switching network, protocols layers and their service model, History
of the computer network.

UNIT-2 16L+0T+10P=26 Hours

APPLICATION LAYER & TRANSPORT LAYER


Principles of computer applications, Web and HTTP, E-mail, DNS, Socket programming with TCP and
UDP.
Introduction and transport layer services, Multiplexing and Demultiplexing, Connectionless transport
(UDP), Principles of reliable data transfer, Connection-oriented transport (TCP), Congestion control.

PRACTICES:
●● Install Network Simulator 2/3. Create a wired network using dumbbell topology. Attach agents,
generate both FTP and CBR traffic, and transmit the traffic. Vary the data rates and evaluate
the performance using metric throughput, delay, jitter and packet loss.
●● Create a static wireless network. Attach agents, generate both FTP and CBR traffic, and transmit
the traffic. Vary the data rates and evaluate the performance using metric throughput, delay,
jitter and packet loss.
●● Create a mobile wireless network. Attach agents, generate both FTP and CBR traffic, and
transmit the traffic. Vary the data rates and evaluate the performance using metric throughput,
delay, jitter and packet loss.
●● Implementation of one-way and two-way communication using TCP / UDP.
●● Hello command is used to know whether the machine at the other end is working or not. Echo
command is used to measure the round trip time to the neighbour. Implement Hello and Echo
commands using JAVA.

MODULE-2
UNIT-1 12L+0T+8P = 20 Hours

NETWORK LAYER
Introduction to forwarding and routing, Network Service models, Virtual and Datagram networks, study of
router, IP protocol and addressing in the Internet, Routing algorithms, Broadcast and Multicast routing.

VFSTR 114
CSE - III Year II Semester

UNIT-2 12L+0T+8P=20 Hours SKILLS:


99 Establish local
THE LINK LAYER AND LOCAL AREA NETWORKS area networks
with different
Introduction to link layer services, error detection, and correction techniques, Multiple access protocols,
topologies.
addressing, Ethernet, switches, and VLANs.
99 Design of new
routing proto-
PRACTICES: cols.
●● Find all the IP addresses on your network using Unicast, Multicast, and Broadcast on your 99 Network trouble-
network. shooting such
●● Use Packet tracer software to build network topology and configure using Distance vector as installing net-
work interface
routing and Link State routing protocols. card drivers,
●● Study different types of Network cables (Copper and Fiber) and prepare cables (Straight and setting IP ad-
Cross) to connect two or more systems. dresses, subnet
masking, etc.
a. Use a crimping tool to connect jacks.
b. Use a LAN tester to connect the cables.
c. Install and configure Network Devices: HUB, Switch and Routers (Consider both manageable
and non-manageable switches. Perform logical configuration of the system and set the
bandwidth of different ports).
d. Install and Configure Wired and Wireless NIC and transfer files between systems in Wired
LAN and Wireless LAN. Consider both ad-hoc and infrastructure modes of operation.
●● Apply the commands such as Ping, Tracert, Ipconfig, pathping, telnet, FTP, getmac, ARP,
Hostname, Nbtstat, netdiag, and Nslookup to solve various problems.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Build the basic concepts of Network hardware,
1 Apply 1 1, 2, 12
software and reference models.
Evaluate different physical layer media and switch- Evalua-
2 1 1, 2, 5, 12
ing methods. tion
3 Implement various protocols with modern tools. Apply 1 1, 2, 3, 5, 12
Apply different protocols to perform end-to-end
4 Analyze 2 1, 2, 12
delivery and interaction with users.
Analyze various design issues, protocols and
5 Analyze 2 1, 2, 12
functionalities of network layer.
Demonstrate various protocols involved in data
6 Apply 2 1,2, 5
link layer operations.

TEXT BOOKS:
1. Kurose and Ross, “Computer Networking- A Top-Down approach”, 6th Edition, Pearson, 2017.
2. Behrouz Forouzan, “Computer Networks- A Top-Down approach”, McGraw Hill, 2014.

REFERENCE BOOKS:
1. Andrew S. Tanenbaum, “Computer Networks”, 5th edition. Pearson Education, 2014.
2. Behrouz A. Forouzan, “Data communications and Networking”, 5th edition, TMH, 2017.
3. William Stallings, “Data and Computer Communications”, 10th edition, Pearson Education,
2017.
4. Fred Halsall, “Computer Networking and the Internet”, 5th edition, Addison Wesley, 2005.

VFSTR 115
CSE - III Year II Semester

22CS306 DATA MINING TECHNIQUES

Hours Per Week :

L T P C
2 0 2 3
PREREQUISITE KNOWLEDGE: Probability and statistics, Python programming.
Source: https://
alternative-spaces.com/ COURSE DESCRIPTION AND OBJECTIVES:
blog/8-data-mining-
techniques-you-must- This course introduces the basic concepts, principles, methods, implementation techniques, and
learn-to-succeed-in- applications of data mining, with a focus on three major data mining functions: (1) Association rule mining
business/ (2) Classification and (3) cluster Analysis. It also focuses on issues relating to the feasibility, usefulness,
effectiveness and scalability of techniques for the discovery of patterns hidden in large data sets.

MODULE-1
UNIT-1 8L+0T+8P=16 Hours

INTRODUCTION
What is Data Mining? Why data mining?; What kinds of data can be mined?;What kinds of patterns can
be mined?; Which technologies are used?; What kinds of applications are targeted? Major issues in
data mining; Data objects and attribute types; Basic statistical descriptions of data, Data matrix versus
dissimilarity matrix.
Data Pre-processing: Overview - data quality, major tasks in data preprocessing; Data cleaning - missing
values, noisy data; Data Integration - entity identification problem, redundancy and correlation analysis
tuple duplication; Data value conflict detection and resolution; Data reduction - PCA, attribute subset
selection, regression and log linear models; Histogram; Data transformation - data transformation by
normalization; Discretization by binning;

UNIT-2 8L+0T+8P=16 Hours

ASSOCIATION ANALYSIS
Market basket analysis; Frequent Item sets; Closed item sets and association rules; Frequent Item set
Mining Methods-apriori algorithm, generating association rules, improving apriori, FP growth method,
vertical format method; Which patterns are interesting? Pattern evaluation method; Pattern Mining in
multilevel multidimensional space, Pattern Mining in Multilevel, Multidimensional Space.

PRACTICES:
●● Apply the following data pre-processing techniques on dataset (download from n UCI/ Kaggle/
●● NCBI data repository) to illustrate the need of the pre-processing in data mining
a) Data Cleaning
b) Data Normalization
c) Data Discretization
d) Computation of correlation coefficient to analyze the data behavior
e) Dimensionality reduction using PCA and Wavelets
●● Construct Heat Map Table to understand the Correlation among the attributes in a given dataset.
●● Extract the interesting association rules from a given dataset using A priori algorithm.
●● Extract the interesting association rules from a given dataset using Frequent Pattern growth
algorithm.

VFSTR 116
CSE - III Year II Semester

MODULE-2 SKILLS:
99 Handle various
UNIT-1 8L+0T+8P=16 Hours types of Data
and able to
CLASSIFICATION
explore the
What is classification?, General approach to classification, Decision tree induction - attribute selection characteristics
measures; Tree pruning; Bayes Classification methods - Bayes theorem; Naïve Bayesian classification; of data
Classification by back propagation - a multilayer feed forward neural network; Defining a network 99 Perform
topology; Back propagation; K nearest neighbor classifier; Support vector machine, Linearly separable various Data
and inseparable cases, Model evaluation and selection; Techniques to improve classification accuracy. Visualisation
tasks over the
data and present
UNIT-2 8L+0T+8P=16 Hours the data with
ease of access
CLUSTER ANALYSIS
99 Perform
Partition methods - K means and K medoid; Hierarchical methods; Agglomerative and divisive method;
descriptive and
Density based methods - DBSCAN; Optics; Grid based methods-STING; Cluster evaluation methods; predictive mining
Clustering high dimensional data; Problems, Challenges and major methodologies tasks over the
data to carry out
PRACTICES: decision making.

●● Apply the following classifiers on a given dataset and analyze their performance.
a) J48 and visualize the decision tree.
b) Naive Bayes.
c) Support Vector Machine.
d) Multi-Layer Perceptron.
e) K-Nearest Neighbor.
●● Illustrate the performance of Ensemble Classification algorithms such as Bagging and Boosting
Methods.
●● Evaluate the performance of partitioning clustering algorithms on a given dataset.
●● Evaluate the performance of hierarchical clustering algorithms on a given dataset.
COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Investigate various patterns that can be extracted
1 Analyze 1,2 1, 2,
from different types of data.
Apply various pre-processing techniques and
2 classification algorithms on different domains of Apply 1,2 1, 2, 5, 6
data.
Build decision making systems using data mining Apply
3 1,2 3, 5, 8
algorithms for a given real time data set. Create
Construct models using modern tools such as Apply
4 1,2 1, 2,5,9
WEKA, R and Python etc. Create

TEXT BOOKS:
1. Jiawei Han, Micheline Kamber and Jian Pei, “Data mining Concepts and Techniques”, 3rd
Edition, Morgan Kaufmann. 2012.
2. Pang-Ning Tan, Michael Steinbach and Vipin Kumar, “Introduction to Data Mining”, 2nd Edition,
Pearson, 2018.
REFERENCE BOOKS:
1. Jure Leskovec, Anand Raja raman and Jeffrey D Ullman, “Mining of Massive Datasets”, 5th
Edition, Stanford University, 2014.
2. GK Gupta, Introduction to Data Mining with Case Studies, Prentice Hall. 3rd Edition,2014.
3. Margaret H Dunham, “Data Mining: Introductory and Advanced Topics”, PEA, 2008.

VFSTR 117
CSE - III Year II Semester

22CS307 SOFTWARE ENGINEERING

Hours Per Week :

L T P C
2 0 2 3
PREREQUISITE KNOWLEDGE: Data base management systems, OOPs through Java.
Source: https://
artoftesting.com/ COURSE DESCRIPTION AND OBJECTIVES:
software-engineering
This course focuses on the concepts of software life cycle, role of process models and methods to
prepare software requirement specification document. In addition to that, it also imparts knowledge of
design, development and testing of software. The objective of this course is to enable the student to
develop efficient, cost effective, feasible software as per user requirements.

MODULE - 1
UNIT-1 8L+0T+8P=16 Hours
INTRODUCTION
Introduction to Software Engineering: Introduction to Software and Software engineering, Software
characteristics, Software project, Software myths, Project Planning, Scheduling and Management.
Generic View of Process: Software Engineering - A layered technology, A process framework, Software
Development Life Cycle (SDLC), The Capability Maturity Model Integration (CMMI).
Process Models: Conventional Model, Agile process models - Unified process model, Extreme
Programming, Scrum.

UNIT-2 8L+0T+8P=16 Hours


REQUIREMENTS ENGINEERING
Requirements Engineering: Functional and Non-functional requirements, User requirements, System
requirements, Requirement engineering tasks, formal requirements specification and verification,
Feasibility Study.
Building the Analysis Model: Data modeling - Data objects, Attributes, Relationships, Cardinality and
modality. Class based modeling - Identify analysis classes, specify attributes and Define operations.
Design Engineering: Design model, Design concepts. Creating an Architectural Design-Architectural
styles and patterns.
Performing User Interface Design: Golden rules; User interface analysis and design.

PRACTICES:
Laboratory session of this course is designed in such a way that the student should complete three
projects of the given type by performing the below experiments.
●● Development of software requirements specification using Mind-Map tool.
●● Project planning using Gantt charts.
●● Project estimation using metrics.
●● Capture Use Case Scenarios and model UML Use Case Diagrams.
●● Model the UML state chart and Activity diagrams.
●● Model the UML Class and Sequence diagrams.
MODULE - 2
UNIT-1 8L+0T+8P=16 Hours
TESTING
Testing Strategies: A strategic approach to software testing, Unit testing, Integration testing, Validation
testing, System testing,

VFSTR 118
CSE - III Year II Semester

Testing Tactics: Black-Box and White-Box testing techniques, Art of debugging. SKILLS:
Product Metrics: Metrics for analysis model; Metrics for design model, Metrics for source code; Metrics 99 Know the
software
for testing; Metrics for maintenance.
requirements
and find out
UNIT–2 8L+0T+8P=16 Hours various ways
to gather and
RISK AND QUALITY MANAGEMENT specify them.
Risk Management: Software risks, Risk identification; Risk projection; Risk refinement, Reactive vs 99 Choose a
Proactive risk strategies, RMMM. process model
for developing
Quality Management: Quality concepts, Formal technical reviews, Statistical Software Quality software
Assurance. solutions without
schedule/ effort
Computer-Aided Software Engineering (CASE): Use of appropriate CASE tools- Requirement overruns and
engineering tools, Project planning tools, Testing tools. good quality.

PRACTICES: 99 Analyse
and model
Laboratory session of this course is designed in such a way that the student should complete three (diagrammatical
projects of the given type by performing the below experiments. representations)
a software
●● Estimate the test coverage and Structural complexity of product using metrics. product.
●● Develop the test cases for all the functional requirements of projects selected.
●● Perform the functional testing using Selenium tool.
LIST OF PROJECTS:
Project-1: A Point-Of-Sale (PoS) System: A POS system is a computerized application used to record
sales and handle payments; it is typically used in a retail store, it includes hardware components such
as a computer and bar code scanner, and software to run the system. It interfaces to various service
applications, such as a third-party tax calculator and inventory control. These systems must be relatively
fault tolerant; that is, even if remote services are temporarily unavailable they must still be of capturing
sales and handling at least cash payments. A POS system must support multiple and varied client-side
terminals and interfaces such as browser, PDAs, touch-screens.
Project-2: Online Bookshop Example: Following the model of amazon.com or bn.com, design and
implement an online bookstore.
Project-3: A Simulated Company: Simulate a small manufacturing company. The resulting application
will enable the user to take out a loan, purchase a machine, and over a series of monthly production
runs, follow the performance of their company.
Project-4: A Multi-Threaded Airport Simulation: Simulate the operations in an airport. Your application
should support multiple aircrafts using several runways and gates avoiding collisions/ conflicts. Landing:
an aircraft uses the runway, lands, and then taxis over to the terminal. Take-Off: an aircraft taxies to
the runway and then takes off.
Project-5: An Automated Community Portal: Business in the 21st Century is above all BUSY.
Distractions are everywhere. The current crop of “enterprise intranet portals” is often high noise and
low value, despite the large capital expenditures it takes to stand them up. Email takes up 30 - 70% of
an employee’s time. Chat and Instant Messaging are either in the enterprise or just around the corner.
Meanwhile, management is tasked with unforeseen and unfunded leadership and change-agent roles as
well as leadership development and succession management. What is needed is a simplified, repeatable
process that enhances communications within an enterprise, while allowing management and peers
to self-select future leaders and easily recognize high performance team members in a dynamic way.
Additionally, the system should function as a general-purpose content management, business intelligence
and peer-review application. Glasscode’s goal is to build that system.
Project-6: Content Management System: The goal is to enable non-technical end users to easily
publish, access, and share information over the web, while giving administrators and managers complete
control over the presentation, style, security, and permissions. Features: Robust Permissions System,
Templates for easy custom site designs, Total control over the content, Search engine friendly URL’s,
Role based publishing system, Versioning control, Visitor profiling.
Project-7: An Auction Application: Several commerce models exist and are the basis for several
companies like eBay.com, pricellne.com etc. Design and implement an auction application that provides
auctioning services. It should clearly model the various auctioneers, the bidding process, auctioning etc.

VFSTR 119
CSE - III Year II Semester

Project-8: A Notes And File Management System: During one’s student years and professional career
one produces a 1 lot of personal notes, documents. All these documents are usually kept 1 on papers
or individual files on the computer. Either way the bulk of the information is often erased corrupted
and eventually lost. The goal of this 1 project is to build a distrib- VFSTR 106 III Year I Semester uted
software application that addresses this problem. The system will provide an interface to create, organize
and manage personal notes through the Internet for multiple users. The system will also allow users to
collaborate by assigning permissions for multiple users to view and edit notes.
Project-9: Library Management System(LMS): The goal is to enable students and librarians to easily
access and manage the library and run it smoothly. Each physical library item - book, tape cassette,
CD, DVD, etc. could have its own item number. To support it, the items may be barcoded. The purpose
of barcoding is to provide a unique and scannable identifier that links the barcoded physical item to the
electronic record in the catalog. Barcode must be physically attached to the item, and barcode number
is entered into the corresponding field in the electronic item record. Barcodes on library items could be
replaced by RFID tags. The RFID tag can contain item’s identifier, title, material type, etc. It is read by
an RFID reader, without the need to open a book cover or CD/DVD case to scan it with barcode reader.
Project-10: Hospital Management System: Simulate to show and explain hospital structure, staff,
and relationships with patients, and patient treatment terminology
Project-11: Draft Software Requirement Analysis for the following Problem Statement: Fuel
Delivery System: An unattended petrol (gas) pump system that includes a credit card reader. The
customer swipes the card through the reader and then specifies the amount of fuel required. The fuel
is delivered, and the customer’s account debited.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Use basic concepts of software engineering for
1 Usage 1 1, 11
designing software product.
Compare different process models and identify
Evalua-
2 appropriate process model based on project 1 2, 4
tion
requirements.
Build Software Requirement Specification (SRS)
3 Design 1 3, 5
document for any software product.
Design of solutions using UML diagrams like Use
4 Design 1 3, 4, 5
case, Sequence diagrams etc.
Create an appropriate architecture for a given
5 Create 2 5
project that meets all quality constraints.
Apply different testing techniques to ensure bug
6 free software and metrics to measure the software Apply 2 4, 5, 11
size, complexity, and budget etc.

TEXT BOOKS:
1. Roger S. Pressman, “Software Engineering, A practitioner’s Approach”, 6th Edition, McGrawHill
International Edition, 2008.
2. Booch G., Rumbaugh J. and Jacobsons I, “The Unified Modeling Language User Guide”, 2nd
Edition, Addison Wesley, 2005.

REFERENCE BOOKS:
1. Simon Sennet, Steve McRobb and Ray Farmer, “Object Oriented Systems Analysis and Design,
2nd edition, 2004.
2. Dr. Pankaj Jalote “Software Engineering: A Precise Approach”-edition 2010.

VFSTR 120
IVY E A R
COMPUTER SCIENCE
AND ENGINEERING

B.Tech.
I SEMESTER
 22CS401 - Cryptography and Network Security
 22CS402 - Big Data and Analytics
 22CS403 - Cloud Computing
 - Department Elective - 3
 - Department Elective - 4

II SEMESTER
 22CS404 - Internship / Project Work

COURSE CONTENTS
I SEM & II SEM
CSE - IV Year I Semester

22CS401 CRYPTOGRAPHY AND NETWORK


SECURITY
Hours Per Week :

L T P C
3 0 2 4
PREREQUISITE KNOWLEDGE: Computer networks.
Source: https://www.
brainkart.com/subject/
COURSE DESCRIPTION AND OBJECTIVES: CRYPTOGRAPHY-AND-
This course focuses on the modern concepts of network security using various cryptographic algorithms NETWORK-SECURITY-
PRINCIPLES-AND-
and underlying network security applications. It enables to understand various symmetric and asymmetric PRACTICE_136/
cryptographic techniques. It focuses on providing security services in applications such as e-mail
functioning, web security and secure electronic transactions protocol and system security.

MODULE-1
UNIT-1 12L+0T+8P=20 Hours

INTRODUCTION
Introduction To Computer and Network Security Concepts: Computer Security Concepts, Security
attacks, Security services, Security mechanisms, Fundamental Security Design Principles, Attack
Surfaces and Attack trees, A model for network security.
Classical Encryption Techniques: Symmetric cipher model, Substitution techniques, Transposition
techniques

UNIT-2 12L+0T+8P=20 Hours

SYMMETRIC AND ASYMMETRIC CRYPTOGRAPHY


Symmetric Ciphers: Block cipher principles, Data encryption standard, Strength of DES, Blockcipher
design principles, AES cipher, Multiple encryption and triple DES, Block cipher modes ofoperation, RC4.
Asymmetric Ciphers and Cryptographic Hash Functions: Principles of public keycryptosystems,
RSA algorithm, Diffie-Hellman Key Exchange, Message Authentication requirements,Authentication
functions, Message authentication Codes, Hash functions, Security of hash functionsand MACs, Digital
signature standard.

PRACTICES:
●● Implement Substitution and Transposition Ciphers
●● Ceaser cipher
●● Playfair cipher
●● Hill cipher
●● Rail fence cipher
●● Implement Symmetric Cipher
●● S-DES
●● RC4
●● Implement Asymmetric Cipher
●● RSA
●● Diffie-Hellman
●● Hash Function

VFSTR 123
CSE - IV Year I Semester

SKILLS: MODULE-2
99 Design various
security services UNIT-1 12L+0T+8P=20 Hours
for appropriate
applications. SECURITY APPLICATIONS
99 Identifying the Network Security Applications: Kerberos, X.509 authentication service, Public key infrastructure,
appropriate
firewall, E-Mail Security: Pretty good privacy, S/MIME.
password
management IP Security Overview: IP security architecture, Authentication header, Encapsulating security payload,
and anti- Combining security associations, key management.
virus models
for specific
UNIT-2 12L+0T+8P=20 Hours
applications.
99 Test and resolve WEB AND SYSTEM SECURITY
threats and
malfunctions in Web Security: Secure socket layer and transport layer security, HTTPS, Secure Shell (SSH)
network.
System Security: Intruders, Intrusion detection, Malicious software, Firewalls
99 Apply different
security
PRACTICES:
mechanisms
for web ●● Configure IP Address in a system in LAN (TCP/IP Configuration)
applications.
●● Configure DNS to establish interconnection between systems
99 Build ●● Configuring Windows Firewall
authentication
system for ●● Adding users, setting permissions
security ●● Configure Mail server
protocols.
●● Demonstrate the usage of Wireshark to identify abnormal activity in network communication.
●● Demonstrate usage of NMAP (Zenmap) Tool in Network Scanning.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply cryptographic techniques in various
1 security service solutions effectively in everyday Apply 1,2 1,2
professional and social contexts.
Analyze the usage of secure protocols to
2 Analyze 1,2 1,2
safeguard sensitive data using internet.
Usage of tools to Identify abnormal activity in
3 Apply 2 5
network communication to take appropriate action.
Apply various security protocols to safe guard the
4 Apply 2 1,2
data internet using SSL/TCL.

TEXT BOOK:
1. William Stallings, “Cryptography and Network security”, 7th Edition, Pearson Education, 2017.

REFERENCE BOOKS:
1. William Stallings “Network Security Essentials Applications and Standards”, 2nd Edition, Pearson
Education, 2009.
2. Eric Malwald, “Fundamentals of Network Security”, 4th Edition, Pearson Education, 2010.
3. Buchmann, “Introduction to Cryptography”, 2nd Edition, Pearson Education, 2009.
4. Charlie Kaufman, “Radis Perlman and Mike Speciner, Network Security - Private Communication
in a Public World”, 1st Edition, Pearson Education, 2009.

VFSTR 124
CSE - IV Year I Semester

22CS402 BIG DATA AND ANALYTICS

Hours Per Week :

L T P C
3 0 2 4

PREREQUISITE KNOWLEDGE: Basics of databases, Data mining.


Source: https://
miro.medium.com/
COURSE DESCRIPTION AND OBJECTIVES: max/844/0*ARAg3
This course serves as an introductory course to gain knowledge on analyzing Big Data. Expecting to FnAzy2e02Wy.png

face Big Data storage, processing, analysis, visualization, and application issues on both workplaces
and research environments. Get insight on what tools, algorithms, and platforms to use on which types
of real world use cases.

MODULE-1
UNIT-1 12L+0T+8P=20 Hours

INTRODUCTION TO BIG DATA


Data, Characteristics of data and Types of digital data, Sources of data, Working with unstructured
data, Evolution and Definition of big data, Characteristics and Need of big data, Challenges of big data.
Big data analytics: Overview of business intelligence, Data science and Analytics, Meaning and
Characteristics of big data analytics, Need of big data analytics, Classification of analytics, Challenges
to big data analytics, Importance of big data analytics, Basic terminologies in big data environment.

UNIT-2 12L+0T+8P=20 Hours

INTRODUCTION TO HADOOP
Introducing Hadoop, need of Hadoop, limitations of RDBMS, RDBMS versus Hadoop, Distributed
Computing Challenges, History of Hadoop, Hadoop Overview, Use Case of Hadoop, Hadoop Distributors,
HDFS (Hadoop Distributed File System), Processing Data with Hadoop, Managing Resources and
Applications with Hadoop YARN (Yet another Resource Negotiator), Interacting with Hadoop Ecosystem.

PRACTICES:
●● Hadoop installation in standalone machine.
●● Pig installation.
●● Setup of Hadoop cluster.
●● HDFS basic command-line file operations.
●● HDFS monitoring User Interface.

MODULE-2
UNIT-1 12L+0T+8P=20 Hours

MAPREDUCE PROGRAMMING
Introduction, Mapper, Reducer, Combiner, Partitioner, Searching, Sorting, Compression, Real time
applications using Map Reduce, combiner, Partitioner, matrix multiplication using Map Reduce and
page rank algorithm using Map Reduce.

VFSTR 125
CSE - IV Year I Semester

SKILLS: UNIT-2 12L+0T+8P=20 Hours


99 Build and
maintain reliable, PIG
scalable, Introduction to Pig, The Anatomy of Pig, Pig on Hadoop, Pig Philosophy, Use Case for Pig:
distributed ETL Processing, Pig Latin Overview, Data Types in Pig, Running Pig, Execution Modes of Pig, HDFS
systems with
Commands, Relational Operators, Piggy Bank, Word Count Example using Pig, Pig at Yahoo!.
Apache Hadoop.
99 Develop Map Hive: Introduction to Hive, Hive Architecture, Hive Data Types, Hive File Format, Hive Query Language
Reduce based (HQL), Partitions and bucketing, working with XML files, User-Defined Function (UDF) in Hive, Pig
applications for versus Hive.
Big data.
Spark Programming: Introduction, features of Spark, components of Spark, Programming with Resilient
99 Design and build
Distributed datasets (RDDS).
applications
using Hive
and pig based PRACTICES:
Big data ●● Word Count Map Reduce program using Hadoop.
applications. ●● Implementation of word count with combiner Map Reduce program.
99 Learn tips and ●● Practice on Map Reduce Monitoring User Interface.
tricks for big
data use cases ●● Implementation of Sort operation using Map Reduce.
and solutions. ●● Map Reduce program to count the occurrence of similar words in a file by using partitioner.
●● Design Map Reduce solution to find the years whose average sales is greater than 30.
●● input file format has year, sales of all months and average sales.
●● Year Jan Feb Mar April May Jun July Aug Sep Oct Nov Dec Average.
●● Map Reduce program to find Dept wise salary.
●● Empno Emp Name Dept Salary.
●● Designing of Pig Latin scripts to sort, group, join, project and filter the data.
●● Implementation of Word count using Pig.
●● Creation of Database and tables using Hive query language.
●● Implementation of partitions and buckets using Hive query language.
●● Implementation of word count using spark RDD.
COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Use of Big data frameworks like Hadoop and
1 NOSQL to efficiently store and process Big data Apply 1 1, 2, 5,9,10,12
to generate analytics.
Design a solution for data intensive problems using
2 Apply 1 1, 2, 5, 9,10,12
Map Reduce paradigm.
Design and analyze the solutions of Big data
3 using Pig and Hive to solve data intensive and to Apply 2 1, 2, 3, 5, 9,10,12
generate analytics.
4 Analyze Big data using Spark programming. Analyze 2 1, 2, 3, 5, 9,10,12

TEXT BOOKS:
1. Seema Acharya, Subhashini Chellappan, “Big Data Analytics”, Wiley, 2015.
2. Holden Karau, Andy Konwinski, Patrick Wendell, MateiZaharia, “Learning Spark: Lightning-Fast
Data Analysis”, O’Reilly Media, Inc., 2015.
REFERENCE BOOKS:
1. Boris Lublinsky, KevinT. Smith, Alexey Yakubovich, “Professional Hadoop Solutions”, Wiley,
2015.
2. Chris Eaton,Dirk deRooset al. , “Understanding Big data ”, McGraw Hill, 2012.
3. Tom White, “HADOOP: The definitive Guide”, O Reilly 2012.

VFSTR 126
CSE - IV Year I Semester

22CS403 CLOUD COMPUTING

Hours Per Week :

L T P C
3 0 2 4
PREREQUISITE KNOWLEDGE: Operating systems and Computer networks.
Source: https://tse4.
mm.bing.net/th/id/OIP.
COURSE DESCRIPTION AND OBJECTIVES:
vN86lZCAdr3RDSX
This course deals with the computing model, which enables information, software, and shared resources c0cuHcAHaE8?pid=
ImgDet&rs=1
to be provisioned over the network as services in an on-demand manner. The main objective of this
course is to enable the student to understand the evolution of cloud computing through its supporting
technologies virtualization and the architectures of top cloud platforms.

MODULE-1
UNIT-1 12L+0T+8P=20 Hours

INTRODUCTION
Introduction: Definition, Historical developments, Computing platforms, and technologies.
Principles Of Parallel and Distributed Computing: Parallel versus distributed computing, Elements
of parallel computing, Elements of distributed computing, Technologies for distributed computing.

UNIT-2 12L+0T+8P=20 Hours

VIRTUALIZATION
Introduction, Characteristics, Virtualization techniques, Virtualization and cloud computing, Pros. and
cons. of virtualization, Technology examples.
Cloud Computing Architecture: Introduction, Cloud reference model, Types of clouds, Economics of
clouds, Open challenges.
Cloud Platforms in Industry: Amazon web Services, Google app engine, Microsoft Azure.

PRACTICES:
●● Performing hardware virtualization using Vmware workstation.
●● Launch Amazon Linux EC2 Instance and connect the windows client to it.
●● Launch Windows EC2 instance in AWS and connect windows client to it.
●● Configure Web Server on Amazon Linux instance with Elastic IP.
●● Manage Elastic Block Storage(EBS).
●● Configure Amazon Simple Storage Service (Amazon s3).
●● Configure Amazon S3 Glacier.
●● Configure Amazon EFS.

MODULE-2
UNIT-1 12L+0T+8P=20 Hours

ANEKA
Cloud application platform, Framework overview, Anatomy of the Aneka container, Building Aneka
clouds, Cloud programming, and management.
High Throughput Computing- Task Programming: Task computing, Task-based application models,
Aneka task-based programming.

VFSTR 127
CSE - IV Year I Semester

SKILLS: UNIT-2 12L+0T+8P=20 Hours


99 Gain knowledge
of different types CLOUD APPLICATIONS
of Cloud Service
Scientific applications in healthcare, biology, geo science; Business applications in CRM and ERP,
Providers.
productivity, social networking, media applications, multiplayer online gaming.
99 Explore basic
design issues
of Cloud
PRACTICES:
Applications. ●● Configure Amazon Virtual Private Cloud (VPC).
99 Compare & a) Create your own VPC.
evaluate the
optimum costs
b) Create a public subnet.
in the data c) Create a private subnet.
transmissions.
d) Create an Internet gateway and attach to your VPC.
e) Create Pubic Routing Table, associate subnet and add routing rules.
f) Create Private Routing Table, associate subnet and add routing Rules.
g) To launch Windows instance in Public subnet.
●● Configure Amazon Elastic Load Balancer.
●● Configure Relational Database Service (RDS).

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Deploying a VM Image to understand the evolution
1 of cloud computing in contrast to the traditional Apply 1 1,5
approach.
Evaluate the concepts of various virtualization
2 Evaluate 1 2,5
technologies.
Analyze the trade-offs, security, and privacy issues
3 among application deployment in the various cloud Analyze 2 2,5
and the local infrastructure.
Deploy applications over commercial cloud com-
4 Apply 2 1,5
puting infrastructures.

TEXT BOOKS:
1. Raj Kumar Buyya, C Vecchiola and S TSelvi , “Mastering Cloud Computing”, 1st Edition, Tata
McGraw Hill Education (India), 2013.
2. RajKumarBuyya, Broberg J and GoscinskiA, “Cloud Computing - Principles and Paradigms”,
1st Edition, Wiley, 2011.

REFERENCE BOOKS:
1. David S. Linthicum, Cloud Computing and SOA Convergence in Your Enterprise A Step-by-Step
Guide, Pearson 2010.
2. Dr. Kumar Saurabh, Cloud Computing, 2nd Edition, Wiley India 2012.
3. Rittinghouse J W, and Ransome J F, “Cloud Computing - Implementation, Management, and
Security”, 1st Edition, CRC Press, 2009.
4. Michael Wittig and Andreas Wittig, “Amazon Web Services in Action”, 2nd Edition, Manning
Publications, 2015.
5. Tim Mather, Subra Kumaraswamy, Shahed Latif, “Cloud Security and Privacy: An Enterprise
Perspective on Risks and Compliance”, O’ReillyMediaInc, 2009.

VFSTR 128
COMPUTER SCIENCE
AND ENGINEERING

 22CS801 - Advanced Data Structures


 22CS802 - Advanced JAVA Programming
 22CS803 - Computer Graphics
 22CS804 - Deep Learning
 22CS805 - Digital Image Processing
 22CS806 - Machine Learning
 22CS807 - Mobile Ad-hoc Network
 22CS808 - Mobile Application Development
 22CS809 - Text Mining
 22CS810 - Numerical Algorithms
 22CS811 - Operating System Design
 22CS812 - Optimization Techniques
 22CS813 - Simulation and Modeling

I SEM & II SEM


CSE - Department Electives

22CS801 ADVANCED DATA STRUCTURES

Hours Per Week :

L T P C
2 2 2 4
PREREQUISITE KNOWLEDGE: Data structures.
Source: https://
COURSE DESCRIPTION AND OBJECTIVES: www.baeldung.
com/cs/advanced-
Advanced data structures are one of the most important disciplines of data science since they are used data-structures
for storing, organizing, and managing data and information to make it more efficient, easier to access,
and modify. The objective of this course is to improve students’ skills in designing data structures and
algorithms for various solutions, and problem design in large systems and applications such as databases,
information retrieval systems, bioinformatics, and geographic information systems.

MODULE-1
UNIT-1 8L+8T+8P=24 Hours

HASHING, EXTERNAL SORTING & PRIORITY QUEUE


Hashing: Introduction, Hash Function, Collision Resolution Technique: Separate Chaining, Open
Addressing.
External Sorting: Merge Sort.
Priority: Priority Queues: Introduction, Types of priority queues, implementing max priority queue and
min priority queue.

UNIT-2 8L+8T+8P=24 Hours

TREES
Trees: Splay tree, Red Black Tree (RBT), Operations on RBT, M-way search tree and operations,
Segment tree.

PRACTICES:
● Implementation of Hash Table.
● Implementation of Separate Chaining and Linear Probing
● Implementation of merge sort by taking a large file as input and sort the file.
● Implement different operations on Priority Queue. i.e. adding an element, removing an element,
size of the priority queue, printing the queue, and top element of the queue.
● Implementation of a Splay tree operation.
● Implementation of a Red-Black tree operation.
● Implementation of M Way Search tree.
● You are given a tree with n vertices (numbered 1, 2, …, n) and an integer k.
A subtree is defined as a connected subgraph of the tree. That is, a subtree is another tree that can be
obtained by removing some (possibly none) vertices and all edges incident to those vertices from T.
A subset S of vertices is called good if every subtree containing all the nodes in S has at least k nodes.
Find the size of the smallest good subset.
Input:
The first line contains a single integer T, the number of test cases. The descriptions of test cases follow.
The first line of each test case contains two integers, n, and k.
The next n-1 lines each contain two integers u, v, denoting an edge between vertices u and v of the tree..

VFSTR 131
CSE - Department Electives

SKILLS: Output:
 Analyse the For each test case print in a single line, the minimum size of a good subset.
data structure
required
for various MODULE-2
applications.
UNIT-1 8L+8T+8P=24 Hours
 Usage of trees,
graphs, heaps HEAPS
and tries.
Heaps: Introduction, types of heaps, heap implementation with an array, heap sort, technique to sort
 Know various elements, Mergeable heaps, Application of heap.
pattern
searching
algorithms. UNIT-2 8L+8T+8P=24 Hours

PATTERN SEARCHING & TRIES


Pattern Searching: Pattern matching algorithms -Brute force, the Boyer —Moore algorithm, Robin-Karp
algorithm, Knuth-Morris-Pratt algorithm.
Tries: Standard Tries, Compressed Tries, Suffix tries.

PRACTICES:
● You are given N numbers you can decrease each number by 10 % or K kg whichever is more.
If the number, you choose is less than K you can make it zero. Your task is to minimize the sum
of the number as small as possible by performing N operations only. [Note: Use Priority Queue].
Example:
Input:
N=2
k = 10
arr = 100 15
Output:
95
Explanation:
You will remove 10 from 100
then once again remove 10 90.
● Given a Binary Heap of size N in an array arr[]. Write a program to calculate the height of the
Heap.
Input: N = 6
arr = {1, 3, 6, 5, 9, 8}
Output: 2
● Given two binary max heaps as arrays, merge the given heaps to form a new max heap.
Example:
Input :
n=4m=3
a[] = {10, 5, 6, 2},
b[] = {12, 7, 9}
Output :
{12, 10, 9, 2, 5, 7, 6}
● In Doraland, people have unique Identity Numbers called D-id. Doraemon owns the most popular
gadget shop in Doraland. Since his gadgets are in high demand and he has only K gadgets
left he has decided to sell his gadgets to his most frequent customers only. N customers visit
his shop and D-id of each customer is given in an array array [ ]. In case two or more people
have visited his shop the same number of time he gives priority to the customer with higher
D-id. Find the D-ids of people he sells his K gadgets to.

VFSTR 132
CSE - Department Electives

Example:
Input:
N=6
array[] = {1, 1, 1, 2, 2, 3}
K=2
Output:
12
Explanation:
Customers with D-id 1 and 2 are most frequent.
● You are given q queries of two types:
X: Append value X into an array.
X K: You are required to print the Kth minimum XOR of X with the current array.
You have to make a new array whose ith element is current_array[i]X. Then sort it and print
the Kth element.
Input format
The first line contains q (1d”qd”100000).
Next q lines contain the types of queries. (1 or 2) If type is 1, then it contains X (1d”Xd”10e18).
If type is 2, then it contains X (1d”Xd”10e18) and K (Kd”current array size).
Output format
Print the number in the second type of query. (Note: Use Tries)
● Given an array of strings arr[] of size n and given s a string str and an integer k. The task is
to find the count of strings in arr[] whose prefix of length k matches with the k length prefix of
str. [Note: Use Tries]
Input:
n=6
arr[] = {“abba”, “abbb”, “abbc”, “abbd”, “abaa”, “abca”}
str = “abbg”
k=3
Output: 4
Explanation:
“abba”, “abbb”, “abbc” and “abbd” are the matching strings.
● Given an array of integers of size N find minimum xor of any 2 elements. [Note: Use Tries]
Input:
N=3
arr[] = {9,5,3}
Output: 6
Explanation:
There are 3 pairs –
9^5 = 12
5^3 = 6
9^3 = 10
Therefore output is 6.

VFSTR 133
CSE - Department Electives

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
1 Implement external sorting and priority queue Apply 1 1,2
Implement different types of trees and apply them
2 Apply 1 1,2,3
to problem solutions.
Apply the concepts of advanced Trees for solving
3 Apply 1 1,2,3
problems effectively.
Analyze how efficient pattern matching principles
4 can be used in the design and implementation of Analyse 2 1,2,3,4
qualitative research.
Analyze the given scenario and choose the
5 Analyse 2 1,2,3,4
appropriate Data Structure for solving problems.

TEXT BOOKS:
1. Mark Allen Weiss, Data Structures and Algorithm Analysis in C++, 2nd Edition, Pearson, 2004.
2. T.Cormen, R.Rivest, C.Stein, C.Leiserson,“Introduction to Algorithms”, , PHI publication, Second
Edition, 2004, ISBN 81-203-2141-3.

REFERENCE BOOKS:
1. Mark de Berg, Otfried Cheong, Marc van Kreveld, Computational Geometry: Algorithms and
Applications:, Springer; 3rd Edition. 2008.
2. Sahani, Anderson freed, Horowitz, Fundamentals of DATA STRUCTURES in C, Silicon Pr; 2nd
Edition, August 1, 2007.

VFSTR 134
CSE - Department Electives

22CS802 ADVANCED JAVA PROGRAMMING

Hours Per Week :

L T P C
2 2 2 4

PREREQUISITE KNOWLEDGE: Programming JAVA.


Source: https://
COURSE DESCRIPTION AND OBJECTIVES: www.kpl.
gov/catalog/
Advanced Java programming covers the standard concepts such as database connectivity, web-services, item/?i=ent://
LYNDA/0/
web application development etc. It is specially designed to develop web-based, network-centric or LYNDA:103608
enterprise applications. It simplifies the complexity of building an n-tier application.

MODULE-1
UNIT-1 8L+8T+8P=24 Hours

INTRODUCTION TO JAVA WEB FRAME WORKS


Introduction to Java Web frameworks: What is Framework in Java, Advantages of Frameworks,
Popular Java Web Frameworks: Spring, Spring Boot, Hibernate, Java Server Faces, Google Web Toolkit
etc., Comparison of the web frameworks. Environmental setup to use Web Frameworks.

UNIT-2 8L+8T+8P=24 Hours

ORM AND HIBERNATE


ORM: What is Object Relational Mapping, How ORM Works, Features of ORM, Advantages, Java
ORM- Hibernate, JAVA Persistence API(JPA), ORM implementation.
Hibernate: Overview of Hibernate, Hibernate Architecture, Hibernate Mapping Types, Hibernate O/R
Mapping, Hibernate Annotation, Hibernate Query Language.

PRACTICES:
● Installation and Environmental setup to work with java Web Frameworks.
● Create a simple application of hibernate using XML.
● Create a maven based hibernate application using annotation
● Develop a web application using hibernate framework.
● Using the web application to perform database access with hibernate framework.

MODULE-2
UNIT-1 6L+6T+6P=18 Hours

STRUTS
Struts: Struts framework, Struts features, Model 1vs Model 2 (MVC) Architecture, Core components
of Struts, Configuration of Struts, Creating a Struts Application.

UNIT-2 10L+10T+10P=30 Hours

SPRING AND SPRING BOOT


Spring: Overview of Spring, Spring Architecture, Inversion of Control (IOC) and Dependency Injection,
XML Configuration on Spring, Creating a Spring Application. Spring MVC, flow of Spring Web MVC,
Spring Web MVC Framework Example.
Spring Boot: Overview of Spring Boot, Spring vs Spring MVC vs Spring Boot, SB architecture,
Components of SB, Creating Spring Boot Application.

VFSTR 135
CSE - Department Electives

SKILLS: PRACTICES:
 To know the ● Develop a simple web application using struts.
importance of
java web frame- ● Develop a CRUD (Create Read Update Delete) Application using spring.
works to develop ● Implement Spring MVC Pagination, which is used to display a large number of records in
enterprise java
different parts. Display 10, 20 or 50 records in one page.
applications.
● Using Spring MVC upload a file.
 To experience
developing a ● Create a self-contained HTTP application that uses embedded server like Tomcat using Spring
web application Boot.
using MVC
architecture. COURSE OUTCOMES:
 Design and Upon successful completion of this course, students will have the ability to:
develop CRUD
applications
CO Blooms Module Mapping
using different Course Outcomes
java frameworks. No. Level No. with POs
 To derive hands Implement web frameworks to develop web
on experience 1 Apply 1 1,2,3
applications using java.
of developing
enterprise Design java web applications using MVC
applications 2 Create 1 1,2,3
architecture using web frameworks like hibernate.
using advanced
web frameworks Implement java application to interact with
like Spring and 3 Apply 2 1,2,3
Spring Boot.
database using struts.
Design secure transaction-based web applications
4 Create 2 1,2,3,4
using Spring framework.

TEXT BOOKS:
1. James Keogh, “Complete Reference J2EE”, 9th Edition, McGraw Hill, Education, 2002.
2. Jeff Linwood and Dave Minter, “Beginning Hibernate”, 2nd Edition, Après publication 2010.

REFERENCES BOOKS:
1. Sharanam Shah, Vaishali Shah. “Structs 2 for Beginners”, 3rd Edition, Arizona Business Alliance,
2014.
2. Craig walls, “Spring in Action”, 5th Edition, Manning Publication, 2018.
3. https://struts.apache.org/getting-started/index.html.
4. https://www.javatpoint.com/hibernate-tutorial.
5. https://www.dineshonjava.com/spring-tutorial/.

VFSTR 136
CSE - Department Electives

22CS803 COMPUTER GRAPHICS

Hours Per Week :

L T P C
2 2 2 4

PREREQUISITE KNOWLEDGE: Basic Logical Thinking and Problem Solving Ability.


Source: https://www.
COURSE DESCRIPTION AND OBJECTIVES: javatpoint.com/
computer-graphics-
This course provides a comprehensive introduction to computer graphics leading to understanding the
tutorial
contemporary terminology and algorithms of computer graphics. To make the students learn the basic
principles of visualization. To give an introduction to 2D and 3D modelling and animation.

MODULE-1
UNIT-1 8L+8T+8P=24 Hours

OVERVIEW OF GRAPHICS SYSTEM INTRODUCTION


Application areas of Computer Graphics; Video-display devices: raster-scan systems and random scan
systems; Graphics primitives: display devices, primitive devices; Filled area primitives: scan line polygon
fill algorithm, boundary-fill and flood-fill algorithms.

UNIT-2 8L+8T+8P=24 Hours

2D GEOMETRIC TRANSFORMATIONS AND VIEWING BASIC TRANSFORMATION


Geometric Transformations, matrix representations, and homogeneous coordinates. Inverse
transformations, 2DComposite transformations, other 2D transformations, raster methods for geometric
transformations; 2-D Viewing: The viewing pipeline, window to viewport coordinate transformation,
Cohen-Sutherland and Cyrus-beck line clipping algorithms, Sutherland –Hodgeman polygon clipping
algorithm.

PRACTICES:
● Points & Polygons: Suppose the vertices of a convex polygon are p¯1, . . . ,p¯N, given in
counter-clockwise order. Let the coordinates of vertex p¯i be (xi ,yi).

Describe an algorithm that can tell whether a 2D point q¯ is inside the gray-shaded region in
the figure. You should assume that the polygons defined by vertices p¯1, . . . ,p¯N and r¯1, .
. . , r¯M, respectively, are both convex. Hint: Each edge is contained in an infinite line. Each
infinite line divides the 2D plane into two half-planes, the left half-plane and the right half-
plane (here left/right means left/right with respect to a counter-clockwise direction of traversal
of the vertices). The key insight you should use is that the interior of a convex polygon is the
intersection of the left half-planes of all the edges of the polygon.

VFSTR 137
CSE - Department Electives

SKILLS: ● Transformations & Commutativity: We say that the 2D transformations f() and g() commute if
 Learn various and only if f(g(¯p)) = g(f(¯p)) for all points p¯ ∈ R 2 . For each of the four cases below, where
clipping f() and g() are homographies, prove whether or not they commute:
algorithms.
a) Both f() and g() are arbitrary homographies.
 Compare
2-D and 3_D b) One is an arbitrary rotation and the other an arbitrary translation.
transformations.
c) One is an arbitrary translation and the other is a non-uniform scaling.
 Learn various
surface d) One is an arbitrary rotation and the other is a reflection. In each case, your solution can
detection either be a derivation that proves/disproves commutativity or, if f() and g() do not commute, a
methods
specific counter-example.
● Contrast the implementation of Display File/Frame Buffer for a Random Scan System & Raster
Scan System. Which type of system shall offer more consistent refresh rate and why?
● Determine the most appropriate pixels that will be plotted when Bresenham’s algorithm is used
to draw a line joining the points (10,20) and (20,30)
● Suppose a system with 8 inches by 10 inches video monitor that can display 100 pixels per inch.
If memory is organized as one byte words, the starting frame buffer address is 0 and each pixel
is assigned one byte of storage in memory, what is the frame buffer address of pixel with screen
coordinates (x,y) ? Also, determine the total amount of memory consumed by the frame buffer.
● Consider a raster monitor of resolution 640*480 pixels. A scanning is used with horizontal retrace
time of 4 micro seconds and vertical retrace time of 20 micro seconds respectively. Calculate
the time available to display a pixel for both cases of (i) non-interlaced and (ii) interlaced.
Assume a scan rate of 50 frames.

MODULE-2
UNIT-1 8L+8T+8P=24 Hours

3D GEOMETRIC TRANSFORMATIONS
3-D Object representation, 3-D geometry primitives, transformations, projection clipping. Interaction:
Hardware input devices handling algorithms, Event handling echoing, Interactive techniques,3-D
Geometric transformations, Translation, rotation, scaling, reflection and shear transformations, composite
transformations, 3D viewing: Viewing pipeline, viewing coordinates, general projection transformation
and clipping.

UNIT-2 8L+8T+8P=24 Hours

VISIBLE SURFACE DETECTION METHODS


Back-face detection, depth buffer, A-buffer, Z-buffer, scan-line Illumination Models, and Surface rendering
Methods: Basic illumination models, polygon rendering method.

PRACTICES:
● Matrix implementation is a powerful technique used for computer graphics. For the concerns
stated in section II, matrix for 3D space is represented as a 4X4 array instead of 3X3 array.
● Each operation of object such as translation and rotation can be represented by one Matrix.
By multiplying the matrix, a vector/point can be transformed by the operation. For example, P
= (x, y, z, 1) is a point’s coordinator before the operation, and M = (1 0 0 a) (0 1 0 b)(0 0 1 c)
(0 0 0 1) is the matrix representation of translating the object a blocks right, b blocks up and c
blocks forward, then after the translating, the point’s coordinator will become P’ = P*M is the
coordinator of the point after the operation.
● A sequence of operation can also be composed to be one operation. For example, matrix M1
represent first operation, matrix M2 represent second operation, the matrix M = M1*M2 will
represent this sequence of 2 operations. If P = (x, y, z, 1) is the coordinator of the point before
perform the sequence of the operations, then P’ = P * M will be the coordinator of the point
after the perform the operation1 then perform the operation2.

VFSTR 138
CSE - Department Electives

Following are matrix representation for some operations:


● Translate object by V, where V is the vector:
M = (1 0 0 V[0]) (0 1 0 V[1]) (0 0 1 V[2]) (0 0 0 1)
● Rotate object along X axis by d degree:
M = (1 0 0 0) (0 cos(d) -sin(d) 0) (0 sind(d) cos(d) 0) (0 0 0 1)
● Rotate object along Y axis by d degree:
M = (cos(d) 0 sin(d) 0) (0 1 0 0) (-sin(d) 0 cos(d) 0) (0 0 0 1)
● Rotate object along Z axis by d degree:
M = (cos(d) -sin(d) 0 0) (sin(d) cos(d) 0 0) (0 0 1 0) (0 0 0 1)
● Start with a unit cube centered at the origin. Use two more cubes like this one and obtain the
model shown in the right image, where each new cube is twice the size of the previous one

Below list the transformations in the order in which they were applied
1) scaling 2) Translation 3) Rotation
● There are situations in which rotations about axes other than the three coordinate axes are
useful. In the next two activities, you will discover how a rotation about an arbitrary axis can
be broken down into a series of rotations about the three coordinate axes.
● The yellow axis passing through the teapot in the image below is parallel to the vector (1, 1,
0). Determine a sequence of coordinate axis rotations that result in the teapot rotating 180
degrees about the yellow axis, as shown in the right image.

Write the sequence of rotations in the order in which you applied them. Hint: use a rotation that aligns
the yellow axis with the x-axis, then rotate the object about the xaxis, then use the reverse rotation that
brings the yellow axis back to original position.

VFSTR 139
CSE - Department Electives

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs

Implement of various graphics systems along with


1 Apply 1 1, 2
the algorithms used for these devices for drawing.

Demonstrate 2D graphics and algorithms


2 including line drawing, polygon filling, clipping, Apply 1 1, 2
and transformations.

Demonstrate Concepts and techniques used in


3 Apply 2 1, 2, 3
3D computer graphics and basic about animation.

Implement Surface detection methods to get a


4 Apply 2 1, 2,3
realistic screen image.

TEXT BOOKS:
1. Donald Hearn and M. Pauline Baker, “Computer Graphics C version”, Pearson education,
Second Edition, 2014.
2. Zhigang Xiang, Roy Plastock, “Computer Graphics”, Schaum’s outlines, Second Edition, Tata
McGraw Hill Edition, 2000.

REFERENCE BOOKS:
1. Foley, VanDam, Feiner and Hughes, “Computer Graphics Principles &Practice in C”, Pearson
Education. 2nd Edition, 1996.
2. David F Rogers, “Procedural elements for Computer Graphics”, Tata McGraw Hill, 2nd Edition.,
1988.
3. Neuman and Sproul, “Principles of Interactive Computer Graphics, Tata McGraw Hill”, 2nd
Edition., 1978.
4. Shalini, Govil-Pai, “Principles of Computer Graphics”, Springer. 1st Edition, 2006.
5. Steven Harrington, “Computer Graphics”, TMH, 2nd Edition, 1987.

VFSTR 140
CSE - Department Electives

22CS804 DEEP LEARNING

Hours Per Week :

L T P C
3 0 2 4

PREREQUISITE KNOWLEDGE: Machine learning, Python programming.


Source: https://www.
symmetrymagazine.
COURSE DESCRIPTION AND OBJECTIVES:
org/sites/default/files/
This course offers sufficient details required to understand the basic building blocks of various deep images/standard/neural_
network_visual_final.jpg
learning based models. Especially, focuses on different types of neural network models like feed forward
neural networks, convolutional neural networks, recurrent neural networks, and deep auto encoders.
During this course the students build, train, and evaluate deep neural network models for various
applications in image, text, and speech domains. In addition, throughout this course students will be
able to understand hyper parameter tuning and other best-practices to be followed while training deep
neural network models.

MODULE-1
UNIT-1 12L+0T+8P=20 Hours

EVOLUTION OF DEEP NEURAL NETWORKS


Deep Learning Intuition: History of Deep Learning, what is Deep Learning? Applications of Deep
Learning.
Neural Network Basics: McCulloch–Pitts neuron, Perceptron learning rule, Perceptron convergence
theorem, Sigmoidal neuron, Multi-layer feed forward neural network, back propagation algorithm,
Gradient descent method, Stochastic gradient descent method. Shallow Neural Networks and Deep
Neural Networks.
REGULARIZATION and OPTIMIZATION for training Deep Models: Optimization methods - Adagrad,
Adadelta, RMSProp, Adam; Regularization Methods-Dropout, Drop connect, Batch normalization;
Activation functions - Linear, sigmoid, sigmoid, ReLU and variations of ReLU; Losss Function, Improving
the training process – Dataset Augmentation, Noise Robustness, Weight Initialization methods, Early
stopping, Parameter sharing and tying, bagging and other ensemble methods;

UNIT-2 12L+0T+8P=20 Hours

CONVOLUTIONAL NEURAL NETWORKS


Convolutional Neural Networks (CNNs): Foundations of Convolutional Neural Network, Popular Deep
CNN Models: LeNet, AlexNet, VGGNet, ResNet, Google Net and other architectures.

INSTRUCTIONS FOR PRACTICES:


● Practice Assignments can be implemented using the Keras / Tensorflow APIs of Python
● Relevant data sets can be downloaded from standard repositories such as Kaggle/UCI or can
be developed by the students.

PRACTICES:
● Implement Logistic regression With Neural Network Mindset.
● logistic regression classifier for classification.
● Plot the loss over each epoch.
● Plot the accuracy over each epoch.
● Report final Accuracy.

VFSTR 141
CSE - Department Electives

SKILLS: ● Implement Shallow Neural Network model:


 Developing ● Implement a binary classification neural network with a single and multiple hidden layers.
Vision and
text based
● Implement a Multi-class classification neural network with a single and multiple hidden
applications layers.
 Hyperparameter ● Vary the number of neurons at suitable layers.
Tuning of a deep ● Hyper parameter Tuning of a Neural Network model implemented for hand-written digit
Neural network classification:
model.
● Vary the type of activation functions.
 Tensor Flow/
Keras tool ● Choose suitable Loss functions.
usage for ● Vary the number of neurons at suitable layers.
neural network
● Vary Weight Initialization methods.
implementation.
● Save the Best Model and load the saved model.
● Building a Deep Neural Network:
● Implement a multi-class classification neural network with number of layers of your choice.
● Include Batch Normalization layers.
● Vary Optimization methods.
● Add drop out layers.
● Convolutional Neural Network Models.
● Design a Convolutional neural network with the layers of your choice
● Compare the performance by changing the
● Kernel size
● Number of feature maps at each convolutional layer
● Stride.
● Padding.
● Number of fully connected layers.
● Visualization of CNN Models.
● Design a Convolutional Neural Network Model for image classification.
● Plot Model Architecture.
● Visualize feature maps after training of CNN.
● Visualize class activation maps.

MODULE-2
UNIT-1 14L+0T+10P=24 Hours

DEEP UNSUPERVISED LEARNING


Transfer learning Approaches: Deep Pre-trained architectures- AlexNet, VGG16, VGG19, ResNEt.
Use deep Convolutional architectures for feature extraction and fine-tuning tasks.
Deep Unsupervised Learning: Autoencoders- Under complete Autoencoders, regularized auto
encoders, Representation power, layer size and depth, stochastic encoders and decoders, Denoising
auto-encoders, Sparse auto encoder, Contractive auto-encoders

UNIT-2 10L+0T+6P=16 Hours

RECURRENT NEURAL NETWORKS


Architecture of an RNN, unfolding of an RNN, Backpropagation through time, Long short term memory
(LSTM), Gated recurrent units, Applications- Text Classification, Sentiment Analysis.

PRACTICES:
● Using Deep pre-trained CNN model for feature extraction:
● Extract features from the FC1 of VGG network.
● Train any traditional ML model like SVM for classification.
● Repeat the above by considering FC2 of VGG for feature extraction.

VFSTR 142
CSE - Department Electives

● Fine-tuning Deep pre-trained CNN for Classification:


● Fine-tune VGG network for the task under consideration.
● Check the performance by making.
● all the layers trainable.
● freezing the initial layers.
● freezing the entire network except the final layer.
● Design MLFFNN with 3-level stacked autoencoder based pre-training for Black and white
image data, Display features extracted by different levels of stacked autoencoder at the end
of pre-training.
● Sentiment Analysis
● Pre-process the text.
● Convert the text into word embeddings.
● Implement the classification network using LSTMs/ GRUs.
● Pre-process the text.
● Convert the text into word embeddings.
● Implement the classification network using LSTMs/ GRUs.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Implementation of Deep learning models to solve
1 Apply 1,2 1, 3
various real-time problems.
Analyse performance of a deep network and tune
2 Analyze 1 2
its capacity and hyper parameters.
Leveraging tools to Build deep networks and apply
3 Apply 1,2 1,5
them for real word tasks.
Developing core components for deep learning
4 Design 1,2 3
algorithms.

TEXT BOOKS:
1. Ian Good Fellow and Yoshua Bengio and Aaron, “Deep Learning”, 1st Edition, MIT Press, 2016.
2. Charu C Aggarwal “Neural Networks and Deep learning”, Springer International Publishing,
2018.

REFERENCE BOOKS:
1. Francois Chollet, “Deep learning with python”, 1st edition, Manning Publications, 2017.
2. S. Haykin, “Neural Networks and Learning Machines”, 3rd edition, Prentice Hall of India, 2011.
3. Josh Patterson and Adam Gibson, “Deep Learning: A Practitioner’s Approach”, 1st Edition,
O’Reilly, 2017.
4. Satish Kumar, “Neural Networks, A Classroom Approach”, Tata McGraw-Hill, 2007.

VFSTR 143
CSE - Department Electives

22CS805 DIGITAL IMAGE PROCESSING

Hours Per Week :

L T P C
2 2 2 4
PREREQUISITE KNOWLEDGE: Probability and Statistics.
Source: https://www.
researchgate.net/figure/ COURSE DESCRIPTION AND OBJECTIVES:
Fundamental-steps-in-
digital-image-processing_ This course focuses on imparting knowledge about the aspects of Image Processing and its applications.
fig10_333856607 The main objective of the course is to learn digital image fundamentals, image transforms, image
enhancement, restoration and compression, morphological image processing, representation and
description.

MODULE-1
UNIT-1 6L+6T+6P=18 Hours

FUNDAMENTALS OF IMAGE PROCESSING


Fundamental steps in digital image processing, Components of image processing system, A simple image
formation model, Image sampling and quantization, Basic relationships between pixels, Introduction to
Fourier Transform and DFT – properties of 2D Fourier Transform, FFT.

UNIT-2 10L+10T+10P=30 Hours

IMAGE ENHANCEMENT IN THE SPATIAL AND FREQUENCY DOMAINS


Basic gray - level transformations, Histogram processing, Basics of spatial filtering, Smoothing spatial
filters, Sharpening spatial filters, The basics of filtering in the frequency domain, Image smoothing in
frequency domain filters, Image sharpening in frequency domain filters.
Image Segmentation: Fundamentals, Point, Line and edge detection, Thresholding, Region-based
segmentation, Segmentation using morphological watersheds, The use of motion in segmentation.

PRACTICES:
● Develop a module to enhance the image by using image arithmetic and logical operations.
● Develop a module for an image enhancement using kernel operations.
● Develop a module for gray level slicing with and without background.
● Develop a module for image enhancement using histogram equalization.
● Develop a module to filter an image using low pass & high pass filter in spatial domain. Compare
the performance of both filters.
● Develop a module for smooth an image using low pass & high pass filters in frequency domain.
Compare the performance of both filters.
● Develop a module for detecting lines & edges in an image.
● Develop a module for segmenting region of interest.

MODULE-2
UNIT-1 8L+8T+8P=24 Hours

IIMAGE RESTORATION
A model of image degradation/restoration, Noise models, inverse filtering, wiener filtering, Constrained
Least Squares Filtering, Geometric Mean Filter.
Image Compression: Fundamentals, Huffman coding, Golomb coding, LZW coding, Run-length coding

VFSTR 144
CSE - Department Electives

UNIT-2 8L+8T+8P=24 Hours SKILLS:


 Apply knowledge
MORPHOLOGICAL IMAGE PROCESSING of science and
Erosion, Dilation, Opening, Closing, The hit-or-miss transformation; Basic morphological algorithms - engineering
principles to
boundary extraction, hole filling, extraction of connected components, thinning, thickening, skeletons, image related
pruning. problems.

Feature Extraction: Background, Boundary preprocessing, Boundary Feature Descriptors, Region  Undertake
image problem
Feature Descriptors, Principle Components as feature descriptors, Whole-image features. identification
and formulate
PRACTICES: solutions.
● Develop a module to perform add & removal of salt and pepper noise. Compute PSNR & MSE  Implement
and check the impact before and after removal of noise. algorithms for
enhancement,
● Develop a module to remove noise using average filter and median filter. Compute PSNR & restoration,
MSE before and after removal of noise. compression etc.
● Develop a module for image compression and decompression.
● Develop a module for morphological image operations - erosion, dilation, opening & closing.
● Develop a module for morphological image operations - hit-or-miss transformation.
● Develop a module for morphological image operations - thinning, thickening
● Develop a module for extracting boundary features of an image.
● Develop a module for extracting features of an image using GLCM.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Understand the fundamental concepts of a digital Under-
1 1 1,2
image processing system. stand
Learn different techniques employed for the en-
2 Analyse 1 1,2,3,5,12
hancement of images.
Employ image segmentation and representation
3 Apply 1 1,2,3,5,12
techniques to extract region of interest.
Learn different causes for image degradation and
4 Evaluate 2 1,2,3,5,12
overview of image restoration techniques.
Apply various compression techniques to reduce
5 image size and morphological operations to extract Apply 2 1,2,3,5,12
features.
Learn different feature extraction techniques for
6 Apply 2 1,2,3,5,12
image analysis and recognition.

TEXT BOOKS:
1. Rafeal C Gonzalez and Richard E.Woods, “Digital Image Processing”, 4th edition, Pearson
Education/ PHI, 2018.
2. Rafeal C Gonzalez and Richard E.Woods, “Digital Image Processing using MATLAB”, 4th
edition, Pearson Education/ PHI, 2020.

REFERENCE BOOKS:
1. Milan Sonka, Vaclav Hlavac and Roger Boyle, “Image Processing, Analysis and Machine
Vision”, 4th Edition, Cengage, 2015.
2. Alasdair McAndrew, “Introduction to Digital Image Processing with Matlab”, Thomson Course
Technology, 2004 Course Technology Press, Boston, MA, United States, 2004.
3. William K. Prat, “Digital Image Processing”, 4th Edition, Wiley-Interscience, A John Wiley &
Sons, Inc., Publication, 2007.

VFSTR 145
CSE - Department Electives

22CS806 MACHINE LEARNING

Hours Per Week :

L T P C
3 0 2 4
PREREQUISITE KNOWLEDGE: Probability and Linear algebra, Python programming.
Source: https://www.
forbes.com/sites/ COURSE DESCRIPTION AND OBJECTIVES:
kalevleetaru/2019/01/15/
why-machine-learning- This course provides a broad introduction to various machine learning concepts including Supervised
needs-semantics-not- learning (parametric/non-parametric algorithms, support vector machines, kernels, neural networks) and
just-statistics/
Unsupervised learning (clustering, dimensionality reduction) methods. Students will get an understanding
of various challenges of Machine Learning and will be able to decide on model complexity. Numerous
case studies introduced in this course allow the students to apply machine-learning algorithms in
computer vision, medical imaging, audio, and text domains. Laboratory experiments of this course will
introduce students to advanced Machine Learning Python libraries such as Scikit-Learn, Matplotlib, and
many other recent ML-related APIs. The course is designed such that the students get enough hands-on
experience with a major focus on the practical implementation of theoretical concepts.

MODULE-1
UNIT-1 14L+0T+8P=22 Hours

INTRODUCTION
What is machine learning? Machine learning applications; Types of Learning: Supervised learning;
Un-supervised learning; Reinforcement learning.
Model Training Essentials: Re-sampling methods: Bias–Variance Trade-off. Hypothesis Testing and
Variable Selection, Sub sampling and Upsampling, SMOTE; Cross Validation (validation set, Leave-
One-Cut (LOO), k-fold strategies) and bootstrap; Evaluation measures-Error functions, Confusion Matrix,
Accuracy, Precision and Recall, F1 Score.
Regression Analysis: Linear Regression, Simple and Multiple Linear Regression, Polynomial
Regression, Logistic Regression, Multi nominal Regression. Ordinary Least Squares Method, Model
Shrinkage-Ridge, and LASSO regression.

UNIT-2 10L+0T+8P=18 Hours

FEATURE SELECTION
Feature Selection Strategies: Problem statement and Uses, Filter methods, Wrapper methods,
Embedded methods. Branch and bound algorithm, Sequential forward/backward selection algorithms.
Dimensionality Reduction: Singular value decomposition, matrix factorization, Linear discriminant
analysis, Principal components analysis.

PRACTICES:
● Apply the following tasks to any given dataset:
a) Load and visualize data.
b) Check out and replace missing values.
c) Encode the Categorical data.
d) Splitting the dataset into Training and Test set.
e) Splitting the dataset into k-folds.
f) Feature scaling.

VFSTR 146
CSE - Department Electives

● House price prediction: SKILLS:


a) Create a model that predicts a continuous value (price) from input features (square footage,  Statistical data
number of bedrooms and bathrooms). analysis.

b) Implement a univariate Model using Least Squares and plot best-fit line.  Classify / Cluster
data.
c) Implement a multivariate Model using Least Squares and plot best-fit line.
 Tool usage for
d) Retrieve model error and model coefficients. developing ML
e) Observe Variance Inflation Factor (VIF). applications.

f) Implement Ridge regression model.


g) Implement LASSO regression model.
h) Report your observations on the above models for house prediction.
● Heart disease prediction:
a) Implement a logistic regression model to predict whether an individual is suffering from heart
disease or not.
b) Evaluate and compare model performance using the following validation approaches:
i. Validation set approach.
ii. K-fold cross validation.
iii. Stratified K-fold cross validation.
iv. LOO strategy.
c) Plot Confusion matrix.
d) Report performance of the model in terms of the following metrics:
i. Accuracy.
ii. Precision-Recall.
iii. F1 Score.
e) Report your observations and explain when to use what type of measures.
● Implement the Polynomial Regression algorithm to fit data points. Select the appropriate data
set for your experiment and draw graphs.
● Working with imbalanced datasets:
a) Load an imbalanced dataset and visualize imbalance in the data as a bar plot.
b) Implement KNN model for classification.
c) Balance the dataset using:
i. Random Over sampling.
ii. Random Under sampling.
iii. SMOTE.
d) Implement KNN model for classifying data balanced in the above steps.
e) Report your observations on the performance of models trained using balanced and
imbalanced data.
● Perform effective feature selection in a given dataset using any one of the feature selection
techniques.
● Dimension Reduction:
a) Load a dataset and Implement Bayes classification model.
b) Apply dimension reduction using:
i. Principal Component Analysis
ii. Linear Discriminant Analysis
c) Apply the model on data with reduced dimension.
d) Compare and contrast model performance in each case.

VFSTR 147
CSE - Department Electives

MODULE-2
UNIT-1 16L+0T+8P=24 Hours

CLASSIFICATION
Classification: Binary, Multi-class and Multi-label Classification; K-Nearest Neighbours, Support Vector
Machines, Decision Trees, The Naïve Bayes’ Classifier, Class Imbalance, Perceptron ANN model.
Ensemble Methods: Ensemble Learning Model Combination Schemes, Voting, Error-Correcting Output
Codes, Bagging: Random Forest Trees, Boosting: Adaboost, Stacking.

UNIT-2 8L+0T+8P=16 Hours

CLUSTERING
Clustering: Different distance functions and similarity measures, K-means clustering, Medoids,
Hierarchical Clustering-Single linkage and Complete linkage clustering, Graph based Clustering -MST,
DBSCAN, Spectral clustering.

PRACTICES:
● Implement and demonstrate the FIND-S algorithm for finding the most specific hypothesis based
on a given set of training data samples. Read the training data from a .CSV file.
● Implement the naïve Bayesian classifier for a sample training data set stored as a.csv file.
Compute the accuracy of the classifier, considering few test data sets.
● Assuming a set of spam or not-spam mails that need to be classified, use the naïve Bayesian
classifier model to perform this task. Calculate the accuracy, precision, and recall for your
data set.
● Implement k-Nearest Neighbor algorithm to classify the iris data set. Print both correct and
wrong predictions. Python ML library classes can be used for this problem.
● Demonstrate the working of the decision tree-based ID3 algorithm. Use an appropriate data
set for building the decision tree and apply this knowledge to classify a new sample?
● Build a model using SVM with different kernels.
● Implement and build models using the following Ensemble techniques.
a) Bagging.
b) Boosting: Adaboost, Stacking.
● Build a model to perform Clustering using K-means after applying PCA and determining the
value of K using the Elbow method.
● Unsupervised Modeling:
a) Cluster the data using the following models:
i. Spectral Clustering.
ii. K-medoids.
iii. DBSCAN.
iv. Hierarchical Clustering.
b) Compare and contrast model performance in each case.

VFSTR 148
CSE - Department Electives

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply a wide variety of learning algorithms such
1 as Probabilistic, Discriminative and Generative Apply 1, 2 1
algorithms for a given application.
Design an end-to-end Machine-learning model to
2 Apply 1 3
realize solutions for real-world problems.
Implement various machine learning models using
3 Create 1, 2 5
advanced ML tools.
Analyze and evaluate the performance of var-
4 ious machine learning models approaches on Analyze 2 2
different kinds of data.

TEXT BOOKS:
1. Ethem Alpaydin, “Introduction to Machine Learning”, 3rd Edition, The MIT Press, 2014.
2. Flach, Peter. “Machine learning: the art and science of algorithms that make sense of data”.
Cambridge University Press, 2012.

REFERENCE BOOKS:
1. Murphy, Kevin P. Machine learning: a probabilistic perspective. MIT press, 2012.
2. Aurélien Géron, “Hands-on Machine Learning with Scikit Learn and Tensor Flow”, O’reilly, 2017.
3. Gareth James, Daniela Witten, Trevor Hastie, and Robert Tibshirani, “An Introduction to
Statistical Learning with Applications in R”, Springer, 2013. (ISLR).

VFSTR 149
CSE - Department Electives

22CS807 MOBILE AD-HOC NETWORKS

Hours Per Week :

L T P C
3 0 2 4

PREREQUISITE KNOWLEDGE: Computer networks.


Source: https://www.
educba.com/mobile-ad- COURSE DESCRIPTION AND OBJECTIVES:
hoc-network/
This course focuses on major aspects of ad hoc networking, from design through performance issues to
application requirements. It starts with the design issues and challenges associated with implementations
of ad hoc network applications. This includes mobility, disconnections, and battery power consumption.
The course provides a detailed treatment of proactive, reactive, and hybrid routing protocols in mobile
wireless networks. It also covers the IEEE 802.11 Wireless LAN and discusses their characteristics and
operations. Through activities, the course gives students hands-on experience in designing a mobile
ad hoc network using the NS2 simulator.

MODULE-1
UNIT-1 8L+0T+6P=14 Hours

INTRODUCTION
Introduction to ad-hoc networks-definition, characteristics, features, applications; Characteristics of the
wireless channel; Ad-hoc mobility models-indoor and outdoor models.

UNIT-2 16L+0T+10P=26 Hours

MEDIUM ACCESS PROTOCOLS


MAC protocols- design issues, goals and classification; Contention-based protocols – with reservation,
without reservation; Scheduling algorithms; Protocols using directional antennas; IEEE standards -
802.11a, 802.11b, 802.11g, 802.15; HIPERLAN.
Network Protocols: Routing protocols - design issues, goals, and classification; Proactive Vs reactive
routing; Unicast routing algorithms; Multicast routing algorithms; Hybrid routing algorithm; Energy-aware
routing algorithm; Hierarchical routing; QoS aware routing.

PRACTICES:
● Installation of NS-2 and basics of TCL scripting.
● TCL script for
a) computing the arithmetic operations on two operands.
b) finding the given number is prime or not using functions.
c) finding the factorial value of a given number.
● Set the node property and routing protocol in the same MANET scenario.
● Analyse the performance of the MANET.
● Develop MAC Protocol using any suitable Network Simulator for MANETs to send the packet
without any contention through wireless link using the following MAC protocols (CSMA/CA
(802.11)). Analyze its performance with increasing node density and mobility.
● Simulate MANET environment using suitable Network Simulator and test with various mobility
model such as Random walk, Random waypoint and Group mobility. Analyze throughput, PDR
and delay with respect to different mobility models.

VFSTR 150
CSE - Department Electives

MODULE-2 SKILLS:
 Evaluate
UNIT-1 12L+0T+8P=20 Hours various routing
protocols.
END-END DELIVERY AND SECURITY
 Analyse the
Transport layer - issues in designing, transport layer classification, ad-hoc transport protocols; Security
performance of
issues in ad-hoc networks - issues and challenges, network security attacks; Secure routing protocols. MAC protocols
for Ad-hoc
UNIT-2 12L+0T+8P=20 Hours networks.
 Analyse the
CROSS LAYER DESIGN performance
Cross layer design - need for cross layer design, cross layer optimization; Parameter optimization of Network
techniques; Cross layer cautionary perspective; Integration of adhoc with mobile IP networks. protocols for Ad-
hoc networks.
PRACTICES:
● Create CBR traffic over UDP and TCP.
● Write an awk script that takes data from trace file and give the report for performance metrics
such as packet delivery ratio, and throughput.
● Implement Transport Control Protocol in Sensor Network.
● Design and Implementation of Security algorithm for Wireless networks (b)Implementation of
security protocol for mobile network.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Summarize the protocols used at the MAC layer
1 and scheduling mechanisms to express the Evaluate 1 1, 12
mathematical properties.
Apply proactive and reactive routing algorithms to
2 Apply 1 1, 2, 5, 12
find optimal paths.
Analyze types of routing protocols used for unicast
3 Analyse 1 1, 2, 5, 12
and multicast routing.
Compare the performance of various routing
4 Analyse 2 1, 2
protocols in ad-hoc networks.
Develop the network security solution and routing
5 Apply 2 1, 2, 12
mechanism.

TEXT BOOKS:
1. C. Siva Ram Murthy and B. S. Manoj, “Ad hoc Wireless Networks Architecture and Protocols”,
2nd Edition, Pearson Edition, 2007.
2. Charles E. Perkins, “Ad hoc Networking”, 1st Edition, Addison – Wesley, 2000.

REFERENCE BOOKS:
1. Stefano Basagni, Marco Conti, Silvia Giordano and Ivan stojmenovic, “Mobile ad-hoc
networking”, Wiley-IEEE press, 1st Edition, 2004.
2. Mohammad Ilyas, “The Handbook of Adhoc Wireless Networks”, 1st Edition, CRC press, 2002.
3. T. Camp, J. Boleng and V. Davies “A Survey of Mobility Models for Ad Hoc Network Research”
Wireless Commun. and Mobile Comp., Special Issue on Mobile Ad Hoc Net working Research,
Trends and Applications, vol. 2, no. 5, 2002, pp. 483–502.
4. A survey of integrating IP mobility protocols and Mobile Ad hoc networks, Fekri M. Abduljalil
and Shrikant K. Bodhe, IEEE communication Survey and tutorials, v no.1, 2007.
5. V. T. Raisinhani and S.Iyer “Cross Layer Design Optimization in Wireless Protocol Stacks”
Comp. Communication, Vol 27 no. 8, 2004.

VFSTR 151
CSE - Department Electives

22CS808 MOBILE APPLICATION


DEVELOPMENT
Hours Per Week :

L T P C
2 0 4 4

PREREQUISITE KNOWLEDGE: OOPs through Java, DDL & DML Commands – DBMS..
Source: https://www.
tatvasoft.com.au/blog/ COURSE DESCRIPTION AND OBJECTIVES:
mobile-application-
development- This course guides the student in designing and building a mobile application using Android™. The main
methodology/ objective of this course is to let the student learn basic Android programming concepts while building
a variety of apps, starting with basic to making use of advanced concepts.

MODULE–1
UNIT-1 8L+0T+16P=24 Hours

INTRODUCTION
Introduction to Mobile Application Development- Mobile Applications and Device Platforms, Alternatives
for Building Mobile Apps; Introduction to Android, Android versions, Android Architecture.
Application Development Process- Developers Workflow basics, Installing the Android SDK Tools;
Anatomy of an Android Application.
Basic Building blocks - Activities, Services, Broadcast Receivers & Content providers; Intents &
Fragments.
View Group- Layout: Linear Layout, Relative Layout, Frame Layout, Grid Layout, constraint Layout,
Table Layout, and Absolute Layout.

UNIT-2 8L+0T+16P=24 Hours

VIEWS
Views: Basic Views; Picker Views- Time Picker View, Data Picker View; List Views – List View, Spinner
View; Scroll View.
Activities: Creating an activity, Understanding the activity life cycle using Log and Toast, applying styles
and themes to an activity, and hiding the activity title.
Linking Activities using Intents: Introduction to Intents and its types with examples, passing data
between activities with intents, Activity Navigation- Implement up navigation with parent activities.
Fragments: Introduction to Fragment, the life cycle of a fragment, Adding fragments dynamically,
Interaction between fragments.

PRACTICES:
● Setting up Android Studio:
a) Installing Android Studio
b) Select an empty activity to simulate the “Welcome App” Using Android Studio.
c) Exploring the interface of the Android Studio to understand the Project Structure.
● Develop an Android application using controls like Button, TextView, and EditText for designing
a calculator having basic functionality like Addition, Subtraction, Multiplication, and Division.
● Design the HelloToast app: The HelloToast app consists of two Button elements and one
Text View. When the user taps the first Button, it displays a short message (a Toast) on the
screen. Tapping the second Button increases a “click” counter displayed in the TextView, which
starts at zero.

VFSTR 152
CSE - Department Electives

● Design Silent Model Toggle application: This app allows the user to toggle the ringer mode SKILLS:
on the phone by simply pressing a button.  Design mobile
applications
for user
requirements.
 Use of suitable
advanced
components to
design mobile
apps.
 Utilization
of activities,
intents, layouts,
and views for
content.

● In this assignment, students will create and build an app called Two Activities. Students will
build the app in four stages.
a) In the first stage, you create an app whose main activity contains one button, Send. When the
user clicks this button, your main activity uses an intent to start the second activity.
b) In the second stage, you add an EditText view to the main activity. The user enters a message
and clicks Send. The main activity uses an intent to start the second activity and sends the
user’s message to the second activity. The second activity displays the message received.

c) In the final stage of creating the Two Activities app, you add an EditText and a Reply button
to the second activity. The user can now type a reply message and tap Reply, and the reply is
displayed on the main activity. At this point, you use an intent to pass the reply from the second
activity to the main activity.

VFSTR 153
CSE - Department Electives

d) Implement all the Activity lifecycle call back methods to print messages to logcat when those
methods are invoked. These log messages will allow you to see when the Activity lifecycle
changes state, and how those lifecycle state changes affect your app as it runs.
● Design an application with implicit intents: Create a new app with one Activity and three
options for actions: open a website, open a location on a map, and share a snippet of text. All
the text fields are editable (EditText) but contain default values.

● Design Droid Café: In this practical, the student will create and build a new app starting with
the Basic Activity template that imitates a dessert-ordering app. The user can tap an image
to perform an action-in this case, display a Toast message-as shown in the figure below. The
user can also tap a shopping cart button to proceed to the next Activity.
● Experiment with the android: inputType attribute for EditText elements. You add EditText
elements for a person’s name and address and use attributes to define single-line and multiple-
line elements that make suggestions as you enter text. You also add an EditText that shows a
numeric keypad for entering a phone number.
● Other types of input controls include interactive elements that provide user choices. You add
radio buttons to Droid Cafe for choosing only one delivery option from several options. You
also offer a spinner input control for selecting the label (Home, Work, Other, Custom) for the
phone number.

VFSTR 154
CSE - Department Electives

MODULE–2
UNIT-1 8L+0T+16P=24 Hours

CREATING A FEATURE-RICH APPLICATION


Creating a Feature-Rich Application: Display Orientation – Anchor Views, resizing and repositioning
Views, Managing changes to Screen Orientation; Notifications; Action bar; Dialog box; Adapters- Array
Adapters and Base Adapters; Recycler View.

UNIT-2 8L+0T+16P=24 Hours

SQLITE DATABASE
SQLite Database – Creating the database, Dealing with CRUD;
Firebase-Getting Started with Firebase, Add Firebase to your Android project, Firebase database-
Introduction to Firebase database, set up Firebase Real-time Database for Android, Read and Write
Data on Android; Publish the App in Play store.

PRACTICES:
● Design an application to keep data when the user rotates the device, and when the screen
is rotated: When the user rotates the device, Android will normally destroy and re-create the
current Activity. You want to keep some data across this cycle, but all the fields in your Activity
are lost during it.
● Create a Splash Screen for the existing project- Droid Café from Module-1.
● Design a News App- Consider the following screen as reference:

NOTE: Use Recycle View to display the news under each category.

VFSTR 155
CSE - Department Electives

● Adding more features to Droid Café: In the previous assignments, you created an app called
Droid Café, using the Basic Activity template. This template also provides a skeletal options
menu in the app bar at the top of the screen.
a) Update that menu option as shown in the following images:
b) Add notification option: The app must notify the user when the user places the order.
● Provide user authentication for the Droid Café using Firebase – Authentication or SQLite.

● Save all the user preferences in the Firebase Real time Database to fetch whenever required.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply views, intents, and fragments to an existing
1 Apply 1 2
application.
Evaluate an existing app to enrich it with new
2 Evaluate 2 2,3
features.
Analyse methods for storing, sharing, and
3 Analyse 2 5
retrieving data in an Android app.
Design and publish a mobile app in the play store
4 with a database forgiven real-time scenarios using Create 2 5,10
modern tools- Android Studio, and Firebase.

TEXT BOOKS:
1. John Horton “Android Programming for Beginners: Build in-depth, full-featured Android apps
starting from zero programming experience”, 3rd Edition, 2021.
2. Wei-Meng Lee, “Beginning Android Application Development”, 1st Edition, John Wiley & Sons,
2012.

REFERENCE BOOKS:
1. Michael Burton,” Android App Development for Dummies “, 3rd Edition, A Wiley Brand, 2020.
2. Dawn Griffiths & David Griffiths, “Headfirst Android Development A Brain-Friendly Guide”
2nd Edition, O’Reilly, 2015.
3. https://aws.amazon.com/mobile/mobile-application-development/
4. https://google-developer-training.github.io/android-developer-fundamentals-course-concepts/.

VFSTR 156
CSE - Department Electives

22CS809 TEXT MINING

Hours Per Week :

L T P C
3 0 2 4

PREREQUISITE KNOWLEDGE: Data analysis skills, Database, Machine learning or Deep learning
algorithms.. Source: https://www.
javatpoint.com/text-data-
mining
COURSE DESCRIPTION AND OBJECTIVES:
This course introduces the fundamental concepts and techniques used in Text Processing. Students will
gain an in-depth understanding of the computational properties of natural languages and the commonly
used algorithms for processing linguistic information. The course examines models and algorithms used
in both the traditional symbolic and the more recent statistical approaches.

MODULE-1
UNIT-1 10L+0P+6P=16 Hours

INTRODUCTION
NLP tasks in syntax, semantics, and pragmatics. Applications such as information extraction, question
answering, and machine translation. The role of machine learning. Brief history of the field.
Regular Expressions, Text Normalization, Edit Distance: Regular Expressions, words, Corpora, Text
Normalization and Minimum edit distance.

UNIT-2 14L+0P+10P=24 Hours

N-GRAMS, VECTOR SEMANTICS AND EMBEDDING


N-Gram Language Models: N-Grams, Evaluating Language Models, Generalization and Zeros,
Smoothing, Kneser-Ney Smoothing, Huge Language Models and Stupid Back off.
Vector Semantics and Embeddings: Lexical semantics, Vector semantics, words and vectors, cosine
for measuring similarity, TF-IDF: weighing terms in the vector, Point wise Mutual Information, Applications
of TF/ IDP and PPMI vector models, word 2 vec, visualizing embeddings, semantic properties of
embeddings, bias and embeddings, evaluating vector models.

PRACTICES:
● Perform basic text pre-processing using the following approaches:
● Stop word Elimination.
● Removal of Special Characters.
● Stemming.
● Lemmatization.
● N-gram Tokenization.
● Design and develop a text classification model with various machine learning algorithms over
the following feature extraction methods and compare their performance.
● TF-IDF.
● Word2 Vec.
● Perform Exploratory Data Analysis using following:
● Word Cloud.
● Frequent Word Detection.
● Keyword Extraction based on ranking.

VFSTR 157
CSE - Department Electives

SKILLS: MODULE-2
 Exploratory Data
analysis. UNIT-1 12L+0P+8P=20 Hours
 Opinion Mining/ SEQUENCE LABELING FOR PARTS OF SPEECH AND NAMED ENTITIES
Sentiment
Analysis using Part-of-Speech Tagging, Named Entities and Named Entity Tagging, HMM Part-of-Speech Tagging,
various deep Conditional Random Fields, Evaluation of Named Entity Recognition.
Learning
models.
UNIT-2 12L+0P+8P=20 Hours
 Text
Summarization SEQUENCE AND TRANSLATION PROCESSING
and
Categorization Deep Learning Architectures for Sequence Processing: Language Models Revisited, Self-Attention
etc. Networks: Transformers.
Machine Translation and Encoder-Decoder Models: The Encoder-Decoder Model, Encoder-Decoder
with RNNs, Attention, Beam Search, Encoder-Decoder with Transformers.

PRACTICES:
● Perform Named Entity Recognition to extract required entities from a given unstructured text
using NLTK.
● Perform POS Tagging with HMM and also optimize the performance of HMM with Viterbi.
● Design and develop a text classification model using Latent Dirichlet allocation and compare
its performance with TF-IDF and Word2Vec.
● Perform text classification using following methods and compare their performance in terms of
various evaluation metrics such as Accuracy, Precision, Recall and F-Score.
● CNN
● LSTM
● GRU
● Encoder-Decoder
● Transformers
● Design and develop text classification model using Attention.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Understand and apply the usage of regular
1 Apply 1 1
expressions to process the raw text.
Apply various approaches to sentiment analysis
2 Apply 1,2 1
using Machine Learning methods.
Analyze the vector semantics and embedding in
3 Analyze 1 2
the representation of the text.
Design and development various statistical
4 Evaluate 1,2 3,4,5
approaches to machine translation.

TEXT BOOK:
1. Daniel Jurafsky and James HMartin, “Speech and Language processing: An introduction to
Natural Language Processing, Computational Linguistics and speech Recognition”, 3rd Edition,
2020.
REFERENCE BOOKS:
1. Steven Bird, Ewan Klein, Edward Lopper, “Natural Language Processing with Python”, 1st
Edition, O’Reilly Publishers, 2009.
2. Nitin Indurkhya, Fred J. Damerau, “Handbook of Natural Language Processing”, 2nd Edition,
CRC Publishers, 2010.

VFSTR 158
CSE - Department Electives

22CS810 NUMERICAL ALGORITHMS

Hours Per Week :

L T P C
3 2 0 4

PREREQUISITE KNOWLEDGE: Basics of integration, Differentiation and Polynomials.


Source: https://pasquans.
COURSE DESCRIPTION AND OBJECTIVES: eu/new-numerical-
algorithms-for-old-
The goal of this course is to build a base for Numerical methods, which are the basic algorithms problems/
underpinning computer predictions in modern systems science. Such methods include techniques for
simple optimisation, interpolation from the known to the unknown, linear algebra underlying systems of
equations, ordinary differential equations to simulate systems, and stochastic simulation under random
influences.

MODULE-1

UNIT-1 12L+8T+0P=20 Hours

ROOT FINDING METHODS, SYSTEM OF LINEAR EQUATIONS AND INTERPOLATION


Absolute error, order of Convergence, Geometrical Description, method of successive approximation,
Bisection method, Regula - Falsi method, Newton’s Method. Gauss Seidal method, Crouts method,
Triangularization method, Relaxation method.
Interpolation - Finite differences, interpolation, Newton’s forward and backward difference formulae,
Newton’s divided difference and Lagrange’s formulae (with proof), errors in interpolation formula.

UNIT-2 12L+8T+0P=20 Hours

APPLICATIONS
Finding positive, negative and real root of algebraic and transcendental equation, Solution of simultaneous
linear algebraic equation. nth difference of a polynomial, finding missing terms in a sequence, sum of
n terms in a series, finding polynomial using a given set of data, estimated values of a function inside
and outside the given intervals of data.

PRACTICES:
● Finding positive, negative and real root of algebraic and transcendental equation using any of
your known programming knowledge.
● Solution of simultaneous linear algebraic equation equation using discrete methods and
implement using C.
● By python program estimate the values of a function inside and outside the given intervals of data.

MODULE-2
UNIT-1 12L+8T+0P=20 Hours

NUMERICAL DIFFERENTIATION, INTEGRATION AND DIFFERENTIAL EQUATION


Numerical Differentiation: Newton’s forward and Backward formulas to compute up to second order
differentiation of a function.
Numerical Integration: Trapezoidal and Simpson’s 1/3 and 3/8 rules.
ODE: Picard’s approximation, Milne’s Predictor Corrector formulas.
PDE: Liebman’s Iteration Process, Bender Schmidth.

VFSTR 159
CSE - Department Electives

SKILLS: UNIT-2 12L+8T+0P=20 Hours


 Analyze the
types and APPLICATIONS
occurrence of
Finding maxima and minima of a function, population growth, acceleration, area bounded by the curve,
roots.
Solution of ODE, Solution of Elliptic, Parabolic and Hyperbolic PDE.
 Interpolate the
unknown values
of function.
PRACTICES:
● Finding maxima and minima of a function.
 Develop a
difference ● Solve ODE numerically and plot the curve.
equation. ● Classify the PDE.
 Gain the ● Solve PDE numerically and plot the curve.
knowledge to
solve an ODE ● Developing difference equations from ODE and PDE.
numerically.
COURSE OUTCOMES:
 Gain the
knowledge to Upon successful completion of this course, students will have the ability to:
solve an ODE
numerically. CO Blooms Module Mapping
Course Outcomes
No. Level No. with POs
1, 2, 4, 5, 9, 10,
1 Apply numerical methods to find roots. Apply 1
12
2 Evaluate the unknown values using interpolation. Apply 1 1, 2, 5, 9, 10
3 Develop a finite difference scheme. Analyze 2 1, 2, 3, 5, 9, 10
Apply numerical methods to solve ODE and PDE
4 Analyze 2 1, 2, 5, 9, 10, 12
and analyse graphically.

TEXT BOOKS:
1. S. S. Sastry, “Introductory methods of numerical analysis”, 5th ed, PHI learning, 2012.
2. M K Jain, “Numerical Methods for Scientific and Engineering Computation”, New Age
internarnational, 8th Ed. 2022.

REFERENCE BOOKS:
1. P Kandasamy, “Numerical Methods”, S Chand, 2nd ed, 2015.
2. C. Ray Wylie, Louis C. Barrett: “Advanced Engineering Mathematics”, 6” Edition, 2. McGraw-
Hill Book Co., New York, 1995.
3. Gupta C.B., Singh S.R. and Mukesh Kumar: “Engineering Mathematics for Semester I & II”,
Mc-Graw Hill Education (India) Pvt. Ltd., 2015.

VFSTR 160
CSE - Department Electives

22CS811 OPERATING SYSTEM DESIGN

Hours Per Week :

L T P C
3 0 2 4

PREREQUISITE KNOWLEDGE: Knowledge of computers fundamentals, Computer organization and


Source: https://www.
Digital logic design.. tutorialspoint.com.
cach3.com/operating-
system-design-goals.
COURSE DESCRIPTION AND OBJECTIVES: html
This course aims at concepts and principles of Operating Systems, its overall responsibility in acting as
an interface between the system’s hardware components and the user. Further, it also helps students to
understand the different scheduling policies, process synchronization mechanisms, deadlock handling
mechanisms and memory management techniques.

MODULE-1
UNIT-1 12L+0T+8P=20 Hours

INTRODUCTION & PROCESSES


Introduction to Operating System: Introduction, Operating System Concepts, System Calls, Operating
System Structure.
Processes: Introduction, Inter Process Communication, Classical IPC Problems, Scheduling,
Implementation of MINIX 3, System Task in MINIX 3 and Clock Task in MINIX 3.

UNIT-2 12L+0T+8P=20 Hours

INPUT/OUTPUT
Input/Output: Principles of Hardware and Software, Deadlock- Principles, Ostrich Algorithm, Detection
and Recovery, Deadlock Prevention and Avoidance; Input/output in MINIX 3, Block Devices in MINIX 3.

PRACTICES:
● Implementation of new process creation and its communications.
● Implement of thread creation and deletion.
● Implementation of FCFS scheduling.
● Implementation of SJF and RR Scheduling.
● Implementation of producer consumer problem.
● Implementation of Banker’s algorithm for Deadlock avoidance.
● A MINIX file whose owner has UID = 12 and GID = 1 has mode rwxr-x - Another user with
UID = 6, GID = 1 tries to execute the file. What will happen?
● In MINIX 3 if user 2 links to a file owned by user 1, then user 1 removes the file, what happens
when user 2 tries to read the file?
● Write a program (or series of programs) to test all the MINIX 3 system calls. For each call, try
various sets of parameters, including some incorrect ones, to see if they are detected.
● Suppose that a computer can execute 1 billion instructions/sec and that a system call takes 1000
instructions, including the trap and all the context switching. How many system calls can the
computer execute per second and still have half the CPU capacity for running application code?
● Write a shell script that produces a file of sequential numbers by reading the last number in
the file, adding 1 to it, and then appending to the file. Run one instance of the script in the
background and one in the foreground, each accessing the same file. How long does it take
before a race condition manifests itself? What is the critical section? Modify the script to prevent
the race (Hint: use ln file file.lock to lock the data file).

VFSTR 161
CSE - Department Electives

SKILLS: ● Show how counting semaphores (i.e., semaphores that can hold an arbitrarily large value) can
 Know the be implemented using only binary semaphores and ordinary machine instructions.
concepts of ● A fast food restaurant has four kinds of employees: (1) order takers, who take customer’s orders;
Processes
scheduling and (2) cooks, who prepare the food; (3) packaging specialists, who stuff the food into bags; and
File Systems. (4) cashiers, who give the bags to customers and take their money. Each employee can be
 Identification of regarded as a communicating sequential process. What form of interprocess communication
different disk do they use? Relate this model to processes in MINIX 3.
scheduling ● Five batch jobs A through E, arrive at a computer center at almost the same time. They have
methodologies.
estimated running times of 10, 6, 2, 4, and 8 minutes. Their (externally determined) priorities
 Interpret UNIX are 3, 5, 2, 1, and 4, respectively, with 5 being the highest priority. For each of the following
Commands,
Shell basics,
scheduling algorithms, determine the mean process turnaround time. Ignore process switching
and shell overhead.
environments a) Round robin.
b) Priority scheduling.
c) First-come, first-served (run in order 10, 6, 2, 4, 8).
d) Shortest job first.
For (a), assume that the system is multi programmed, and that each job gets its fair share of
the CPU. For (b) through (d) assume that only one job at a time runs, until it finishes. All jobs
are completely CPU bound.
● Solve the dining philosopher’s problem using monitors instead of semaphores.
● The banker’s algorithm is being run in a system with m resource classes and n processes. In
the limit of large m and n, the number of operations that must be performed to check a state
for safety is proportional to ma and nb. What are the values of a and b?

MODULE-2
UNIT-1 12L+0T+8P=20 Hours

MEMORY MANAGEMENT
Memory Management: Basic concept of memory management, Swapping, Virtual Memory, Page
Replacement Algorithms, Design issues for Paging systems, Segmentation, Implementation of MINIX
3 Process Manager.

UNIT-2 12L+0T+8P=20 Hours

FILE SYSTEMS
File Systems: Files, Directories, File System Implementation- layout, Implementing files, Disk Space
Management, File System Reliability, File system Performance, Security, Implementation of MINIX 3
File System.

PRACTICES:
● Consider a swapping system in which memory consists of the following hole sizes in memory
order: 10 KB, 4 KB, 20 KB, 18 KB, 7 KB, 9 KB, 12 KB, and 15 KB. Which hole is taken for
successive segment requests of (a) 12 KB (b) 10 KB (c) 9 KB for first fit? Now repeat the
question for best fit, worst fit, and next fit.
● A machine has a 32-bit address space and an 8 KB page. The page table is entirely in hardware,
with one 32-bit word per entry. When a process starts, the page table is copied to the hardware
from memory, at one word every 100 nsec. If each process runs for 100 msec (including the time
to load the page table), what fraction of the CPU time is devoted to loading the page tables?
● A computer with a 32-bit address uses a two-level page table. Virtual addresses are split into
a 9-bit top-level page table field, an 11-bit second-level page table field, and an offset. How
large are the pages and how many are there in the address space?
● Suppose that a 32-bit virtual address is broken up into four fields, a, b, c, and d. The first three
are used for a three-level page table system. The fourth field, d, is the offset. Does the number
of pages depend on the sizes of all four fields? If not, which ones matter and which ones do not?

VFSTR 162
CSE - Department Electives

● A computer has four page frames. The time of loading, time of last access, and the R and M
bits for each page are as shown below (the times are in clock ticks):

Page Loaded Last ref. R M


0 126 279 0 0
1 230 260 1 0
2 120 272 1 1
3 160 280 1 1

Which page will NRU replace?


Which page will FIFO replace?
Which page will LRU replace?
Which page will second chance replace?
● A small computer has four page frames. At the first clock tick, the R bits are 0111 (page 0 is
0, the rest are 1). At subsequent clock ticks, the values are 1011, 1010, 1101, 0010, 1010,
1100, and 0001. If the aging algorithm is used with an 8-bit counter, give the values of the four
counters after the last tick.
● Free disk space can be kept track of using a free list or a bitmap. Disk addresses require D
bits. For a disk with B blocks, F of which are free, state the condition under which the free list
uses less space than the bitmap. For D having the value 16 bits, express your answer as a
percentage of the disk space that must be free.
● A disk has 4000 cylinders, each with 8 tracks of 512 blocks. A seek takes 1 msec per cylinder
moved. If no attempt is made to put the blocks of a file close to each other, two blocks that are
logically consecutive (i.e., follow one another in the file) will require an average seek, which
takes 5 msec. If, however, the operating system makes an attempt to cluster related blocks,
the mean interblock distance can be reduced to 2 cylinders and the seek time reduced to 100
microsec. How long does it take to read a 100 block file in both cases, if the rotational latency
is 10 msec and the transfer time is 20 microsec per block?
● Write a pair of programs, in C or as shell scripts, to send and receive a message by a covert
channel on a MINIX 3 system. Hint: A permission bit can be seen even when a file is otherwise
inaccessible, and the sleep command or system call is guaranteed to delay for a fixed time,
set by its argument. Measure the data rate on an idle system. Then create an artificially heavy
load by starting up numerous different background processes and measure the data rate again.
● Implement immediate files in MINIX 3, that is small files actually stored in the i-node itself, thus
saving a disk access to retrieve them.
● Assume that you have a page-reference string for a process with m frames (initially all empty).
The page-reference string has length p, and n distinct page numbers occur in it.
a) What is a lower bound on the number of page faults?
b) What is an upper bound on the number of page faults?
● Consider the following page-replacement algorithms. Rank these algorithms on a five- point
scale from “bad” to “perfect” according to their page-fault rate. Separate those algorithms that
suffer from Belady’s anomaly from those that do not.
a) LRU replacement.
b) FIFO replacement.
c) Optimal replacement.
d) Second-chance replacement.

VFSTR 163
CSE - Department Electives

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
1 Classify the basic concepts of operating system. Analyze 1 1
Apply the concepts of process scheduling algo-
2 rithms and process synchronization techniques to Apply 1 1, 2, 3, 5, 12
derive the efficiency of resource utilization.
Synthesize the concepts of I/O management, file
3 system implementation and problems related to Analyze 1,2 1,2,12
Deadlock.
Design the various memory management
4 Create 2 3,5
schemes for a given scenario.
Apply the concepts of file system interface and
5 Apply 2 2,5
implementation.

TEXT BOOKS:
1. Andrew S. Tanenbaum, Albert S.Woodhull. The MINIX Book Operating Systems Design and
Implementation, Pearson Publicastion, 3rd Edition, June 2006.
2. Abraham Silberschatz, Peter Baer Galvin and Greg Gagne, “Operating System Concepts”, 9th
edition, John Wiley & Sons Inc, 2013.

REFERENCE BOOKS:
1. Richard. Stevens and Stephen A Rago, “Advanced Programming in the Unix Environment”,
3rd edition, Addison-Wesley, 2013.
2. William Stallings, “Operating Systems-Internals and Design principles” PHI, 7th Edition, 2012.
3. Gary J. Nutt. Addison-Wesley , “Operating Systems: A Modern Perspective”, Aug 2001, 2nd
Edition.
4. B.A. Forouzan& R.F. Giberg, ―Unix and shell Programming , Thomson, First Edition, New
Delhi, 2003.

VFSTR 164
CSE - Department Electives

22CS812 OPTIMIZATION TECHNIQUES

Hours Per Week :

L T P C
3 2 0 4

PREREQUISITE KNOWLEDGE: Probability & Linear algebra.


Source: https://oworkers.
COURSE DESCRIPTION AND OBJECTIVES: com/8-process-
optimization-techniques-
This course introduces the fundamental concepts of Optimization Techniques and to make the learners how-to-get-started/
aware of the importance of optimizations in real scenarios. The most important objective is to provide
the concepts of various classical and modern methods for constrained and unconstrained problems in
both single and multivariable. Finally, the basic idea behind the evolutionary algorithms like Ant Colony
Optimization, Particle Swarm Optimization could be discussed for further study.

MODULE-1
UNIT-1 12L+8T+0P=20 Hours

INTRODUCTION TO CLASSICAL METHODS AND LINEAR PROGRAMMING PROBLEMS


TERMINOLOGY
Design Variables – Constraints, Objective Function - Problem Formulation, Linear Programming
Problem - Simplex method - Concept of Duality.
General Transportation Problem: The transportation table finding in initial basic feasible solution,
North-West corner method, Least cost method, Row minima method, Column minima method.

UNIT-2 12L+8T+0P=20 Hours

SINGLE VARIABLE OPTIMIZATION


Problems Optimality Criterion - Bracketing Method - Region Elimination Methods -Interval Halving
Method - Fibonacci Search Method - Golden Section Method. Gradient Based Methods: Newton
-Raphson Method - Bisection Method - Application to Root finding.
Multi Variable Optimization, Algorithms Optimality: Criteria - Unidirectional Search. Direct Search
Methods: Hooke -Jeeves pattern search method. Gradient Based Methods: Cauchy’s Steepest Descent
Method - Newton’s method, Quasi-Newton methods, L-BFGS.

PRACTICES:
A company makes two products (X and Y) using two machines (A and B). Each unit of X that is produced
requires 50 minutes processing time on machine A and 30 minutes processing time on machine B. Each
unit of Y that is produced requires 24 minutes processing time on machine A and 33 minutes processing
time on machine B. At the start of the current week there are 30 units of X and 90 units of Y in stock.
Available processing time on machine A is forecast to be 40 hours and on machine B is forecast to be
35 hours. The demand for X in the current week is forecast to be 75 units and for Y is forecast to be
95 units. Company policy is to maximise the combined sum of the units of X and the units of Y in stock
at the end of the week. Formulate the problem of deciding how much of each product to make in the
current week as a linear program. Solve this linear program graphically.

VFSTR 165
CSE - Department Electives

SKILLS: Solve using the Simplex method the following problem:


 Project
scheduling Maximize Z = f(x,y) = 3x + 2y
process skills
including
subject to: 2x + y ≤ 18
defining project 2x + 3y ≤ 42
activities, and
estimation 3x + y ≤ 24
of time and x≥0,y≥0
resources
Luminous lamps have three factories - F1, F2, and F3 with production capacity 30, 50, and 20 units
 Resource
optimization
per week respectively. These units are to be shipped to four warehouses W1, W2, W3, and W4 with
skills to adjust requirement of 20, 40, 30, and 10 units per week respectively. The transportation costs (in Rs.) per unit
the project between factories and warehouses are given below. Find an initial basic feasible solution of the given
schedule as transportation problem using northwest corner rule.
per the demand
and supply
issues of project Factory Warehouse Supply
resources
W1 W2 W3 W4
 Feasibility
Analysis. F1 1 2 1 4 30
F2 3 3 2 1 50
F3 4 2 5 9 20
Demand 20 40 30 10

● A mobile phone manufacturing company has three branches located in three different regions,
say Jaipur, Udaipur and Mumbai. The company has to transport mobile phones to three
destinations, say Kanpur, Pune and Delhi. The availability from Jaipur, Udaipur and Mumbai
is 40, 60 and 70 units respectively. The demand at Kanpur, Pune and Delhi are 70, 40 and 60
respectively. The transportation cost is shown in the matrix below (in Rs). Use the Least Cost
method to find a basic feasible solution (BFS).

DESTINATIONS
Kanpur Pune Delhi Supply
Jaipur 4 5 1 40
Sources Udaipur 3 4 3 60
Mumbai 6 2 8 70
Demand 70 40 60 170

● Find Solution using Row minima method.

D1 D2 D3 D4 Supply
S1 11 13 17 14 250
S2 16 18 14 10 300
S3 21 24 13 10 400
Demand 200 225 275 250

VFSTR 166
CSE - Department Electives

● Find Solution using Column minima method.


D1 D2 D3 D4 Supply
S1 11 13 17 14 250
S2 16 18 14 10 300
S3 21 24 13 10 400
Demand 200 225 275 250

● Find the positive root of the following equation by (Bisection) method,


f(x)=sin (x/2π)-cos2x
● Consider figure below. The cross-sectional area A of a gutter with equal base and edge length
of 2 is given by:
A = 4sinθ (1+ cosθ )
Using an initial interval of [0,π / 2], find the interval after 3 iterations. Use an initial interval ε = 0.2.

MODULE-2
UNIT-1 12L+8T+0P=20 Hours

STOCHASTIC OPTIMIZATION PROBLEMS


Notion of regret, online to batch conversion, Methods offering vanishing regret - OGD, EG, OMD
Convex Sets and Functions: Affine and convex sets, convexity preserving operations, separating and
supporting hyper-planes, generalized inequalities, Operations preserving convexity, conjugate function,
Quasi-convex functions, Log-concave and log-convex functions, Convexity with respect to generalized
inequalities

UNIT-2 12L+8T+0P=20 Hours

NON-CONVEX OPTIMIZATION PROBLEMS


Applications - sparse recovery, affine rank minimization, low-rank matrix completion, Convex approaches -
relaxation-based methods, Non-convex approaches - projected gradient descent, alternating minimization
Algorithms: Unconstrained problems, equality constrained problems

PRACTICES:
● Show that each convex cone is indeed a convex set.
● Consider the linear system 0 ≤ xi ≤ 1 for i = 1, . . . , n and let P denote the solution set. Explain
how to solve a linear programming problem max{c T x : x ∈ P}.
What if the linear system was ai ≤ xi ≤ bi for i = 1, . . . , n. Here we assume ai ≤ bi for each i.
● Can projected gradient descent (PGD) be used to obtain a stationary solution?
● Show that strong smoothness does not imply convexity by constructing a nonconvex function f : R
● p → R that is 1-SS.

VFSTR 167
CSE - Department Electives

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Mapping
Course Outcomes Module No.
No. Level with POs

Understand the classical, linear programming


1 and transportation problem along with game Understand 1 1
theory.

2 Analyze real world problems around you. Analyze 1 1, 2

3 Apply optimization to real-world problems. Apply 1 1, 2, 3

Implement dynamic programming in real world


4 Implement 2 3, 4, 11, 12
complex problems.

TEXT BOOKS:
1. Kanti Swarup, Man Mohan and P.K.Gupta, “Operations Research”, Sultan Chand &Sons, 2005.
2. S. S. Rao, “Engineering Optimization Theory and Practice”, 4th Edition, Wiley Publishers, 2009.

REFERENCE BOOKS:
1. M.C. Bhuvaneswari, “Application of Evolutionary Algorithms for Multi-Objective Optimization
in VLSI and Embedded Systems”, Spinger, 2014.
2. Ashlock D, “Evolutionary Computation for Modeling and Optimization”, Springer, 2006.
3. Kalyanmoy Deb, “Optimization for Engineering Design”, Prentice Hall of India, 2nd Edition,
2012.
4. A. Ravindran and K.M. Rogsdell, G.V. Reklaites, “Engineering Optimization: Methods and
Applications”,Wiley, 2nd Edition, 2006.
5. E. J. Haug and J.S. Arora, “Applied Optimal Design”, Wiley Publishers,1979.

VFSTR 168
CSE - Department Electives

22CS813 SIMULATION AND MODELLING

Hours Per Week :

L T P C
3 0 2 4
PREREQUISITE KNOWLEDGE: Probability and statistics, OOPS.
Source: https://www.
COURSE DESCRIPTION AND OBJECTIVES: researchgate.net/
figure/The-Simulation-
This course introduces discrete-event simulation techniques including model design and development, Modelling-Process-
comparison to analytical models, input data preparation, random number generation, output statistical Simple-Outline_
fig1_3834396
analysis, and model validation and evaluate the performance of real-world systems by analyzing the
output of the model under various conditions.

MODULE-1
UNIT-1 8L+0T+6P=14 Hours

INTRODUCTION TO SIMULATION, GENERAL PRINCIPLES


When simulation is the appropriate tool and when it is not appropriate, Advantages and disadvantages of
Simulation, Areas of application, Systems and system Environment, Components of a System-Discrete
and continuous systems, Model of a system, Types of Models, Discrete-Event System Simulation, Steps
in a Simulation Study, Simulation Examples.
General Principles, Simulation Software: Concepts in Discrete-Event Simulation, The Event-
Scheduling/Time-Advance Algorithm, World Views, Manual simulation Using Event Scheduling, List
processing, Basic properties, Operations-Using Arrays, Dynamic Allocation, Linked Lists-Simulation in
Java -Simulation in GPSS.

UNIT-2 16L+0T+10P=26 Hours

MATHEMATICAL AND STASTICAL MODELS


Statistical Models in Simulation: Review of terminology, concepts, Useful statistical models, Discrete
Distributions, Continuous Distributions, Poisson Process, Empirical distributions.
Queuing Models: Characteristics of queuing Systems, Queuing notation, Long-run measures of
performance of queuing Systems, Steady-state behavior of M/G/1 queue, Networks of queues, Rough-
cut modeling: An illustration

PRACTICES:
● Discuss the system components of a grocery store, healthcare system, material dispatching
system.
● Discuss the steps in simulation study for the above given systems.
● A simulation is to be conducted of cooking a porridge to discover at what time a person should
start order to have the it on the table by 7:00 P.M. Read a recipe for preparing a dinner or ask
a friend or relative for the recipe. As best you can, trace what you understand to be needed, in
the data-collection phase of the simulation process, include each step in the recipe. What are
the events, activities, and state variables in this system?
● The daily demand for a product is found to follow the distribution as

VFSTR 169
CSE - Department Electives

SKILLS: Demand Probability


 Interpret the
model and 10 0.25
apply the results 11 0.35
to resolve
critical issues 12 0.30
in a real world
environment. 13 0.10
 Analyse the Determine the total demand for the next 10 days.
Simulation
models using
● Students are arriving at the college office at the rate of one every 6 ± 2 minutes to pay the fees.
input analyzer, They hand over the forms to one of the two clerks available and it takes l 0 ± 2 minutes for the
and output clerk to verify each form. Then the forms are sent to a single cashier who takes 6 ± l minute
analyzer. per form. Simulate the system for 100 hours and determine the
 Verify and (a) utilization of each clerk (b) utilization of the cashier (c) average time required to process a
Validate of
form (clerk + cashier).
simulation
model. ● A patient arrives at the Emergency Room at Hello-Hospital about every 40 ± 19 minutes. Each
patient will be treated by either Doctor Slipup or Doctor Gutcut. Twenty percent of the patients
are classified as NIA (need immediate attention) and the test as CW (can wait). NIA patients
are given the highest priority (3), see a doctor as soon as possible for 40 ± 37 minutes, but then
iheir priority is reduced to 2 and they wait until a doctor is free again, when they receive further
treatment for 30 ± 25 minutes and are then discharged. CW patients initially receive the priority
1 and are treated (when their torn comes) for 15 ± 14 minutes; their priority is then increased
to 2, they wait again until a doctor is free and receive I 0 ± 8 minutes of final treatment, and
are then discharged. Simulate for 20 days of continuous operation, 24 hours per day. Precede
this by a 2-day initialization period to load the system with patients. Report conditions at
times 0 days, 2 days, and 22 days. Does a 2-day initialization appear long enough to load the
system to a level reasonably close to steady-state conditions? (a) Measure the average and
maximum queue length of NIA patients from anival to first seeing a doctor. What percent do
not have to wait at all? Also tabulate and plot the distribution of this initial waiting time for NIA
patients. What percent wait less than 5 minutes before seeing a doctor? (b) Tabulate and plot
the distribution of total time in system for all patients. Estimate the 90% quantile-that is, 90%
of the patients spend less than x amount of time in the system. Estimate x. (c) Tabulate and
plot the distribution of remaining time in system from after the first treatment to discharge, for
all patients. Estimate the 90% quantile. (Note: Most simulation packages provide the facility to
automatically tabulate the distribution of any specified variable).
● Using Excel, generate 12 columns, each with 250 values, using the formula = RAND(). In cell
Ml, place the formula = SUM(Al:Ll)-6 and copy it to the 249 cells below M1 in column M.
a) Compute descriptive statistics about the data in that column, including minimum value, maximum
value, mean, median, and standard deviation.
b) Tabulate the values with 9 bins: the first bin will include all values less than or equal to -3.5;
the next six bins are of width one; the last bin will include all values greater than 3.5.
c) Does the histogram resemble any distribution with which you are familiar? If so, what is its
name? Hint l: Use FREQUENCY in Excel to form bins.
● Of the orders a job shop receives, 25% are welding jobs and 75% are machining jobs. What
is the probability that (a) half of the next five jobs will be machining jobs? (b) the next four jobs
will be welding jobs?
● Students’ arrival at a university library follows Poisson with a mean of 20 per hour. Determine
(a) the probability that there are 50 arrivals in the next I hour. (b) the probability that no student
arrives in the next I hour. (c) the probability that there are 75 arrivals in the next 2 hours.
● The cars arriving at a gas station is Poisson distributed with a mean of lO per minute. Determine
the number of pumps to be installed if the ftrm wants to have 50% of arriving cars as zero
entries (i.e., cars serviced without waiting).
● Given the following distributions, Normal (10, 4) Triangular (4, 10, 16) Uniform (4, 16) find the
probability that 6 < X< 8 for each of the distributions.
● Vehicles pass through a toll gate at a rate of 90 per hour. The average time to pass through
the gate is 36 seconds. The arrival rate and service rate follow Poisson distribution. There is

VFSTR 170
CSE - Department Electives

a complaint that the vehicles wait for a long duration. The authorities are willing to install one
more gate to reduce the average time to pass through to 30 seconds, if the idle time of the
toll gate is less than 10% and the present average queue length at the gate is more than five
vehicles. Check whether the installation of the second gate is justified.

MODULE-2
UNIT-1 6L+0T+10P=26 Hours

RANDOM NUMBERS AND INPUT MODELLING


Random-Number Generation, Random-Variate Generation: Properties of random numbers,
Generation of pseudo-random numbers, Techniques for generating random numbers, Tests for Random
Numbers, Random- Variate Generation, Inverse transform technique, Acceptance-Rejection technique,
Special properties.
Input Modeling: Data Collection, Identifying the distribution with data, Parameter Estimation, Goodness
of Fit Tests, Fitting a non-stationary Poisson process, Selecting input models without data, Multi-variate
and Time-Series input models.

UNIT-2 8L+0T+6P=14 Hours

ANALYSIS OF SIMULATION DATA


Verification and Validation of simulation models: Optimization of simulation Models: Model Building,
Verification, Validation, Verification of simulation models, Calibration, Validation of models, Optimization,
Optimization via Simulation
Output Analysis for A Single Model: Types of simulations with Respect to Output analysis, Stochastic
Nature of Output Data, Measures of Performance and their Estimation, Output Analysis for Terminating
Simulations, Output analysis for steady-State Simulations.

PRACTICES:
● Develop the triangular random-variate generator with range (0, 12) and mode 5.
● In an inventory system, the lead time is found to follow uniform distribution with mean 10 days
and half width 3 days. Generate five lead times.
● Write a computer program to generate exponential random variates for a given mean value.
Generate 1000 values and verify the variates generated using chi-square test.
● In a college library, collect the following in formation at the books return counter: arrival of
students for returning books service time taken by the counter clerk 305 Consolidate the data
collected and verify whether it follows any standard distribution.
● Draw the pdf of normal distribution with J.l. = 6, a= 3
● The following data represent the time to perform transactions in a bank, measured in minutes:
0.740, 1.28, 1 .46, 2.36, 0.354, 0.750, 0.912, 4.44, O.l l4, 3.08, 3.24, 1. 10, 1.59, 1.47, 1.17,
1.27, 9. 12, 1 1.5, 2.42, 1.77. Develop an input model for these data.
● A simulation model. of a job shop was developed to investigate diff erent schedulliJg rules. To
validate the model, the scheduling rule currently used was incorporated into the model and the
resulting output was compared agamst observed system behavior. By searching the previous
year’s database records it was estimated that the average number of jobs in the shop was
22.5 on a given day. Seven independent replications of the model were run, each of 30 days’
duration, with the following results for average number of Jobs in the shop: 18.9 22.0 19.4
22.1 19.8 21.9 20.2 (a) Develop and conduct a stastical test to evaluate whether model output
is consistent with system behavior. Use the level of significance a= 0.05. · (b) What is the
power of this test if a difference of two jobs is viewed as critical? What sample size is needed
to guarantee a power of 0.8 or higher? (Use a= 0.05.)

VFSTR 171
CSE - Department Electives

● Consider the following inventory system: (a) Whenever the inventory level falls to or below 10
units, an order is placed. Only one order can be outstanding at a time. (b) The size of each
order is Q; Maintaining an inventory costs $0.50 per day per item in inventory. Placing an order
incurs a fixed cost, $10.00. (c) Lead time is distributed in accordance with a discrete uniform
distribution between zero and 5 days. (d) If a demand occurs during a period when the inventory
level is zero, the sale is lost at a cost of $2.00 per unit. (e) The number of customers each day
is given by the following distribution:

No of customers per
Probability
day
1 0.23
2 0.41
3 0.22
4 0.14

f) The demand on the part of each customer is Poisson distributed with a mean of 3 units.
g) For simplicity, assume that an·demands occur at noon and that all orders are placed immediately
thereafter. Assume further that orders are received at 5:00 P.M., or after the demand that
occurred on that day. Consider the poi icy having Q = 20 .. Make five independent replications,
each of length 100 days, and compute a 90% confidence interval for long-run mean daily cost.
Investigate the effect of initial inventory level and existence of an outstanding order on the
estimate of mean daily cost. Begin with an initial inventory of Q + I 0 and no outstanding orders.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Analyze the steps in design of various simulation
1 Analyze 1 2
models.
Conceptualize real world situations related to
systems development decisions, originating from
2 Apply 1 1, 4
source requirements and goals. Construct model
for a given set of data and motivate its validity.
Generate and test random number variates and
3 Apply 2 1
apply them to develop simulation models.
Analyze output data produced by a model and test
4 Analyze 2 2
validity of the model.

TEXT BOOKS:
1. Jerry Banks, John S. Carson II, Barry L. Nelson, David M. Nicol, “Discrete-Event System
Simulation”, 5th Edition, Pearson Education © 2013.
2. Zeigler B.P. Praehofer. H. and Kim I.G. “Theory of modeling and simulation”, 2nd Edition
Academic press 2000.

REFERENCE BOOKS:
1. Averill M. Law, “Simulation Modeling and Analysis”, 4th Edition, Tata McGraw-Hill, 2007.
2. Lawrence M. Leemis, Stephen K. Park, “Discrete – Event Simulation: A First Course”, Pearson
Education, 2006.

VFSTR 172
HONOURS COMPUTER SCIENCE
AND ENGINEERING

B.Tech.
 22CS951 - Advanced Graph Algorithms
 22CS952 - Biometrics
 22CS953 - Parallel and Distributed Computing
 22CS954 - Internet of Things
 22CS955 - Wireless Sensor Networks
 22CS956 - Capstone Project

COURSE CONTENTS
I SEM & II SEM
CSE - Honours

22CS951 ADVANCED GRAPH ALGORITHMS

Hours Per Week :

L T P C
3 0 2 4
PREREQUISITE KNOWLEDGE: Basic Logical Thinking and Problem Solving Ability.
Source: https://
COURSE DESCRIPTION AND OBJECTIVES: towardsdatascience.
com/10-graph-
The course will cover some traditional discrete approaches to various graph problems, especially flow algorithms-visually-
problems, and then contrast these approaches with modern, asymptotically faster methods based on explained-e57faa1336f3

combining convex optimization with spectral and combinatorial graph theory.

MODULE-1
UNIT-1 12L+0T+8P=20 Hours

INTRODUCTION
Introduction to Optimization, Convex Geometry, Linear Algebra, Convexity and Second Derivatives,
Gradient Descent and Acceleration.

UNIT-2 12L+0T+8P=20 Hours

SPECTRAL GRAPH THEORY


Introduction to Spectral Graph Theory, Effective Resistance, Gaussian Elimination as Optimization,
Additive Perspective on Gaussian Elimination.

PRACTICES:
●● Implement the gradient descent optimization algorithm with Nesterov Momentum.
●● Assume that S is subset of R^n is a convex set and that the function f : S->R is convex. Suppose
that x1, …, xn belongs to S and theta_1,…,theta_n >= 0 with theta_1,…,theta_n = 1. Prove
that f(theta_1x1 + _ _ _ + theta_nxn) <= theta_1f(x1) + …. + theta_nf(xn)

MODULE-2
UNIT-1 12L+0T+8P=20 Hours

RANDOM MATRIX CONCENTRATION


Introduction to Random Matrix Concentration, Spectral Graph Sparsification, Laplacian Linear Equations,
Classical Algorithms for Maximum Flow

UNIT-2 12L+0T+8P=20 Hours

SEPARATING HYPERPLANE THEOREM


Separating Hyperplane Theorem, Langrange Multipliers, and Convex Duality, Karush-Kuhn-Tucker
Conditions, Fenchel Conjugates, Newton’s Method.

VFSTR 175
CSE - Honours

SKILLS: PRACTICES:
99 Develop ●● Show that the Ford-Fulkerson algorithm may not terminate; moreover, it may converge a value
a deeper
understanding
not equal to the value of the maximum flow.
of fundamental ●● An electric company is setting up a power plant in a foreign country and it has to plan its capacity.
phenomena in The peak period demand for power is given by p1 = 400 − q1 and the off-peak is given by p2
optimization.
= 380 − q2. The variable cost to is 20 per unit (paid in both markets) and capacity costs 10 per
99 Deep dive unit which is only paid once and is used in both periods.
into modern
approaches to ●● Write down the lagrangian and Kuhn-Tucker conditions for this problem
graph algorithms ●● Find the optimal outputs and capacity for this problem.
using convex
optimization
●● How much of the capacity is paid for by each market (i.e. what are the values of λ1 and λ2)?
techniques. ●● Now suppose capacity cost is 30 per unit (paid only once). Find quantities, capacity and
99 Central how much of the capacity is paid for by each market (i.e. λ1 and λ2)?
techniques in the
development of COURSE OUTCOMES:
graph algorithms Upon successful completion of this course, students will have the ability to:
including graph
decomposition
techniques, CO Blooms Module Mapping
Course Outcomes
oblivious routing No. Level No. with POs
etc.
Analyze key concepts in optimization such as first
and second-order optimization, convex duality,
1 multiplicative weights and dual-based methods, Analyze 1 1, 2, 9, 10, 12
acceleration, preconditioning, and non-Euclidean
optimization.
Design convex optimization through the lens of
2 Create 1 1,2,3,9
graph algorithms
Apply the central techniques in the development
of graph algorithms including graph decomposition
3 Apply 2 1, 2, 9, 10, 12
techniques, sparsification, oblivious routing, and
spectral and combinatorial preconditioning.

TEXT BOOKS:
1. Boyd, Stephen, Stephen P. Boyd, and Lieven Vandenberghe. Convex optimization. Cambridge
university press, 2004.
2. Cartan, Henri. Differential calculus. Hermann, 1983.

REFERENCES:
1. Tarjan, Robert Endre. Data structures and network algorithms. Society for industrial and Applied
Mathematics, 1983.
2. Cook, William J., et al. “Combinatorial optimization.” Oberwolfach Reports 5.4 (2009): 2875-
2942.
3. Rockafellar, R. Tyrrell. Convex analysis. Vol. 18. Princeton university press, 1970.

VFSTR 176
CSE - Honours

22CS952 BIOMETRICS

Hours Per Week :

L T P C
3 0 2 4
PREREQUISITE KNOWLEDGE: Engineering Mathematics, Probability and Statistics, Image Processing.
Source: https://
COURSE DESCRIPTION AND OBJECTIVES: cyberhoot.com/cybrary/
biometrics/
This course is a foundation for design and implementation of biometric systems which helps in providing
authentication, identification of persons. This can be performed using the biometric traits like finger print,
face, iris etc. It is mainly used in security applications.

MODULE-1
UNIT-1 8L+0T+6P=14 Hours

INTRODUCTION
Introduction: Biometric Systems, Biometric Functionalities, Biometric System Errors. The Design Cycle
of Biometric Systems, Applications of Biometric Systems.

UNIT-2 16L+0T+10P=26 Hours

FINGERPRINT AND FACE RECOGNITION SYSTEMS


Finger Print Recognition: Introduction, Friction Ridge Pattern, Fingerprint Acquisition, Feature
Extraction, Matching, Fingerprint Indexing, Fingerprint Synthesis, Palmprint.
Face Recognition: Introduction, Image Acquisition, Face Detection, Feature Extraction and Matching.

PRACTICES:
●● The minutiae-based representation and matching algorithms.
●● Collect various data sets of different traits and analyse the usage of these data sets.
●● For a given fingerprint, identify the minutia points by binarization and thinning of ridges.
●● From a fingerprint image, extract the singularity points.
●● Identify the inter subject and intra subject variations for given finger prints.
●● Implementation of ViolaJones object detection algorithm.
●● Perform feature extraction by using
a. Principal component analysis.
b. Linear Discriminant analysis

MODULE-2
UNIT-1 10L+0T+8P=18 Hours

IRIS RECOGNITION
Iris recognition: Introduction, Design of Iris Recognition System, Iris Segmentation, Iris Normalization,
Iris Encoding and Matching, Iris Quality.

UNIT-2 14L+0T+8P=22 Hours

MULTI-BIOMETRICS
Multi-biometrics: Introduction, Sources of Multiple Evidence, Acquisition and Processing Architecture,
Fusion Levels.

VFSTR 177
CSE - Honours

SKILLS: PRACTICES:
99 Identify the ●● Implementation of Iris segmentation.
datasets to be
used in various ●● Generation of Iris code.
applications. ●● Taking a biometric trait, performing.
99 Usage of a. Sensor-level fusion.
multi-biometrics
to enhance
b. Feature-level fusion.
security. ●● Working with feature normalization for the fusion of two heterogeneous feature vectors.
99 Design of ●● Score level fusion using various classifiers.
fingerprint, Iris,
face detection COURSE OUTCOMES:
systems.
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Analyze the steps in design of various biometric
1 system, functionalities, traits and metrics used to Analyze 1 2
measure their performance.
Design of biometric systems depending on the
2 choice of using the trait like fingerprint, face, iris Create 1,2 1, 3, 6
etc.
Applying the multimodal biometric traits and fusion
3 Apply 2 1,6
levels in various applications.
Analyze the usage of various biometric traits in
4 Analyze 2 2,6
real time applications.

TEXT BOOKS:
1. Anil K. Jain, Arun A. Ross, Karthik Nanda kumar, “Introduction to Biometrics”, Springer, 2011.
2. N. V. Boulgouris , Konstantinos N. Plataniotis , Evangelia Micheli-Tzanakou “Biometrics: Theory,
Methods, and Applications”, Wiley, 2009

REFERENCE BOOKS:
1. Samir Nanavati, Michael Thieme, Raj Nanavati, “Biometrics – Identity Verification in a Networked
World”, WILEY, 2002.
2. John D. Woodward, John D.Woodward, Jr.Noicholas M.Orlans Peter T. Hig, “Biometrics-The
Ultimate Reference”, DreamTech Press, 2003.
3. Julian Ashbourn, “Biometrics: Advanced Identity Verification The Complete Guide” Springer,
2020.

VFSTR 178
CSE - Honours

22CS953 PARALLEL AND DISTRIBUTED


COMPUTING
Hours Per Week :

L T P C
3 2 0 4

PREREQUISITE KNOWLEDGE: Fundamental of programming and operating system, computer


networking, and computer Organization.. Source: http://uceou.edu/
PDS/About%20PDS.html

COURSE DESCRIPTION AND OBJECTIVES:


This course covers the challenges faced in constructing parallel and distributed applications, Various
implementation techniques, paradigms, architectures and parallel algorithms. And current trends in
parallel and distributed computing like Open MP, POSIX Threads, Apache Hadoop (DFS).

MODULE-1
UNIT-1 12L+8T+0P=20 Hours
INTRODUCTION TO PARALLEL COMPUTING
The idea of Parallelism, Power and potential of parallelism, examining sequential and parallel programs,
Scope and issues of parallel and distributed computing, Goals of parallelism, Parallelism and concurrency
using multiple instructions streams.
Parallel Architecture: Pipeline architecture, Array processor, Multi-processor architecture, Systolic
architecture, Dataflow architecture, Architectural classification schemes, Memory access classification,
Memory Issues: Shared vs. distributed, Symmetric multiprocessing (SMP), SIMD, Vector processing,
GPU co-processing, Flynn’s Taxonomy, Instruction Level support for parallel programming, Multiprocessor
caches and Cache Coherence, Non-Uniform Memory Access (NUMA).

UNIT-2 12L+8T+0P=20 Hours


PARALLEL ALGORITHM DESIGN PRINCIPLES AND PROGRAMMING
Need for communication and coordination/synchronization, Scheduling and contention, Independence
and partitioning, Task- Based Decomposition, Data Parallel Decomposition, Characteristics of task
and interaction, Load balancing, Data Management, parallel algorithm models, Sources of overhead
in parallel programs, Performance metrics for parallel algorithm implementations, Parallel algorithmic
patterns like divide and conquer, Map and Reduce, Specific algorithms like parallel Merge Sort, Parallel
graph Algorithms.

PRACTICES:
●● Identify Multiple Instruction Single Data, or MISD. How would an MISD system work? Give
an example.
●● Suppose a shared-memory system uses snooping cache coherence and write-back caches.
Also suppose that core 0 has the variable x in its cache, and it executes the assignment x = 5.
Finally suppose that core 1 doesn’t have x in its cache, and after core 0’s update to x, core 1
tries to execute y = x. What value will be assigned to y? Why?
●● Consider a simplified version of bucket-sort. You are given an array A of n random integers
in the range [1...r] as input. The output data consist of r buckets, such that at the end of the
algorithm, Bucket i contains indices of all the elements in A that are equal to i.
●● Describe a decomposition based on partitioning the input data (i.e., the array A) and an
appropriate mapping onto p processes. Describe briefly how the resulting parallel algorithm
would work.
●● Describe a decomposition based on partitioning the output data (i.e., the set of r buckets)
and an appropriate mapping onto p processes. Describe briefly how the resulting parallel
algorithm would work.

VFSTR 179
CSE - Honours

SKILLS: ●● Consider seven tasks with running times of 1, 2, 3, 4, 5, 5, and 10 units, respectively. Assuming
99 Recognize that it does not take any time to assign work to a process, compute the best- and worst-case
parallelism in speedup for a centralized scheme for dynamic mapping with two processes.
computational
problems.
MODULE-2
99 Know different
parallel systems UNIT-1 12L+8T+0P=20 Hours
and their
classification. INTRODUCTION TO DISTRIBUTED SYSTEMS
99 Design parallel Goals of the Distributed Systems, Relation to parallel systems, synchronous versus asynchronous
algorithms execution, design issues and challenges, Types of Distributed Systems, Distributed System Models,
for different
applications. Hardware and software concepts related to distributed systems, middleware models.
99 Compare Distributed Computing and Communication design principles: A Model of distributed executions,
replication Models of communication networks, Global state of distributed system, Models of process communication.
schemes with
Communication and Coordination: Shared Memory, Consistency, Atomicity, Message- 08 Passing,
respect to
performance, Consensus, Conditional Actions, Critical Paths, Scalability, and cache coherence in multiprocessor
availability and systems, synchronization mechanism.
consistency
concerns.
UNIT-2 12L+8T+0P=20 Hours
99 Design,
implement, PARALLEL AND DISTRIBUTED PROGRAMMING FRAMEWORKS
and debug
distributed Overview of CUDA, Open MP, POSIX Threads, Apache Hadoop (DFS), and current trends in parallel
systems. and distributed computing.
99 Implement
parallel PRACTICES:
algorithms
using MPI
●● Give five types of hardware resource and five types of data or software resource that can
and OpenMP usefully be shared. Give examples of their sharing as it occurs in practice in distributed systems.
environments. ●● The host computers used in peer-to-peer systems are often simply desktop computers in
99 Element parallel users’ offices or homes. What are the implications of this for the availability and security of
algorithms any shared data objects that they hold and to what extent can any weaknesses be overcome
using MPI
through the use of replication?
and OpenMP
environments ●● Consider two communication services for use in asynchronous distributed systems. In service
3.0 3.5 A, messages may be lost, duplicated or delayed and checksums apply only to headers. In
99 AVERAGE. service B, messages may be lost, delayed or delivered too fast for the recipient to handle them,
but those that are delivered arrive with the correct contents. Describe the classes of failure
exhibited by each service. Classify their failures according to their effects on the properties of
validity and integrity. Can service B be described as a reliable communication service?
●● Illustrate distributed design through a substantial case study, examining in detail the design of
the Google infrastructure, a platform and associated middleware that supports both Google
search and a set of associated web services and applications including Google Apps.
●● Implementation of the parallel algorithms (on a PC-cluster under Linux platform). The programs
will be based on POSIX Thread, MPI programming, Hadoop, Apache Spark etc.

VFSTR 180
CSE - Honours

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Apply the fundamentals of parallel and parallel
1 Apply 1 1
computing including architectures and paradigms.
Analyse the various design principles of parallel
2 Analyse 1 2
algorithms.
Under-
3 Learn the intricacies of distributed programming. 2 1
stand
Develop and execute basic parallel and distributed
4 applications using basic programming models create 2 5
and tools.

TEXT BOOKS:
1. DISTRIBUTED SYSTEMS Concepts and Design Fifth Edition. George Coulouris. Cambridge
University. Jean Dollimore formerly of Queen Mary, University of London.
2. Distributed Systems Principles and Paradigms Andrew S. Tanenbaum Maarten Van Steen, 3rd
Edition, 2017.

REFERENCE LINKS:
1. Introduction To Parallel Programming, Peter S. Pacheco University of San Francisco.
2. Introduction To Parallel Processing, M.Sasikumar, Dinesh Shikhare and P. Ravi Prakash, Randy
Chow, T. Johnson, Distributed Operating Systems and Algorithms, Addison Wesley.
3. Ian Foster: Designing and Building Parallel Programs – Concepts and tools for Parallel Software
Engineering, Pearson Publisher, 1st Edition, 2019.
4. Parallel Programming in C with MPI and Open MP Michael J.Quinn, McGrawHill Higher
Education.
5. https://hpc.llnl.gov/training/tutorials/introduction-parallel-computing-tutorial.
6. https://www.geeksforgeeks.org/introduction-to-parallel-computing/.
7. https://nptel.ac.in/.
8. https://www.coursera.org/.

VFSTR 181
CSE - Honours

22CS954 INTERNET OF THINGS

Hours Per Week :

L T P C
3 0 2 4

PREREQUISITE KNOWLEDGE: Computer networks.


Source: https://toolsense.
io/glossary/iot/ COURSE DESCRIPTION AND OBJECTIVES:
Internet of Things (IoT) is presently a hot technology worldwide. Government, academia, and industry
are involved in different aspects of research, implementation, and business with IoT. IoT cuts across
different application domain verticals ranging from civilian to defense sectors. These domains include
agriculture, space, healthcare, manufacturing, construction, water, and mining, which are presently
transitioning their legacy infrastructure to support a loT. To introduce the terminology, technology and
its applications, to introduce the concept of M2M (machine to machine) with necessary protocols.

MODULE-1
UNIT-1 12L+0T+8P=20 Hours

INTERNET OF THINGS FUNDAMENTALS


Introduction to Internet of Things; Physical design & Functional Block of IoT, Device architectures,
CoreIoT Functional Stack; Resource constrained devices; Sensors and Components; IoT Enabling
Technologies. Societal Benefits of IoT (Domain Specific), Risks, Privacy, and Security.
Network And Communication Protocols: Network Components; Internet Structure, Wireless Protocols;
IoT Communication Model & APIs, Wireless Protocol Stack, IoT levels.

UNIT-2 12L+0T+8P=20 Hours

IOT AND M2M


Software defined networks, Network function virtualization, difference between SDN and NFV for
IoT Basics of IoT System Management with NETCONF-YANG: SDN; NFV; Need for IOT Systems
Management; SNMP-NETCONF, YANG; IOT Systems management with NETCONF-YANG.

PRACTICES:
●● Identify different Sensors and IoT devices
●● Identify the Components in Raspberry pi, Arduino, and UNO boards
●● Examine IoT levels with any one domain specific application like home automation, weather
monitoring system etc.
●● Design the Network Configuration and System Management with IoT devices using NETCONF-
YANG.
●● Design the Network Configuration and System Management with IoT devices using SNMP-
NETCONF.

MODULE-2
UNIT-1 12L+0T+8P=20 Hours

INTRODUCTION TO SYSTEMS DESIGN & DEVELOPMENT


IoT system building blocks, Arduino, Node MCU– Board details, IDE programming; Raspberry Pi-Model
and Interfaces, Platform: Axonize, Blynk IoT platform, Fogwing.

VFSTR 182
CSE - Honours

UNIT-2 12L+0T+8P=20 Hours SKILLS:


99 Sensor
PROGRAMMING AND CASE STUDY Identification
Embedded C vs Python; Operating systems for constrained devices; Domain Specific IoT Application, and IoT system
design.
Task Support IoT Example: The Refrigerator, Weather Monitoring System – Case study- Design,
Programming and Execution. 99 Sensor data
analysis.

PRACTICES: 99 Tool usage for


developing IoT
●● Demonstration and study of Raspberry Pi board, GPIO Pins and familiarity of various sensors. applications.
●● Demonstration and study of other Hardware board of IoT such as Arduino Uno and NodeMCU.
●● Design and Implementation of controlling LED-using Python in Raspberry Pi board.
●● Design and Implementation of sensing light through LDR using Python in Raspberry Pi board.
●● Design and Implementation to find obstacles through sensor using Python in Raspberry Pi board.
●● Design and Implementation of sensing and display temperature using Python in Raspberry
Pi board.
●● Design and Implementation of detecting noise through microphone sensor using Python in
Raspberry Pi board.
●● Design and Implementation of output devices through relay using Python in Raspberry Pi board.
●● Design and Implementation of vibration sensor using Python in Raspberry Pi board.
●● Design and Implementation of uploading sensor data into cloud using Python.

COURSE OUTCOMES:
Upon successful completion of this course, students will have the ability to:

CO Blooms Module Mapping


Course Outcomes
No. Level No. with POs
Illustrate the impact and challenges posed by IoT
1 Analyze 1 4, 6
networks leading to new architectural models.
Design an end-to-end Machine-learning model to
2 Design 1 3
realize solutions for real-world problems.
Apply various machine-learning models to develop
3 Apply 2 1
IoT applications.
Compare and contrast the deployment of smart
4 objects and the technologies to connect them to Evaluate 2 4
network.

TEXT BOOKS:
1. Arshdeep Bahga and Vijay Madisetti “Internet of Things: A Hands-on Approach”, Universities
Press, 2015.
2. Rajkumar Buyya and Amir Vahid Dastjerdi “Internet of Things: Principles and Paradigms”,
Morgan Kaufmann; 1st Edition, May 25, 2016.

REFERENCE BOOKS:
1. Matt Richardson & Shawn Wallace “Getting Started with Raspberry Pi”, O’Reilly (SPD), 2014,
ISBN: 9789350239759.
2. Waltenegus Dargie, Christian Poellabauer, “Fundamentals of Wireless Sensor Networks: Theory
and Practice”.
3. Beginning Sensor networks with Arduino and Raspberry Pi – Charles Bell, A press, and 2013.

VFSTR 183
CSE - Honours

22CS955 WIRELESS SENSOR NETWORKS

Hours Per Week :

L T P C
3 0 2 4

PREREQUISITE KNOWLEDGE: Computer networks.


Source: https://www.
electronicshub.org/ COURSE DESCRIPTION AND OBJECTIVES:
wireless-sensor-
networks-wsn/ In this course we will provide an introduction to Wireless Sensor Networks (WSN) and cover latest
topics in WSNs. The goal of this course is to give an overview of fundamental problems in the area of
WSNs. We will discuss existing solutions for some of these problems. Data aggregation, information
dissemination, security issues, power management, localization, topology control, routing, and security,
are the topics will be covered in this course.

MODULE-1
UNIT-1 10L+0T+6P=16 Hours

INTRODUCTION
Introduction to Wireless Sensor Networks: Background of Sensor Network, Motivations, Performance
metrics, Design factors, Sensor node hardware’s and software’s.
WSN Architecture: Traditional layered stack, roles and challenges, Enabling technologies in WSN,
Applications of WSN, Physical layer and transceiver design considerations in WSNs.

UNIT-2 14L+0T+10P=24 Hours

MAC PROTOCOLS FOR WSN


Medium Access Control Protocols for WSN: Introduction, Fundamentals of MAC Protocols, Contention-
Free, Contention-Based and Hybrid MAC Protocols, Data aggregation and fusion, Distributed data bases.
Localization: Global location (GPS-based) and relative location (Beacon-based). Localization methods:
anchor-free, anchor-based, range-free, range-based. Clustering in WSN, Types of clustering.

PRACTICES:
●● Implement different network topologies in WSN using NS2 Simulator/Arduino boards.
●● Implement traffic signaling using Arduino boards.
●● Establish communication between the two motes with Wi-Fi, XBee, modules on arduino and
raspberry pi.
●● Create cluster formation with m number of motes in WSN by using Arduino and raspberry pi.
●● Collect the sensor geographical location information using Raspberry pi.

MODULE-2
UNIT-1 10L+0T+6P=16 Hours

ROUTING PROTOCOLS
Routing protocols for WSN: Introduction, Routing Challenges and Design Issues in WSN, Flooding
and its variants, LEACH, Location-based protocols and energy-aware routing.
Transport Control Protocols for WSN: Feasibility of Using TCP or UDP for WSNs, TCP Design Issues,
Existing TCPs in WSN: CODA, ESRT, RMST, PSFQ, GARUDA, ATP, Problems with TCP, Performance
of TCP.

VFSTR 184
CSE - Honours

UNIT-2 14L+0T+10P=24 Hours SKILLS:


99 T
o Know the
SECURITY fundamentals of
Security: Fundamentals, Security challenges in WSN, Security Attacks, Protocols and Mechanisms for wireless sensor
networks and
Security, IEEE 802.15.4 and ZigBee Security, Sensor Network programming, Node-Centric Programming: its application to
nesC Language, TinyGALS, Sensor Network Simulators: Network Simulator Tools and Environments. critical real time
scenarios.
PRACTICES: 99 To study the
various protocols
●● Implement transmission between mobile nodes based on TCP and CBR traffic in WSN nodes
at various
using NS2 simulator. layers and its
●● Implement a Low Energy Adaptive Hierarchy protocol using Simulation Tool. differences
with traditional
●● Implement different attack and its preventions in WSN using Arduino boards. protocols.
COURSE OUTCOMES: 99 To know the
issues pertaining
Upon successful completion of this course, students will have the ability to: to sensor
networks and
CO Blooms Module Mapping the challenges
Course Outcomes involved in
No. Level No. with POs
managing a
Design a wireless sensor network for given sensor sensor network.
1 data using microcontroller, transceiver, middle- Create 1 3
ware and operating system.
Evaluate the performance of schedule based and
random Medium Access Control protocols for
2 Analyze 1 1, 2, 3
power consumption, fairness, channel utilization
and control packet overhead.
Evaluate the performance of low energy and geo-
3 graphic routing protocols for power consumption, Analyze 2 1, 2, 3
scalability and latency parameters.
Implement solutions to real world problems using
4 Create 2 3
various sensors and arduino boards.

TEXT BOOKS:
1. Dargie, Waltenegus, and Christian Poellabauer. Fundamentals of wireless sensor networks:
theory and practice. John Wiley & Sons, 2010.
2. Kazem Sohraby, Daniel Minoli and Taieb Znati, “Wireless Sensor Networks Technology,
Protocols, and Applications”, John Wiley & Sons, 2007.

REFERENCE BOOKS:
1. Holger Karl and Andreas Willig, “Protocols and Architectures for Wireless Sensor Networks”,
John Wiley & Sons, Ltd, 2005.
2. Zhao and L. Guibas, “Wireless Sensor Networks”, Morgan Kaufmann, San Francisco, 2004.
3. C. S. Raghavendra, K.M.Shivalingam and T.Znati, “Wireless Sensor Networks”, Springer, New
York, 2004.
4. Anna Hac, “Wireless Sensor Network Designs”, John Wiley & Sons, 2004.

VFSTR 185

You might also like