* Tutorial
2010-11
JAWAHARLAL NEHRU
TECHNOLOGICAL UNIVERSITY KAKINADA
B.TECH. (COMPUTER
SCIENCE AND ENGINEERING)
II Year
B.Tech. – II Sem.
SOFTWARE ENGINEERING
UNIT I : Introduction to
Software Engineering :
The evolving role of software, Changing
Nature of Software, Software myths. ( ref 1)
A Generic view of
process : Software
engineering- A layered technology, a process framework, The
Capability Maturity Model Integration
(CMMI), Process patterns, process assessment, personal and team process models.
(ref 1)
UNIT II : Process Models
:
The waterfall model, Incremental process
models, Evolutionary process models, The Unified process. (ref 1)
Software Requirements : Functional and
non-functional requirements, User requirements, System
requirements, Interface specification,
the software requirements document. (ref 2)
UNIT III : Requirements
Engineering Process :
Feasibility studies, Requirements
elicitation and analysis, Requirements validation, Requirements
management. (ref 2)
System models : Context
Models,Behavioral models Data models,Object models,structured methods. (ref 2)
UNIT IV : Design
Engineering :
Design process and Design quality, Design
concepts, the design model. (ref 2)
Creating an
architectural design : Software architecture, Data design, Architectural styles and
patterns,
Architectural Design. (ref 2)
UNIT V : Object-Oriented
Design :
Objects and object classes, An
Object-Oriented design process, Design evolution. (ref 2)
Performing User
interface design : Golden
rules, User interface analysis and design, interface analysis,
interface design steps, Design
evaluation. (ref 1)
UNIT VI : Testing
Strategies : A
strategic approach to software testing, test strategies for conventional
software, Black-Box and White-Box testing, Validation testing, System testing,
the art of Debugging. (ref 1)
Product metrics : Software Quality,
Metrics for Analysis Model, Metrics for Design Model, Metrics for
source code, Metrics for testing, Metrics
for maintenance. (ref 1)
UNIT VII : Metrics for
Process and Products :
Software Measurement, Metrics for
software quality. (ref 1)
Risk management : Reactive vs. Proactive
Risk strategies, software risks, Risk identification, Risk
projection, Risk refinement, RMMM, RMMM
Plan. (ref 1)
UNIT VIII : Quality
Management :
Quality concepts, Software quality
assurance, Software Reviews, Formal technical reviews, Statistical Software
quality Assurance, Software reliability, The ISO 9000 quality standards. (ref
2)
TEXT
BOOKS:
1. Software Engineering,
7/e , Roger S.Pressman , TMH
2. Software Engineering
,8/e, Sommerville, Pearson.
REFERENCE
BOOKS:
1. Software Engineering, A
Precise approach, Pankaj Jalote, Wiley
2. Software Engineering
principles and practice, W S Jawadekar, TMH
3. Software Engineering
concepts, R Fairley, TMH
2010-11
JAWAHARLAL NEHRU
TECHNOLOGICAL UNIVERSITY KAKINADA
B.TECH. (COMPUTER
SCIENCE AND ENGINEERING)
II Year B.Tech. – II
Sem.
PRINCIPLES
OF PROGRAMMING LANGUAGES
UNIT I: Introduction:
The
Art of Language Design, Programming Language Spectrum, Why Study Programming
Languages? Compilation and
Interpretation, Programming Environments, Overview of Compilation
Programming Language Syntax: Specifying Syntax: Regular Expressions and
Context-Free Grammars, Scanning, Parsing, Theoretical Foundations
UNIT II: Names, Scopes, and
Bindings:
The
Notion of Binding Time, Object Lifetime and Storage Management, Scope Rules,
Implementing Scope, The Meaning of Names within a Scope, The Binding of Referencing
Environments, Macro Expansion, Separate
Compilation
UNIT III: Semantic Analysis:
The
Role of the Semantic Analyzer, Attribute Grammars, Evaluating Attributes,
Action Routines, Space Management for Attributes, Decorating a Syntax Tree
UNIT IV: Control
Flow:
Expression
Evaluation, Structured and Unstructured Flow, Sequencing, Selection, Iteration,
Recursion, Non determinacy
UNIT V: Data Types:
Type
Systems, Type Checking, Records (Structures) and Variants (Unions), Arrays,
Strings, Sets, Pointers and Recursive Types, Lists, Files and Input/ Output,
Equality Testing and Assignment
UNIT VI: Subroutines and
Control Abstraction:
Review
of Stack Layout, Calling Sequences, Parameter Passing, Generic Subroutines and
Modules, Exception Handling, Coroutines, Events
Concurrency: Concurrent Programming Fundamentals,
Implementing Synchronization, Language-Level Mechanisms, Message Passing
Run-time
Program Management: Late Binding of
Machine Code, Inspection/Introspection
UNIT VII: Data Abstraction and
Object Orientation:
Object-Oriented
Programming, Encapsulation and Inheritance, Initialization and Finalization,
Dynamic Method Binding, Multiple Inheritance.
UNIT VIII: Functional
Languages:
Functional
Programming Concepts, A Review/Overview of Scheme, Evaluation Order Revisited,
Higher-Order Functions, Theoretical Foundations
Logic Languages: Logic
Programming Concepts, Prolog, Theoretical Foundations, Logic Programming in
Perspective
TEXT BOOKS:
1.
Programming Language Pragmatics, 3/ e, Michael Scott, Elsevier,
Morgan Kaufmann,2009
2.
Concepts
of Programming languages, Sebesta, 8/ e, PEA
REFERENCE BOOKS:
1.
Programming Languages Design and Implementation
, 4/e Pratt , Zelkowitz, PHI
2.
Programming Languages ,Louden, 2 /e,
Cengage,2003
3.
Fundamentals of Programming languages, Horowitz,
Galgotia
2010-11
JAWAHARLAL NEHRU
TECHNOLOGICAL UNIVERSITY KAKINADA
B.TECH. (COMPUTER
SCIENCE AND ENGINEERING)
II Year
B.Tech. – II Sem.
OBJECT ORIENTED PROGRAMMING THROUGH JAVA
UNIT I: Basics of Object
Oriented Programming (OOP):
Need for OO paradigm, A way of
viewing world – Agents, responsibility, messages, methods, classes and instances,
class hierarchies (Inheritance), method binding, overriding and exceptions,
summary of oop concepts, coping with complexity, abstraction mechanisms.
UNIT II: Java Basics:
Data types, variables, scope and
life time of variables, arrays, operators, expressions, control statements,
type conversion and costing, simple java program, classes and objects –
concepts of classes, objects, constructors, methods, access control, this
keyword, garbage collection, overloading methods and constructors, parameter passing,
recursion, string handling.
UNIT
III: Inheritance:
Hierarchical abstractions, Base class object, subclass, subtype,
substitutability, forms of inheritance- specialization, specification,
construction, extension, limitation, combination, benefits of inheritance,
costs of inheritance. Member access rules, super uses, using final with
inheritance, polymorphism, abstract classes.
UNIT IV: Packages and
Interfaces:
Defining, Creating and Accessing a
Package, Understanding CLASSPATH, importing packages, differences between
classes and interfaces, defining an interface, implementing interface, applying
interfaces, variables in interface and extending interfaces.
UNIT V: Exception
handling and Multithreading:
Concepts of exception handling,
benefits of exception handling, Termination or presumptive models, exception
hierarchy, usage of try, catch, throw, throws and finally, built in exceptions,
creating own exception sub classes. Differences between multi threading and
multitasking, thread life cycle, creating threads, synchronizing threads,
daemon threads, thread groups.
UNIT VI: Applets:
Concepts of Applets, differences
between applets and applications, life cycle of an applet, types of applets,
creating applets, passing parameters to applets. Applet to applet
communication, secure applet
UNIT VII: Event
Handling:
Events, Event sources, Event
classes, Event Listeners, Delegation event model, handling mouse and keyboard
events, Adapter classes, inner classes. The AWT class hierarchy, user interface
components- labels, button, canvas, scrollbars, text components, check box,
check box groups, choices, lists panels – scrollpane, dialogs, menubar,
graphics, layout manager – layout manager types – boarder, grid, flow, card and
grid bag.
UNIT VIII: Swings:
Introduction, limitations of AWT,
MVC architecture, components, containers, exploring swing- JApplet, JFrame and
JComponent, Icons and Labels, text fields, buttons – The JButton class, Check
boxes, Radio buttons, Combo boxes, Tabbed Panes, Scroll Panes, Trees, and
Tables.
TEXT
BOOKS:
1.
Java: The complete
reference, 7/e, Herbert schildt, TMH.
2.
Java: How to Program,
8/e, Dietal, Dietal, PHI
REFERENCE BOOKS:
1.
Learn Object Oriented
Programming using Java, Venkateswarlu, E V Prasad, S. Chand
2.
Programming in Java2, Dr
K SomaSundaram, JAICO Publishing house
3.
Object Oriented
Programming through Java, P. Radha Krishna, University Press.
2010-11
JAWAHARLAL NEHRU
TECHNOLOGICAL UNIVERSITY KAKINADA
B.TECH. (COMPUTER
SCIENCE AND ENGINEERING)
II Year
B.Tech. – II Sem.
COMPUTER ORGANIZATION
UNIT I:
Instruction Set Architectures:
Levels of Programming Languages.,Assembly
Language Instructions,Instruction Set Architecture Design,A Relatively Simple
Instruction Set Architecture.,The 8085 Microprocessor Instruction Set Architecture.
UNIT
II: Introduction to Computer Organization:
Basic Computer Organization,CPU
Organization,Memory Subsystem Organization and Interfacing,I/O Subsystem
Organization and Interfacing,A Relatively Simple Computer,An 8085-based
Computer.
UNIT
III: Register Transfer Languages:
Micro-operations and Register Transfer Language,
Using RTL to Specify Digital Systems, More Complex Digital Systems and
RTL.,VHDL-VHSIC Hardware Description Language.
UNIT
IV: CPU Design:
Specifying a CPU, Design and Implementation of
a Very Simple CPU,Design and Implementation of a Relatively Simple CPU,
Shortcomings of the Simple CPUs,Internal Architecture of the 8085
Microprocessor, Microsequencer Control Unit Design, Basic Microsequencer
Design,Design and Implementation of a Very Simple Microsequencer, Reducing the
Number of Microinstructions, Microprogrammed Control vs. Hardwired Control.
UNIT V:
Computer Arithmetic:
Unsigned Notation,Signed Notation,Binary Coded
Decimal,Specialized Arithmetic Hardware,Floating Point Numbers
UNIT
VI: Memory Organization
Hierarchical Memory Systems,Cache Memory,Virtual
Memory,Beyond the Basics of Cache and Virtual Memory,Memory Management in a
Pentium/Windows Personal Computer.
UNIT VII: Input/Output Organization:
Asynchronous Data Transfers, Programmed
I/O,Interrupts., Direct Memory Access,I/O Processors, Serial
Communication,Serial Communication Standards.
UNIT
VIII: Advanced computing:
Reduced
Instruction Set Computing: RISC Rationale,RISC Instruction Sets, Instruction
Pipelines and Register Windows,Instruction Pipeline Conflicts, RISC vs.
CISC,Introduction to Parallel Processing,Parallelism in Uniprocessor
Systems,Organization of Multiprocessor Systems. Communication in Multiprocessor
Systems, Memory Organization in Multiprocessor Systems, Multiprocessor
Operating Systems and Software.
TEXT
BOOKS:
1. Computer
Systems Organization and Architecture, John D. Carpinelli, PEA, 2009
REFERENCE
BOOKS :
- Computer Organization, Carl
Hamacher, Zvonks Vranesic, SafeaZaky, 5/e, MCG,2002.
2. Computer Organization
and Architecture,8/e, William Stallings , PEA,2010.
- Computer Systems
Architecture,3/e, M.Moris Mano,
PEA, 2007
2010-11
JAWAHARLAL NEHRU
TECHNOLOGICAL UNIVERSITY KAKINADA
B.TECH. (COMPUTER
SCIENCE AND ENGINEERING)
II Year B.Tech. – II Sem.
DATABASE
MANAGEMENT SYSTEMS
UNIT I : Introduction:
Data base System Applications, data base System VS file
System, View of Data, Data Abstraction,
nstances and Schemas, data Models, the ER Model,
Relational Model ,Other Models,Database Languages : DDL,
DML, database Access for applications
Programs ,data base Users and Administrator ,Transaction Management ,data base
System Structure , Storage Manager, the
Query Processor
UNIT II : History of Data base Systems:
Data base design and ER diagrams, Beyond ER Design Entities,
Attributes and Entity sets, Relationships and Relationship sets, Additional
features of ER Model, Concept Design with the ER Model ,Conceptual Design for
Large enterprises.
UNIT III : Introduction to the
Relational Model:
Integrity Constraint Over relations , Enforcing Integrity
constraints , Querying relational data ,Logical data base Design , Introduction
to Views , Destroying /altering Tables and Views.
Relational
Algebra:
Selection and projection set operations , renaming, Joins , Division , Examples
of Algebra overviews
Relational
calculus: Tuple relational Calculus
UNIT IV : Form of Basic SQL Query:
Examples of Basic SQL Queries, Introduction to Nested Queries
,Correlated Nested Queries Set ,Comparison Operators, Aggregative Operators,
NULL values , Comparison using Null values,
Logical connectivity’s, AND, OR and NOT,
Impact on SQL Constructs , Outer Joins, Disallowing NULL values, Complex
Integrity Constraints in SQL Triggers and Active Data bases.
UNIT V : Schema Refinement :
Problems Caused by redundancy, Decompositions , Problem
related to decomposition , reasoning about FDS, FIRST, SECOND, THIRD Normal
forms, BCNF ,Lossless join Decomposition ,Dependency preserving Decomposition,
Schema refinement in Data base Design, Multi valued Dependencies, FORTH Normal
Form.
UNIT VI : Transaction Concept:
Transaction State,Implementation of Atomicity and Durability,
Concurrent Executions, Serializability, Recoverability ,Implementation of
Isolation, Testing for serializability, Failure classification,Storage,Recovery
and Atomicity,Recovery algorithm.
UNIT VII : Storage and Indexing :
Data on External Storage , File Organization and
Indexing, Cluster Indexes, Primary and
Secondary Indexes , Index data Structures ,
Hash Based Indexing :Tree base Indexing ,Comparison of File
Organizations ,Indexes and Performance Tuning.
UNIT VIII : Tree Structured Indexing
:
Intuitions for tree Indexes, Indexed Sequential Access
Methods (ISAM)
B+ Trees: A Dynamic Index Structure.
TEXT
BOOKS:
1. Data base Management Systems, 3/e, Raghurama
Krishnan, Johannes Gehrke, TMH
2. Data base System Concepts,5/e, Silberschatz, Korth,
TMH
REFERENCE
BOOKS:
- Data base Management System, 5/e, Elmasri Navathe ,PEA
- Introduction to Database Systems, 8/e,
C.J.Date, PEA
- Database System Concepts, Peter ROB,Coronel,
Ceneage.
2010-11
JAWAHARLAL NEHRU
TECHNOLOGICAL UNIVERSITY KAKINADA
B.TECH. (COMPUTER
SCIENCE AND ENGINEERING)
II Year B.Tech. – II Sem.
FORMAL LANGUAGES AND AUTOMATA THEORY
UNIT I : Fundamentals:
Set, Representation of set, Types of sets, Operations on sets, Relation,
Representation of a relation, Properties
of a relation, Basic terminology of trees and graphs, Principle of mathematical
induction,
Strings, Alphabets, Languages, Operations on strings and languages, Finite
state machine, definitions, Finite automaton model, Acceptance of strings and
languages, Deterministic finite automaton (DFA) and Non-deterministic finite
automaton (NFA), Transition diagrams and Language recognizers.
UNIT II: Finite
Automata:
Acceptance of languages,
Equivalence of NFA and DFA, NFA to DFA conversion, NFA with
- transitions,
Significance, Conversion of NFA with
- transitions
to NFA without
- transitions,
Myhill-Nerode theorem, Minimization of finite automata, Equivalence between two
DFA’s, Finite automata with output - Moore and Mealy machines, Equivalence
between Moore and Mealy machines, conversion of Moore to Mealy and Mealy to
Moore.
UNIT III: Regular
Languages:
Regular sets, Regular
expressions, Operations and applications of regular expressions, Identity
rules, Conversion of a given regular expression into a finite automaton,
Conversion of finite automata into a regular expression, Pumping lemma for
regular sets, Closure properties of regular sets (proofs not required).
UNIT IV: Grammar
Formalism: Definition of a grammar, Language of a grammar, Types of
grammars, Chomsky classification of languages, Regular grammars, Right linear
and left linear grammars, Conversion from left linear to right linear grammars,
Equivalence of regular grammar and finite automata, Inter conversion, Context
sensitive grammars and languages, Linear bounded automata, Context free
grammars and languages, Derivation trees, Leftmost and rightmost derivation of
strings and Sentential forms.
UNIT V: Context Free
Grammars:
Ambiguity, left
recursion and left factoring in context free grammars, Minimization of context
free grammars, Normal forms for context free grammars, Chomsky normal form,
Greibach normal form, Pumping lemma for context free languages, Closure and
decision properties of context free languages, Applications of context free languages.
UNIT VI: Pushdown
Automata:
Pushdown automata,
definition, model, Graphical notation, Instantaneous descriptions, Acceptance
of context free languages, Acceptance by final state and acceptance by empty
state and its equivalence, Equivalence of context free grammars and pushdown
automata, Inter-conversion, Introduction to deterministic pushdown automata.
UNIT VII: Turing
Machine:
Turing Machine,
definition, model, Instantaneous descriptions, Representation of Turing
machines, Design of Turing machines, Types of Turing machines, Computable
functions, Unrestricted grammar, Recursive and recursively enumerable languages
and Church’s hypothesis.
UNIT VIII: Computability
Theory:
LR(0) grammar, Decidable
and un-decidable problems, Universal Turing machine, Halting problem of a
Turing machine, Un-decidability of post’s correspondence problem and modified
post’s correspondence problem, Turing reducibility, Definition of classes P and
NP problems, NP complete and NP hard problems.
TEXT BOOKS:
1.
Introduction to Automata Theory Languages &
Computation, 3/e, Hopcroft, Ullman, PEA
2.
Introduction to Theory of Computation, 2/e,
Sipser, Thomson
REFERENCE
BOOKS:
1.Theory of Computation, Rajesh Shukla,Cengage,2010
2.Theory of Computer Science, Automata
languages and computation , 2/e,
Mishra, Chandra shekaran, PHI
3.Introduction to Computer Theory,
Daniel I.A. Cohen, John Wiley.
2010-11
JAWAHARLAL NEHRU
TECHNOLOGICAL UNIVERSITY KAKINADA
B.TECH. (COMPUTER
SCIENCE AND ENGINEERING)
II Year
B.Tech. – II Sem.
OBJECT
ORIENTED PROGRAMMING LAB
1.
Use
JDK 1.5 or above on any platform e.g.
Windows or Unix.
2.
Student
is expected to complete any 16 programs.
3.
The
Fibonacci sequence is defined by the following rule. The first 2 values in the
sequence are 1, 1. Every subsequent value is the sum of the 2 values preceding
it. Write A Java Program (WAJP) that uses both recursive and non-recursive
functions to print the nth
value of the Fibonacci sequence.
4.
WAJP
to demonstrate wrapper classes, and to fix the precision.
5.
WAJP
that prompts the user for an integer and then prints out all the prime numbers
up to that Integer.
6.
WAJP
that checks whether a given string is a palindrome or not. Ex: MALAYALAM is a
palindrome.
7.
WAJP
for sorting a given list of names in ascending order.
8.
WAJP
to check the compatibility for multiplication, if compatible multiply two
matrices and find its transpose.
9.
WAJP
that illustrates how runtime polymorphism is achieved.
10. WAJP to create and
demonstrate packages.
11. WAJP, using StringTokenizer class, which reads a
line of integers and then displays each integer and the sum of all integers.
12. WAJP that reads on file
name from the user then displays information about whether the file exists,
whether the file is readable/writable, the type of file and the length of the
file in bytes and display the content of the using FileInputStream class.
13. WAJP that displays the
number of characters, lines and words in a text/text file.
14. Write an Applet that
displays the content of a file.
15. WAJP that works as a
simple calculator. Use a grid layout to arrange buttons for the digits and for
the + - x / % operations. Add a text field to display the result.
16. WAJP for handling mouse
events.
17. WAJP demonstrating the
life cycle of a thread.
18. WAJP that correctly implements
Producer-Consumer problem using the concept of Inter Thread Communication.
19. WAJP that lets users
create Pie charts. Design your own user interface (with Swings & AWT).
20. WAJP that allows user to
draw lines, rectangles and ovals.
21. WAJP that implements a
simple client/server application. The client sends data to a server. The server
receives the data, uses it to produce a result and then sends the result back
to the client. The client displays the result on the console. For ex: The data
sent from the client is the radius of a circle and the result produced by the
server is the area of the circle.
22. WAJP to generate a set
of random numbers between two numbers x1 and x2, and x1>0.
23. WAJP to create an
abstract class named Shape, that contains an empty method named
numberOfSides(). Provide three classes named Trapezoid, Triangle andHexagon,
such that each one of the classes contains only the method numberOfSides(),
that contains the number of sides in the given geometrical figure.
24. WAJP to implement a
Queue, using user defined Exception Handling (also make use of throw, throws).
25. WAJP that creates 3
threads by extending Thread class. First thread displays “Good Morning” every 1
sec, the second thread displays “Hello” every 2 seconds and the third displays
“Welcome” every 3 seconds. (Repeat the same by implementing Runnable)
26. Create an inheritance
hierarchy of Rodent, Mouse, Gerbil, Hamster etc. In the base class provide
methods that are common to all Rodents and override these in the derived
classes to perform different behaviors, depending on the specific type of
Rodent. Create an array of Rodent, fill it with different specific types of
Rodents and call your base class methods.
2010-11
JAWAHARLAL NEHRU
TECHNOLOGICAL UNIVERSITY KAKINADA
B.TECH. (COMPUTER
SCIENCE AND ENGINEERING)
II
Year B.Tech. – II Sem.
DATA
BASE MANAGEMENT SYSTEMS LAB
- Execute a single
line and group functions for a table.
- Execute DCL and TCL
Commands.
- Create and
manipulate various DB objects for a table.
- Create views,
partitions and locks for a particular DB.
- Write PL/SQL
procedure for an application using exception handling.
- Write PL/SQL
procedure for an application using cursors.
- Write a DBMS
program to prepare reports for an application using functions.
- Write a PL/SQL
block for transaction operations of a typical application using triggers.
- Write a PL/SQL
block for transaction operations of a typical application using package.
- Design and develop
an application using any front end and back end tool (make use of ER
diagram and DFD).
- Create table for
various relation
- Implement the query
in sql for a) insertion b) retrieval c) updation d) deletion
- Creating Views
- Writing Assertion
- Writing Triggers
- Implementing
operation on relation using PL/SQL
- Creating Forms
18. Generating Reports
Typical Applications – Banking,
Electricity Billing, Library Operation, Pay roll, Insurance, Inventory etc.