Thursday, 13 December 2012

ANNA UNIVERSITY BE CSE 3rd and 4TH SEMESTER SYLLABUS

ANNA UNIVERSITY CHENNAI :: CHENNAI 600 025



AFFILIATED INSTITUTIONS  CURRICULUM 2008

B.E. COMPUTER SCIENCE AND ENGINEERING  SYLLABUS 

3 & 4 SEMESTERS CURRICULUM AND SYLLABus


SEMESTER III
(Applicable to the students admitted from the Academic year 2008–2009 onwards)
Code No. Course Title L T P C

THEORY
MA 2211 Transforms and Partial Differential Equations 3 1 0 4
CS 2201 Data Structures 3 0 0 3
CS 2202 Digital Principles and Systems Design 3 1 0 4
CS 2203 Object Oriented Programming 3 0 0 3
CS 2204 Analog and Digital Communication 3 1 0 4
GE 2021 Environmental Science and Engineering 3 0 0 3

PRACTICAL

CS 2207 Digital Lab 0 0 3 2
CS 2208 Data Structures Lab 0 0 3 2
CS 2209 Object Oriented Programming Lab 0 0 3 2

SEMESTER IV
(Applicable to the students admitted from the Academic year 2008–2009 onwards)
Code No. Course Title L T P C

THEORY
MA 2f262 Probability and Queueing Theory 3 1 0 4  






CS 2251 Design and Analysis of Algorithms 3 1 0 4
CS 2252 Microprocessors and Microcontrollers 3 0 0 3
CS 2253 Computer Organization and Architecture 3 0 0 3
CS 2254 Operating Systems 3 0 0 3
CS 2255 Database Management Systems 3 0 0 3

PRACTICAL
CS 2257 Operating Systems Lab 0 0 3 2
CS 2258 Data Base Management Systems Lab 0 0 3 2
CS 2259 Microprocessors Lab 0 0 3 2


MA 2211 TRANSFORMS AND PARTIAL DIFFERENTIAL EQUATIONS 3 1 0 4
(Common to all branches)


OBJECTIVES
The course objective is to develop the skills of the students in the areas of Transforms
and Partial Differtial Equations. This will be necessary for their effective studies in a
large number of engineering subjects like heat conduction, communication systems,
electro-optics and electromagnetic theory. The course will also serve as a prerequisite
for post graduate and specialized studies and research.


1. FOURIER SERIES 9 + 3
Dirichlet’s conditions – General Fourier series – Odd and even functions – Half range
sine series – Half range cosine series – Complex form of Fourier Series – Parseval’s
identify – Harmonic Analysis.


2. FOURIER TRANSFORMS 9 + 3
Fourier integral theorem (without proof) – Fourier transform pair – Sine and
Cosine transforms – Properties – Transforms of simple functions – Convolution theorem
– Parseval’s identity.

3. PARTIAL DIFFERENTIAL EQUATIONS 9 +3
Formation of partial differential equations – Lagrange’s linear equation – Solutions of
standard types of first order partial differential equations - Linear partial differential
equations of second and higher order with constant coefficients.

4. APPLICATIONS OF PARTIAL DIFFERENTIAL EQUATIONS 9 + 3
Solutions of one dimensional wave equation – One dimensional equation of heat
conduction – Steady state solution of two-dimensional equation of heat conduction
(Insulated edges excluded) – Fourier series solutions in cartesian coordinates.

5. Z -TRANSFORMS AND DIFFERENCE EQUATIONS 9 + 3
Z-transforms - Elementary properties – Inverse Z-transform – Convolution theorem -
Formation of difference equations – Solution of difference equations using Z-transform.
Lectures : 45 Tutorials : 15 Total : 60

TEXT BOOKS
1. Grewal, B.S, ‘Higher Engineering Mathematics’ 40th Edition, Khanna publishers,
Delhi, (2007)
3
REFERENCES
1. Bali.N.P and Manish Goyal ‘A Textbook of Engineering Mathematics’, Seventh
Edition, Laxmi Publications(P) Ltd. (2007)
2. Ramana.B.V. ‘Higher Engineering Mathematics’ Tata Mc-GrawHill Publishing
Company limited, New Delhi (2007).
3. Glyn James, ‘Advanced Modern Engineering Mathematics’, Third edition-Pearson
Education (2007).
4. Erwin Kreyszig ’Advanced Engineering Mathematics’, Eighth edition-Wiley India
(2007).
4

CS 2201 DATA STRUCTURES 3 1 0 4

Aim: To master the design and applications of linear, tree, balanced tree, hashing, set,
and graph structures.

Unit I Linear Structures 9
Abstract Data Types (ADT) – List ADT – array-based implementation – linked list
implementation – cursor-based linked lists – doubly-linked lists – applications of lists –
Stack ADT – Queue ADT – circular queue implementation – Applications of stacks and
queues

Unit II Tree Structures 9
Tree ADT – tree traversals – left child right sibling data structures for general trees –
Binary Tree ADT – expression trees – applications of trees – binary search tree ADT –
Threaded Binary Trees.

Unit III Balanced Trees 9
AVL Trees – Splay Trees – B-Tree - heaps – binary heaps – applications of binary
heaps

Unit IV Hashing and Set 9
Hashing – Separate chaining – open addressing – rehashing – extendible hashing -
Disjoint Set ADT – dynamic equivalence problem – smart union algorithms – path
compression – applications of Set

Unit V Graphs 9
Definitions – Topological sort – breadth-first traversal - shortest-path algorithms –
minimum spanning tree – Prim's and Kruskal's algorithms – Depth-first traversal –
biconnectivity – Euler circuits – applications of graphs

Total: 45
TEXT BOOK
1. M. A. Weiss, “Data Structures and Algorithm Analysis in C”, Second Edition , Pearson
Education, 2005.
REFERENCES
1. A. V. Aho, J. E. Hopcroft, and J. D. Ullman, “Data Structures and Algorithms”,
Pearson Education, First Edition Reprint 2003.
2. R. F. Gilberg, B. A. Forouzan, “Data Structures”, Second Edition, Thomson India
Edition, 2005.
5

CS 2202 DIGITAL PRINCIPLES AND SYSTEM DESIGN 3 1 0 4
(Common to CSE & IT)
AIM
To provide an in-depth knowledge of the design of digital circuits and the use of
Hardware Description Language in digital system design.
OBJECTIVES
To understand different methods used for the simplification of Boolean functions·
To design and implement combinational circuits·
To design and implement synchronous sequential circuits·
To design and implement asynchronous sequential circuits·
To study the fundamentals of VHDL / Verilog HDL·

UNIT I BOOLEAN ALGEBRA AND LOGIC GATES 8
Review of binary number systems - Binary arithmetic – Binary codes – Boolean algebra
and theorems - Boolean functions – Simplifications of Boolean functions using Karnaugh
map and tabulation methods – Implementation of Boolean functions using logic gates.

UNIT II COMBINATIONAL LOGIC 9
Combinational circuits – Analysis and design procedures - Circuits for arithmetic
operations - Code conversion – Introduction to Hardware Description Language (HDL)

UNIT III DESIGN WITH MSI DEVICES 8
Decoders and encoders - Multiplexers and demultiplexers - Memory and programmable
logic - HDL for combinational circuits

UNIT IV SYNCHRONOUS SEQUENTIAL LOGIC 10
Sequential circuits – Flip flops – Analysis and design procedures - State reduction and
state assignment - Shift registers – Counters – HDL for Sequential Circuits.

UNIT V ASYNCHRONOUS SEQUENTIAL LOGIC 10
Analysis and design of asynchronous sequential circuits - Reduction of state and flow
tables – Race-free state assignment – Hazards. ASM Chart.

TUTORIAL = 15 TOTAL : 60
TEXT BOOKS
1. M.Morris Mano, “Digital Design”, 3rd edition, Pearson Education, 2007.
REFERENCES
1. Charles H.Roth, Jr. “Fundamentals of Logic Design”, 4th Edition, Jaico Publishing
House, Cengage Earning, 5th ed, 2005.
2. Donald D.Givone, “Digital Principles and Design”, Tata McGraw-Hill, 2007.
6


CS 2203 OBJECT-ORIENTED PROGRAMMING 3 0 0 3
(Common to CSE & IT)
Aim: To understand the concepts of object-oriented programming and master OOP
using C++.

UNIT I 9
Object oriented programming concepts – objects – classes – methods and messages –
abstraction and encapsulation – inheritance – abstract classes – polymorphism.
Introduction to C++ – classes – access specifiers – function and data members – default
arguments – function overloading – friend functions – const and volatile functions - static
members – Objects – pointers and objects – constant objects – nested classes – local
classes

UNIT II 9
Constructors – default constructor – Parameterized constructors – Constructor with
dynamic allocation – copy constructor – destructors – operator overloading –
overloading through friend functions – overloading the assignment operator – type
conversion – explicit constructor

UNIT III 9
Function and class templates - Exception handling – try-catch-throw paradigm –
exception specification – terminate and Unexpected functions – Uncaught exception.

UNIT IV 9
Inheritance – public, private, and protected derivations – multiple inheritance - virtual
base class – abstract class – composite objects Runtime polymorphism – virtual
functions – pure virtual functions – RTTI – typeid – dynamic casting – RTTI and
templates – cross casting – down casting .

UNIT V 9
Streams and formatted I/O – I/O manipulators - file handling – random access – object
serialization – namespaces - std namespace – ANSI String Objects – standard template
library.

Total: 45
TEXT BOOKS:
1. B. Trivedi, “Programming with ANSI C++”, Oxford University Press, 2007.
REFERENCES:
1. Ira Pohl, “Object Oriented Programming using C++”, Pearson Education, Second
Edition Reprint 2004..
2. S. B. Lippman, Josee Lajoie, Barbara E. Moo, “C++ Primer”, Fourth Edition,
Pearson Education, 2005.
3. B. Stroustrup, “The C++ Programming language”, Third edition, Pearson
Education, 2004.



CS2204 ANALOG AND DIGITAL COMMUNICATION 3 1 0 4

UNIT I FUNDAMENTALS OF ANALOG COMMUNICATION 9
Principles of amplitude modulation, AM envelope, frequency spectrum and bandwidth,
modulation index and percent modulation, AM Voltage distribution, AM power
distribution, Angle modulation - FM and PM waveforms, phase deviation and modulation
index, frequency deviation and percent modulation, Frequency analysis of angle
modulated waves. Bandwidth requirements for Angle modulated waves.

UNIT II DIGITAL COMMUNICATION 9
Introduction, Shannon limit for information capacity, digital amplitude modulation,
frequency shift keying, FSK bit rate and baud, FSK transmitter, BW consideration of
FSK, FSK receiver, phase shift keying – binary phase shift keying – QPSK, Quadrature
Amplitude modulation, bandwidth efficiency, carrier recovery – squaring loop, Costas
loop, DPSK.

UNIT III DIGITAL TRANSMISSION 9
Introduction, Pulse modulation, PCM – PCM sampling, sampling rate, signal to
quantization noise rate, companding – analog and digital – percentage error, delta
modulation, adaptive delta modulation, differential pulse code modulation, pulse
transmission – Intersymbol interference, eye patterns.

UNIT IV DATA COMMUNICATIONS 9
Introduction, History of Data communications, Standards Organizations for data
communication, data communication circuits, data communication codes, Error control,
Error Detection, Error correction, Data communication Hardware, serial and parallel
interfaces, data modems, Asynchronous modem, Synchronous modem, low-speed
modem, medium and high speed modem, modem control.

UNIT V SPREAD SPECTRUM AND MULTIPLE ACCESS TECHNIQUES 9
Introduction, Pseudo-noise sequence, DS spread spectrum with coherent binary PSK,
processing gain, FH spread spectrum, multiple access techniques – wireless
communication, TDMA and CDMA in wireless communication systems, source coding of
speech for wireless communications. TUTORIAL: 15

TOTAL: 45 +15=60

TEXT BOOKS:

1. Wayne Tomasi, “Advanced Electronic Communication Systems”, 6/e, Pearson
Education, 2007.
2. Simon Haykin, “Communication Systems”, 4th Edition, John Wiley & Sons., 2001.
REFERENCES:
1. H.Taub,D L Schilling ,G Saha ,”Principles of Communication”3/e,2007.
2. B.P.Lathi,”Modern Analog And Digital Communication systems”, 3/e, Oxford
University Press, 2007
3. Blake, “Electronic Communication Systems”, Thomson Delmar Publications, 2002.
4. Martin S.Roden, “Analog and Digital Communication System”, 3rd Edition, PHI,
2002.
8
5. B.Sklar,”Digital Communication Fundamentals and Applications”2/e Pearson
Education 2007.
9


GE 2021 ENVIRONMENTAL SCIENCE AND ENGINEERING 3 0 0 3
(Common to Civil, CSE, IT & Biomedical Degree Programmes)
AIM
The aim of this course is to create awareness in every engineering graduate about the
importance of environment, the effect of technology on the environment and ecological
balance and make them sensitive to the environment problems in every professional
endeavour that they participates.
OBJECTIVE
At the end of this course the student is expected to understand what constitutes the
environment, what are precious resources in the environment, how to conserve these
resources, what is the role of a human being in maintaining a clean environment and
useful environment for the future generations and how to maintain ecological balance
and preserve bio-diversity. The role of government and non-government organization in
environment managements.

Unit I ENVIRONMENT, ECOSYSTEMS AND BIODIVERSITY 14
Definition, scope and importance of environment – need for public awareness - concept
of an ecosystem – structure and function of an ecosystem – producers, consumers and
decomposers – energy flow in the ecosystem – ecological succession – food chains,
food webs and ecological pyramids – Introduction, types, characteristic features,
structure and function of the (a) forest ecosystem (b) grassland ecosystem (c) desert
ecosystem (d) aquatic ecosystems (ponds, streams, lakes, rivers, oceans, estuaries) –
Introduction to biodiversity definition: genetic, species and ecosystem diversity –
biogeographical classification of India – value of biodiversity: consumptive use,
productive use, social, ethical, aesthetic and option values – Biodiversity at global,
national and local levels – India as a mega-diversity nation – hot-spots of biodiversity –
threats to biodiversity: habitat loss, poaching of wildlife, man-wildlife conflicts –
endangered and endemic species of India – conservation of biodiversity: In-situ and exsitu
conservation of biodiversity.
Field study of common plants, insects, birds
Field study of simple ecosystems – pond, river, hill slopes, etc.

Unit II ENVIRONMENTAL POLLUTION 8
Definition – causes, effects and control measures of: (a) Air pollution (b) Water pollution
(c) Soil pollution (d) Marine pollution (e) Noise pollution (f) Thermal pollution (g) Nuclear
hazards – soil waste management: causes, effects and control measures of municipal
solid wastes – role of an individual in prevention of pollution – pollution case studies –
disaster management: floods, earthquake, cyclone and landslides.
Field study of local polluted site – Urban / Rural / Industrial / Agricultural.
10

Unit III NATURAL RESOURCES 10
Forest resources: Use and over-exploitation, deforestation, case studies- timber
extraction, mining, dams and their effects on forests and tribal people – Water
resources: Use and over-utilization of surface and ground water, floods, drought,
conflicts over water, dams-benefits and problems – Mineral resources: Use and
exploitation, environmental effects of extracting and using mineral resources, case
studies – Food resources: World food problems, changes caused by agriculture and
overgrazing, effects of modern agriculture, fertilizer-pesticide problems, water logging,
salinity, case studies – Energy resources: Growing energy needs, renewable and non
renewable energy sources, use of alternate energy sources. case studies – Land
resources: Land as a resource, land degradation, man induced landslides, soil erosion
and desertification – role of an individual in conservation of natural resources – Equitable
use of resources for sustainable lifestyles.
Field study of local area to document environmental assets – river / forest / grassland /
hill / mountain.

Unit IV SOCIAL ISSUES AND THE ENVIRONMENT 7
From unsustainable to sustainable development – urban problems related to energy –
water conservation, rain water harvesting, watershed management – resettlement and
rehabilitation of people; its problems and concerns, case studies – role of nongovernmental
organization- environmental ethics: Issues and possible solutions –
climate change, global warming, acid rain, ozone layer depletion, nuclear accidents and
holocaust, case studies. – wasteland reclamation – consumerism and waste products –
environment production act – Air (Prevention and Control of Pollution) act – Water
(Prevention and control of Pollution) act – Wildlife protection act – Forest conservation
act – enforcement machinery involved in environmental legislation- central and state
pollution control boards- Public awareness.

Unit V HUMAN POPULATION AND THE ENVIRONMENT 6
Population growth, variation among nations – population explosion – family welfare
programme – environment and human health – human rights – value education – HIV /
AIDS – women and child welfare – role of information technology in environment and
human health – Case studies.
Total = 45

TEXT BOOKS
1. Gilbert M.Masters, ‘Introduction to Environmental Engineering and
Science’, 2nd edition, Pearson Education (2004).
2. Benny Joseph, ‘Environmental Science and Engineering’, Tata McGraw-Hill, New
Delhi, (2006).
REFERENCE BOOKS
1. R.K. Trivedi, ‘Handbook of Environmental Laws, Rules, Guidelines, Compliances
and Standards’, Vol. I and II, Enviro Media.
2. Cunningham, W.P. Cooper, T.H. Gorhani, ‘Environmental Encyclopedia’, Jaico
Publ., House, Mumbai, 2001.
3. Dharmendra S. Sengar, ‘Environmental law’, Prentice hall of India PVT LTD, New
Delhi, 2007.
4. Rajagopalan, R, ‘Environmental Studies-From Crisis to Cure’, Oxford University
Press (2005)
11


CS 2207 DIGITAL LABORATORY 0 0 3 2
(Common to CSE & IT)
LIST OF EXPERIMENTS
1. Verification of Boolean theorems using digital logic gates
2. Design and implementation of combinational circuits using basic gates for
arbitrary functions, code converters, etc.
3. Design and implementation of 4-bit binary adder / subtractor using basic
gates and MSI devices
4. Design and implementation of parity generator / checker using basic
gates and MSI devices
5. Design and implementation of magnitude comparator
6. Design and implementation of application using multiplexers/
Demultiplexers
7. Design and implementation of Shift registers
8. Design and implementation of Synchronous and Asynchronous counters
9. Simulation of combinational circuits using Hardware Description
Language (VHDL/ Verilog HDL software required)
10. Simulation of sequential circuits using HDL (VHDL/ Verilog HDL software
required)
(Common to Information Technology & Computer Science Engineering)
List of equipments and components for a batch of 30 students (2 per batch)
S.NO Name of equipment/ component Quantity Reqd Remarks
1 Dual power supply/ single mode
powersupply
15/30 +12/-12V
2 IC Trainer 15 10 bit
3 Bread Boards 15
4 Multimeter 5
6 IC 7400 60
7 IC7402 60
8 IC 7404 60
9 IC 7486 60
10 IC 7408 60
11 IC 7432 60
12 IC 7483 60
13 IC74150 60
14 IC74151 40
15 IC74147 40
16 IC7445 40
12
17 IC7476 40
18 IC7491 40
19 IC555 40
20 IC7494 40
21 IC7447 40
22 IC74180 40
23 IC7485 40
24 IC7473 40
25 IC74138 40
26 IC7411 40
27 IC7474 40
28 Computer with HDL software 30
29 Seven segment display 40
30 Assembled LED board/LEDs 40/200
31 Wires Single strand
13

CS 2208 DATA STRUCTURES LAB 0 0 3 2
AIM:
To develop programming skills in design and implementation of data structures and
their applications.
1. Implement singly and doubly linked lists.
2. Represent a polynomial as a linked list and write functions for polynomial
addition.
3. Implement stack and use it to convert infix to postfix expression
4. Implement a double-ended queue (dequeue) where insertion and deletion
operations are possible at both the ends.
5. Implement an expression tree. Produce its pre-order, in-order, and postorder
traversals.
6. Implement binary search tree.
7. Implement insertion in AVL trees.
8. Implement priority queue using binary heaps
9. Implement hashing with open addressing.
10. Implement Prim's algorithm using priority queues to find MST of an
undirected graph.
Total: 45
List of Equipments and components for A Batch of 30 students (1 per batch)
1. SOFTWARE REQUIRED – TURBOC version 3 or GCC version 3.3.4.
2. OPERATING SYSTEM – WINDOWS 2000 / XP / NT OR LINUX
3. COMPUTERS REQUIRED – 30 Nos. (Minimum Requirement : Pentium III or
Pentium IV with 256 RAM and 40 GB harddisk)
14


CS 2209 OBJECT ORIENTED PROGRAMMING LAB 0 0 3 2
(Common to CSE & IT)
1. Design C++ classes with static members, methods with default arguments, friend
functions. (For example, design matrix and vector classes with static allocation,
and a friend function to do matrix-vector multiplication)
2. Implement complex number class with necessary operator overloadings and type
conversions such as integer to complex, double to complex, complex to double
etc.
3. Implement Matrix class with dynamic memory allocation and necessary methods.
Give proper constructor, destructor, copy constructor, and overloading of
assignment operator.
4. Overload the new and delete operators to provide custom dynamic allocation of
memory.
5. Develop a template of linked-list class and its methods.
6. Develop templates of standard sorting algorithms such as bubble sort, insertion
sort, merge sort, and quick sort.
7. Design stack and queue classes with necessary exception handling.
8. Define Point class and an Arc class. Define a Graph class which represents
graph as a collection of Point objects and Arc objects. Write a method to find a
minimum cost spanning tree in a graph.
9. Develop with suitable hierarchy, classes for Point, Shape, Rectangle, Square,
Circle, Ellipse, Triangle, Polygon, etc. Design a simple test application to
demonstrate dynamic polymorphism and RTTI.
10. Write a C++ program that randomly generates complex numbers (use previously
designed Complex class) and writes them two per line in a file along with an
operator (+, -, *, or /). The numbers are written to file in the format (a + ib). Write
another program to read one line at a time from this file, perform the
corresponding operation on the two complex numbers read, and write the result
to another file (one per line).
(Common to Information Technology & Computer Science Engineering)
List of Equipments and software for a batch of 30 students
1. PC – 30 nos.
Processor – 2.0 GHz or higher·
RAM – 256 MB or higher·
Hard disk – 20 GB or higher·
OS- Windows 2000/ Windows XP/ NT·
2. Software – Turbo C (freeware) – to be installed in all PC’s.
15


MA 2262 PROBABILITY AND QUEUEING THEORY 3 1 0 4
(Common to CSE & IT)
AIM
The probabilistic models are employed in countless applications in all areas of science
and engineering. Queuing theory provides models for a number of situations that arise in
real life. The course aims at providing necessary mathematical support and confidence
to tackle real life problems.
OBJECTIVES
At the end of the course, the students would
Have a well – founded knowledge of standard distributions which can describe·
real life phenomena.
Acquire skills in handling situations involving more than one random variable and·
functions of random variables.
Understand and characterize phenomena which evolve with respect to time in a·
probabilistic manner.
Be exposed to basic characteristic features of a queuing system and acquire·
skills in analyzing queuing models.

UNIT I RANDOM VARIABLES 9 + 3
Discrete and continuous random variables - Moments - Moment generating functions
and their properties. Binomial, Poisson ,Geometric ,Negative binomial, Uniform,
Exponential, Gamma, and Weibull distributions .

UNIT II TWO DIMENSIONAL RANDOM VARIABLES 9 + 3
Joint distributions - Marginal and conditional distributions – Covariance - Correlation and
regression - Transformation of random variables - Central limit theorem.

UNIT III MARKOV PROCESSES AND MARKOV CHAINS 9 +
Classification - Stationary process - Markov process - Markov chains - Transition
probabilities - Limiting distributions-Poisson process UNIT IV QUEUEING THEORY 9 + 3
Markovian models – Birth and Death Queuing models- Steady state results: Single and
multiple server queuing models- queues with finite waiting rooms- Finite source models-
Little’s Formula

UNIT V NON-MARKOVIAN QUEUES AND QUEUE NETWORKS 9 + 3
M/G/1 queue- Pollaczek- Khintchine formula, series queues- open and closed networks
TUTORIAL 15 TOTAL : 60 

TEXT BOOKS
1. O.C. Ibe, “Fundamentals of Applied Probability and Random Processes”,
Elsevier, 1st Indian Reprint, 2007 (For units 1, 2 and 3).
2. D. Gross and C.M. Harris, “Fundamentals of Queueing Theory”, Wiley
Student edition, 2004 (For units 4 and 5).
BOOKS FOR REFERENCES: 1. A.O. Allen, “Probability, Statistics and Queueing Theory with Computer
Applications”, Elsevier, 2nd edition, 2005.
2. H.A. Taha, “Operations Research”, Pearson Education, Asia, 8th edition, 2007.
3. K.S. Trivedi, “Probability and Statistics with Reliability, Queueing and
Computer Science Applications”, John Wiley and Sons, 2nd edition, 2002.
16

CS 2251 DESIGN AND ANALYSIS OF ALGORITHMS 3 1 0 4

UNIT I 9
Algorithm Analysis – Time Space Tradeoff – Asymptotic Notations – Conditional
asymptotic notation – Removing condition from the conditional asymptotic notation -
Properties of big-Oh notation – Recurrence equations – Solving recurrence equations –
Analysis of linear search.

UNIT II 9
Divide and Conquer: General Method – Binary Search – Finding Maximum and Minimum
– Merge Sort – Greedy Algorithms: General Method – Container Loading – Knapsack
Problem.

UNIT III 9
Dynamic Programming: General Method – Multistage Graphs – All-Pair shortest paths –
Optimal binary search trees – 0/1 Knapsack – Travelling salesperson problem .

UNIT IV 9
Backtracking: General Method – 8 Queens problem – sum of subsets – graph coloring –
Hamiltonian problem – knapsack problem.

UNIT V 9
Graph Traversals – Connected Components – Spanning Trees – Biconnected
components – Branch and Bound: General Methods (FIFO & LC) – 0/1 Knapsack
problem – Introduction to NP-Hard and NP-Completeness.

TUTORIAL = 15 Total = 60

TEXT BOOK:
1. Ellis Horowitz, Sartaj Sahni and Sanguthevar Rajasekaran, Computer
Algorithms/ C++, Second Edition, Universities Press, 2007. (For Units II to V)
2. K.S. Easwarakumar, Object Oriented Data Structures using C++, Vikas
Publishing House pvt. Ltd., 2000 (For Unit I)
REFERENCES:
1. T. H. Cormen, C. E. Leiserson, R.L.Rivest, and C. Stein, "Introduction to Algorithms",
Second Edition, Prentice Hall of India Pvt. Ltd, 2003.
2. Alfred V. Aho, John E. Hopcroft and Jeffrey D. Ullman, "The Design and Analysis of
Computer Algorithms", Pearson Education, 1999.
17

CS2252 MICROPROCESSORS AND MICROCONTROLLERS 3 0 0 3
(Common to CSE & IT)

1. THE 8085 AND 8086 MICROPROCESSORS 9
8085 Microprocessor architecture-Addressing modes- Instruction set-Programming the
8085

2. 8086 SOFTWARE ASPECTS 9
Intel 8086 microprocessor - Architecture - Signals- Instruction Set-Addressing Modes-
Assembler Directives- Assembly Language Programming-Procedures-Macros-Interrupts
And Interrupt Service Routines-BIOS function calls.

3. MULTIPROCESSOR CONFIGURATIONS 9
Coprocessor Configuration – Closely Coupled Configuration – Loosely Coupled
Configuration –8087 Numeric Data Processor – Data Types – Architecture –8089 I/O
Processor –Architecture –Communication between CPU and IOP.

4. I/O INTERFACING 9
Memory interfacing and I/O interfacing with 8085 – parallel communication interface –
serial communication interface – timer-keyboard/display controller – interrupt controller –
DMA controller (8237) – applications – stepper motor – temperature control.

5. MICROCONTROLLERS 9
Architecture of 8051 Microcontroller – signals – I/O ports – memory – counters and
timers – serial data I/O – interrupts-
Interfacing -keyboard, LCD,ADC & DAC
TOTAL: 45

TEXT BOOKS:
1. Ramesh S. Gaonkar ,”Microprocessor – Architecture, Programming and
Applications with the 8085” Penram International Publisher , 5th Ed.,2006
2. Yn-cheng Liu,Glenn A.Gibson, “Microcomputer systems: The 8086 / 8088
Family architecture, Programming and Design”, second edition, Prentice Hall
of India , 2006 .
3. Kenneth J.Ayala, ’The 8051 microcontroller Architecture, Programming and
applications‘ second edition ,Penram international.
REFERENCES:
1. Douglas V.Hall, “ Microprocessors and Interfacing : Programming and
Hardware”, second edition , Tata Mc Graw Hill ,2006.
2. A.K.Ray & K.M Bhurchandi, “Advanced Microprocessor and Peripherals –
Architecture, Programming and Interfacing”, Tata Mc Graw Hill , 2006.
3. Peter Abel, “ IBM PC Assembly language and programming” , fifth edition,
Pearson education / Prentice Hall of India Pvt.Ltd,2007.
4. Mohamed Ali Mazidi,Janice Gillispie Mazidi,” The 8051 microcontroller and
embedded systems using Assembly and C”,second edition, Pearson
education /Prentice hall of India , 2007.
18


CS 2253 COMPUTER ORGANIZATION AND ARCHITECTURE 3 0 0 3
(Common to CSE & IT)

1. BASIC STRUCTURE OF COMPUTERS 9
Functional units – Basic operational concepts – Bus structures – Performance and
metrics – Instructions and instruction sequencing – Hardware – Software Interface –
Instruction set architecture – Addressing modes – RISC – CISC. ALU design – Fixed
point and floating point operations.

2. BASIC PROCESSING UNIT 9
Fundamental concepts – Execution of a complete instruction – Multiple bus organization
– Hardwired control – Micro programmed control – Nano programming.

3. PIPELINING 9
Basic concepts – Data hazards – Instruction hazards – Influence on instruction sets –
Data path and control considerations – Performance considerations – Exception
handling.

4. MEMORY SYSTEM 9
Basic concepts – Semiconductor RAM – ROM – Speed – Size and cost – Cache
memories – Improving cache performance – Virtual memory – Memory management
requirements – Associative memories – Secondary storage devices.

5. I/O ORGANIZATION 9
Accessing I/O devices – Programmed Input/Output -Interrupts – Direct Memory Access
– Buses – Interface circuits – Standard I/O Interfaces (PCI, SCSI, USB), I/O devices and
processors.
TOTAL = 45

Text Book:
1. Carl Hamacher, Zvonko Vranesic and Safwat Zaky, “Computer Organization”,
Fifth Edition, Tata McGraw Hill, 2002.
REFERENCES:
1. David A. Patterson and John L. Hennessy, “Computer Organization and Design:
The Hardware/Software interface”, Third Edition, Elsevier, 2005.
2. William Stallings, “Computer Organization and Architecture – Designing for
Performance”, Sixth Edition, Pearson Education, 2003.
3. John P. Hayes, “Computer Architecture and Organization”, Third Edition, Tata
McGraw Hill, 1998.
4. V.P. Heuring, H.F. Jordan, “Computer Systems Design and Architecture”,
Second Edition, Pearson Education, 2004.
19


CS 2254 OPERATING SYSTEMS 3 0 0 3
(Common to CSE & IT)
Aim: To learn the various aspects of operating systems such as process management,
memory management, and I/O management

UNIT I PROCESSES AND THREADS 9
Introduction to operating systems – review of computer organization – operating system
structures – system calls – system programs – system structure – virtual machines.
Processes: Process concept – Process scheduling – Operations on processes –
Cooperating processes – Interprocess communication – Communication in client-server
systems. Case study: IPC in Linux. Threads: Multi-threading models – Threading issues.
Case Study: Pthreads library

UNIT II PROCESS SCHEDULING AND SYNCHRONIZATION 10
CPU Scheduling: Scheduling criteria – Scheduling algorithms – Multiple-processor
scheduling – Real time scheduling – Algorithm Evaluation. Case study: Process
scheduling in Linux. Process Synchronization: The critical-section problem –
Synchronization hardware – Semaphores – Classic problems of synchronization –
critical regions – Monitors. Deadlock: System model – Deadlock characterization –
Methods for handling deadlocks – Deadlock prevention – Deadlock avoidance –
Deadlock detection – Recovery from deadlock.

UNIT III STORAGE MANAGEMENT 9
Memory Management: Background – Swapping – Contiguous memory allocation –
Paging – Segmentation – Segmentation with paging. Virtual Memory: Background –
Demand paging – Process creation – Page replacement – Allocation of frames –
Thrashing. Case Study: Memory management in Linux

UNIT IV FILE SYSTEMS 9
File-System Interface: File concept – Access methods – Directory structure – Filesystem
mounting – Protection. File-System Implementation : Directory implementation –
Allocation methods – Free-space management – efficiency and performance – recovery
– log-structured file systems. Case studies: File system in Linux – file system in
Windows XP

UNIT V I/O SYSTEMS 8
I/O Systems – I/O Hardware – Application I/O interface – kernel I/O subsystem –
streams – performance. Mass-Storage Structure: Disk scheduling – Disk management –
Swap-space management – RAID – disk attachment – stable storage – tertiary storage.
Case study: I/O in Linux
Total: 45

TEXT BOOK:
1. Silberschatz, Galvin, and Gagne, “Operating System Concepts”, Sixth Edition, Wiley
India Pvt Ltd, 2003.
REFERENCES:
1. Andrew S. Tanenbaum, “Modern Operating Systems”, Second Edition, Pearson
Education, 2004.
2. Gary Nutt, “Operating Systems”, Third Edition, Pearson Education, 2004.
3. Harvey M. Deital, “Operating Systems”, Third Edition, Pearson Education, 2004.
20


CS 2255 DATABASE MANAGEMENT SYSTEMS 3 0 0 3

(Common to CSE & IT)

1. INTRODUCTION 9
Purpose of Database System -– Views of data – Data Models – Database Languages ––
Database System Architecture – Database users and Administrator – Entity–
Relationship model (E-R model ) – E-R Diagrams -- Introduction to relational databases

2. RELATIONAL MODEL 9
The relational Model – The catalog- Types– Keys - Relational Algebra – Domain
Relational Calculus – Tuple Relational Calculus - Fundamental operations – Additional
Operations- SQL fundamentals - Integrity – Triggers - Security – Advanced SQL
features –Embedded SQL– Dynamic SQL- Missing Information– Views – Introduction
to Distributed Databases and Client/Server Databases

3. DATABASE DESIGN 9

Functional Dependencies – Non-loss Decomposition – Functional Dependencies – First,
Second, Third Normal Forms, Dependency Preservation – Boyce/Codd Normal Form-
Multi-valued Dependencies and Fourth Normal Form – Join Dependencies and Fifth
Normal Form

4. TRANSACTIONS 9
Transaction Concepts - Transaction Recovery – ACID Properties – System Recovery –
Media Recovery – Two Phase Commit - Save Points – SQL Facilities for recovery –
Concurrency – Need for Concurrency – Locking Protocols – Two Phase Locking –
Intent Locking – Deadlock- Serializability – Recovery Isolation Levels – SQL Facilities
for Concurrency.

5. IMPLEMENTATION TECHNIQUES 9
Overview of Physical Storage Media – Magnetic Disks – RAID – Tertiary storage – File
Organization – Organization of Records in Files – Indexing and Hashing –Ordered
Indices – B+ tree Index Files – B tree Index Files – Static Hashing – Dynamic Hashing –
Query Processing Overview – Catalog Information for Cost Estimation – Selection
Operation – Sorting – Join Operation – Database Tuning.
TOTAL = 45

TEXT BOOKS:
1. Abraham Silberschatz, Henry F. Korth, S. Sudharshan, “Database System
Concepts”, Fifth Edition, Tata McGraw Hill, 2006 (Unit I and Unit-V) .
2. C.J.Date, A.Kannan, S.Swamynathan, “An Introduction to Database Systems”,
Eighth Edition, Pearson Education, 2006.( Unit II, III and IV)
REFERENCES:
1. Ramez Elmasri, Shamkant B. Navathe, “Fundamentals of Database Systems”,
FourthEdition , Pearson / Addision wesley, 2007.
2. Raghu Ramakrishnan, “Database Management Systems”, Third Edition, McGraw
Hill, 2003.
3. S.K.Singh, “Database Systems Concepts, Design and Applications”, First Edition,
Pearson Education, 2006.
21

CS 2257 OPERATING SYSTEMS LAB 0 0 3 2
(Common to CSE & IT)
(Implement the following on LINUX or other Unix like platform. Use C for high level
language implementation)
1. Write programs using the following system calls of UNIX operating system:
fork, exec, getpid, exit, wait, close, stat, opendir, readdir
2. Write programs using the I/O system calls of UNIX operating system (open, read,
write, etc)
3. Write C programs to simulate UNIX commands like ls, grep, etc.
4. Given the list of processes, their CPU burst times and arrival times, display/print
the Gantt chart for FCFS and SJF. For each of the scheduling policies, compute
and print the average waiting time and average turnaround time. (2 sessions)
5. Given the list of processes, their CPU burst times and arrival times, display/print
the Gantt chart for Priority and Round robin. For each of the scheduling policies,
compute and print the average waiting time and average turnaround time. (2
sessions)
6. Developing Application using Inter Process communication (using shared
memory, pipes or message queues)
7. Implement the Producer – Consumer problem using semaphores (using UNIX
system calls).
8. Implement some memory management schemes – I
9. Implement some memory management schemes – II
10. Implement any file allocation technique (Linked, Indexed or Contiguous)
Example for exercises 8 & 9 :
Free space is maintained as a linked list of nodes with each node having the starting
byte address and the ending byte address of a free block. Each memory request
consists of the process-id and the amount of storage space required in bytes. Allocated
memory space is again maintained as a linked list of nodes with each node having the
process-id, starting byte address and the ending byte address of the allocated space.
When a process finishes (taken as input) the appropriate node from the allocated list
should be deleted and
this free disk space should be added to the free space list. [Care should be taken to
merge contiguous free blocks into one single block. This results in deleting more than
one node from the free space list and changing the start and end address in the
appropriate node]. For allocation use first fit, worst fit and best fit.
22
Hardware and Software required for a batch of 30 students.
HARDWARE:
30 Personal Computers
SOFTWARE:
Linux:
Ubuntu / OpenSUSE / Fedora / Red Hat / Debian / Mint OS·
Linux could be loaded in individual PCs.
(OR)
A single server could be loaded with Linux and connected from the individual
PCs.
Total: 45
23

CS 2258 DBMS LAB 0 0 3 2
(Common to CSE & IT)
1. Data Definition, Table Creation, Constraints,
2. Insert, Select Commands, Update & Delete Commands.
3. Nested Queries & Join Queries
4. Views
5. High level programming language extensions (Control structures, Procedures and
Functions).
6. Front end tools
7. Forms
8. Triggers
9. Menu Design
10. Reports.
11..Database Design and implementation (Mini Project).
(Common to Information Technology & Computer Science Engineering)
Hardware and Software required for a batch of 30 students:
Hardware:
30 Personal Computers
Software:
Front end : VB/VC ++/JAVA
Back end: Oracle 11g, my SQL, DB2
Platform: Windows 2000 Professional/XP
Oracle server could be loaded and can be connected from individual PCs.
24


CS2259 MICROPROCESSORS LABORATORY 0 0 3 2

(Common to CSE & IT)
AIM:
To learn the assembly language programming of 8085,8086 and 8051 and also·
to give a practical training of interfacing the peripheral devices with the
processor.
OBJECTIVES:
To implement the assembly language programming of 8085,8086 and 8051.·
To study the system function calls like BIOS/DOS.·
To experiment the interface concepts of various peripheral device with the·
processor.
Experiments in the following:
1. Programming with 8085
2. Programming with 8086-experiments including BIOS/DOS calls:
Keyboard control, Display, File Manipulation.
3. Interfacing with 8085/8086-8255,8253
4. Interfacing with 8085/8086-8279,8251
5. 8051 Microcontroller based experiments for Control Applications
6. Mini- Project
TOTAL: 45 PERIODS
List of equipments/components for 30 students (two per batch)
1. 8085 Trainer Kit with onboard 8255, 8253, 8279 and 8251 – 15 nos.
2. TASM/MASM simulator in PC (8086 programs) – 30 nos.
3. 8051 trainer kit – 15 nos.
4. Interfacing with 8086 – PC add-on cards with 8255, 8253, 8279 and 8251 – 15
nos.
5. Stepper motor interfacing module – 5 nos.
6. Traffic light controller interfacing module – 5 nos.
7. ADC, DAC interfacing module – 5 nos.
8. CRO’s – 5 nos

No comments:

Post a Comment