Ii R20 Cse Syllabus
Ii R20 Cse Syllabus
Ii R20 Cse Syllabus
(AUTONOMOUS)
(Affiliated to JNTUK, Kakinada), (Recognized by AICTE, New Delhi)
Accredited by NAAC with ‘A’ Grade, UG Programmes CE,CSE,ECE,EEE,IT &ME are Accredited by NBA
CHINNA AMIRAM (P.O):: BHIMAVARAM :: W.G.Dt., A.P., INDIA :: PIN: 534 204
Estd:1980
Page 1 of 45
Code Category L T P C I.M E.M Exam
B20BS2101 BS 3 -- -- 3 30 70 3 Hrs.
SYLLABUS
UNIT-I Solution of Algebraic and Transcendental Equations:
(10 Hrs) Introduction, Bisection method, Method of false position, Iteration method &Newton-
Raphson method.
Interpolation: Introduction, forward differences, backward differences, and Central
differences. Differences of a polynomial, Newton’s forward, and backward interpolation
formulae. Interpolation with unequal intervals:Newton’s divided difference and Lagrange
interpolation formulae.
Page 2 of 45
UNIT-III Multiple integrals: Double and triple integrals, Change of order of integration. Change of
(12 Hrs) variables, applications to finding Areas and Volumes.
UNIT-IV Vector differentiation: Scalar and vector point functions, Vector Differentiation, Gradient,
Directional derivative, Divergence, Curl, Scalar Potential.
UNIT-V Vector Integration: Line integral, Work done; Area, Surface and volume integrals, Vector
(14Hrs) integral theorems: Greens, Stokes, and Gauss Divergence theorems (without proof).
TEXTBOOKS:
1. Scope and Treatment as in “Higher Engineering Mathematics”, by Dr.B.S.Grewal,
43rd Edition, Khanna Publishers.
REFERENCE BOOKS:
1. Advanced Engineering Mathematics, by Erwin Kreyszig,Wiley
2. Higher Engineering Mathematics, by B.V.Ramana, Tata Mc Graw Hill Company.
3. A text book of Engineering Mathematics, by N.P.Bali and Dr. Manish Goyal, Lakshmi Publications.
4. Peter O’ Neil, Advanced Engineering Mathematics, Cengage.
5. Advanced Engineering Mathematics, by H.K.Dass, S.ChandCompany.
Page 3 of 45
Code Category L T P C I.M E.M Exam
B20CS2101 PC 3 0 0 3 30 70 3 Hrs.
SYLLABUS
Introduction to C++: Difference between C and C++, Evolution of C++, The Object
UNIT-I
Oriented Technology, Disadvantage of Conventional Programming, Key Concepts of
(10 Hrs)
Object Oriented Programming, Advantages of OOP's, Object Oriented Language.
Classes and Objects: Classes in C++, Declaring Objects, Access Specifiers and their
Scope, Defining Member Function, Overloading Member Function, Nested class.
UNIT-II
Constructors and Destructors: Introduction, Constructors and Destructor, Characteristics
(10 Hrs)
of Constructor and Destructor, Application with Constructor, Constructor with Arguments,
Parameterized Constructor, Destructors, Anonymous Objects
Pointers: Pointer, Features of Pointers, Pointer Declaration, Pointer to Class, Pointer Object,
UNIT-IV The this Pointer, Pointer to Derived Classes and Base Class.
(10 Hrs) Binding Polymorphisms and Virtual Functions: Introduction, Binding in C++, Virtual
Functions, Rules for Virtual Function, Virtual Destructor.
Page 4 of 45
Generic Programming with Templates & Exception Handling: Definition of class
Templates, Normal Function Templates, Over Loading of Template Function, Bubble Sort
Using Function Templates, Difference between Templates and Macros, Linked Lists with
UNIT-V
Templates, Exception Handling, Principles of Exception Handling, and The Keywords- try
(10 Hrs)
throw and catch, Multiple Catch Statements, Specifying Exceptions.
Overview of Standard Template Library, STL Programming Model, Containers, Sequence
Containers, Associative Containers, Algorithms, Iterators, Vectors, Lists, Maps.
Text Books:
1. A First Book of C++, 4th Edition, Gary Bronson, Cengage Learning.
2. The Complete Reference, C++, 5th Edition, Herbert Schildt, McGraw-Hill Education.
Reference Books:
1. Object Oriented Programming C++, Joyce Farrell, Cengage Learning.
C++ Programming: from problem analysis to program design, 6th Edition, DS Malik, Cengage
2.
Learning
3. Programming in C++, Ashok N Kamthane, and Pearson.
4. Object Oriented Programming using C++, 8th Edition, E.Balaguruswamy, PHI
e-Resources:
1. https://nptel.ac.in/courses/106/105/106105151/
2. https://github.com/topics/object-oriented-programming
Page 5 of 45
Code Category L T P C I.M E.M Exam
B20CS2102 PC 3 0 0 3 30 70 3 Hrs.
SOFTWARE ENGINEERING
(For CSE)
Course Objectives:
1. Give exposure to phases of Software Development, common process models including Waterfall,
the Unified Process, and elements of the Agile Process.
2. Give exposure to a variety of Software Engineering practices such as Requirements Analysis and
Specification.
3. Give exposure to Software Design Techniques.
4. Give exposure to various Software Quality Assurance and Testing strategies.
Course Outcomes:
At the end of the course Students will be able
1. Understand different software process models and their significance. K2
2. Distinguish various requirements identification procedures. K2
3. Identify different methods for requirement analysis modeling. K2
4. Differentiate various aspects of system design and software architectures. K2
5. Apply software quality assurance and testing strategies. K3
SYLLABUS
The Nature of Software, The Unique Nature of WebApps, Software Engineering, The
Software Process, Software Engineering Practice, Software Myths. A Generic Process
UNIT-I
Model, Process Assessment and Improvement, Prescriptive Process Models, Specialized
(11Hrs)
Process Models, The Unified Process, Agility, Agility and the Cost of Change, Agile
Process, Extreme Programming (XP), Other Agile Process Models.
Scenario-Based Modeling, UML Models ThatSupplement the Use Case, Data Modeling
UNIT-III Concepts, Class-Based Modeling,Requirements Modeling Strategies, Flow-Oriented
(09Hrs) Modeling, Creating a Behavioral Model, Patterns for Requirements Modeling,
Requirements Modeling forWebApps.
Design within the Context of Software Engineering, The Design Process, Design Concepts,
The Design Model, Software Architecture, Architectural Genres, Architectural Styles,
UNIT-IV Assessing Alternative Architectural Designs, Architectural Mapping Using Data Flow,
(13Hrs) Components, Designing Class-Based Components, Conducting Component-Level Design,
Component-Level Design for Web Apps, Designing Traditional Components, Component-
Based Development.
Page 6 of 45
The Golden Rules, User Interface Analysis and Design, Interface Analysis, Interface Design
Steps, WebAppInterface Design, Design Evaluation.
Elements of Software Quality Assurance, SQA Tasks, Goals & Metrics, Statistical SQA,
Software Reliability, A Strategic Approach to Software Testing, Strategic Issues, Test
UNIT-V StrategiesforConventionalSoftware,TestStrategiesforObject-OrientedSoftware, Test
(09Hrs) Strategies for WebApps, Validation Testing, System Testing, The Art of Debugging,
Software Testing Fundamentals, Internal and External Viewsof Testing, White-Box Testing,
Basis Path Testing.
Text Books:
Software Engineering: A Practitioner’s approach, Roger S Pressman, 7th edition McGraw Hill
1.
Higher Education (2009)
2. Software Engineering, Ian Sommerville, 9th edition. Pearson (2017)
Reference Books:
1. Software Engineering, A Precise Approach, PankajJalote, Wiley India, 2010.
2. Software Engineering, UgrasenSuman, Cengage (2012)
e-Resources:
1. https://nptel.ac.in/courses/106/105/106105182/
Page 7 of 45
Code Category L T P C I.M E.M Exam
B20CS2103 PC 3 0 0 3 30 70 3 Hrs.
OPERATING SYSTEMS
(For CSE)
Course Objectives:
1. Introduce to the internal operation of modern operating systems
2. Define, explain, processes and threads, mutual exclusion, CPU scheduling, deadlock, memory
management, and file systems
3. Understand File Systems in Operating System like UNIX/Linux and Windows
4. Understand Input Output Management and use of Device Driver and Secondary Storage (Disk)
Mechanism
5 Analyze Security and Protection Mechanism in Operating System
Course Outcomes:
At the end of the course Students will be able
1. Describe various generations of Operating System and functions of Operating System,
K2
System calls
2. Describe the concept of process, threads and analyze various CPU Scheduling
K2
Algorithms and IPC
3. Illustrate memory management strategies K3
4. illustrate deadlocks, files and Secondary-Storage Structure K3
5. Summarize Security and Protection Mechanism in Operating Systems. Understand the
K3
Operating System like UNIX/Linux and Windows
SYLLABUS
Page 8 of 45
Memory-Management Strategies: Introduction, Swapping, Contiguous memory
allocation, Paging, Segmentation.
UNIT-III
Virtual Memory Management: Introduction, Demand paging, Copy on-write, Page
(06Hrs)
replacement, Page replacement Algorithms, Frame allocation, Thrashing, Memory-
mapped files, Kernel memory allocation.
Text Books:
1. Silberschatz A, Galvin P B, and Gagne G, Operating System Concepts, 9th edition, Wiley, 2013.
Tanenbaum A S, Modern Operating Systems, 3rd edition, Pearson Education, 2008.
2.
(forInterprocess Communication and File systems.)
Reference Books:
Dhamdhere D M, Operating Systems A Concept Based Approach, 3rd edition, Tata McGraw-
1.
Hill, 2012.
Stallings W, Operating Systems -Internals and Design Principles, 6th edition, Pearson Education,
2.
2009
3. Nutt G, Operating Systems, 3rd edition, Pearson Education, 2004
e-Resources:
1. https://nptel.ac.in/courses/106/105/106105214/
Page 9 of 45
Code Category L T P C I.M E.M Exam
B20 CS 2104 PC 3 0 0 3 30 70 3 Hrs.
PYTHON PROGRAMMING
(For CSE)
Course Objectives:
1. To learn about Python syntax, semantics, and the runtime environment.
2. To learn the use of lists, tuples, dictionaries and sets in Python programs.
3. To learn the python package building and Python modules for reusability.
4. To be familiarized in general coding techniques and object-oriented programming.
5 To develop the skills of designing GUI and handling exceptions in python.
Course Outcomes:
At the end of the course Students will be able
1. Understand the basic principles of python programming. K2
2. Apply the knowledge of python programming to perform operations on data structures. K3
3. Solve the coding tasks using functions and modular programming. K3
4. Use OOP principles and File concepts to solve different problems. K3
5. Handle different exceptions raised in python and apply GUI for providing interface to
K3
various problems.
SYLLABUS
Introduction: Introduction to Python, Program Development Cycle, Input, Processing, and
Output, Displaying Output with the Print Function, Comments, Variables, Reading Input
from the Keyboard, Performing Calculations, Operators. Type conversions, Expressions,
More about Data Output.
UNIT-I Data Types, and Expression: Strings Assignment, and Comment, Numeric Data Types
(10Hrs) and Character Sets, Using functions and Modules.
Decision Structures and Boolean Logic: if, if-else, if-elif-else Statements, Nested
Decision Structures, Comparing Strings, Logical Operators, Boolean Variables.
Repetition Structures: Introduction, while loop, for loop, Input Validation Loops, Nested
Loops.
Strings and Text Files: Accessing Character and Substring in Strings, Strings and
Number Systems, String Methods, Text Files.
Data structures:
UNIT-II
Lists- creating a list, accessing, slicing and other operations
(10Hrs)
Tuples- creating a tuple, accessing and other operations
Dictionaries- creating a dictionary, accessing keys and values and other operations
Sets-creating a set, modifying, removing and other operations
Design with Function: Functions as Abstraction Mechanisms, Problem Solving with Top
UNIT-III Down Design, Design with Recursive Functions, Case Study Gathering Information from a
(10Hrs) File System, Managing a Program’s Namespace, Higher Order Function.
Modules: Modules, Standard Modules, Packages.
Page 10 of 45
File Operations: Reading config files in python, Writing log files in python,
Understanding read functions, read(), readline() and readlines(), Understanding write
functions, write() and writelines(), Manipulating file pointer using seek, Programming
UNIT-IV
using file operations
(10Hrs)
Object Oriented Programming: Concept of class, object and instances, Constructor,
class attributes and destructors, Inheritance , overlapping and overloading operators,
Adding and retrieving dynamic attributes of classes
Text Books:
Fundamentals of Python First Programs, Kenneth. A. Lambert, 2nd Edition, Cenagage learning,
1.
2018.
2. Python Programming: A Modern Approach, VamsiKurama, Pearson,2018.
Reference Books:
1. Introduction to Python Programming, Gowrishankar.S, Veena A, first edition ,CRC Press,2018.
2. Introduction to Programming Using Python, Y. Daniel Liang, Pearson,2013.
e-Resources:
1. https://www.tutorialspoint.com/python3/python_tutorial.pdf
Page 11 of 45
Code Category L T P C I.M E.M Exam
B20CS2105 PC 0 0 3 1.5 15 35 3 Hrs.
LIST OF PROGRAMS
Page 12 of 45
3. Write a C++ Program to illustrate Member Function Templates.
4. Write a Program for Exception Handling.
Exercise - 6 (Polymorphism)
1. Write a C++ program illustrating user defined string processing functions using pointers
6 (string length, string copy, string concatenation)
2. Write a C++ program illustrating Virtual Base Classes.
3. Write a C++ Program illustrating Virtual functions.
Reference Books:
1. A First Book of C++, 4th Edition, Gary Bronson, Cengage Learning.
2. The Complete Reference, C++, 5th Edition, Herbert Schildt, McGraw-Hill Education.
3. Object Oriented Programming C++, Joyce Farrell, Cengage Learning.
C++ Programming: from problem analysis to program design, 6th Edition, DS Malik, Cengage
4.
Learning.
5. Programming in C++, Ashok N Kamthane, and Pearson.
6. Object Oriented Programming using C++, 8th Edition, E.Balaguruswamy, PHI
e-Resources:
1. https://nptel.ac.in/courses/106/105/106105151/
2. https://github.com/topics/object-oriented-programming
Page 13 of 45
Code Category L T P C I.M E.M Exam
B20CS2106 PC 0 0 3 1.5 15 35 3 Hrs.
Course Outcomes:
At the end of the course Students will be able
1. Apply the basics of programming in the Python language K3
2. Solve coding tasks related to conditional execution, and loops K3
3. Implement the operations of different data structures. K3
4. Solve coding tasks related to the fundamental notions and techniques used in object- K3
oriented programming
LIST OF PROGRAMS
Write a program that asks the user for a weight in kilograms and converts it to pounds. There are
1
2.2 pounds in a kilogram.
2 Write a program that asks the user to enter three numbers (use three separate input statements).
Create variables called total and average that hold the sum and average of the three numbers and
print out the values of total and average.
3 Write a program that uses a for loop to print the numbers 8, 11, 14, 17, 20. . . 83, 86, 89.
Write a program that asks the user for their name and how many times to print it. The program
4
should print out the user’s name the specified number of times.
5 Use a for loop to print a triangle like the one below. Allow the user to specify how high the
triangle should be.
*
**
***
****
Generate a random number between 1 and 10. Ask the user to guess the number and print a
6
message based on whether they get it right or not.
Write a program that asks the user for two numbers and prints Close if the numbers are within .001
7.
of each other and Not close otherwise.
Write a program that asks the user to enter a word and prints out whether that word contains any
8.
vowels.
Write a program that asks the user to enter two strings of the same length. The program should
9. then check to see if the strings are of the same length. If they are not, the program should print an
appropriate message and exit. If they are of the same length, the program should alternate the
Page 14 of 45
characters of the two strings. For example, if the user enters abcdeandABCDE the program should
print out AaBbCcDdEe.
Write a program that asks the user for a large integer and inserts commas into it according to the
10. standard American convention for commas in large numbers. For instance, if the user enters
1000000, the output should be 1,000,000.
In algebraic expressions, the symbol for multiplication is often left out, as in 3x+4y or 3(x+5).
Computers prefer those expressions to include the multiplication symbol, like 3*x+4*y or
11.
3*(x+5). Write a program that asks the user for an algebraic expression and then inserts
multiplication symbols where appropriate.
Write a program that generates a list of 20 random numbers between 1 and 100.
(a) Print the list.
(b) Print the average of the elements in the list.
12.
(c) Print the largest and smallest values in the list.
(d) Print the second largest and second smallest entries in the list
(e) Print how many even numbers are in the list.
Write a program that asks the user for an integer and creates a list that consists of the factors of
13.
that integer.
Write a program that generates 100 random integers that are either 0 or 1. Then find the longest
14. run of zeros, the largest number of zeros in a row. For instance, the longest run of zeros in
[1,0,1,1,0,0,0,0,1,0,0] is 4.
Write a program that removes any repeated items from a list so that each item appears at most
15.
once. For instance, the list [1,1,2,3,4,3,0,0] would become [1,2,3,4,0].
Write a program that asks the user to enter a length in feet. The program should then give the user
the option to convert from feet into inches, yards, miles, millimeters, centimeters, meters, or
16. kilometers. Say if the user enters a 1, then the program converts to inches, if they enter a 2, then
the program converts to yards, etc. While this can be done with if statements,it is much shorter
with lists and it is also easier to add new conversions if you use lists.
Write a function called sum_digitsthat is given an integer num and returns the sum of the digits of
17.
num.
Write a function called first_diffthat is given two strings and returns the first location in which the
18.
strings differ. If the strings are identical, it should return -1.
Write a function called number_of_factorsthat takes an integer and returns how many factors the
19.
number has.
Write a function called is_sortedthat is given a list and returns True if the list is sorted and False
20.
otherwise.
Write a function called root that is given a number x and an integer n and returns x1/n. In the
21.
function definition, set the default value of n to 2.
Write a function called primes that is given a number n and returns a list of the first n primes. Let
22.
the default value of n be 100.
Write a function called merge that takes two already sorted lists of possibly different lengths, and
23. merges them into a single sorted list.
(a) Do this using the sort method. (b) Do this without using the sort method.
Write a program that asks the user for a word and finds all the smaller words that can be made
from the letters of that word. The number of occurrences of a letter in a smaller word can’t exceed
24.
the number of occurrences of the letter in the user’s word.
Page 15 of 45
Write a program that reads a file consisting of email addresses, each on its own line. Your
25.
program should print out a string consisting of those email addresses separated by semicolons.
Write a program that reads a list of temperatures from a file called temps.txt, converts those
26.
temperatures to Fahrenheit, and writes the results to a file called ftemps.txt.
Write a class called Product. The class should have fields called name, amount, and price, holding
the product’s name, the number of items of that product in stock, and the regular price of the
product. There should be a method get_price that receives the number of items to be bought and
returns a the cost of buying that many items, where the regular price is charged for orders of less
27.
than 10 items, a 10% discount is applied for orders of between 10 and 99 items, and a 20%
discount is applied for orders of 100 or more items. There should also be a method called
make_purchase that receives the
number of items to be bought and decreases amount by that much.
Write a class called Time whose only field is a time in seconds. It should have a method called
convert_to_minutesthat returns a string of minutes and seconds formatted as in the following
28. example: if seconds is 230, the method should return '5:50'. It should also have a method called
convert_to_hoursthat returns a string of hours, minutes, and seconds formatted analogously to the
previous method.
Write a class called Converter. The user will pass a length and a unit when declaring an object
from the class—for example, c = Converter(9,'inches'). The possible units are inches, feet, yards,
29. miles, kilometers, meters, centimeters, and millimeters. For each of these units there should be a
method that returns the length converted into those units. For example, using the Converter object
created above, the user could call c.feet() and should get 0.75 as the result.
30. Write a Python class to implement pow(x, n).
31. Write a Python class to reverse a string word by word.
Write a program that opens a file dialog that allows you to select a text file. The program then
32.
displays the contents of the file in a textbox.
33. Write a program to demonstrate Try/except/else.
34. Write a program to demonstrate try/finally and with/as.
Reference Books:
1. Core Python Programming, Wesley J Chen, 2nd edition, Pearson, 2007
Python Data Science, Handbook, Essential tools for working with data, Jake VanderPlas,1
2.
edition, Oreilly Publisher ,2016.
Programming in Python 3--A Complete Introduction to the Python Language, Mark Summerfield,
3.
Second Edition, Addison Wesley, 2009.
Getting Started with Python Data Analysis, Phuong Vo.T.H, Martin Czygan, Packt Publishing
4.
Ltd ,2015.
5. Python Data Analysis, Ivan Idris,,3rdedition, Packt Publishing Ltd .2021.
Mastering Python Data Analysis, Magnus VilhelmPersson and Luiz Felipe Martins, Packt
6.
Publishing Ltd,2016.
Page 16 of 45
Code Category L T P C I.M E.M Exam
B20 CS 2107 PC 0 0 3 1.5 15 35 3 Hrs.
Course Outcomes:
At the end of the course Students will be able
1. To use Unix utilities and perform basic shell control of the utilities K1
2. To use the Unix file system and file access control K2
3. To use of an operating system to develop software K2
4. Students will be able to use Linux environment efficiently K2
5. Solve problems using bash for shell scripting K2
LIST OF EXPERIMENTS
a) Study of Unix/Linux general purpose utility command list: man,who,cat, cd, cp, ps, ls, mv, rm,
mkdir, rmdir, echo, more, date, time, kill, history, chmod, chown, finger, pwd, cal, logout,
shutdown.
b) Study of vi editor
1
c) Study of Bash shell, Bourne shell and C shell in Unix/Linux operating system
d) Study of Unix/Linux file system (tree structure)
e) Study of .bashrc, /etc/bashrc and Environment variables.
2 Write a C program that makes a copy of a file using standard I/O, and system calls.
3 Write a C program to emulate the UNIX ls –l command.
Write a C program that illustrates how to execute two commands concurrently with a command
4 pipe. Ex: - ls –l | sort Also illustrate the order of execution of constructors and destructors in
inheritance
Simulate the following CPU scheduling algorithms: (a) Round Robin (b) SJF (c) FCFS (d) Priority
5 Write a C++ Program to illustrate Member Function Templates.
Multiprogramming-Memory management-Implementation of fork (), wait (), exec() and exit (),
6 System calls
Page 17 of 45
9 Simulate Bankers Algorithm for Dead Lock Prevention.
Simulate the following page replacement algorithms:
10
a) FIFO b) LRU c) LFU
Simulate the following File allocation strategies
11
(a) Sequenced (b) Indexed (c) Linked
12 Write a C program that illustrates two processes communicating using shared memory
13 Write a C program to simulate producer and consumer problem usingsemaphores
14 Write C program to create a thread using pthreads library and let it run its function.
15 Write a C program to illustrate concurrent execution of threads using pthreads library
Reference Books:
1. Unix concepts and applications by Sumitabha Das, TMH Publications.
2. Unix programming by Stevens, Pearson Education.
3. Shell programming by YashwanthKanetkar..
4. Operating System Concepts by Silberschatz, and Peter Galvin
Page 18 of 45
Code Category L T P C I.M E.M Exam
B20SO2201 SOC 0 0 4 2 -- 50 3 Hrs.
Course Outcomes:
At the end of the course Students will be able
1. Analyze a web page and identify its elements and attributes. K3
2. Demonstrate the important HTML tags for designing static pages and separate design K2
from content using Cascading Style sheet
3. Implement MVC and responsive design to scale well across PC, tablet and Mobile K3
Phone.
4. Create web pages using HTML and Cascading Style Sheets. K3
LIST OF EXPERIMENTS
HTML
1) Introduction to HTML
2) Browsers and HTML
3) Editor’s Offline and Online
4) Tags, Attribute and Elements
1
5) Doctype Element
6) Comments
7) Headings, Paragraphs, and Formatting Text
8) Lists and Links
9) Images and Tables
2 CSS
1) Introduction CSS
2) Applying CSS to HTML
3) Selectors, Properties and Values
4) CSS Colors and Backgrounds
5) CSS Box Model
6) CSS Margins, Padding, and Borders
7) CSS Text and Font Properties
8) CSS General Topics
Page 19 of 45
FRONT END DEVELOPMENT MODULE - 2
Course Objectives:
1. The objective of this lab is to build strong foundation of JavaScript which will help developerto
apply JavaScript concepts for responsive web frontend development
Course Outcomes:
At the end of the course Students will be able
1. Develop of the major Web application tier- Client side development K3
2. Participate in the active development of cross-browser applications through JavaScript K3
3. Develop JavaScript applications that transition between states K3
LIST OF PROGRAMS
Perform experiments related to the following concepts:
1. Introduction to JavaScript
2. Applying JavaScript (internal and external)
3. Understanding JS Syntax
4. Introduction to Document and Window Object
5. Variables and Operators
6. Data Types and Num Type Conversion
7. Math and String Manipulation
8. Objects and Arrays
9. Date and Time
10. Conditional Statements
11. Switch Case
12. Looping in JS
13. Functions
Reference Books:
1. Programming the World Wide Web, 7th Edition Robet W Sebesta, Pearson, 2013.
2. WebTechnologies,1st Edition 7th impression, Uttam K Roy, Oxford, 2012.
3. Mean Stack Development,1st Edition, ELadElrom, A press O’Reilly,2016
4. Script & jQuery the missing manual, 2nd Edition, David sawyer mcfarland, O’Reilly, 2011.
5. Java 5. Web Hosting for Dummies, 1st Edition, Peter Pollock, John Wiley & Sons, 2013.
6. RESTful web services, 1st Edition, Leonard Richardson, Ruby, O’Reilly, 2007.
Page 20 of 45
Code Category L T P C I.M E.M Exam
B20MC2101 MC 3 -- -- -- -- -- --
ENVIRONMENTAL SCIENCE
(Common to CSE, ECE & IT)
Course Objectives: The objectives of the course are to impart:
1. Overall understanding of the natural resources.
2. Basic understanding of the ecosystem and its diversity.
3. Acquaintance on various environmental challenges induced due to unplanned anthropogenic
activities.
4. An understanding of the environmental impact of developmental activities.
5. Awareness on the social issues, environmental legislation and global treaties.
SYLLABUS
Biodiversity and its conservation: Definition: genetic, species and ecosystem diversity-
classification - Value of biodiversity: consumptive use, productive use, social-Biodiversity
UNIT-III
at national and local levels. India as a mega-diversity nation - Hot-sports of biodiversity -
(8 Hrs)
Threats to biodiversity: habitat loss, man-wildlife conflicts. - Endangered and endemic
species of India – Conservation of biodiversity: conservation ofbiodiversity.
Page 21 of 45
Environmental Pollution: Definition, Cause, effects and control measures of Air pollution,
Water pollution, Soil pollution, Noise pollution, Nuclear hazards. Role of an individual in
prevention of pollution. - Pollution case studies, Sustainable Life Studies. Impact of Fire
UNIT-IV
Crackers on Men and his well being.
(8 Hrs)
Solid Waste Management: Sources, Classification, effects and control measures of urban
and industrial solid wastes. Consumerism and waste products, Biomedical, Hazardous and e
– waste management.
Social Issues and the Environment: Urban problems related to energy -Water
conservation, rain water harvesting-Resettlement and rehabilitation of people; its problems
UNIT-V and concerns. Environmental ethics: Issues and possible solutions. Environmental
(8 Hrs) Protection Act -Air (Prevention and Control of Pollution) Act. –Water (Prevention and
control of Pollution) Act -Wildlife Protection Act -Forest Conservation Act-Issues involved
in enforcement of environmental legislation.-Public awareness.
Reference Books:
1. Text Book of Environmental Studies, Deeshita Dave & P. Udaya Bhaskar, CengageLearning.
2. A Textbook of Environmental Studies, Shaashi Chawla, TMH, NewDelhi
3. Environmental Studies, Benny Joseph, Tata McGraw Hill Co, NewDelhi
Perspectives in Environment Studies, Anubha Kaushik, C P Kaushik, New
4.
AgeInternational Publishers,2014
Page 22 of 45
Code Category L T P C I.M E.M Exam
B20MC2103 MC 2 -- -- -- -- -- --
ENGLISH PROFICIENCY
(Common to CSE, ECE & IT)
Speaking Skills
Presentation skills
Describing event/place/thing
UNIT-II
Extempore
Debate
Group Discussion
Reading Skills
UNIT-III Types of Reading (Intensive and Extensive reading, Skimming, Scanning)
Reading/Summarizing News Paper Articles
Writing Skills
Essay Writing (Argumentative, Analytical and Descriptive)
UNIT-IV E-Mail Writing
Business Letters
Resume Writing
Page 23 of 45
Integrated Language Skills
UNIT-V Listening Skills for Speaking and Writing
Reading Skills for Writing and Speaking
Reference Books:
1. Fundamentals of Technical Communication by Meenakshiraman, Sangeta Sharma of OUP
English and Communication Skills for Students of Science and Engineering, by S.P. Dhanavel,
2.
Orient Blackswan Ltd. 2009
3. Enriching Speaking and Writing Skills, Orient Blackswan Publishers.
4. The Oxford Guide to Writing and Speaking by John Seely OUP.
Page 24 of 45
Regulation: R20 II / IV - B.Tech. II - Semester
COMPUTER SCIENCE & ENGINEERING
SCHEME OF INSTRUCTION & EXAMINATION
(With effect from 2020-21 admitted Batch onwards)
Course Catego Int. Ext. Total
Course Name Cr L T P
Code ry Marks Marks Marks
B20 BS
Probability and Statistics BS 3 3 0 0 30 70 100
2201
B20 CS Data Base Management
PC 3 3 0 0 30 70 100
2201 Systems
B20 CS Design and Analysis of
PC 3 3 0 0 30 70 100
2202 Algorithms
B20 CS
Java Programming ES 3 3 0 0 30 70 100
2203
Managerial Economics
B20 HS
and Financial HS 3 3 0 0 30 70 100
2201
Accountancy
B20 CS Data Base Management
PC 1.5 0 0 3 15 35 50
2204 Systems Lab
B20 CS
R Programming Lab PC 1.5 0 0 3 15 35 50
2205
B20 CS
Java Programming Lab ES 1.5 0 0 3 15 35 50
2206
B20 CS Applications of Python
SOC 2 0 0 4 -- 50 50
2207 using Numpy and Pandas
TOTAL 21.5 15 0 13 195 505 700
Page 25 of 45
Code Category L T P C I.M E.M Exam
B20 BS 2201 BS 3 0 0 3 30 70 3 Hrs.
Course Outcomes:
At the end of the course Students will be able
1. Understand the concepts of data science and identify a random variable as K2
discrete/continuous and analyse it.
2. Determine statistical measures like Mean, Variance and generating functions in terms of K3
Expectations.
3. Determine a best suitable curve for a given data using the method of least squares. K3
4. Determine correlation coefficient and regression lines. K3
5. Solve simple problems based on discrete and continuous probability distributions. K3
6. Apply testing of hypothesis for getting inferences about Population Parameters based K3
on Sample statistic.
SYLLABUS
Descriptive statistics and methods for data science:
Data science, Statistics Introduction, Collection of data, primary and secondary data, Type
of variables: dependent and independent, Categorical and Continuous variables, Data
visualization, Measures of Central tendency, Measures of Variability (spread or variance),
UNIT-I Moments, Measures of Skewness and Kurtosis.
(12 Hrs) Random Variables and Probability functions:
Definition of a random variable, Distribution function, Properties of Distribution Function,
Discrete Random Variable, Probability Mass Function, Discrete Distribution Function,
Continuous Random Variable, Probability Density Function, Continuous Distribution
Function.
Page 26 of 45
Curve fitting: Method of least Squares, fitting of a Straight line, Fitting of a Parabola,
fitting of Exponential curves: 𝑦 = 𝑎𝑒 , 𝑦 = 𝑎𝑏 and Power curve: 𝑦 = 𝑎𝑥
Correlation: Definition, Karl Pearson’s Coefficient of Correlation, Limits for correlation
UNIT-III coefficient, Rank Correlation, Spearman’s formula for rank correlation coefficient (without
(12 Hrs) proofs).
Text Books:
1. Probability, Statistics and Random Processes by T.Veerarajan, Tata Mc Graw Hill Pub.
Fundamentals of Mathematical Statistics by S. C. Gupta and V.K. Kapoor, Sultan Chand & Sons
2.
Publishers.
Reference Books:
1. Higher Engineering Mathematics, by Dr.B.S.Grewal,43 rd Edition, Khanna Publishers.
2. Probability and statistics for Engineers, Miller and Freund, 7 th edition, Prentice-Hall India.
Probability and statistics for Engineers and Scientists by Ronald E. Walpole, Raymond H. Myers,
3.
Sharon L. Myers and Keying Ye, Eighth edition, Pearson Education.
Michael Baron, Probability and statistics for computer scientists(1 stedn.), Chapman and Hall
4.
Book, 2003.
Paul L. Meyer, Introductory Probability and Statistical Applications (2ndedn.), Addison-Wesley,
1970.
e-Resources:
1. http://www.swayam.gov.in
Page 27 of 45
Code Category L T P C I.M E.M Exam
B20 CS 2201 PC 3 0 0 3 30 70 3 Hrs.
Course Outcomes:
At the end of the course Students will be able to
1. Describe fundamental concepts a relational database K2
2. Create, maintain and manipulate a relational database using SQL K3
3. Apply Conceptual and Logical database design K3
4. Apply normalization for database design K3
5. Illustrate Storage management and Transaction management techniques. K2
SYLLABUS
Page 28 of 45
Schema Refinement (Normalization): Purpose of Normalization or schema refinement,
concept of functional dependency, Closure of functional dependency and attribute closure,
UNIT-IV
Normal forms based on functional dependency(1NF, 2NF and 3 NF), concept of surrogate
(10 Hrs)
key, Boyce-Codd normal form(BCNF), Lossless join and dependency preserving
decomposition, Fourth normal form(4NF), Fifth Normal Form (5NF).
Text Books:
Database System Concepts by Abraham Silberschatz, Henry F. Korth, S. Sudarshan, 7th Edition,
1.
McGraw-Hill Education, 2019.
Database Management Systems by Raghu Ramakrishnan, Johannes Gehrke, 3rd Edition.,
2.
McGraw-Hill Education (India), 2014.
Reference Books:
Database Principles: Fundamentals of Design, Implementation, and Management by Steven
1.
Morris, Keeley Crockett, Carlos Coronel, Craig Blewett, Cengage, 2020.
Fundamentals of Database Systems by RamezElmasri, Shamkant B. Navathe, 7th Edition,
2.
Pearson Education India, 2015.
3. Introduction to Database Systems by C J Date, 8th Edition, Pearson Education, 2009.
e-Resources:
1. https://nptel.ac.in/courses/106/105/106105175/
2. https://www.geeksforgeeks.org/introduction-to-nosql/
Page 29 of 45
Code Category L T P C I.M E.M Exam
B20 CS 2202 PC 3 0 0 3 30 70 100
Course Outcomes:
At the end of the course Students will be able
1. Apply mathematical analysis methods to analyse the algorithm running times using
K3
asymptotic notations
2. Compare and understand how the choice of data structures impact the performance of
K2
various greedy algorithms
3. Describe, apply and analyze the complexities of Dynamic Programming Algorithms K3
4. Describe, apply and analyze the complexity of Backtracking and Branch and Bound, and
K3
explain the situations which call for usage of these paradigms
5. Infer lower bounds for common problems like searching, sorting, merging, selection,
K2
Understand the concepts of P, NP classes
SYLLABUS
INTRODUCTION:
Getting Started: Insertion sort, Analyzing algorithms, Designing algorithms, Growth of
Functions: Asymptotic Notation, Standard notations and common functions, Master
UNIT-I method for solving recurrences
(14Hrs) DIVIDE AND CONQUER:
General method, Finding maximum and minimum, Merge sort, Quick sort, Performance
Measurement, Selection Problem, A Worst-Case Optimal Algorithm, Strassen’s matrix
multiplication, Convex hull Problem- QuickHull Algorithm
DYNAMIC PROGRAMMING:
UNIT-III
General method, Multistage graphs, All pairs shortest paths, Optimal binary search trees,
(12Hrs)
String editing, 0/1Knapsack, The travelling salesperson problem
Page 30 of 45
BACKTRACKING:
General method, 8-Queens problem, Sum of subsets, Graph colouring, Hamiltonian cycles
BRANCH AND BOUND:
UNIT-IV
The method, Least Cost (LC) Search, The15-puzzle problem, Control abstractions for LC
(12Hrs)
Search, FIFO Branch-and-Bound, LC Branch-and-Bound, 0/1 Knapsack problem: LC
Branch and Bound, FIFO Branch-and-Bound, Travelling salesperson problem: LC Branch
and Bound
Text Books:
Fundamentals of Computer Algorithms 2nd edition by Ellis Horowitz, SartajSahni, S.
1.
Rajasekharan, university press, 2008
Introduction to Algorithms 3rd edition by Thomas H. Cormen, Charles E. Leiserson, Ronald L.
2.
Rivest, Clifford Stein, PHI, 2010
Reference Books:
Design and Analysis Algorithms - ParagHimanshu Dave, HimanshuBhalchandra Dave Publisher:
1.
DhanpatRai& co, 2017
Algorithm Design: Foundations, Analysis and Internet examples, M.T.Goodrich and
2.
R.Tomassia,Johnwiley and sons, 2006
3. Introduction to the Design and Analysis of Algorithms, AnanyLevitin, PEA, 3rd Edition.
4. Foundations of Algorithms, R. Neapolitan and K. Naimipour, Jones and Bartlett, Pearson,2011
5. Advanced Data Structures – Peter Brass, Cambridge University Press, 2008
e-Resources:
1. https://onlinecourses.nptel.ac.in/noc19_cs47/preview
2. https://onlinecourses.swayam2.ac.in/cec20_cs03/preview
https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-design-and-
3.
analysis-of-algorithms-spring-2015/
Page 31 of 45
Code Category L T P C I.M E.M Exam
B20 CS 2203 ES 3 0 0 3 30 70 3 Hrs.
JAVA PROGRAMMING
(For CSE)
Course Objectives:
1. To identify Java language components and how they work together in applications
2. To learn the fundamentals of object-oriented programming in Java, including defining classes,
invoking methods, using class libraries.
3. To learn how to extend Java classes with inheritance and dynamic binding and how to use
exception handling in Java applications
4. To understand how to design applications with threads in Java.
5. To understand how to use Java JDBC APIs for program development.
Course Outcomes:
At the end of the course Students will be able
1. Recall the syntax and semantics of java programming language and basic concepts of K1
OOP.
2. Relate array data structure and string manipulation operations K2
3. Develop reusable programs using the concepts of inheritance, interfaces and packages K3
4. Apply the concept of Exception handing and multithreading to build an efficient and K3
error free code.
5. Develop a program that manages input & output streams and apply JDBC to interface K3
with database.
SYLLABUS
Introduction to JAVA: Structure of JAVA, Features of JAVA, JAVA Tokens, Command
Line Arguments, Operators, Type Casting, Control Statements.
UNIT-I Classes &Objects, Constructors: Introduction, Class Declaration and Modifiers, Class
(10Hrs) Members, Declaration of Class Objects, method overloading.
Constructors: Default Constructor, Parameterized Constructor, Copy Constructor and
Constructor Overloading, This Keyword.
Page 32 of 45
Exception Handling: Introduction, Hierarchy of Standard Exception Classes, Keywords
throws and throw, try, catch, and finally Blocks, Multiple Catch Statements, Class
UNIT-IV Throwable, Custom Exceptions, Nested try and catch Blocks.
(10Hrs) Multithreaded Programming:Introduction, Need for Multiple Threads, Thread class,
Thread Life Cycle, Extending Thread class, Implementing Runnable interface, Thread
Priorities, Inter-thread communication.
File IO:Introduction, IO classes and interfaces, Stream classes, Byte Streams, the character
Streams.
UNIT-V
Java Database Connectivity: Introduction, Structure of JDBC, JDBC Architecture, Types
(10Hrs)
of JDBC Drivers, JDBC API (java.sql package), Connecting to the Database, JAVA
Database connection program for MS-Access, Oracle and MySQL, JDBC Batch Processing.
Text Books:
Core Java Volume I--Fundamentals: 1 (Core Series)11thedition (2020) by Cay
1.
Horstmann,Pubisher: Pearson
2. The complete Reference Java, 12th edition (2021), Herbert Schildt, Pubisher:TMH.
JdbcApiTutorial and Reference 3E(2003), by Maydene, Jon Ellis (Author), Jonathan Bruce,
3.
Publisher : Addison-Wesley Professional
Reference Books:
1. Introduction to java programming, 9th edition(2014) by Y Daniel Liang, Pubisher:Pearson
2. Murach's Java Programming, 5th edition(2017) Joel Murach , Pubisher:Mike Murach
3. JAVA one step ahead, 1stedition (2017)Anitha Seth, B.L.Juneja, Oxford.
Java: A Beginner's Guide, Eighth Edition 8th Edition(2018)by Herbert Schildt,Pubisher:McGraw-
4.
Hill Education
Head First Java 3e (2021)(A Brain Friendly Guide) by Kathy Sierra & Bert
5.
bates,Pubisher:O′Reilly
6. Programming With Java:A Primer 6E(2019)By Balagurusamy,Pubisher:TMH.
e-Resources:
1. https://nptel.ac.in/courses/106/105/106105191/
2. https://www.coursera.org/learn/java-introduction
3. https://docs.oracle.com/javase/tutorial/
4. https://www.linkedin.com/in/jamesgosling
5. https://en.wikipedia.org/wiki/James_Gosling#Books
Page 33 of 45
Code Category L T P C I.M E.M Exam
B20 HS 2201 HS 3 0 0 0 30 70 3 Hrs.
Course Outcomes:
At the end of the course Students will be able
1. Equip oneself with the knowledge of estimating the Demand and demand elasticities for
K2
a product.
2. Have knowledge of Cost and its types and ability to calculate BEP K3
3. Understand the nature of different markets K2
4. Uunderstand Pricing Practices prevailing in today's business world K2
5. Prepare Financial Statements and know how to calculate Profit & Loss for a firm K3
6. Know Types of capital and their sources and know how to calculate Depreciation K2
SYLLABUS
Cost Analysis: Importance of cost analysis, Types of Cost- Actual cost Vs Opportunity
cost, Fixed cost Vs Variable cost, Explicit Vs Implicit cost, Historical cost Vs Replacement
cost, Incremental cost Vs Sunk cost; Elements of costs – Material, Labour, Expenses;
UNIT-II
Methods of costing - Job costing, contract costing, Process costing, Batch costing, Unit
(10 Hrs)
costing, Service costing, Multiple costing. Break-even analysis: Determination of
Breakeven point - Applications, Assumptions and Limitations of Break -even analysis
(Theory only).
Page 34 of 45
Introduction to Financial Accounting:
UNIT-IV Importance of Accounting - Double Entry System of Accounting - Types of Accounts -
(08 Hrs) Journal, Ledger, Trail Balance, Trading Account, Profit and Loss Account and Balance
Sheet (outlines only).
Capital & Depreciation: Types of Capital - Fixed capital & Working Capital, Components
of Working Capital, Factors influencing Working capital. Methods of Raising Finance -
UNIT-V
Short term, medium term and Long term. Depreciation - Meaning, Importance and causes
(12 Hrs)
of depreciation; Methods of Depreciation- Straight line and diminishing balancing methods
(Theory only)
Text Books:
1. A R Aryasri, Managerial Economics and Financial Analysis, TMH Pvt. Ltd, New Delhi
Dr. N.Appa Rao, Dr.P. Vijayakumar:Managerial Economics and Financial Analysis’, Cengage
2.
Publications, New Delhi
Reference Books:
Dr.B.Kuberudu& T.V. Ramana : Managerial Economics and Financial anaysis, Himalaya
1.
Publishing House
2. Varshney R.L, K.L Maheswari, Managerial Economics, S. Chand & Company Ltd,
3. Shashi K. Gupta & R.K. Sharma Management Accounting, Kalyani Publishers
4. Maheswari S.N, An Introduction to Accountancy, Vikas Publishing House Pvt Ltd
Page 35 of 45
Code Category L T P C I.M E.M Exam
B20 CS 2204 PC 0 0 3 1.5 15 35 3 Hrs.
Course Outcomes:
At the end of the course Students will be able to
1. Utilize SQL to execute queries for creating database and performing data manipulation K3
operations
2. Apply Queries using SQL K3
4. Build PL/SQL programs including stored procedures, functions, cursors and triggers K3
LIST OF PROGRAMS
Creation, altering and dropping of tables and inserting rows into a table (use constraints while
1
creating tables) examples using SELECT command.
2 Queries (along with sub Queries) using ANY, ALL, IN, EXISTS, NOTEXISTS, UNION,
INTERSET, Constraints. Example:- Select the roll number and name of the student who secured
fourth rank in the class.
Queries using Aggregate functions (COUNT, SUM, AVG, MAX and MIN), GROUP BY,
3
HAVING and Creation and dropping of Views.
Queries using Conversion functions (to_char, to_number and to_date), string functions
(Concatenation, lpad, rpad, ltrim, rtrim, lower, upper, initcap, length, substr and instr), date
4
functions (Sysdate, next_day, add_months, last_day, months_between, least, greatest, trunc,
round, to_char, to_date)
i. Create a simple PL/SQL program which includes declaration section, executable section and
exception –Handling section (Ex. Student marks can be selected from the table and printed for
5 those who secured first class and an exception can be raised if no records were found)
ii. Insert data into student table and use COMMIT, ROLLBACK and SAVEPOINT in PL/SQL
block.
Develop a program that includes the features NESTED IF, CASE and CASE expression. The
6
program can be extended using the NULLIF and COALESCE functions.
Program development using WHILE LOOPS, numeric FOR LOOPS, nested loops using ERROR
7
Handling, BUILT –IN Exceptions, User defined Exceptions, RAISE APPLICATION ERROR.
8 Programs development using creation of procedures, passing parameters IN and OUT of
PROCEDURES.
Program development using creation of stored functions, invoke functions in SQL Statements and
9
write complex functions.
10 Develop programs using features parameters in a CURSOR, FOR UPDATE CURSOR, WHERE
Page 36 of 45
CURRENT of clause and CURSOR variables.
Develop Programs using BEFORE and AFTER Triggers, Row and Statement Triggers and
11
INSTEAD OF Triggers
Reference Books:
1. Oracle Database 12C: The Complete Reference by Byrla, McGraw Hill Education, 2017.
SQL The Complete Reference by James Groff, Paul Weinberg , Andy Oppel, 3rd
2.
Edition,McGraw Hill Education, 2017.
3. SQL, PL/SQL by Ivan Bayross, 4th Revised Edition, 2020.
Page 37 of 45
Code Category L T P C I.M E.M Exam
B20 CS 2205 PC 0 0 3 1.5 15 35 3 Hrs.
R PROGRAMMING LAB
(For CSE)
Course Objectives:
1. To learn statistical programming, computation, graphics, and modeling,
2. To learn Writing functions and use R in an efficient way,
3. To learn about basic types of statistical models
Course Outcomes:
At the end of the course Students will be able
1. Access online resources for R and import new function packages into the Rworkspace K2
2. Import, review, manipulate and summarize data-sets in R K3
3. Explore data-sets to create testable hypotheses and identify appropriate statistical tests K3
4. Perform appropriate statistical tests using R K3
5. Create and edit visualizations with R K3
LIST OF PROGRAMS
Write a R program to take input from the user (name and age) and display the values. Also print
1.
the version of R installation.
2. Write a R program to get the details of the objects in memory.
Write a R program to create a sequence of numbers from 20 to 50 and find the mean of numbers
3.
from 20 to 60 and sum of numbers from 51 to 91.
4. Write a R program to create a simple bar plot of five subjects marks.
5. Write a R program to get the unique elements of a given string and unique numbers of vector.
Write a R program to create three vectors a,b,c with 3 integers. Combine the three vectors to
6.
become a 3×3 matrix where each column represents a vector. Print the content of the matrix.
Write a R program to create a 5 x 4 matrix, 3 x 3 matrix with labels and fill the matrix by rows and
7.
2 × 2 matrix with labels and fill the matrix by columns.
8. Write a R program to combine three arrays so that the first row of the first array is followed by the
first row of the second array and then first row of the third array.
Write a R program to create a two-dimensional 5x3 array of sequence of even integers greater than
9.
50.
Write a R program to create an array using four given columns, three given rows, and two given
10.
tables and display the content of the array.
11. Write a R program to create an empty data frame.
12. Write a R program to create a data frame from four given vectors.
Write a R program to create a data frame using two given vectors and display the duplicated
13.
elements and unique rows of the said data frame.
Write a R program to save the information of a data frame in a file and display the information of
14.
the file.
15. Write a R program to create a matrix from a list of given vectors.
16. Write a R program to concatenate two given matrices of same column but different rows.
Page 38 of 45
Write a R program to find row and column index of maximum and minimum value in agiven
17.
matrix.
18. Write a R program to append value to a given empty vector.
19. Write a R program to multiply two vectors of integers type and length 3.
20. Write a R program to find Sum, Mean and Product of a Vector, ignore element like NAor NaN.
Write a R program to list containing a vector, a matrix and a list and give names to theelements in
21.
the list.
Write a R program to create a list containing a vector, a matrix and a list and give namesto the
22.
elements in the list. Access the first and second element of the list.
Write a R program to create a list containing a vector, a matrix and a list and remove thesecond
23.
element.
24. Write a R program to select second element of a given nested list.
25. Write a R program to merge two given lists into one list.
Write a R program to create a list named s containing sequence of 15 capital letters, starting from
26.
‘E’.
27. Write a R program to assign new names "a", "b" and "c" to the elements of a given list.
28. Write a R program to find the levels of factor of a given vector.
29. Write a R program to create an ordered factor from data consisting of the names of months.
30. Write a R program to concatenate two given factor in a single factor.
Reference Books:
1. R for Data Science is a book written by Hadley Wickham (Author), Garrett Grolemund.
Page 39 of 45
Code Category L T P C I.M E.M Exam
B20 CS 2206 ES 0 0 3 1.5 15 35 3 Hrs.
Course Outcomes:
At the end of the course Students will be able
1. Develop simple programs using command line arguments, arrays, vectors and strings. K3
2. Demonstrate Classes, Objects, Constructors, Methods and Runtime Polymorphism. K2
3. Develop reusable programs using the concepts of inheritance, interfaces and packages. K3
4. Develop Applications using exception handing and multithreading. K3
5. Apply the concepts of Java IO Files and database in real time problem solving. K3
LIST OF PROGRAMS
Exercise - 1 (Basics)
1. a) Write a JAVA program to display default value of all primitive data types of JAVA.
b) Write a JAVA program using Command line arguments
2. Exercise - 2 (Classes, Objects, Constructors)
a) Write a JAVA program to implement Classes and Objects.
b) Write a JAVA program implement method overloading.
c) Write a JAVA program to implement constructor overloading.
d) Write a JAVA program to implement this keyword.
Exercise - 3 (Arrays, Vectors, Strings)
a) Write a JAVA program to implement Matrix Multiplication.
3. b) Write a JAVA program to implement Vector Operations.
c) Write a JAVA program to implement String Operations.
d) Write a JAVA program to implement StringBuffer class.
Exercise - 4(Inheritance)
a) Write a JAVA program to implement Single Inheritance.
4. b) Write a JAVA program to implement multilevel Inheritance.
c) Write a java program for abstract class to find areas of different shapes.
d) Write a JAVA program to implement “super” keyword.
Exercise - 5 (Interfaces, Packages)
a) Write a JAVA program to implement Interface.
5. b) Write a JAVA program to implement simple Packages.
c) Write a JAVA program to access package from another package.
d) Write a JAVA program to implement sub Packages.
Page 40 of 45
6. Exercise - 6 (Exception Handling)
a) Write a JAVA program to implement the following Built in Exceptions.
i) Arithmetic Exception.
ii) Array Index Out Of Bounds Exception
iii) Number Format Exception.
iv) Null Pointer Exception.
b) Write a JAVA program to implement multiple catch statements.
c) Write a JAVA program to implement user defined Exception.
Exercise – 7 (Multithreading)
a) Write a JAVA program that creates threads by extending Thread class .First thread display
“Good Morning “every 1 sec, the second thread displays “Hello “every 2 seconds and the
7. third display “Welcome” every 3 seconds .
b) Write a JAVA program to implement Runnable Interface.
c) Write a program to implement priorities to Thread.
d) Write a JAVA program to implement Thread Synchronization(Multiplication tables)
8. Exercise - 8 (File IO)
a) Write a JAVA program to copy contents of file into another using Byte Oriented IO.
b) Write a JAVA program to copy contents of file into another using Character Oriented IO.
c) Write a JAVA program to display contents of file using Line Oriented IO.
d) Write a JAVA program to convert the values into tokens using Scanner class.
Exercise - 9 (JDBC)
a) Write a JDBC program to insert data into database.
9. b) Write a JDBC program to delete data from database.
c) Write a JDBC program to update data into database.
d) Write a JDBC program to retrieve data from database.
Reference Books:
Core Java Volume I--Fundamentals: 1 (Core Series) 11th Edition(2020) by Cay
1.
Horstmann,Pubisher: Pearson
2. The complete Reference Java, 12th edition (2021), Herbert Schildt, Pubisher:TMH.
JdbcApi Tutorial and Reference 3rd Edition(2003), by Maydene , Jon Ellis (Author), Jonathan
3.
Bruce, Publisher : Addison-Wesley Professional
4. Introduction to java programming, 9th Edition(2014) by Y Daniel Liang, Pubisher:Pearson
5. Murach's Java Programming, 5th Edition(2017) Joel Murach , Pubisher:Mike Murach
6. JAVA one step ahead, First Edition (2017)Anitha Seth, B.L.Juneja, Oxford.
7. Programming With Java:A Primer 6th Edition(2019) By Balagurusamy,Pubisher:TMH.
e-Resources:
1. https://nptel.ac.in/courses/106/105/106105191/
2. https://www.coursera.org/learn/java-introduction
3. https://docs.oracle.com/javase/tutorial/
4. https://www.linkedin.com/in/jamesgosling
5. https://en.wikipedia.org/wiki/James_Gosling#Books
6. https://nptel.ac.in/courses/106/105/106105191/
Page 41 of 45
Code Category L T P C I.M E.M Exam
B20CS2207 SOC -- -- 4 2 -- 50 3 Hrs.
Course Outcomes:
At the end of the course Students will be able
1. Explain how data is collected, managed and stored for processing K3
2. Understand the workings of various numerical techniques, different descriptive K3
measures of Statistics, correlation and regression to solve the engineering problems
3. Understand how to apply some linear algebra operations to n-dimensional arrays K3
4. Use NumPy perform common data wrangling and computational tasks in Python. K3
LIST OF EXPERIMENTS
Page 42 of 45
MODULE 2 : PANDAS
Course Objectives:
1. To Understand The Fundamentals Of The Pandas Library In Python
2. How It Is Used To Handle Data And Also Develop Basic Skills In Data Analysis And
Visualization
Course Outcomes:
At the end of the course Students will be able
1. Use Pandas to create and manipulate data structures like Series and DataFrames. K3
2. Work with arrays, queries, and dataframes K3
3. Query DataFrame structures for cleaning and processing and manipulating files K3
4. Understand best practices for creating basic charts K3
LIST OF PROGRAMS
Page 43 of 45
2) Write a Pandas program to change the name 'James' to 'Suresh' in name column of the
DataFrame.
3) Write a Pandas program to insert a new column in existing DataFrame.
4) Write a Pandas program to get list from DataFrame column headers.
5) Write a Pandas program to get list from DataFrame column headers.
C) Pandas Index:
1) Write a Pandas program to display the default index and set a column as an Index in a given
4. dataframe.
2) Write a Pandas program to create an index labels by using 64-bit integers, using floating-point
numbers in a given dataframe.
D) Pandas String and Regular Expressions:
1) Write a Pandas program to convert all the string values to upper, lower cases in a given pandas
series. Also find the length of the string values.
5. 2) Write a Pandas program to remove whitespaces, left sided whitespaces and right sided
whitespaces of the string values of a given pandas series.
3) Write a Pandas program to count of occurrence of a specified substring in a DataFrame column.
4) Write a Pandas program to swap the cases of a specified character column in a given DataFrame.
E) Pandas Joining and merging DataFrame:
1) Write a Pandas program to join the two given dataframesalong rows and assign all
data.
6. 2) Write a Pandas program to append a list of dictioneries or series to a existing
DataFrame and display the combined data.
3) Write a Pandas program to join the two dataframes with matching records from both sides where
available.
F) Pandas Time Series:
1) Write a Pandas program to create
a) Datetimeobject for Jan 15 2012.
b) Specific date and time of 9:20 pm.
c) Local date and time.
d) A date without time.
7. e) Current date.
f) Time from a datetime.
g) Current local time.
2) Write a Pandas program to create a date from a given year, month, day and another
date from a given string formats.
3) Write a Pandas program to create a time-series with two index labels and random
values. Also print the type of the index.
8. G) Pandas Grouping Aggregate:
Consider dataset:
school class name date_Of_Birth age height weight address
S1 s001 V Alberto Franco 15/05/2002 12 173 35 street1
S2 s002 V Gino Mcneill 17/05/2002 12 192 32 street2
S3 s003 VI Ryan Parkes 16/02/1999 13 186 33 street3
S4 s001 VI Eesha Hinton 25/09/1998 13 167 30 street1
S5 s002 V Gino Mcneill 11/05/2002 14 151 31 street2
S6 s004 VI David Parkes 15/09/1997 12 159 32 street4
Page 44 of 45
1) Write a Pandas program to split the following dataframe into groups based on school code. Also
check the type of GroupBy object.
2) Write a Pandas program to split the following dataframe by school code and get
mean, min, and max value of age for each school.
H) Pandas Styling:
1) Create a dataframe of ten rows, four columns with random values. Write a Pandas program to
highlight the negative numbers red and positive numbers black.
9. 2) Create a dataframe of ten rows, four columns with random values. Write a Pandas program to
highlight the maximum value in each column.
3) Create a dataframe of ten rows, four columns with random values. Write a Pandas program to
highlight dataframe's specific columns.
I) Excel:
10. 1) Write a Pandas program to import excel data into a Pandas dataframe.
2) Write a Pandas program to find the sum, mean, max, min value of a column of file.
J) Plotting:
1) Write a Pandas program to create a horizontal stacked bar plot of opening, closing stock prices
of any stock dataset between two specific dates.
11. 2) Write a Pandas program to create a histograms plot of opening, closing, high, low stock prices of
stock dataset between two specific dates.
3) Write a Pandas program to create a stacked histograms plot of opening, closing, high,low stock
prices of stock dataset between two specific dates with more bins.
K) Pandas SQL Query:
12. 1) Write a Pandas program to display all the records of a student file.
2) Write a Pandas program to select distinct department id from employees file.
Reference Books:
1 Wesley J Chen, Core Python Programming 2nd Edition, Kindle Edition
2 Jake VanderPlas, Python Data Science Handbook: Essential Tools for Working with Data
1stEdition, Kindle Edition, Oreilly Publisher
Mark Summerfield, Programming in Python 3-A Complete Introduction to the Python
3
Language,Second Edition, Additson Wesley
Phuong Vo.T.H, Martin Czygan, Getting Started with Python Data Analysis, Packt Publishing
4
Ltd
5 Ivan Idris, Python Data Analysis, Packt Publishing Ltd
Magnus VilhelmPersson and Luiz Felipe Martins, Mastering Python Data Analysis,
6
PacktPublishing Ltd
Page 45 of 45