Handout (2019 – 20) - KHIT

73
Department of Computer Science and Engineering IV B.Tech - I Semester Handout (2019 20) Kallam Haranadhareddy Institute of Technology NH-5, Chowdavaram, Guntur-522 019 Approved by AICTE, New Delhi; Affiliated to JNTUK, Kakinada) Accredited by NBA & NAAC with AGrade & An ISO 9001:2015 Certified Institution

Transcript of Handout (2019 – 20) - KHIT

Department of

Computer Science and Engineering

IV B.Tech - I Semester

Handout (2019 – 20)

Kallam Haranadhareddy Institute of Technology NH-5, Chowdavaram, Guntur-522 019

Approved by AICTE, New Delhi; Affiliated to JNTUK, Kakinada) Accredited by NBA & NAAC with ‘A’ Grade & An ISO 9001:2015 Certified Institution

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 2

INDEX

S.No Description Page No.

1 College Vision & Mission 3

2 Department Vision & Mission 3

3 Program Educational Objectives (PEOs) 4

4 Graduate Attributes (GAs) 4

5 Program Outcomes (POs) 5

6 Program Specific Outcomes (PSOs) 5

7 JNTUK Academic Calendar 6

8 Department Academic Process Calendar 7

9 Course Structure 9

10 Evaluation Pattern 9

11 Quality of Internal Question Papers and Assignment

Questions 11

12 Timetable 13

13

Full Details of All Theory & Lab Courses as per Course

Structure

14 Theory: MC, H&B, STM, UML&DP

Labs: MAD, H&B, STM, UML&DP

14 Non-Programming Laboratory Courses Assessment

Guidelines 57

15 Programming Laboratory Courses Assessment

Guidelines 58

16 Laboratory Course Evaluation Rubrics 59

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 3

COLLEGE VISION & MISSION

Institute Vision:

To be a quality - oriented technical institution known for global academic

excellence and professional human values

Institute Mission:

To provide quality instruction with competent and knowledgeable faculty

and well - equipped laboratories to meet global standards

To achieve academic distinction through novel teaching and learning

practice

To encourage students by providing merit scholarships

To prepare the graduates to accomplish professional practice, employability,

entrepreneurial development and higher education

To inculcate self-discipline, accountability and values in the learners for

effective and informed citizenship

To focus on MoUs with premier institutes and renowned industries for

effective industry-institution interaction to become an R&D centre through

skill development , professional up-gradation and innovation

DEPARTMENT VISION & MISSION

CSE Vision:

To impart quality technical education to students in the field of computer

science and engineering to produce technically competent software and hardware

personnel with advanced skills, knowledge and behavior to meet the global

computational challenges.

CSE Mission:

Providing strong theoretical and practical knowledge to students.

Providing students with training on latest technologies to meet the industry

needs.

Developing ethical values in students to lead the life with good human

values.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 4

PROGRAM EDUCATIONAL OBJECTIVES (PEOs)

PEO1: Graduates shall effectively apply mathematics, science and

engineering methodologies for analysis, design and implementation of real

world problems.

PEO2: Graduates utilize breadth and depth of theoretical computer science

to adopt emerging technologies and tools for changing needs of industry or

for pursuing higher studies.

PEO3: Graduates shall continue to enhance technical skills through lifelong

learning, exhibit social and ethical responsibilities and effective

communication skills.

PEO4: Graduates shall be employed in software and hardware industries or

pursue higher studies or research or become entrepreneurs.

Graduate Attributes (GAs) prescribed by NBA:

i. Engineering Knowledge

ii. Problem Analysis

iii. Design & Development of Solutions

iv. Investigation of Complex Problem

v. Modern Tools Usage

vi. Engineer and Society

vii. Environment & Sustainability

viii. Ethics

ix. Individual & Team work

x. Communication

xi. Lifelong Learning

xii Project management & Finance

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 5

PROGRAM OUTCOMES (POs)

PO1: Graduates will be able to apply the principles of basic sciences, mathematics

and engineering fundamentals in finding solutions to complex problems.

PO2: Graduates will acquire critical thinking skills, problem solving abilities and

familiarity with the computational procedures essential to the field.

PO3: Graduates will be able to plan, analyze and design various types of systems

required for technical advancements and societal needs.

PO4: Graduates will be able to use research based knowledge to conduct

experiments and interpret experimental data.

PO5: Graduates gain hands on experience in using latest software and hardware

tools for obtaining solutions to engineering problems.

PO6: Graduates will be able to apply knowledge gained to tackle societal, health,

safety, legal and cultural issues.

PO7: Graduates will possess adequate knowledge required for sustainable

development keeping in view environmental effects and real life problems.

PO8: Graduates will have professional ethics and the culture of practicing the

established norms of engineering.

PO9: Graduates will acquire the capability of working productively as individuals,

as members or leaders in teams in any environment.

PO10: Graduates will be able to articulate their ideas clearly with excellent

communication skills and prepare technical reports.

PO11: Graduates will acquire knowledge required for project and finance

management.

PO12: Graduates will have ability to engage in lifelong learning to keep abreast of

ever changing technology.

PSO 1: To use mathematical methodologies to crack problem using suitable

mathematical analysis, data structure and suitable algorithm.

PSO 2: The ability to interpret the fundamental concepts and methodology of

computer systems. Students can understand the functionality of hardware and

software aspects of computer systems.

PSO 3: The ability to grasp the software development lifecycle and methodologies of

software systems. Possess competent skills and knowledge of software design

process. Familiarity and practical proficiency with a broad area of programming

concepts and provide new ideas and innovations towards research.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 6

JNTU Academic Calendar for B.Tech 2019-20 Batch

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 7

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING ACCREDITED BY NBA

ACADEMIC PROCESS CALENDAR 2019-2020

S. No. Academic Schedule B. Tech II , III & IV Years

1. Commencement of class work (Semester-1)

10-06-2019

2. Mid-1 Examinations 05-08-2019 to 10-08-2019

3. Mid-2 Examinations 07-10-2019 to 12-10-2019

4. End Examinations 21-10-2019 to 02-11-2019

5. Commencement of class work (Semester-2)

18-11-2019

6. Mid-1 Examinations 13-01-2020 to 23-01-2020

7. Mid-2 Examinations 23-03-2020 to 28-03-2020

8. End Examinations 06-04-2020 to 18-04-2020

S. No.

Department Events Tentative Month, Day

1. National Technical Symposium Sankalp-2019 (15th and 16th September)

2. Attendance Display 31st of every month

3. Industrial Training In Summer Vacation of 2020

4. Guest Lectures June,Sept&Dec-2019&Feb 2020

5. Counseling July,Sept&Dec-2019&March 2020

6. One Day Seminar on “Web Technologies” by Dr. D. Jagan Mohan Reddy, LBRCE, Vijayawada.

July 2019

7.

Two Day National Level Workshop on ”Analytics Using R” by Dr. M. Madhu Bala, Institute of Aeronautical Engineering, Hyderabad,.

August 2019

8. Sports Day August 2019

9 Students Feedback Every semester

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 8

CO-ORDINATOR HOD

10. Engineer’s Day 15thSeptember -2019

11. Parents Meet 5/10/19 & 4/3/20

12. ACM Distinguished Speaker Program (DSP) /ACM Eminent Speaker Program (ESP)

October 2019

13 KHIT CSE Student Chapter-Hackathon-2K19

November 2019

14. Faculty Development Program on “Artificial Intelligence Tools” in Association with APSSDC

November 2019

15. Industrial Visit December 1st & January1st week 2020

16. Alumni Meet Jan, 2nd week

17. Annual Day Feb 2020, 2nd week

18. NSS Activities

1. Percolation Pits Nov-2019

2. Tree Plantation Dec-2019

3. 5K/10Krun Jan-2020

4. Medical Camp Jan-2020

5. Blood Camp Feb-2020

19. ACM/CSI/ Activities

20.

1) Guest Lecture Feb-2020

2) ENVISAGE,

ACM Code of Hour

ACM ESP/ACM DSP

March-2020

21. College Magazine Nov-2020

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 9

B.TECH. COMPUTER SCIENCE AND ENGINEERING

IV Year I Semester

COURSE STRUCTURE

S.No Subject L T P C

1 Cryptography and Network security 4 - - 3

2 Software Architecture & Design Patterns 4 - - 3

3 Web Technology 4 - - 3

4 Managerial Economics and Financial Analysis

4 - - 3

5 Mobile Computing 4 - - 3

6 Software Project Management 4 - 3

7 Software Architecture & Design Patterns Lab

- - 3 2

8 Web Technology Lab - - 3 2

TOTAL CREDITS 22

EVALUATION PATTERN

Distribution and weight age of marks

(i). The performance of a student in each semester shall be evaluated subject -

wise with a maximum of 100 marks for theory subject and 75 marks for

practical subject. The project work shall be evaluated for 200 marks.

(ii). For theory subjects the distribution shall be 30 marks for Internal

Evaluation and 70 marks for the End -Examinations.

(iii). For theory subjects, during the semester there shall be 2 tests. The

weightage of Internal marks for 30 consists of Descriptive - 15,

Assignment – 05, Objective – 10 (Conducted at College level with 20

Multiple choice question with a weightage of 1/2 Mark each). The

objective examination is for 20 minutes duration. The subjective

examination is for 90 minutes duration conducted for 15 marks. Each

subjective type test question paper shall contain 3 questions and all

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 10

questions need to be answered. The Objective examination conducted for

10 marks and subjective examination conducted for 15 marks are to be

added to the assignment marks of 5 for finalizing internal marks for 30.

The best of two tests will be taken for internal marks. As the syllabus is

framed for 6 units, the 1st mid examination (both Objective and

Subjective) is conducted in 1-3 units and second test in 4-6 units of

each subject in a semester.

(iv). The end semester examination is conducted covering the topics

of all Units for 70 marks. Part - A contains a mandatory question

(Brainstorming / Thought provoking/ case study) for 22 marks. Part -

B has 6 questions (One from each Unit). The student has to answer 3

out of 6 questions in Part -B and carries a weightage of 16 marks each.

(v). For practical subjects there shall be continuous evaluation during the

semester for 25 internal marks and 50 end examination marks. The

Internal 25 marks shall be awarded as follows: day to day work - 10

marks, Record-5 marks and the remaining 10 marks to be awarded by

conducting an internal laboratory test. The end examination shall be

conducted by the teacher concerned and external examiner.

(vi). For the subject having design and estimation, the distribution

shall be 30 marks for internal evaluation (20 marks for day to day work

and 10 marks for internal test) and 70 marks for end examination.

There shall be two internal tests in a Semester and the better of the two

shall be considered for the award of marks for internal tests.

(vii). For the seminar, the student shall collect the information on a

specialized topic and prepare a technical report, showing his

understanding over the topic and submit to the department, which shall

be evaluated by the Departmental committee consisting of Head of the

department, seminar supervisor and a senior faculty member. The

seminar report shall be evaluated for 50 marks. There shall be no

external examination for seminar.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 11

(viii). Out of a total of 200 marks for the project work, 60 marks shall

be for Internal Evaluation and 140 marks for the End Semester

Examination.

The End Semester Examination (Viva-Voce) shall be conducted by the

committee. The committee consists of an external examiner, Head of

the Department and Supervisor of the Project. The evaluation of

project work shall be conducted at the end of the IV year. The Internal

Evaluation shall be on the basis of two seminars given by each student

on the topic of his project and evaluated by an internal committee.

(ix). Laboratory marks and the internal marks awarded by the College

are not final. The marks are subject to scrutiny and sealing by the

University whenever felt desirable. The internal and laboratory marks

awarded by the College will he referred to a Committee. The Committee

shall arrive at a scaling factor and the marks will be scaled as per the

scaling factor. The recommendations of the Committee are final and

binding. The laboratory records and internal test papers shall be

preserved in the respective departments as per the University norms

and shall be produced to the Committees of University as and when

they ask for.

Quality of Internal Question Papers and Assignment Questions

The quality of internal semester question papers and assignments are assessed

by the Module coordinators and classified as per level of difficulty into three

levels:

Level 1 – These are the questions that the students “must know” –These

questions constitute the fundamental concepts of a subject and it is

mandatory that every student knows these concepts. Further, these

questions are at the lower level of Blooms taxonomy like

Remembering and Understanding. Lack of these fundamental concepts

would mean that the student is not fit for passing this course.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 12

Level 2 – These are the questions that the students “Need to Know” – These

questions test the skill of the student at a higher level of Blooms Taxonomy

like Applying and Analyzing, the student should be able to apply the

fundamental knowledge gained in a course to analyze a typical problem and

arrive at conclusions.

Level 3 – these are the questions that have the status of “Good to know” – These questions test the highest skills levels of Blooms Taxonomy like

Evaluate and Create. A student would be considered to have achieved

proficiency in the subject if he/she is able to answer the questions in Level 3

and is able to apply the concepts for finding engineering solutions.

The module coordinators regularly analyze the assignment and internal

papers and classify them into the above three levels and ensure that a good

balance is maintained for all the three levels. A recommended distribution of

marks at the three levels is as follows - level 1 -60%, Level 2 -30%, Level 3 –

10%. Table 2.4 shows the distribution of assignment questions in various

levels and Table 2.5 shows the distribution of Internal Exam questions in

various levels for each module.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 13

TIME TABLE

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 1

Course Title: Cryptography and Network Security

Sub code : C401 Contact Hours per week : 6(L) Hours Course Coordinator : Mr. S. Krishna Reddy Course Advisor (if any) : Mr. S. Krishna Reddy Module Coordinator : Mr. B. Rama Krishna Course coordinator phone : +91 - 8008840475 Course coordinator e-mail : [email protected] Course coordinator location : Room No.: 2S-02 Course Coordinator availability : 08:10 AM – 3:30 PM Resource link : Pre-requisites Courses : Computer Networks Course Description:

The course covers theory and practice of computer security, focusing in particular on

the security aspects of the web and Internet. It surveys cryptographic tools used to

provide security, such as shared key encryption (DES, 3DES, RC-4/5/6, etc.); public

key encryption, key exchange, and digital signature (Diffie-Hellmann, RSA, DSS, etc.).

It then reviews how these tools are utilized in the internet protocols and applications

such as SSL/TLS, IPSEC, Kerberos, PGP, S/MIME, SET, and others (including

wireless). System security issues, such as viruses, intrusion, and firewalls, will also be

covered

Overview of learning activities:

1. Lecture and Class Discussions.

2. Assignment work.

3. Tutorial/Quiz sessions

4. Power Point Presentations Prescribed & Suggested Text Books

1. Cryptography and Network Security, Behrouz A Forouzan, DebdeepMukhopadhyay, (3e) Mc Graw Hill.

2. Cryptography and Network Security, William Stallings, (6e) Pearson.

3. Everyday Cryptography, Keith M.Martin, Oxford.

Reference Books

1. Network Security and Cryptography, Bernard Meneges, Cengage Learning..

Freely Accessible Internet Sites 1. https://nptel.ac.in/courses/106105162/ 2. https://nptel.ac.in/noc/individual_course.php?id=noc18-cs07

Overview of assessment:

Internal Test. Quiz Assignments. University Exams

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 2

SYLLABUS

UNIT- I: Basic Principles Security Goals, Cryptographic Attacks, Services and Mechanisms, Mathematics of Cryptography UNIT- II: Symmetric Encryption Mathematics of Symmetric Key Cryptography, Introduction to Modern Symmetric Key Ciphers, Data Encryption Standard, Advanced Encryption Standard. UNIT- III: Asymmetric Encryption Mathematics of Asymmetric Key Cryptography, Asymmetric Key Cryptography UNIT- IV: Data Integrity, Digital Signature Schemes & Key Management Message Integrity and Message Authentication, Cryptographic Hash Functions, Digital Signature, Key Management. UNIT -V: Network Security-I Security at application layer: PGP and S/MIME, Security at the Transport Layer: SSL and TLS UNIT -VI: Network Security-II Security at the Network Layer: IPSec, System Security TEXT BOOKS:

1. Cryptography and Network Security, Behrouz A Forouzan, Debdeep Mukhopadhyay,

(3e) Mc Graw Hill.

2. Cryptography and Network Security, William Stallings, (6e) Pearson.

3. Everyday Cryptography, Keith M.Martin, Oxford

REFERENCES:

1. Network Security and Cryptography, Bernard Meneges, Cengage Learning.

COURSE OBJECTIVES:

1. In this course the following principles and practice of cryptography and network

security are covered:

2. Classical systems, symmetric block ciphers (DES, AES, other contemporary

symmetric ciphers)

3. Public-key cryptography (RSA, discrete logarithms),

4. Algorithms for factoring and discrete logarithms, cryptographic protocols, hash

functions, authentication, key management, key exchange, signature schemes,

5. Email and web security, viruses, firewalls, digital right management, and other

topics

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 3

COURSE OUTCOMES:

CO 1. Familiarity with information security awareness and a clear understanding

of its importance.

CO 2. Explain master fundamentals of secret and public cryptography.

CO 3. Discuss about various Asymmetric Key Cryptography algorithms.

CO 4. Apply Cryptographic Hash Functions & and verify messages using well

known signature generation and verification algorithms.

CO 5. Explain about security at Application layer and at Transport layers

security.

CO 6. Describe IP Security & System Security.

Mapping CO’s with PO’s and PSO’s:

Course Outcomes

PO1

PO2

PO3

PO4

PO5

PO6

PO7

PO8

PO9

PO10

PO11

PO12

PSO1

PSO2

PSO3

CO1: Familiarity with information security awareness and a clear understanding of its importance

3 2 2

CO2: Explain master fundamentals of secret and public cryptography

3 2 3 2 2 2 2

CO3: Discuss about various Asymmetric Key Cryptography algorithms

3 2 1 2 2 2

CO4: Apply Cryptographic Hash Functions & and verify messages using well known signature generation and verification algorithms

3 2 1 2 2 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 4

LESSON PLAN

CO5: Explain about security at Application layer and at Transport layers security

2 3 2

CO6: Describe IP Security & System Security

2 2 2

AVG 2.67

2 2.5

1.83

2 2 2

S. No. Title No of

Classes Required

Total

I

Security Goals & Cryptographic Attacks 1

7

Services and Mechanisms 1

Mathematics of Cryptography: Integer Arithmetic 1

Modular Arithmetic 1

Matrices 1

Linear Congruence 1

II

Mathematics of Symmetric Key Cryptography: Algebraic Structures

1

12

GF(2n) Fields 2

Introduction to Modern Symmetric Key Ciphers: Modern Block Ciphers

3

Modern Stream Ciphers 2

Data Encryption Standard 2

Advanced Encryption Standard 2

III

Mathematics of Asymmetric Key Cryptography: Primes, Primality Testing

1

12

Factorization 1

Chinese Remainder Theorem ( CRT ) 2

Quadratic Congruence 1

Exponentiation & Logarithm 2

Asymmetric Key Cryptography: RSA Cryptosystem 2

Rabin Cryptosystem 1

ElGamal Cryptosystem 1

Elliptic Curve Cryptosystems 1

IV

Message Integrity 1

15

Message Authentication 1

Cryptographic Hash Functions: Introduction 1

Description of MD Hash Family 1

SHA - 512 1

Digital Signature: Process 1

Services & Attacks 1

Digital Signature Schemes: RSA Digital Signature Scheme 1

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 5

QUESTION BANK

Unit No.

Q. No

Questions

Blooms Taxonom

y Level

Course Outcom

e

I

1 Briefly explain the security services and mechanisms defined under X800 standard.

1

CO1

2 Explain the various active attacks? What security mechanisms are suggested to counter attack active attacks?

2

3 Define Cryptography and Discuss about different security goals

1

4 Briefly discuss about Modular Arithmetic. 2

5 Write a short note on Linear Congruence. 3

II

1 Explain Data Encryption standard (DES) in detail. 1

CO2

2 Give the structure of AES. Explain how Encryption/Decryption is done in AES

3

3 Define Feistel Cipher? Name the Ciphers that follow Feistel Structure

1

4 Distinguish between diffusion and confusion. 2

5 Differentiate Block Ciphers with Stream Ciphers. 1

EIGamal Digital Signature Scheme 1

Schnorr Digital Signature Scheme 1

Digital Signature Standard (DSS) 1

Key Management: Symmetric-Key Distribution 1

Kerberos 1

Symmetric Key Agreement & Public Key Distribution 1

Hijacking 1

V

Security at Application Layer: E-mail 1

7

PGP 1

S/MIME 1

Security at the Transport Layer: SSL Architecture 1

Four Protocols 1

SSL Message Formats 1

Transport Layer Security (TLS) 1

VI

Security at the Network Layer: IPSec – Two Modes & Two Security Protocols

1

11

Security Association & Security Policy 1

Internet Key Exchange(IKE) 1

ISAKMP 2

System Security: Description of the system & Users, Trust, Trusted Systems

1

Buffer Overflow & Malicious Software 1

Malicious Programs 1

Worms & Viruses 1

Intrusion Detection Systems(IDS) 1

Firewalls 1

Total 64

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 6

6 Discuss about GF(2n) Fields. 2

III

1 Illustrate ElGamal Encryption and decryption algorithm 1

CO3

2 Describe Chinese Remainder Theorem and explain its application

2

3 Given p=19, q=23, and e=3 Use RSA algorithm to find n, Ф(n) and d. 2

4 Explain Miller Rabins Primality Testing. Use the same to test the primality of 271, 341. Use base 2

1

5 Explain in detail about Elliptic Curve Cryptosystems. 2

6 Explain RSA Algorithm with an example. 1

IV

1 Write about Key Management & Distribution 2

CO4

2 Write short notes on Digital Signature Algorithm? 2

3 Describe the steps in finding the message digest using SHA-512 algorithm.

1

4 Distinguish between message integrity and message authentication.

1

5 Explain in detail about Kerberos 2

6 Define Hijacking. 1

7 Define the role of Key Distribution centre. 1

V

1 Explain Secure Socket Layer (SSL) in details? 2

CO5

2

Write about the following with respect to PGP: a. Cryptographic algorithms used by PGP b. Compression in PGP c. Steps involved in PGP message generation.

2

3 Discuss about S/MIME in detail. 1

4 Explain Transport Layer Security (TLS) in details? 1

5 Discuss about E-mail Security at Application layer. 1

VI

1 Write briefly about the signature based Intrusion Detection Systems.

2

CO6

2 Define Transport mode and Tunnel mode? Explain about the scope of AH and ESP in these modes?

1

3 Explain about Host based Intrusion Detection Systems in brief. 2

4 Describe the architecture of IPSec. 1

5 Define IP Spoofing 1

6 Write notes on ISAKMP. 3

7 Briefly explain Encapsulating IP Security Payload 2

8 Briefly explain AH. 2

E-learning materials

NPTEL 1. https://nptel.ac.in/courses/106105162/ 2. https://nptel.ac.in/noc/individual_course.php?id=noc18-cs07

Recommended books

1. Cryptography & Network Security: Principles and Practices, William Stallings, PEA, Sixth edition.

2. Introduction to Computer Networks & Cyber Security, Chwan Hwa Wu, J.David Irwin, CRC press

Prepared by S. Krishna Reddy, Asst. Prof., Dept. of CSE, KHIT

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 7

Course Title: SOFTWARE ARCHITECTURE AND DESIGN PATTERNS

Sub code : C402

Contact Hours per week : 6 (L) Hours

Course Coordinator : Mr.B.SRIKANTH

Course Advisor (if any) : Mr.B.SRIKANTH

Module Coordinator : Mr. Dr. B. Tarakeswara Rao

Course coordinator phone : 9963480304

Course coordinator e-mail : [email protected]

Course coordinator location : Room No.:

Course Coordinator availability : Mon – Sat (10:00AM – 5:00 PM)

(Except class works)

Pre-requisites Courses : Software Engineering

Course Description:

The architecture of a system describes its major components, their relationships

(structures), and how they interact with each other. Software architecture and

design includes several contributory factors such as Business strategy, quality

attributes, human dynamics, design, and IT environment. An architectural pattern is

a general, reusable solution to a commonly occurring problem in software

architecture within a given context. Architectural patterns are similar

to software design patterns but have a broader scope.

Overview of learning activities:

1. Lecture and Class Discussions.

2. Assignment work.

3. Tutorial/Quiz sessions

4. Power Point Presentations

Overview of learning resources:

Prescribed & Suggested Text Books

1. Software Architecture in Practice, second edition, Len Bass, Paul Clements &

Rick Kazman, Pearson Education, 2003.

2. Design Patterns, Erich Gamma, Pearson Education, 1995.

Reference Books

1. Beyond Software architecture, Luke Hohmann, Addison wesley, 2003.

2. Software architecture, David M. Dikel, David Kane and James R. Wilson,

Prentice Hall PTR, 2001

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 8

3. Software Design, David Budgen, second edition, Pearson education, 2003

4. Head First Design patterns, Eric Freeman & Elisabeth Freeman, O’REILLY,

2007.

5. Design Patterns in Java, Steven John Metsker & William C. Wake, Pearson

education, 2006

6. J2EE Patterns, Deepak Alur, John Crupi & Dan Malks, Pearson education,

2003.

7. Design Patterns in C#, Steven John metsker, Pearson education, 2004

8. Pattern Oriented Software Architecture, F.Buschmann & others, John Wiley &

Sons.

Overview of assessment:

Internal Test.

Quiz

Assignments.

University Exams.

SYLLABUS

UNIT-I:

Envisioning Architecture

The Architecture Business Cycle, What is Software Architecture, Architectural

patterns, reference models, reference architectures, architectural structures and

views.

Creating and Architecture

Quality Attributes, Achieving qualities, Architectural styles and patterns, designing the

Architecture, Documenting software architectures, Reconstructing Software

Architecture.

UNIT-II:

Analyzing Architectures

Architecture Evaluation, Architecture design decision making, ATAM, CBAM Moving

from One System to Many Software Product Lines, Building systems from off the shelf

components, Software architecture in future.

UNIT-III: Patterns

Pattern Description, Organizing catalogs, role in solving design problems, Selection

and usage. Creational Patterns Abstract factory, Builder, Factory method, Prototype,

Singleton

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 9

UNIT-IV: Structural Patterns

Adapter, Bridge, Composite, Decorator, Façade, Flyweight, PROXY.

UNIT-V: Behavioural Patterns

Chain of responsibility, command, Interpreter, iterator, mediator, memento, observer,

state, strategy, template method, visitor.

UNIT-VI: Case Studies

A-7E – A case study in utilizing architectural structures, The World Wide Web - a case

study in Interoperability, Air Traffic Control – a case study in designing for high

availability, Celsius Tech – a case study in product line development.

A Case Study (Designing a Document Editor): Design Problems, Document Structure,

Formatting, Embellishing the User Interface, Supporting Multiple Look-and-Feel

Standards, Supporting Multiple Window Systems, User Operations, Spelling Checking

and Hyphenation.

TEXT BOOKS:

1. Software Architecture in Practice, second edition, Len Bass, Paul Clements & Rick

Kazman, Pearson Education, 2003.

2. Design Patterns, Erich Gamma, Pearson Education, 1995.

REFERENCE BOOKS:

1. Beyond Software architecture, Luke Hohmann, Addison wesley, 2003.

2. Software architecture, David M. Dikel, David Kane and James R. Wilson, Prentice Hall

PTR, 2001

3. Software Design, David Budgen, second edition, Pearson education, 2003

4. Head First Design patterns, Eric Freeman & Elisabeth Freeman, O’REILLY, 2007.

5. Design Patterns in Java, Steven John Metsker & William C. Wake, Pearson education,

2006

6. J2EE Patterns, Deepak Alur, John Crupi & Dan Malks, Pearson education, 2003.

7. Design Patterns in C#, Steven John metsker, Pearson education, 2004

8. Pattern Oriented Software Architecture, F.Buschmann & others, John Wiley & Sons.

COURSE OBJECTIVES

The students will have a broad understanding of

To understand interrelationships, principles and guidelines governing

architecture and evolution over time.

To understand various architectural styles of software systems.

To understand design patterns and their underlying object oriented concepts.

To understand implementation of design patterns and providing solutions to

real world software design problems.

To understand patterns with each other and understanding the consequences

of combining patterns on the overall quality of a system.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 10

COURSE OUTCOMES (COs)

Upon Completion of the course, the students will be able to have

CO 1: Discuss about the fundamentals of Software Architecture

CO 2: Analyzing the architectures and the progress of software.

CO 3: Discuss about various patterns and Creational patterns.

CO 4: Explain about various structural patterns.

CO 5: Describe about various behavioral patterns.

CO 6: Discuss various case studies.

Mapping of COs with Pos

Course Outcomes

PO

1

PO

2

PO

3

PO

4

PO

5

PO

6

PO

7

PO

8

PO

9

PO

10

PO

11

PO

12

PSO

1

PSO

2

PSO

3

CO1: Discuss about the

fundamentals of Software

Architecture.

3 2 1 2

CO2: Analyzing the

architectures and the

progress of software.

2 3 2 2 1 2

CO3: Discuss about

various patterns and

Creational patterns.

2 2 3 1 2

CO4: Explain about

various structural

patterns.

2 2 3 1 2

CO5: Describe about various

behavioral patterns. 2 2 3 1 2

CO6: Discuss various case

studies. 2 2 3 1 3

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 11

LESSON PLAN

Unit/Topic No. Topic Name

No of Classes

Required

I

1.1 Envisioning Architecture The Architecture Business Cycle

1

1.2 What is Software Architecture, Architectural patterns

1

1.3 Reference models 2

1.4 Reference architectures 2

1.5 Architectural structures and views 2

1.6 Creating and Architecture Quality Attributes 1

1.7 Achieving qualities 1

1.8 Architectural styles and patterns 1

1.9 designing the Architecture 1

1.10 Documenting software architectures 1

1.11 Reconstructing Software Architecture 1

II

2.1 Analyzing Architectures Architecture Evaluation

1

2.2 Architecture design decision making 2

2.3 ATAM 2

2.4 CBAM 2

2.5 Moving from One System to Many Software Product Lines

1

2.6 Building systems from off the shelf components

1

2.7 Software architecture in future

1

III

3.1 Patterns: Pattern Description 1

3.2 Organizing catalogs 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 12

3.3 role in solving design problems 1

3.4 Selection and usage 1

3.5 Creational Patterns: Abstract factory 1

3.6 Builder 1

3.8 Factory method 1

3.9 Prototype 1

3.10 Singleton 1

IV

4.1 Structural Patterns: Adapter 1

4.2 Bridge 2

4.3 Composite 1

4.4 Decorator 2

4.5 Façade 1

4.6 Flyweight 1

4.7 PROXY 1

V

5.1 Behavioral Patterns: Chain of responsibility 1

5.2 Command 1

5.3 Interpreter 1

5.4 Iterator 1

5.5 Mediator 1

5.6 Memento 1

5.7 Observer 1

5.8 State 1

5.9 Strategy 1

5.10 Template method 1

5.11 Visitor 1

VI

6.1 Case Studies 1

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 13

A-7E – A case study in utilizing architectural structures

6.3 The World Wide Web - a case study in Interoperability

1

6.4 Air Traffic Control – a case study in designing for high availability

1

6.5 Celsius Tech – a case study in product line development

1

6.6 A Case Study (Designing a Document Editor): Design Problems

1

6.7 Document Structure 1

6.8 Formatting, Embellishing the User Interface 1

6.9 Supporting Multiple Look-and-Feel Standards

1

7.0 Supporting Multiple Window Systems 1

7.1 User Operations 1

7.2 Spelling Checking and Hyphenation 1

Total No. of classes 65

QUESTION BANK

Unit No.

Sl.No. Questions

Bloom’s Taxonomy

level

Mapped with CO

I

1. Define Software Architecture. Discuss about Architecture Business Cycle

2

CO1

2. Discuss about Architectural patterns and reference models

4

3. Explain about reference architectures 2

4. Discuss about architectural structures and views

4

5. Explain Quality Attributes and Achieving qualities

2

6. Explain about Architectural styles and patterns

2

II

1. Explain about Architecture Evaluation 2

CO2 2.

Discuss the concept of Architecture design decision making

4

3. Explain ATAM Concept 2

4. Write short notes on CBAM 8

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 14

5. Write short notes on Software Product Lines

8

6. Write short notes on Building systems from off the shelf components

8

III

1 What is Pattern Description? Explain about Organizing catalogs

2

CO3

2 Explain about role in solving design problems

2

3 Discuss about Selection and usage 4

4. Distinguish Abstract factory and Factory method

6

5. Write short notes on Builder and Factory method

8

6. Write short notes on Prototype, Singleton

8

IV

1. Explain the concept of Adapter and Bridge in Structural Patterns

2

CO4

2. Discuss about Composite in Structural Patterns

4

3. Write the concept of Decorator in Structural Patterns

8

4. Write about Façade in Structural Patterns

8

5 Explain about Flyweight Structural Patterns

2

6 Discuss about PROXY in Structural Patterns

4

V

1. Discuss about the concept of Chain of responsibility

4

CO5

2. Explain the the following concepts i)iterator, ii) mediator, iii)memento

2

3. Discuss about command, Interpreter in Behavioral Patterns

2

4. Explain the concepts observer, state in Behavioral Patterns

2

5. Explain the concept strategy, visitor in Behavioral Patterns

2

6. Write about template method in Behavioral Patterns

8

VI

1. Write Case Study on A case study in utilizing architectural structures

8

CO6

2. Write Case Study on The World Wide Web - a case study in Interoperability

8

3. Write Case Study on Air Traffic Control – a case study in designing for high availability

8

4. Write Case Study on Celsius Tech – a case study in product line development

8

5. Write Case Study on A Case Study (Designing a Document Editor): Design Problems

8

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 15

6. Write about Document Structure, Formatting

8

E-learning materials NPTEL: https://nptel.ac.in/syllabus/106104027/

Prepared By

Mr. B.Srikanth

Dept. of Computer Science and Engineering

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 16

Course Title: Web Technologies

Sub code: C403

Contact Hours per week: 6 (L) Hours

Course Coordinator: Mr. P.Lakshmikanth

Course Advisor (if any): Mr. S. Krishna Reddy

Module Coordinator: Dr. Md. Umar Khan

Course coordinator phone: +91-9885022246

Course coordinator e-mail: [email protected]

Course coordinator location: Room No.:2S01

Course Coordinator availability: Mon – Sat (10:00AM – 5:00 PM)

(Except class works)

Pre-requisites Courses: C and Java Programming

Course Description:

This course focuses on the phenomenon known as the World Wide Web (WWW or

Web). Its focus is to present many of the core technologies that the Web is based upon.

These core technologies include:

HTML (Hypertext Markup Language ) and CSS (Cascading Style Sheets)

XML and XML Schemas

Client-side Scripting Using JavaScript

Ajax (Asynchronous JavaScript and XML)

Server-side Programming Using PHP, Perl and Ruby.

Overview of learning activities:

1. Lecture and Class Discussions.

2. Assignment work.

3. Tutorial/Quiz sessions

4. Power Point Presentations

Overview of learning resources:

Prescribed & Suggested Text Books

1. Programming the World Wide Web, Robet W Sebesta, 7ed, Pearson.

2. Web Technologies, Uttam K Roy, Oxford

3. The Web Warrior Guide to Web Programming, Bai, Ekedahl, Farrelll, Gosselin,

Zak, Karparhi, Maclntyre, Morrissey, Cengage

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 17

Reference Books

1. Ruby on Rails Up and Running, Lightning fast Web development, Bruce

Tate, Curt Hibbs, Oreilly ( 2006).

2. Programming Perl, 4ed, Tom Christiansen, Jonathan Orwant, Oreilly

(2012).

3. Web Technologies, HTML< JavaScript, PHP, Java, JSP, XML and AJAX,

Black book, Dream Tech.

4. An Introduction to Web Design, Programming, Paul S Wang, Sanda S

Katila, Cengage Learning.

5. http://www.upriss.org.uk/perl/PerlCourse.html Freely Accessible Internet Sites

https://www.w3schools.com/html/html_intro.asp

https://www.w3schools.com/css/css_intro.asp

https://www.w3schools.com/js/js_intro.asp

https://www.w3schools.com/php/php_intro.asp

https://www.tutorialspoint.com//html/index.htm

https://www.tutorialspoint.com//css/index.htm

https://www.tutorialspoint.com//javascript/index.htm

https://www.tutorialspoint.com//dom/index.htm

https://www.tutorialspoint.com//java_xml/java_dom_parse_document.htm

https://www.tutorialspoint.com/php/php_introduction.htm

https://www.tutorialspoint.com/perl/perl_introduction.htm

https://www.tutorialspoint.com/ruby/ruby_overview.htm

Overview of assessment:

Internal Test. Quiz

Assignments. University Exams.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 18

SYLLABUS

UNIT-I: HTML, CSS Basic Syntax, Standard HTML Document Structure, Basic Text Markup, Images,

Hypertext Links, Lists, Tables, Forms, HTML5.

CSS: Levels of Style Sheets, Style Specification Formats, Selector Forms, The Box

Model, Conflict Resolution

UNIT-II: Java script The Basic of Java script: Objects, Primitives Operations and Expressions, Screen

Output and Keyboard Input, Control Statements, Object Creation and Modification,

Arrays, Functions, Constructors, Pattern Matching using Regular Expressions

DHTML: Positioning Moving and Changing Elements

UNIT-III: XML: Document type Definition, XML schemas, Document object model, XSLT, DOM

and SAX Approaches,

AJAX A New Approach: Introduction to AJAX, Integrating PHP and AJAX.

UNIT-IV: PHP Programming: Introducing PHP: Creating PHP script, Running PHP script.

Working with variables and constants: Using variables, Using constants, Data types,

Operators. Controlling program flow: Conditional statements, Control statements,

Arrays, functions. Working with forms and Databases such as MySQL.

UNIT-V: Introduction to PERL, Operators and if statements, Program design and control structures, Arrays, Hashs and File handling, Regular expressions, Subroutines, Retrieving documents from the web with Perl. UNIT-VI: Introduction to Ruby, Variables, types, simple I/O, Control, Arrays, Hashes, Methods, Classes, Iterators, Pattern Matching. Overview of Rails. TEXT BOOKS:

1. Programming the World Wide Web, Robet W Sebesta, 7ed, Pearson. 2. Web Technologies, Uttam K Roy, Oxford 3. The Web Warrior Guide to Web Programming, Bai, Ekedahl, Farrelll, Gosselin, Zak, Karparhi, Maclntyre, Morrissey, Cengage

REFERENCE BOOKS:

1. Ruby on Rails Up and Running, Lightning fast Web development, Bruce Tate, Curt Hibbs, Oreilly ( 2006)

2. Programming Perl, 4ed, Tom Christiansen, Jonathan Orwant, Oreilly (2012) 3. Web Technologies, HTML< JavaScript, PHP, Java, JSP, XML and AJAX, Black book,

Dream Tech. 4. An Introduction to Web Design, Programming, Paul S Wang, Sanda S Katila, Cengage

Learning 5. http://www.upriss.org.uk/perl/PerlCourse.html

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 19

COURSE OBJECTIVES

1. To understand the basics of Web Designing using HTML, CSS.

2. To understand the basics of Web Designing using Java Script

3. To understand how to recognize and correct validity errors in XML documents

and processing of XML data with JAVA and to understand the fundamentals of

AJAX, Web architecture and web services.

4. To introduce PHP language for server side scripting.

5. To introduce Programming through PERL.

6. To introduce Programming through Ruby.

COURSE OUTCOMES (COs)

Upon Completion of the course, the students will be able to

CO1:Build web pages using HTML, CSS.

CO2:Develop dynamic web pages using JavaScript (client side programming)

CO3:Explore the concepts behind XML and process an XML document using JAVA

and also able to write simple client-side scripts using AJAX and know about

how to build and consume web services.

CO4:Build interactive web applications using PHP.

CO5:Write, compile, and run Perl programs, analyze the effects of using Perl

structures.

CO6:Understanding the basics of Ruby and employ control structures, methods,

process, arrays and hashes to create Ruby programs.

Mapping of COs with POs

Course Outcomes

PO

1

PO

2

PO

3

PO

4

PO

5

PO

6

PO

7

PO

8

PO

9

PO

1

0

PO

1

1

PO

1

2

PS

O

1

PS

O

2

CO1: Build web pages using HTML, CSS.

1 3 1 1 3 2 1

CO2: Develop dynamic web pages using JavaScript (client side programming).

1 3 1 1 3 2 1

CO3: Explore the concepts behind XML and process an XML document using JAVA and also able to write simple client-side scripts using AJAX and know about how to build and consume web services.

1 1 3 2 1 2 2 1

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 20

LESSON PLAN

Prerequisite: Computer Programming in C and Java Programming

Unit/Topic No. Topic Name

No of Classes

Required

I HTML, CSS

1.1 Basic Syntax 1

1.2 Standard HTML Document Structure 1

1.3 Basic Text Markup 1

1.4 Images, Hypertext Links 1

1.5 Lists 1

1.6 Tables 1

1.7 Forms 1

1.8 HTML5 1

1.9 CSS: Levels of Style Sheets 1

1.10 Style Specification Formats 1

1.11 Selector Forms 1

1.12 The Box Model 1

1.13 Conflict Resolution 1

II Java script

2.1 The Basic of Java script 1

2.2 Objects 1

2.3 Primitives Operations and Expressions 1

2.4 Screen Output and Keyboard Input 1

2.5 Control Statements 1

2.6 Object Creation and Modification 1

2.7 Arrays 1

2.8 Functions 1

2.9 Constructors 1

2.10 Pattern Matching using Regular Expressions 1

2.11 DHTML: Positioning Moving and Changing Elements 1

CO4: Build interactive web applications using PHP

1 1 2 1 1 2 2

CO5: Write, compile, and run Perl programs, analyze the effects of using Perl structures

1 2 2 2 1 2 2

CO6: Understanding the basics of Ruby and employ control structures, methods, process, arrays and hashes to create Ruby programs

1 2 2 2 1 2 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 21

III XML

3.1 Documents Type Definition (DTD) with examples 2

3.2 XML Schema and its examples 1

3.3 Document object model (DOM) 1

3.4 XSLT 1

3.5 DOM and SAX Approaches 2

AJAX A New Approach

3.6 Introduction to AJAX 1

3.7 Integrating PHP and AJAX 2

IV PHP Programming:

4.1 Introducing PHP: 1

4.2 Creating PHP script, Running PHP script 1

Working with variables and constants:

4.3 Using variables, constants 1

4.4 Data types 1

4.5 Operators 1

Controlling program flow:

4.6 Conditional statements 1

4.7 Control statements 1

4.9 Arrays 1

4.10 functions 1

4.11 Working with forms and Databases such as MySQL 1

V Introduction to PERL

5.1 Operators 1

5.2 if statements 1

5.3 Program design and control structures 1

5.4 Arrays 1

5.5 Hashs 1

5.6 File handling 2

5.7 Regular expressions 1

5.8 Subroutines 1

5.9 Retrieving documents from the web with Perl 1

VI Ruby Programming

6.1 Introduction to Ruby 1

6.2 Variables, types 1

6.3 Simple I/O, Control Structures 1

6.4 Arrays 1

6.5 Hashes 1

6.6 Methods 1

6.7 Classes and iterators 1

6.8 Pattern matching concepts 2

6.9 Overview of Rails. 1

Total No. of hours: 64

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 22

QUESTION BANK

Unit

No.

Sl.

No. Questions

Bloom’s

Taxonomy

level

Mapped

with CO

I

1. Explain how basic and nested tables are created using HTML

9

CO1

2. Write the characteristics of DHTML 2

3. Describe the different types of lists in HTML?

4

4. Explain the classification of HTML tags with examples

4

5. Create a HTML form with five basic features.

5

6. Define frame. Create a HTML page that displays multiple frames in a window

2

7. Write about cascading style sheet? Explain with illustration.

9

II

1. Describe the primitive data types that Java script uses.

3

CO2

2. Write a java script that reads an integer and determines whether it is PRIME Number or Not.

3

3. Explain Document object model? Discuss the various DOM methods used with java script

4

4. Write about the various Objects used in

Java script. 8

5. Write any three primitive data types in

Java script 4

6.

Explain Document object model (DOM)

and Discuss the various DOM methods

used with java script.

6

7. List some advantages of Java Script 2

III

1. Create a DTD to display daily schedule of

user 9

CO3

2. Write XML Schema for library

information system 9

3. Write about SAX Parser 5

4. Explain how XML is useful in defining

data for web applications 3

5. Write the advantages of XML schemas

over DTDs. 1

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 23

6. Write the applications of XML. 1

7. Write about DOM Parser 6

8. Write about XSLT? 7

9. Difference between SAX and DOM

parsers 3

10. Discuss the protocols used by AJAX 4

11. Explain the SOAP web service in AJAX 4

12. Describe the Integration of PHP and

AJAX with an example 7

13. Explain is Ajax said to be a technology

platform or is it an architectural style. 2

IV

1. Differentiate between for and foreach

statements in PHP 5

CO4

2. Explain the user defined functions in

PHP with an example 3

3. Write a PHP script to retrieve the data

from oracle database 7

4. Explain syntax of Arrays in PHP with

example 3

5. Explain Get and Post methods in PHP. 2

6. Define PHP. Briefly explain the Creation

and Running procedure of PHP script 1

7. Explain in detail Associate Arrays in PHP 4

8. Explain the steps to connect the

database from PHP script 5

9. Explain Operators in PHP 3

10. Write about PHP Control Statements

with syntax 2

11. Write and Explain a PHP program to store registration form data in a database table.

10

12. Discuss how Variables & Constants are

used in PHP with an example. 6

13.

Explain with a sample PHP script how the variables, constants, data types and operators can be defined and used in PHP

programming

4

V

1. Write a short note on Perl language

elements. 2

CO5

2. How to call and identify a subroutine in

Perl? Explain with examples 4

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 24

3.

List out the categories of Perl functions.

Explain any two functions for each

category.

3

4.

List out the requirements for CGI

process? Illustrate the CGI working with

a sample script.

3

5. List the rules of regular expression

matching of Perl 8

6. Write and explain primary data

structures in Perl? Discuss. 10

7. Discuss the features of Perl

programming 3

8. Write the features of CGI 2

9. List and explain the operators used in

Perl 4

10.

Differentiate between Grooving &

Shortening of arrays and Splicing of

arrays

10

VI

1. Explain the looping structures available

in Ruby 3

CO6

2. List the data types supported in Ruby

language 2

3. Explain Hashes and Methods in Ruby

with examples 5

4. Discuss about simple I/O statements in

Ruby 4

5. Define class. Explain how to create a

class and its objects in Ruby 2

6. Explain the creation of iterators in Ruby

with examples 7

7. Discuss the multi-dimensional arrays in

Ruby programming 6

8. Explain pattern matching in Ruby with

an example. 9

9. Discuss the associative arrays in Ruby

programming 4

E-learning materials

NPTEL

1. http://nptel.ac.in/courses/106105084/ 2. https://youtu.be/mhP0oYrUkJg?list=PLd3UqWTnYXOl89R8vSU8_EV-

MyHZPdeip 3. https://www.youtube.com/watch?v=68NuOrSerT8&list=PLd3UqWTnYXOkofdm

EC1VB42cX8ZUwNEB7

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 25

Question-Papers html:

1. https://www.jntufastupdates.com/jntuk-b-tech-3-2-regular-supply-exams-question-papers-collection/

2. http://khitguntur.ac.in/cse.php#cseqp.php

Recommended books

1. Web Technologies: HTML, JAVASCRIPT, PHP, JAVA, JSP, ASP.NET, XML and

Ajax, Black Book by Kogent Learning Solutions Inc.

2. HTML & CSS: The Complete Reference, Fifth Edition by Thomas Powell

3. PHP: The Complete Reference by Steven Holzner

4. XML: The Complete Reference by Heather Williamson.

5. Perl: The Complete Reference by Martin Brown

Prepared By

P. Lakshmikanth, Assoc. Prof.

Dept. of Computer Science and Engineering

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 26

Course Title: MANAGERIAL ECONOMICS AND FINANCIAL ANALYSIS Sub code : C404 Contact Hours per week : 6(L) Hours Course Coordinator : Mr. I.Vijay Kumar Course Advisor (if any) : Mr. I.Vijay Kumar Module Coordinator : Mr. I.Vijay Kumar Course coordinator phone : 9440613969 Course coordinator e-mail : [email protected] Course coordinator location : Room No.: 3S 06 Course Coordinator availability : Monday to Saturday 10:00am-

5.15pm Resource link : Pre-requisites Courses : Course Description: In this course students will learn about the fundamentals of Managerial Economics, concepts of Demand, Production function, etc., This course explains the nature of markets, methods of pricing and different forms of Business organizations. It also makes the individual to understand concepts of Accounting systems, Capital Budgeting and its techniques for evaluating the proposals. Overview of learning activities:

1. Lecture and Class Discussions. 2. Assignment work. 3. Tutorial/Quiz sessions 4. Power Point Presentations

Overview of learning resources:

Prescribed & Suggested Text Books

1. Dr. N. AppaRao, Dr. P. Vijay Kumar: ‘Managerial Economics and Financial Analysis’, Cengage Publications, New Delhi – 2011

2. Dr. A. R. Aryasri – Managerial Economics and Financial Analysis, TMH 2011

3. Prof. J.V.Prabhakararao, Prof. P. Venkatarao. ‘Managerial Economics and Financial

Analysis’, Ravindra Publication.

References:

1. Dr. B. Kuberudu and Dr. T. V. Ramana: Managerial Economics & Financial Analysis

Himalaya Publishing House, 2014.

2. V. Maheswari: Managerial Economics, Sultan Chand.2014

3. Suma Damodaran: Managerial Economics, Oxford 2011.

4. VanithaAgarwal: Managerial Economics, Pearson Publications 2011.

5. Sanjay Dhameja: Financial Accounting for Managers, Pearson.

6. Maheswari: Financial Accounting, Vikas Publications.

7. S. A. Siddiqui& A. S. Siddiqui: Managerial Economics and Financial Analysis, New

Age International Publishers, 2012

8. Ramesh Singh, Indian Economy, 7th Edn., TMH2015

9. Pankaj Tandon A Text Book of Microeconomic Theory, Sage Publishers, 2015

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 27

10. Shailaja Gajjala and Usha Munipalle, Univerties press, 2015

Freely Accessible Internet Sites

1. https://en.wikipedia.org/wiki/Managerial_economics 2. https://en.wikipedia.org/wiki/Capital_budgeting

Overview of assessment:

Internal Test. Quiz

Assignments. University Exams.

SYLLABUS

UNIT-I

Introduction to Managerial Economics and demand Analysis:

Definition of Managerial Economics –Scope of Managerial Economics and its

relationship with other subjects –Concept of Demand, Types of Demand, Determinants

of Demand- Demand schedule, Demand curve, Law of Demand and its limitations-

Elasticity of Demand, Types of Elasticity of Demand and Measurement- Demand

forecasting and Methods of forecasting, Concept of Supply and Law of Supply.

UNIT – II: Production and Cost Analyses:

Concept of Production function- Cobb-Douglas Production function- Leontief

production function - Law of Variable proportions-Isoquants and Isocosts and choice

of least cost factor combination-Concepts of Returns to scale and Economies of scale-

Different cost concepts: opportunity costs, explicit and implicit costs- Fixed costs,

Variable Costs and Total costs –Cost – Volume-Profit analysis-Determination of

Breakeven point(simple problems)-Managerial significance and limitations of

Breakeven point.

UNIT – III: Introduction to Markets, Theories of the Firm & Pricing Policies:

Market Structures: Perfect Competition, Monopoly, Monopolistic competition and

Oligopoly –Features – Price and Output Determination – Managerial Theories of firm:

Marris and Williamson’s models – other Methods of Pricing: Average cost pricing, Limit

Pricing, Market Skimming Pricing, Internet Pricing: (Flat Rate Pricing, Usage sensitive

pricing) and Priority Pricing.

UNIT – IV:

Types of Business Organization and Business Cycles: Features and Evaluation of Sole

Trader, Partnership, Joint Stock Company – State/Public Enterprises and their forms

– Business Cycles : Meaning and Features – Phases of a Business Cycle.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 28

Unit – V:

Introduction to Accounting & Financing Analysis:

Introduction to Double Entry Systems – Preparation of Financial Statements-Analysis

and Interpretation of Financial Statements-Ratio Analysis – Preparation of Funds flow

and cash flow statements (Simple Problems)

UNIT – VI:

Capital and Capital Budgeting: Capital Budgeting: Meaning of Capital-Capitalization-

Meaning of Capital Budgeting-Time value of money- Methods of appraising Project

profitability: Traditional Methods(pay back period, accounting rate of return) and

modern methods(Discounted cash flow method, Net Present Value method, Internal

Rate of Return Method and Profitability Index)

REFERENCE BOOKS:

1. Dr. B. Kuberudu and Dr. T. V. Ramana: Managerial Economics & Financial Analysis

Himalaya Publishing House, 2014.

2. V. Maheswari: Managerial Economics, Sultan Chand.2014

3. Suma Damodaran: Managerial Economics, Oxford 2011.

4. VanithaAgarwal: Managerial Economics, Pearson Publications 2011.

5. Sanjay Dhameja: Financial Accounting for Managers, Pearson.

6. Maheswari: Financial Accounting, Vikas Publications.

7. S. A. Siddiqui& A. S. Siddiqui: Managerial Economics and Financial Analysis, New Age

International Publishers, 2012

8. Ramesh Singh, Indian Economy, 7th Edn., TMH2015

9. Pankaj Tandon A Text Book of Microeconomic Theory, Sage Publishers, 2015

10. Shailaja Gajjala and Usha Munipalle, Univerties press, 2015

COURSE OBJECTIVES

1. The Learning objectives of this paper is to understand the concept and nature

of Managerial Economics and its relationship with other disciplines and also to

understand the Concept of Demand and Demand forecasting, Production

function, Input Output relationship, CostOutput relationship and Cost-Volume-

Profit Analysis.

2. To understand the nature of markets, Methods of Pricing in the different

market structures and to know the different forms of Business organization and

the concept of Business Cycles.

3. To learn different Accounting Systems, preparation of Financial Statement and

uses of different tools for performance evaluation. Finally, it is also to

understand the concept of Capital, Capital Budgeting and the techniques used

to evaluate Capital Budgeting proposals.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 29

COURSE OUTCOMES (COs)

Unit – 1: Describe optimum utilization of available resources in the business concern

Unit – 2: Explain the production function techniques and Cost Concepts for decision

making

Unit -3: Distinguish different markets for price and output determination

Unit -4: Distinguish the knowledge of different forms of Business organisations

Unit -5: Prepare Financial Statements and the usage of various accounting tools for

Analysis

Unit – 6: Prepare Financial Statements and the usage of various accounting tools for

Analysis

Mapping of COs with POs

Course Outcomes

PO

1

PO

2

PO

3

PO

4

PO

5

PO

6

PO

7

PO

8

PO

9

PO

10

PO

11

PO

12

PSO

1

PSO

2

PSO

3

CO1: Describe optimum utilization of available resources in the business concern

2

2 2 3

CO2: Explain the

production function

techniques and Cost

Concepts for decision

making 1 2 2 3

CO3: Distinguish different

markets for price and

output determination 1

2 2 3

CO4 : Distinguish the knowledge of different forms of Business organisations

2 2 3

CO5: Prepare Financial

Statements and the usage

of various accounting tools

for Analysis 2

2 2 2 3

CO6: Appraise various

investment project

proposals with the help of

capital budgeting

techniques for decision

making 2

2 2 2 3

AVG 1.

6 2 2 2 3

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 30

LESSON PLAN

Sub: Managerial Economics and Financial Analysis

S. No

Topic Name

No. of Periods/Hours required

UNIT-1:

1 Introduction to Managerial Economics, Micro and Macro Economics

2

Total No .of Hours required:1

1

2 Nature and scope of Managerial Economics 1

3 Tools in Managerial Economics 1

4 Subjects with OR, OB, Accounts, Statistics 1

5 Demand Types, Law of Demand, Demand Exceptions 1

6 Assumptions of Law of Demand 1

7 Operation of Law of Demand, Elasticity 1

8 Elasticity of demand 1

9 Demand Forecasting 1

10 Demand Forecasting Methods 1

UNIT-2:

11 Production, Factors determining production function 1

Total No. of Hours

required:8

12 Production function with one variable 1

13 Production function with two variables 1

14 Isocosts, Isoqants 1

15 MRTS, economies of scale 1

16 Break-even point, Chart method 2

17 Algebric Formula Method, Significance and Limitations 1

UNIT-3:

18 Market Structure, Perfect completion, Price and Output Determination

1

Total No. of Hours required:

12

19 Monopoly, Price and Output Determination 1

20 Monopolistic, Managerial theories of firm 2

21 Maries model 1

22 Williams Model and Baumols model 1

23 Pricing Concept, Introduction 2

24 Methods of pricing, Limit pricing 1

25 Market skimming pricing, flat rate pricing 2

26 Usage sensitive, Transaction based pricing 1

UNIT-4:

27 Feature, Evolution of Sole Trader 1 Total No. of Hours

required:11

28 Merits, features, demerits of Partnership 1

29 Features, merits, demerits of Joint stock 1

30 Concept of Joint stock 2

31 Phases of Business Cycle 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 31

32 Public companies, government companies 2

33 Departmental, cooperative etc 2

UNIT-5:

34 Double Entry System, Journal Preparation 2

Total No. of Hours required:

12

35 Ledger Preparation, Trail Balance, Trading, Profit and loss a/c

2

36 Concepts and conventions, 2

37 Changes in working capital(FF statement) 2

38 Operation of funds(FF statement), Profitability ratio, activity ratio(Ratio Analysis)

2

39 Turnover ratio, Liquidity ratio(Ratio Analysis) 2

UNIT-6:

40 Introduction to Capital and Meaning 2

Total No .of Hours required:1

0

41 Capital, Capitalization, Traditional Methods 2

42 Accounting rate of return, Net Present value 1

43 Modern Methods- Internal rate 2

44 Importance, Limitation of Capital Budgeting 1

45 Advantages and practical application 2

Total Number of Hours is required 64 hours

QUESTION BANK

Short answer questions:

S.NO

QUESTION

BLOOMS TAXONO

MY LEVEL

Mapped with CO

UNIT – I

1 Define Managerial Economics 1

2 Explain the types of demand.

2

3 Mention the Concept of Demand (4M)

2

4 Distinguish Price Elasticity to that of Income Elasticity of Demand

2

5 Explain the demand factors. (4M)

2

6 Differentiate Income Elasticity & Promotional elasticity 2

7 Define the law of demand. What are its exceptions? Explain 1

8

Explain different methods of demand forecasting 2

9 What do you understand by elasticity of demand? Explain the factors governing it

2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 32

10 Explain Demand forecasting in case of new products 2 CO 1

11 Define Managerial Economics and explain its scope.. 1

12 What is Elasticity of demand? And explain its types and measurement of Price elasticity of demand

3

13 Discuss the scope of Managerial Economics in business decision making (8M)

2

14 Explain the demand forecasting technique in modern organization.

2

15 List out various scope areas of managerial economics & its relevance to Civil Engineering Discipline.

3

16 Draw Demand Graph and enlist various assumptions, properties and limitations to law of demand

3

UNIT – II

1 Define Isoquants. 1

CO2

2 Write a note on Law of increasing returns 3

3 Explain Explicit Costs Vs. Implicit Costs 2

4 Write a note on Cobb-Douglas Production 3

5 b) Draw Iso-Quant Graph and list out characteristics of Iso-quants

3

6 b) Differentiate internal and external economies of scale of production

2

7 Differentiate Average Cost and Marginal Cost 2

8 Explain the laws of returns with appropriate examples 2

9 Discuss the different cost concepts used in the process of cost analysis

2

10 Discuss the economies of scale that accrue to a firm 2

11 Kamal enterprises deals in the supply of hardware parts of computer. The following cost data is available for two successive periods: Year I (Rs.) Year II (Rs.) Sales 50,000 1,20,000 Fixed costs 10,000 20,000 Variable cost 30,000 60,000 Determine a) Break-even point b) Margin of safety

4

12 What is Production function? Explain the Cobb-Douglas Production function.

1

13 Explain the salient features of Break-even analysis 2

14 Define Production function. What is its importance? 1

15 Break-even analysis is highly important in out-put decision making. Do you agree? Discuss

5

16 Draw graph for law of variable proportions and describe the behavior of average, marginal and total production curves behavior in different phases.

3

17 Explain the Break Even Analysis role in developing organization

2

UNIT – III

1 What are the Pricing Objectives? 1 2 Define Monopoly 1

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 33

3 Explain the salient features of oligopoly 2

CO 3

4 Define Market Skimming (3M) 1

5 Explain the managerial theories of firm 2

6 Features of perfect competition (3M) 2

7 Explain Methods of pricing 2

8 Differentiate between perfect and imperfect markets 2

9 Explain the Marris Managerial theory of Firm Growth Maximization Model

2

10 Illustrate the price determination in case of monopoly 3

11 b) Discuss the factors those influence price decisions 2

12 Explain different market structures and salient features of perfect completion.

2

13 Describe the limit pricing and market skimming pricing 2

14 What do you mean by market? Explain its important features. 1

15 What is monopolistic competition? Explain its important features

1

16 How price and output is determined under perfect competition for industry and firm in short run?

4

17 List different methods of pricing and explain any two methods of pricing in detail?

3

UNIT – IV

1 Write a short note on Trade cycle 1

CO 4

2 What are the types of companies? 1

3 Describe the salient features of sole trader 2

4 What do you mean by Joint Stock Company 1

5 d) List various contents in partnership deed 3

6 Explain clauses in Memorandum of Association 2

7 Enumerate the merits and demerits of partnership firm 5

8 Describe the different phases of a business cycle 2

9 Define partnership. What are its essential features 1

10 Discuss the various measures that may be taken by a firm to counteract the evil effects of atrade cycle

1

11 What is business? And explain the salient features of partnership.

1

12 Explain the meaning and salient features of business cycles 2

13 Discuss the factors affecting choice of the forms of business organization.

1

14 What is the need of Public enterprises? Explain the recent achievement of Public enterprises

1

15 Differentiate features, merits and demerits Sole-trader and Partnership form of business organization?

2

16 What are the different objectives and features of establishing Public Sector Undertakings (PSUs) by Government

1

UNIT – V

1 Write a short note on Accounting cycle 1

2 Write a note on Double-entry book keeping

1

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 34

3 Explain the importance of accounting and financial analysis 2

CO5

4 Define Double Entry System (3M) 1

5 Determine Debtors Velocity if Sales is Rs.30.00 Lakhs, Credit Sales is 80%,Opening Balance of Debtors is Rs.7.50 Lakhs and Closing Balance of Debtors is Rs.4.50 Lakhs and assume number of days in a year is 365 Days

4

6 Determine Current Ratio If Cash Rs.2.50 Lakhs, Bank Rs. 6.50 Lakhs, Debtors Rs. 10.00 Lakhs, Stock Rs.2.00 Lakhs, Bills Receivables Rs. 2.00 Lakhs, Bills Payable Rs. 3.00 Lakhs, Creditors Rs.6.00 Lakhs and Bank Over Draft Rs.2.50 Lakhs

4

7 Define accounting and discuss its functions 1

8 Calculate the earnings per share from the following data: Net profit before tax Rs.1,00,000 Taxation at 50% of net profit 10% Preference share capital (Rs.10 each) Rs.1,00,000 Equity share capital (Rs.10 share) Rs.1,00,000

5

9 Explain different accounting concepts and accounting conventions

2

10 Calculate the net profit ratio from the following data: Sales less returns 1,00,000 Selling expenses 10,000 Gross profit 40,000 Income from investment 5,000 Administration 10,000 Loss on account of fire 3,000

5

11 Briefly explain the different techniques of capital budgeting. 2

12 Explain any two methods of traditional capital budgeting 2

13

Define and explain the importance of the ratio analysis and explain types of ratios

1

14 Record the following transactions in the journal of Rajagopal furniture mart: 2014 Jan1 Started business with cash 10,000/- Jan 2 Cash deposited into bank 9,000/- Jan 3 Paid installation charges of machinery 100/- Jan 4 Paid wages 3000/- Jan 5 Paid rent 200/- Jan 6 Paid salaries 4000

5

15 Differentiate Accounting Concepts & Conventions and explain any six of them

2

16 Journalize the following entries in the Books of M/s. Rock Well Industries Ltd.

5

No Date Description Rs Lakhs.

1 1-2-2016 Started Business with cash

5.00

2 2-2-2016 Deposited in Andhra Bank 3.00

3 10-2-2016 Purchased Goods on Credit from ABC Ltd

15.00

4 12-2-2016 Sold goods on Credit to XYZ Ltd

2.00

5

15-2-2016 Paid Freight Charges by Cheque

0.3

6 20-2-2016 Paid Salaries from Bank 0.2

7 23-2-2016 Drawn Cash from Bank 4.2

8 28-2-2016 Purchased Furniture on Credit from GBL

60.2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 35

UNIT – VI

1 What do you mean by Payback period 1

CO6

2 What do you mean by Profitability index 1

3 Explain the meaning of capital budgeting 2

4 ) What is Capital Budgeting 1

5

4

6

4

7 Explain the nature of capital budgeting proposals 2

8 Discuss the phases of capital expenditure decisions 1

9 Explain the significance of capital budgeting 2

10 Discuss the merits and demerits of accounting rate of return 1

11 Explain the importance of ratio analysis. 2

12 Find out the IRR of the following investment proposal: Initial investment Rs.70,000/-, Expected annual cash inflow RS.24,000/- Economic life of the project 4 years, Present value of annuity of Re 1 for 4 years @ 10% 3.170 @ 12% 3.037 @14% 2.914 @ 16% 2.798

5

13 Define Capital Budgeting. Explain its importance 1

E-learning materials

NPTELwww.scoopworld.in › Textbooks https://www.smartzworld.com/.../managerial-economics-and-financial-analysis-mefa/ https://gietcivil.in/2016/12/19/mefa/

https://www.jntubook.com/mefa-textbook-free-download/

www.geethanjaliinstitutions.com/engineering/coursefiles/downloads/ece/mefa.pdf

fraser.hol.es/mefa-arya-sri.pdf Question-Papers html

3. http://www.scribd.com/doc/18002828/r05010204electronicdevicesandcircuitsJNTU-btech-I-year-ECE-group-question-paper-august-2008

4. http://www.scribd.com/doc/2025248/JNTU-old-question-papers-2007 5. http://www.scribd.com/doc/18974219/Jntukakinada-External-Question-

Papers-AprilMayJune-2009-Regular-Papers 6. http://www.scribd.com/doc/2606104/rr10205electronicdevicesandcircuits

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 36

Recommended books 1. V. Maheswari : Managerial Economics, Sultan Chand.

2. Suma Damodaran : Managerial Economics, Oxford 2011.

3. Dr. B. Kuberudu and Dr. T. V. Ramana : Managerial Economics & Financial Analysis,

Himalaya Publishing House 2011.

4. Vanitha Agarwal : Managerial Economics, Pearson Publications 2011.

5. Sanjay Dhameja : Financial Accounting for Managers, Pearson.

6. Maheswari : Financial Accounting, Vikas Publications.

7. S. A. Siddiqui & A. S. Siddiqui : Managerial Economics and Financial Analysis, New Age

International Publishers, 2012.

Prepared by:

Mr I Vijay Kumar, M.B.A., M.Sc(Psy),

(Ph.D)

Assistant Professor

KHIT.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 37

COURSE TITLE : MOBILE COMPUTING

Sub code : C405(R16) Contact Hours per week : 6 (L) Hours Course Coordinator : Mr. B.Ramakrishna Course Advisor (if any) : Mr. A.Sandeep Kumar Module Coordinator : Mr. B.Ramakrishna Course coordinator phone : 9290046742 Course coordinator e-mail :[email protected] Course coordinator location : Room No.:2S01 Course Coordinator availability : Monday 9:30am - 10:30am

Friday 2.30pm – 3.15pm Resource link: Pre-requisites Courses: Computer Networks Course Description: In this course students will learn about the fundamentals of Mobile communications and understand the various concepts in Program Mobile computing. It provides the knowledge about structure of Mobile computing, different technologies which are available currently and future enhancements of this subject Overview of learning activities:

1. Lecture and Class Discussions. 2. Assignment work. 3. Tutorial/Quiz sessions 4. Power Point Presentations

Overview of learning resources:

Prescribed & Suggested Text Books

1. Jochen Schiller, “Mobile Communications”, Addison-Wesley, Second Edition, 2009.

2. Raj Kamal, “Mobile Computing”, Oxford University Press, 2007, ISBN: 0195686772.

2. Reference Books

1. ASOKE K TALUKDER, HASAN AHMED, ROOPA R YAVAGAL, “Mobile Computing, Technology Applications and Service Creation” Second Edition, Mc Graw Hill.

2. UWE Hansmann, Lother Merk, Martin S. Nocklous, Thomas Stober, “Principles of Mobile Computing,” Second Edition, Springer.

3. Freely Accessible Internet Sites

https://en.wikipedia.org/wiki/Mobile_computing https://www.tutorialspoint.com/mobile_computing/mobile_computing

_tutorial.pdf https://www.cse.iitk.ac.in/users/rkg/Talks/mobile_main.pdf https://onlinecourses.nptel.ac.in/noc16_cs13

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 38

Overview of assessment:

Internal Test. Quiz

Assignments. University Exams.

SYLLABUS

UNIT-I

Introduction: Mobile Communications, Mobile Computing – Paradigm, Promises/Novel

Applications and Impediments and Architecture; Mobile and Handheld Devices,

Limitations of Mobile and Handheld Devices.

GSM – Services, System Architecture, Radio Interfaces, Protocols, Localization,

Calling, Handover, Security, New Data Services, GPRS.

UNIT- II

(Wireless) Medium Access Control (MAC) : Motivation for a specialized MAC (Hidden

and exposed terminals, Near and far terminals), SDMA, FDMA, TDMA, CDMA,

Wireless LAN/(IEEE 802.11)

UNIT- III

Mobile Network Layer : IP and Mobile IP Network Layers, Packet Delivery and

Handover Management, Location Management, Registration, Tunneling and

Encapsulation, Route Optimization, DHCP.

UNIT- IV

Mobile Transport Layer : Conventional TCP/IP Protocols, Indirect TCP, Snooping TCP,

Mobile TCP, Other Transport Layer Protocols for Mobile Networks.

Database Issues : Database Hoarding & Caching Techniques, Client-Server Computing

& Adaptation, Transactional Models, Query processing, Data Recovery Process & QoS

Issues.

UNIT- V

Data Dissemination and Synchronization : Communications Asymmetry, Classification

of Data Delivery Mechanisms, Data Dissemination, Broadcast Models, Selective

Tuning and Indexing Methods, Data Synchronization – Introduction, Software, and

Protocols .

UNIT- VI

Mobile Ad hoc Networks (MANETs) : Introduction, Applications & Challenges of a

MANET, Routing, Classification of Routing Algorithms, Algorithms such as DSR,

AODV, DSDV, etc. , Mobile Agents, Service Discovery.

Protocols and Platforms for Mobile Computing : WAP, Bluetooth, XML, J2ME,

JavaCard, PalmOS, Windows CE, SymbianOS, Linux for Mobile Devices, Android.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 39

TEXT BOOKS:

1. Jochen Schiller, “Mobile Communications”, Addison-Wesley, Second Edition,

20092. Electronic Devices and Circuits-B.P.Singh, Rekha Singh,Pearson

Publications,Second Edition.

2. Raj Kamal, “Mobile Computing”, Oxford University Press, 2007, ISBN:

0195686772

REFERENCES:

1. ASOKE K TALUKDER, HASAN AHMED, ROOPA R YAVAGAL, “Mobile

Computing, Technology Applications and Service Creation” Second Edition,

Mc Graw Hill.

2. UWE Hansmann, Lother Merk, Martin S. Nocklous, Thomas Stober,

“Principles of Mobile Computing,” Second Edition, Springer.

COURSE OBJECTIVES 1. To make the student understand the concept of mobile computing paradigm, its novel

applications and limitations.

2. To understand the typical mobile networking infrastructure through a popular GSM

protocol

3. To understand the issues and solutions of various layers of mobile networks, namely

MAC layer, Network Layer & Transport Layer

4. To understand the database issues in mobile environments & data delivery models.

5. To understand the ad hoc networks and related concepts.

6. To understand the platforms and protocols used in mobile environment

COURSE OUTCOMES (COs)

CO1: Discuss about fundamentals of mobile communications and GSM.

CO2: Explain about various multiple access methods.

CO3: Describe various mobile network layer concepts.

CO4: Describe various mobile transport layer and database concepts.

CO5: Discuss Data dissemination and synchronization.

CO6: Explain about MANET and protocols and platforms for mobile computing.

Mapping of COs with POs

Course Outcomes

PO

1

PO

2

PO

3

PO

4

PO

5

PO

6

PO

7

PO

8

PO

9

PO

10

PO

11

PO

12

CO1: Discuss about

fundamentals of mobile

communications and

GSM.

3

2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 40

LESSON PLAN

Prerequisite: Computer Networks, Data Communications and Networking

Unit/Topic No.

Topic Name No of

Classes Required

Total

I Introduction to Mobile communications

12

1.1 Mobile Communications fundamentals 1

1.2 Mobile Computing – Paradigm, Promises/Novel Applications and Impediments

2

1.3 Mobile Computing Architecture 1

1.4 Mobile and Handheld Devices 1

1.5 Limitations of Mobile and Handheld Devices.

1

1.6 GSM – Services, System Architecture 1

1.7 Radio Interfaces 1

1.8 Protocols.

1

1.9 Localization, , Calling 1

1.10 Handover, Security 1

1.11 New Data Services, GPRS 1

II (Wireless) Medium Access Control (MAC)

8

2.1 Motivation for a specialized MAC 1

2.2 Hidden and exposed terminals, Near and far terminals 1

2.3 SDMA-Space Division Multiple Access, FDMA-Frequency Division Multiple Access

2

2.4 TDMA-Time Division Multiple Access 1

CO2: Explain about

various multiple access

methods.

3 2 2

CO3: Describe various

mobile network layer

concepts.

3 2

CO4: Describe various

mobile transport layer

and database concepts.

3 2 2

CO5: Discuss Data

dissemination and

synchronization.

3 2

CO6: Explain about

MANET and protocols

and platforms for mobile

computing.

3 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 41

2.5 CDMA-Code Division Multiple Access 1

2.6 Wireless LAN/(IEEE 802.11)

2

III Mobile Network Layer

8

3.1 IP and Mobile IP Network Layers, 1

3.2 IP and Mobile IP 1

3.3 Packet Delivery 1

3.4 Handover Management 1

3.5 Location Management 1

3.6 Registration, Tunneling and Encapsulation 1

3.7 Route Optimization.

1

3.8 DHCP 1

IV Mobile Transport Layer

9

4.1 Conventional TCP/IP Protocols 1

4.2 Indirect TCP, Snooping TCP, Mobile TCP 1

4.3 Other Transport Layer Protocols for Mobile Networks 1 4.4 Database Issues : Database Hoarding 1

4.5 Caching Techniques 1

4.6 Client-Server Computing & Adaptation 1

4.7 Transactional Models 1

4.8 Query processing 1

4.9 Data Recovery Process & QoS Issues 1

V Data Dissemination and Synchronization

8

5.1 Communications Asymmetry 1

5.2 Classification of Data Delivery Mechanisms 1

5.3 Data Dissemination, 2

5.4 Broadcast Models 1

5.5 Selective Tuning and Indexing Methods 1

5.6 Data Synchronization – Introduction, Software and Protocols

2

VI Mobile Ad hoc Networks (MANETs)

19

6.1 Introduction to Mobile Ad hoc Networks 1

6.2 Applications & Challenges of a MANET 1

6.3 Routing 1

6.4 Classification of Routing Algorithms 1

6.5 DSR Algorithm 1

6.6 AODV Algorithm 1

6.7 DSDV Algorithm 1

6.8 Mobile Agents, Service Discovery 1

6.9 WAP, Bluetooth 1

6.10 XML, J2ME 2

6.11 JavaCard, PalmOS 1

6.12 Windows CE, SymbianOS 1

6.13 Linux for Mobile Devices, Android 1

Contents beyond the Syllabus

Signals, Antennae, propagation delay, Types of modulation

2

MAC protocols, OSI reference model 2

Database fundamentals 1

Total No. of hours: 64 64

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 42

QUESTION BANK – UNIT WISE

UNIT-1 Course Outcome-I

01. Outline the limitations of mobile devices 02. Write any two advantages and disadvantages of WLAN? 03. With the help of a diagram, explain system architecture of GSM 04. Explain about Handover management? 05. With neat diagram, explain about GPRS? 06. Limitation Mobile Devices

UNIT-2 Course Outcome-II

01. Explain in detail the various multiple access techniques with neat diagram 02. Write about MAC. 03. Explain about Far and Near Terminals. 04. Explain about Hideen and Exposed terminals.

UNIT-3 Course Outcome-III

01. Describe the process of IP Packet delivery with neat sketch. 02. Define care of address (COA) and what are the two different possibilities for the

location of COA? 03. Explain about Location management. 04. Describe Tunneling and Encapsulation 05. Write about DHCP.

UNIT-4 Course Outcome-IV

01. Describe slow start of congestion control. How can fast recovery takes place in the congestion avoidance phase?

02. Explain how selective retransmission is a useful extension of TCP. Are there any disadvantages of this approach?

03. Describe briefly on congestion control in traditional TCP. 04. Explain about Database Hoarding. 05. Write about Database Recovery and QoS Issues.

UNIT-5 Course Outcome-V

01. Describe synchronization usage models in mobile applications 02. Explain the functions of Hybrid mechanisms with a neat sketch 03. Explain about Data Dissemination. 04. Explain about Data Synchronization 05. Explain about types of Broadcast Models

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 43

UNIT-6 Course Outcome-VI

01. Draw and discuss the protocol architecture of WAP 02. Explain about JavaCard. 03. Explain about Applications of MANETs 04. Write about DSR Algorithm. 05. Explain about DSDV Algorithm 06. Explain in detail AODV routing algorithm for MANETS

E-learning materials NPTEL

1. http://nptel.ac.in/courses/106106147/1 2. http://nptel.ac.in/courses/106106147/2 3. https://www.youtube.com/watch?v=OxdUs9E8Aps&list=PLcp8IgxOPM4LATpw

Q6qxbItS22wT3UEau 4. https://www.youtube.com/watch?v=mssEMMvbL_Q&list=PLcp8IgxOPM4LATp

wQ6qxbItS22wT3UEau&index=12 5. https://www.youtube.com/watch?v=7tbia3T7S0A&list=PLcp8IgxOPM4LATpwQ

6qxbItS22wT3UEau&index=21 Question-Papers html

1. https://files.jntufastupdates.com/download/mobile-computing-march-2017/ 2. http://www.goresults.org/download/jntuk-4-1-mc-march-2016-q-p/ 3. http://www.manaresults.co.in/download.php?subcode=R41054

Recommended books

1. Fundamentals of Mobile Computing- Prasntkumar pattanaik, Rajib Mall-PHI ,Second

Edition.

2. Principles of Mobile Computing-Uwe Hansmann,Lother Merk,Martin S Niklous,Thomas

Stober,Springer,2nd Edition.

Prepared by:

Mr.B.Ramakrishna, M.Tech

Asst.Professor,Dept of CSE

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 44

Course Title: SOFTWARE PROJECT MANAGEMENT

(Elective - 2)

OBJECTIVES:

To study how to plan and manage projects at each stage of the software development life cycle (SDLC)

To train software project managers and other individuals involved in software project planning and tracking and oversight in the implementation of the software project management process.

To understand successful software projects that support organization's strategic goals

UNIT -I: Introduction

Project, Management, Software Project Management activities, Challenges in software

projects, Stakeholders, Objectives & goals Project Planning: Step-wise planning,

Project Scope, Project Products & deliverables, Project activities, Effort estimation,

Infrastructure

UNIT -II: Project Approach

Lifecycle models, Choosing Technology, Prototyping Iterative & incremental Process

Framework: Lifecycle phases, Process Artifacts, Process workflows (Book 2)

UNIT -III: Effort estimation & activity Planning

Estimation techniques, Function Point analysis, SLOC, COCOMO, Use case-based

estimation, Activity Identification Approaches, Network planning models, Critical path

analysis

UNIT -IV: Risk Management

Risk categories, Identification, Assessment, Planning and management, PERT

technique, Monte Carlo approach

UNIT -V: Project Monitoring & Control, Resource Allocation

Creating a framework for monitoring & control, Progress monitoring, Cost monitoring,

Earned value Analysis, Defects Tracking, Issues Tracking, Status reports, Types of

Resources, Identifying resource requirements, Resource scheduling

UNIT -VI: Software Quality

Planning Quality, Defining Quality - ISO 9016, Quality Measures, Quantitative Quality

Management Planning, Product Quality & Process Quality Metrics, Statistical Process

Control Capability Maturity Model, Enhancing software Quality (Book3)

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 45

OUTCOMES:

1. To match organizational needs to the most effective software development model

2. To understand the basic concepts and issues of software project management

3. To effectively Planning the software projects

4. To implement the project plans through managing people, communications and

change

5. To select and employ mechanisms for tracking the software projects

6. To conduct activities necessary to successfully complete and close the Software

projects

7. To develop the skills for tracking and controlling software deliverables

8. To create project plans that address real-world management challenges

TEXT BOOKS:

1. Software Project Management, Bob Hughes & Mike Cotterell, TATA Mcgraw-Hill

2. Software Project Management, Walker Royce: Pearson Education, 2005.

3. Software Project Management in practice, Pankaj Jalote, Pearson.

REFERENCE BOOKS:

1. Software Project Management, Joel Henry, Pearson Education.

Mapping of COs with POs

Course Outcomes

PO

-1

PO

-2

PO

-3

PO

-4

PO

-5

PO

-6

PO

-7

PO

-8

PO

-9

PO

-10

PO

-11

PO

-12

PS0-1

PS0-2

PS0-3

CO-1: Understand the

basic concepts and issues of software project

management

2 1 2 3 3

CO-2: Implement the

project plans through managing people,

communications and

change

2 1 1 3 3

CO-3: Select and employ

mechanisms for tracking the software projects

1 1 2 1 2 2 2

CO-4:Conduct activities necessary to successfully complete and close the Software projects

2 3 2 2

CO-5:Develop the skills for

tracking and controlling

software deliverables

2 2 2 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 46

KALLAM HARANADHAREDDY INSTITUTE OF TECHNOLOGY

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

LESSION PLAN

A.Y& SEMESTER: 2019-20,Sem-I Subject: Software Project Management

Faculty Name:Dr.K.Venkata Subba Reddy

Regulations: R16 JNTUK

S.NO UNIT NO Topics to be Covered No.of

Periods

1

UNIT-I

Project, Management 1

2 Software Project Management

activities 1

3 Challenges in software projects 1

4 Stakeholders, Objectives & goals

Project Planning 2

5 Step-wise planning 1

6 Project Scope 1

7 Project Products & deliverables 1

8 Project activities 1

9 Effort estimation 1

10 Infrastructure 1

11

UNIT-II

Lifecycle models 1

12 Choosing Technology 1

13 Prototyping Iterative & incremental

Process Framework 2

14 Lifecycle phases 1

15 Process Artifacts 2

16 Process workflows 2

21

UNIT-III

Effort estimation & activity

Planning 1

22 Estimation techniques 1

23 Function Point analysis 1

24 SLOC 1

25 COCOMO 1

26 Use case-based estimation 1

27 Activity Identification Approaches 2

28 Network planning models 1

29 Critical path analysis 1

CO-6: Create project plans

that address real-world

management challenges

3 1 3 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 47

KALLAM HARANADHAREDDY INSTITUTE OF TECHNOLOGY

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

LESSION PLAN

S.NO UNIT NO Topics to be Covered No.of

Periods

31

UNIT-IV

Risk Management 1

32 Risk categories 1

33 Identification 1

34 Assessment 1

35 Planning and management 2

36 PERT technique 2

37 Monte Carlo approach 1

41

UNIT-V

Project Monitoring & Control

Resource Allocation 1

42 Creating a framework for

monitoring & control 1

43 Progress monitoring 1

44 Cost monitoring 1

45 Earned value Analysis 1

46 Defects Tracking 1

47 Issues Tracking 1

48 Status reports 1

49 Types of Resources 1

50 Identifying resource requirements 1

Resource scheduling 1

51

UNITVI

Software Quality 1

52 Planning Quality 1

53 Defining Quality - ISO 9016 1

54 Quality Measures 2

55 Quantitative Quality Management

Planning 1

56 Product Quality & Process Quality

Metrics 1

57 Statistical Process Control

Capability Maturity Model 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 48

58 Enhancing software Quality 1

Total No. of Periods 64

TEXT BOOKS:

1. Software Project Management, Bob Hughes & Mike Cotterell, TATA Mcgraw-Hill 2. Software Project Management, Walker Royce: Pearson Education, 2005. 3. Software Project Management in practice, Pankaj Jalote, Pearson.

REFERENCE BOOKS:

1. Software Project Management, Joel Henry, Pearson Education.

QUESTION BANK

(Prepare from university old question papers)

https://files.jntufastupdates.com/download/software-project-management-nov-2017-q-p/

http://www.vidyarthiplus.in/2012/03/software-project-management-question.html

FREELY ACCESSIBLE INTERNET SITES:

1. https://www.slideshare.net/sheetal_singh/software-project-management-by-walker-

royce 2. http://engineersevanigam.blogspot.com/2013/07/software-project-management-5th-

edition.html

NPTEL

1. https://nptel.ac.in/courses/106101060/

RECOMMENDED BOOKS

1. Software Project Management, Bob Hughes & Mike Cotterell, TATA

Mcgraw-Hill

2. Software Project Management, Walker Royce: Pearson Education, 2005.

3. Software Project Management in practice, Pankaj Jalote, Pearson.

Prepared by

Dr.K.Venkata Subba Reddy, HOD-CSE Dept, KHIT

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 49

SUBJECT TITLE: SOFTWARE ARCHITECTURE AND DESIGN PATTERNS LAB FACULTY MEMBER: Mr. B. SRIKANTH(SUB CODE: C407)

Aim and objective of the course:

The objectives of this lab are to develop

Understand the creational and structural patterns.

Be capable of applying his knowledge to create an architecture for given

application.

Be able to explain the role of analyzing architectures.

Be able to identify different structural patterns.

Course Outcomes:

At the end of this lab, the learner will get ability to

1. Design the use case view and logical view of Weather mapping system.

2. Design the implementation, process and deployment views of weather mapping

system.

3. Develop CORBA interfaces and components of Weather mapping system

4. Design a use case diagram for Librarian scenario.

5. Develop a design using UML for various creational and structural patterns.

6. Develop a design using UML for various behavioral patterns.

Syllabus

1. Tool Presentation

This session is an introductory session; there is no lab assignment for this session.

Introduction to working with an industrial strength software development

environment, namely Rational Rose: how to write and maintain a UML specification;

configuration management; architecture design; CORBA-IDL document generation;

Java code generation from a UML model etc.

Presentation of the Project: Weather Mapping System.

2. Use Case View: Design of the Use Case View. Risk Analysis.

3. Logical View: Design of the Logical View of the Weather Mapping System (WMS).

4: Integrating Patterns in the Architecture

Integration of selected architectural and design patterns in the logical view obtained

previously.

5. Implementation, Process, and Deployment Views: Design of the implementation,

process, and deployment views for the Weather Mapping System.

6. Component and Inter process Communication Design

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 50

Generation from the previous architecture design of CORBA Interfaces and

Components Definitions.

7: Implementation of WMS

Implementation of the Weather Mapping System (Java & C++), with a particular

emphasis on the Inter process communication mechanism and the software

components identified.

Design Patterns Lab

1. Use case Diagram for Librarian Scenario

2. Using UML design Abstract factory design pattern

3. Using UML design Adapter-class Design pattern

4. Using UML design Adapter-object Design pattern

5. Using UML design Strategy Design pattern

6. Using UML design Builder Design pattern

7. Using UML design Bridge Design pattern

8. Using UML design Decorator Design pattern

9. User gives a print command from a word document. Design to represent this chain

of responsibility Design pattern

10. Design a Flyweight Design pattern

11. Using UML design Facade Design pattern

12. Using UML design Iterator Design pattern

13. Using UML design Mediator Design pattern

14. Using UML design Proxy Design pattern

15. Using UML design Visitor Design pattern

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 51

Mapping of COs with POs

Course Outcomes

PO

1

PO

2

PO

3

PO

4

PO

5

PO

6

PO

7

PO

8

PO

9

PO

10

PO

11

PO

12

PSO

1

PSO

2

PSO

3

CO1: Design the use

case view and logical

view of Weather

mapping system.

3 3 3 3

2 1

3

CO2: Design the

implementation, process

and deployment views of

weather mapping

system.

3 3 3 3

2 3

3

CO3: Develop CORBA

interfaces and

components of Weather

mapping system

3 3 3 3

2 2

3

CO4: Design a use case

diagram for Librarian

scenario. 3 3 3 3

2 1

3

CO5: Develop a design

using UML for various

creational and

structural patterns.

3 3 3 3

2 1 3

CO6: Develop a design

using UML for various

behavioral patterns. 3 3 3 3

2 1

3

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 52

SUBJECT TITLE: WEB TECHNOLOGY LAB FACULTYMEMBER: Mr. P.LAKSHMIKANTH / Mr. S. KRISHNA REDDY / Ms. K. NAGA MALLIKA

Aim and objective of the course:

The objective of this lab is to develop an ability to design and implement static and dynamic websites. Objectives of Course: At the end of this lab, the learner will be able:

1. To understand the basics of Static Web Pages Designing using HTMLand CSS 2. To understand the basics of Dynamic Web Pages Designing using Java Script. 3. To understand how to recognize and correct validity errors in XML documents. 4. To understand how to connect databases with PHP. 5. To understand how to write programs in PERL. 6. To understand how to write programs in Ruby.

Course Outcomes: At the end of this lab, the learner got ability to

1. Creating Static web pages using HTML and CSS. 2. Creating Dynamic web pages using JavaScript. 3. Write XML documents with DTD rules. 4. Connect databases with PHP. 5. Write programs on basic elements in Perl. 6. Write programs on basic elements in Ruby.

Syllabus: List of Experiments (Twenty Five experiments to be done)

1. Design the following static web pages required for an online book store web site.

HOME PAGE:

The static home page must contain three frames.

Top frame: Logo and the college name and links to Home page, Login page,

Registration page, Catalogue page and Cart page (the description of these pages will

be given below).

Left frame: At least four links for navigation, which will display the catalogue of

respective links. For e.g.: When you click the link “MCA” the catalogue for MCA Books

should be displayed in the Right frame.

Right frame: The pages to the links in the left frame must be loaded here. Initially this

page contains description of the web site

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 53

2. login page

3. CATOLOGUE PAGE: The catalogue page should contain the details of all the books available in the web site in a table.The details should contain the following

1. Snap shot of Cover Page.

2. Author Name

3. Publisher.

4. Price

5. Add to cart button.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 54

4. REGISTRATION PAGE: Create a “registration form “with the following fields 1) Name (Text field) 2) Password (password field) 3) E-mail id (text field) 4) Phone number (text field) 5) Sex (radio button) 6) Date of birth (3 select boxes) 7) Languages known (check boxes – English, Telugu, Hindi, Tamil) 8) Address (text area)

5. Design a web page using CSS (Cascading Style Sheets) which includes the following:

1) Use different font, styles: In the style definition you define how each selector should work (font, color etc.). Then, in the body of your pages, you refer to these selectors to activate the styles.

6. Write an XML file which will display the Book information which includes the following:

1) Title of the book 2) Author Name 3) ISBN number 4) Publisher name 5) Edition 6) Price Write a Document Type Definition (DTD) to validate the above XML file.

7. Write Ruby program reads a number and calculates the factorial value of it and

prints the same.

8. Write a Ruby program which counts number of lines in a text file using its regular

expressions facility.

9. Write a Ruby program that uses iterator to find out the length of a string.

10. Write simple Ruby programs that uses arrays in Ruby.

11. Write programs which uses associative arrays concept of Ruby.

12. Write Ruby program which uses Math module to find area of a triangle.

13. Write Ruby program which uses tk module to display a window.

14. Define complex class in Ruby and do write methods to carry operations on

complex objects.

15. Write a program which illustrates the use of associative arrays in perl.

16. Write perl program takes a set names along the command line and prints whether

they are regular files or special files.

17. Write a perl program to implement UNIX `passwd' program

18. An example perl program to connect to a MySQl database table and executing

simple commands.

19. Example PHP program for catalogue page

20. User Authentication :

Assume four users user1, user2, user3 and user4 having the passwords

pwd1,pwd2,pwd3 and pwd4 respectively. Write a PHP for doing the following.

1. Create a Cookie and add these four user id’s and passwords to this Cookie.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 55

2. Read the user id and passwords entered in the Login form (week1) and

authenticate with the values (user id and passwords) available in the cookies.

If he is a valid user (i.e., user-name and password match) you should welcome him by name (user-name) else you should display “You are not an authenticated user ’’.Use init-parameters to do this.

21. Example PHP program for registering users of a website and login.

22. Install a database (Mysql or Oracle).

Create a table which should contain at least the following fields: name, password,

email-id, and phone number (these should hold the data from the registration form).

Write a PHP program to connect to that database and extract data from the tables and

display them. Experiment with various SQL queries.

Insert the details of the users who register with the web site, whenever a new user

clicks the submit button in the registration page (week2).

23. Write a PHP which does the following job:

Insert the details of the 3 or 4 users who register with the web site (week9) by using

registration form Authenticate the user when he submits the login form using the user

name and password from the database ( similar to week8 instead of cookies).

24. Create tables in the database which contain the details of items (books in our case

like Book name, Price, Quantity, Amount) of each category. Modify your catalogue

page (week 2) in such a way that you should connect to the database and extract data

from the tables and display them in the catalogue page usingPHP

25. HTTP is a stateless protocol. Session is required to maintain the state. The user

may add some items to cart from the catalog page. He can check the cart page for the

selected items. He may visit the catalogue again and select some more items. Here our

interest is the selected items should be added to the old cart rather than a new cart.

Multiple users can do the same thing at a time (i.e., from different systems in the LAN

using the ip-address instead of localhost). This can be achieved through the use of

sessions. Every user will have his own session which will be created after his

successful login to the website. When the user logs out his session should get

invalidated (by using the method session.invalidate ()).Modify your catalogue and cart

PHP pages to achieve the above mentioned functionality using sessions.

Mapping of COs with POs

Course Outcomes

PO

1

PO

2

PO

3

PO

4

PO

5

PO

6

PO

7

PO

8

PO

9

PO

10

PO

11

PO

12

PSO

1

PSO

2

PSO

3

CO1: Creating Static web pages using HTML and CSS

1 3 2 3 2 2

CO2: Creating Dynamic web pages using JavaScript.

1 3 2 3 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 56

Equipments& Software required:

Software:

i. Computer Systems with latest specifications

ii. Browsers (Internet Explorer, Chrome, Firefox and etc.)

iii. Operating system (Windows XP or Higher version) iv. XAMPP Web Server

References:

1. Web Technologies: HTML, JAVASCRIPT, PHP, JAVA, JSP, ASP.NET, XML and Ajax, Black Book by Kogent Learning Solutions Inc.

2. HTML & CSS: The Complete Reference, Fifth Edition by Thomas Powell

3. PHP: The Complete Reference by Steven Holzner

4. XML: The Complete Reference by Heather Williamson.

5. Perl: The Complete Reference by Martin Brown

E-Learning materials:

1. http://nptel.ac.in/courses/106105084/ 2. https://youtu.be/mhP0oYrUkJg?list=PLd3UqWTnYXOl89R8vSU8_EV-

MyHZPdeip https://www.youtube.com/watch?v=68NuOrSerT8&list=PLd3UqWTnYXOkofdmEC1V

B42cX8ZUwNEB7

CO3: Write XML documents with DTD rules.

1 3 2 3 1 2

CO4: Connect databases with PHP.

2 2 2 2 2

CO5: Write programs on basic elements in Perl.

2 2 2 2 2

CO6: Write programs on basic elements in Ruby.

2 2 2 2 2

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 57

NON-PROGRAMMING LABORATORY COURSES ASSESSMENT

GUIDELINES

a) The number of experiments in each laboratory course shall be as per the

curriculum in the scheme of instructions provided by JNTUK. Mostly the

number of experiments is 10 in each laboratory course under semester

scheme.

b) The students will maintain a separate note book for observations in each

laboratory course.

c) In each session the students will conduct the allotted experiment and

enter the data in the observation table.

d) The students will then complete the calculations and obtain the results.

The course coordinator will certify the results in the same session. The

students will submit the record in the next class. The evaluation will be

continuous and not cycle-wise or at semester end.

e) The internal marks of 25 are awarded in the following manner:

a. Laboratory record - Maximum Marks 15

b. Test and Viva Voce - Maximum Marks 10

f) Laboratory Record:

Each experimental record is evaluated for a score of 50.

The rubric parameters are as follows:

a. Write up format - Maximum Score 15

b. Experimentation Observations & Calculations - Maximum Score 20

c. Results and Graphs - Maximum Score 10

d. Discussion of results - Maximum Score 5

e. While (a), (c) and (d) are assessed at the time of record submission, (b) is assessed during the session based on the observations and calculations. Hence if a student is absent for an experiment but completes it in another session and subsequently submits the record, it shall be evaluated for a score of 30 and not 50.

g) The 15 marks of laboratory record will be scaled down from the TOTAL of

the assessment sheet.

h) The test and viva voce will be scored for 10 marks as follows:

a. Internal Test - 6 marks

b. Viva Voce / Quiz - 4 marks

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 58

a. Write up format - Maximum Score 20

b. Process development and coding - Maximum Score 10

c. Compile, debug, link and execute program - Maximum Score 15

d. Process validation through input-output - Maximum Score 5

The assessment of each experiment is recorded in the following format for every

student.

Exp.

No.

Title

of

the

Exp

Date

conduc

ted

Date

submit

ted

Observations

and

Calculati

ons (20)

Writ

e

up

(15)

Results

and

Graph

s (10)

Discussion

of Results

(5)

Total

(50)

1 2 3

Total

Avg.(Total/No of experiments conducted as per curriculum)

Scaled down to 15 marks(Avg./50 * 15)

PROGRAMMING LABORATORY COURSES ASSESSMENT GUIDELINES

i. The number of experiments/programs/sessions in each laboratory course

shall be as per the curriculum in the scheme of instructions provided by

JNTUK.

ii. The students will maintain a separate note book for each laboratory course

in which all the related work would be done.

iii. In each session the students will complete the assigned tasks of

process development, coding, compiling, debugging, linking and

executing the programs.

iv. The students will then execute the programme and validate it by

obtaining the correct output for the provided input. The course

coordinator will certify the validation in the same session.

v. The students will submit the record in the next class. The evaluation will

be continuous and not cycle- wise or at semester end.

vi. The internal marks of 25 are awarded in the following manner:

a. Laboratory record - Maximum Marks 15

b. Test and Viva Voce - Maximum Marks 10

vii. Laboratory Record: Each experimental record is evaluated for a score

of 50.

Computer Science & Engineering Department, Kallam Haranadharedy Institute of Technology, Guntur Page 59

While (a) is assessed at the time of record submission, (b), (c) and (d) are

assessed during the session based on the performance of the student in

the laboratory session. Hence if a student is absent for any laboratory

session but completes the program in another session and subsequently

submits the record, it shall be evaluated for a score of 20 and not 50.

viii. The 15 marks of laboratory record will be scaled down from the TOTAL

of the assessment sheet.

ix. The test and viva voce will be scored for 10 marks as follows:

Internal Test - 6 marks

Viva Voce / Quiz - 4 marks

The assessment of each experiment is recorded in the following format

for every student.

The rubric parameters are as follows:

Exp

.

No.

Titl

e of

the

Exp

Date

conduc

ted

Date

submit

ted

Process

Developm

ent and

coding

(10)

Compilati

on,

Debuggin

g, Linking

and

Executing

(Max 15)

Process

Validati

on (Max

5)

Write

up

forma

t (Max

20)

Total

Score

(Max

50)

1

2

3

Total