Scheme of Teaching and Examination M.SC (Computer Science) Choice Based Credit System (CBCS) W.E.F 2016-17 I Semester
Scheme of Teaching and Examination M.SC (Computer Science) Choice Based Credit System (CBCS) W.E.F 2016-17 I Semester
I Semester
No.of
Hours
Internal External Total per No.of
S.NO Subject Code Subject Title Marks Marks Marks week Credits/Week
Object Oriented Programming
1 MCS10116 Systems 30 70 100 4 4
2 MCS10216 Computer Organization 30 70 100 4 4
3 MCS10316 Discrete Mathematical Structures 30 70 100 4 4
4 MCS10416 Database Management Systems 30 70 100 4 4
5 MCS10516 Data Structures 30 70 100 4 4
6 MCS10616 Data Structures Lab using JAVA 30 70 100 6 3
7 MCS10716 DBMS Lab 30 70 100 6 3
8 MCS10816 Object Oriented Programming Lab 50 50 3 2
Total 260 490 750 36 28
II Semester
No.of
Hours
Internal External Total per No.of
S.NO Subject Code Subject Title Marks Marks Marks week Credits/Week
1 MCS20116 Computer Networks 30 70 100 4 4
2 MCS20216 Operations Research 30 70 100 4 4
3 MCS20316 Theory of Computation 30 70 100 4 4
Object Oriented Software
4 MCS20416 Engineering 30 70 100 4 4
5 MCS20516 Operating Systems 30 70 100 4 4
Object Oriented Software
6 MCS20616 Engineering Lab 30 70 100 6 3
7 MCS20716 Operating System & Networks Lab 30 70 100 6 3
8 MCS20816 Technical Report Writing 50 50 3 2
Total 260 490 750 36 28
III Semester
No.of
Hours
Internal External Total per No.of
S.NO Subject Code Subject Title Marks Marks Marks week Credits/Week
Cryptography & Network
1 MCS30116 Security 30 70 100 4 4
Design & Analysis of
2 MCS30216 Algorithms 30 70 100 4 4
Data Warehousing & Data
3 MCS30316 Mining 30 70 100 4 4
4 MCS30416 Web Technologies 30 70 100 4 4
Advanced Database
MCS305.116 Management System
MCS305.216 TCP/IP
5 MCS305.316 Software Testing 30 70 100 4 4
MCS305.416 Simulation and Analysis
MCS305.516 Artificial Intelligence
MCS305.616 Compiler Design
6 MCS30616 Web Technologies Lab 30 70 100 6 3
7 MCS30716 Data Mining Lab 30 70 100 6 3
8 MCS30816 Testing Tools Lab 50 50 3 2
Total 260 490 750 36 28
IV Semester
No.of
Hours
Internal External Total per No.of
S.NO Subject Code Subject Title Marks Marks Marks week Credits/Week
1 MCS40116 DotNet Programming 30 70 100 4 4
2 MCS40216 Mobile Computing 30 70 100 4 4
3 MCS40316 Cloud Computing 30 70 100 4 4
4 MCS40416 DotNet Programming Lab 30 70 100 6 3
5 MCS40516 Project Work 100 200 300 18 10
Total 220 480 700 36 25
DETAILED
SYLLABUS
I SEMESTER
MCS 10116: OBJECT ORIENTED PROGRAMMING SYSTEMS
Unit 1 Object Oriented Programming: Introduction to OOP, Objects and Classes,
Characteristics of OOP, Difference between OOP and Procedure Oriented Programming.
Introduction to Java Programming: Introduction, Features of Java, Comparing Java
and other languages, Applications and Applets, Java Development Kit, More Complex
Programs, Java Source file structure, Prerequisites for Compiling and Running Java
Programs.
Unit 2 Java Language Fundamentals: The building Blocks of Java, Data types, variable
declarations, wrapper classes, Operators and Assignment, Control structures, Arrays,
Strings, The String Buffer Class.
Java as an OOP Language: Defining classes, Modifiers, Packages, Interfaces.
Unit 3 Exception Handling: Introduction, Basics of Exception Handling in Java, Exception
Hierarchy, Constructors and Methods in Throwable class, Unchecked and Checked
Exceptions, Handling Exceptions in Java, Exception and Inheritance, Throwing User-
defined Exceptions, Redirecting and Rethrowing Exceptions, Advantages of Exception –
Handling Mechanism.
Multithreading: An Overview of Threads, Creating Threads, Thread Life–cycle, Thread
Priorities and Thread Scheduling, Thread Synchronization, Daemon Threads, Thread
groups, Communication of Threads.
Unit 4 Files and I/O Streams: An Overview of I/O streams, Java I/O, File Streams,
FileInputStream and FileOutputStream, Filter streams, Random Access File,
Serialization.
Applets: Introduction, Java applications versus Java Applets, Applet Life-cycle,
Working with Applets, The HTML Applet Tag.
Database Handling Using JDBC: An Overview of DBMS, JDBC Architecture,
Working with JDBC
Unit 5 Servlets: Introduction, How to run servlets, The Life–cycle of the servlet, servlet API,
Multitier Applications using JDBC from a servlet.
Networking and Remote Method Invocation: Introduction to Networking,
Understanding Ports, Networking Classes in JDK, Introduction to RMI, RMI
Architecture – Implementing Remote class and interface – security.
Text books
Reference books
Reference books
Author Title Publisher
th
1 Ralph P. Grimaldi, Discrete and Combinational 5 Edition, Pearson
B.V. Ramana Mathematics Education (2008).
2 Swapan Kumar A Text Book of Discrete S.Chand (2008)
Sarkar Mathematics
3 D.S.Malik and Discrete Mathematical Structures Thomson (2006)
M.K.Sen
MCS 10416: DATABASE MANAGEMENT SYSTEMS
Unit 1 Databases and Database Users: Introduction, Characteristics of the Database
Approach, Actors on the Scene, Workers behind the scene, Advantages of the using the
DBMS Approach.
Database System Concepts and Architecture: Data Models, Schemas and Instances,
Three Schema architecture and Data Independence, Database Languages and
Interfaces, Centralized and Client/Server Architecture for DBMS, Classification of
Database Management Systems.
Data Modeling Using the ER Model: Conceptual Data models, Entity Types, Entity
Sets, Attributes and Keys, Relationship types, Relationship sets, roles and structural
Constraints, Weak Entity types, Relationship Types of Degree Higher than Two,
Refining the ER Design for the COMPANY Database.
The Enhanced Entity-Relationship Model: Sub classes, Super classes and
Inheritance, Specialization and Generalization, Constraints and Characteristics of
Specialization and Generalization Hierarchies, Modeling of Union Types using
Categories, An Example University ERR Schema, Design Choices and Formal
Definitions.
Unit 2 The Relational Data Model and Relational Database Constraints: Relational Model
Concepts, Relational Model Constraints and Relational Database Schemas, Update
Operations, Transactions and Dealing with Constraint Violations.
The Relational Algebra and Relational Calculus: Unary Relational Operations:
SELECT and PROJECT, Relational Algebra Operations from set Theory, Binary
Relational Operations: JOIN and DIVISION, Additional Relational Operations,
Examples, The Tuple Calculus and Domain Calculus.
SQL-99: Schema Definition, Constraints, Queries and Views: SQL Data
Definitions and Data Types, Specifying Constraints in SQL, Schema Change
Statements on SQL, Basic Queries in SQL, More Complex SQL Queries, INSERT,
DELETE and UPDATE statements in SQL, Triggers and Views.
Unit 3 Functional Dependencies and Normalization for Relational Databases: Informal
Design Guidelines for Relation Schemas, Functional dependencies, Normal Forms
Based in Primary Keys, General Definitions of Second and Third Normal Forms,
Boyce-Codd Normal Form.
Relational Database Design Algorithms and Further Dependencies: Properties of
Relational Decompositions, Algorithms fro Relational Database Schema Design,
Multivalued Dependencies and Fourth Normal Form, Join Dependencies and Fifth
Normal Form, Inclusion Dependencies, Other Dependencies and Normal Forms.
Unit 4 Disk Storage, Basic File Structures and Hashing: Introduction, Secondary Storage
Devices, Buffering of Blocks, Placing file Records on Disk, Operations on Files, Files
of Unordered Records, Files of Ordered Records, Hashing Techniques, Other Primary
File Organizations, Parallelizing Disk Access using RAID Technology.
Indexing Structures for Files: Types of Single-Level Ordered Indexes, Multilevel
Indexes, Dynamic Multilevel Indexes Using B-Trees and B+ Trees, Indexes on Multiple
Keys, Other Types of Indexes.
Unit 5 Introduction to Transaction Processing Concepts and Theory: Introduction to
Transaction Processing, Transaction and System Concepts, Desirable Properties of
Transactions, Characterizing Schedules Based on Recoverability, Characterizing
schedules Based on Serializability.
Concurrency Control Techniques: Two Phase Locking Techniques for Concurrency
Control, Concurrency Control Based on Timestamp Ordering, Multiversion
Concurrency control techniques, Validation concurrency control Techniques,
Granularity of Data Items and multiple Granularity Locking.
Distributed Databases and Client Server Architectures: Distributed Database
Concepts, Data Fragmentation, Replication, and allocation Techniques for Distributed
Database Design, Types of Distributed Database Systems, An Overview if 3 Tier Client
Server Architecture.
Text books
Reference books
Author Title Publisher
1 Peter Rob, Carlos Database Systems– Design, Eigth Edition, Thomson
Coronel Implementation and Management (2008)
2 C.J. Date, A.Kannan, An Introduction to Database VII Edition Pearson
S.Swamynathan Systems Education (2006).
3 Raman A Mata – Database Management Systems Schaum’s Outlines, TMH
Toledo, Panline K. (2007)
Cushman
4 Steven Feuerstein Oracle PL/SQL – Programming 10th Anniversary Edition,
OREILLY (2008)
MCS 10516 : DATA STRUCTURES
Unit 1 Introduction and Overview- Elementary Data Organization, Data Structures, Data
Structure Operations, Algorithms: Complexity, Time-Space Tradeoff
Preliminaries-Mathematical Notation and Functions, Algorithmic Notation, Control
Structures, Complexity of Algorithms. Other Asymptotic Notations, Sub algorithms,
Variables, Data Types
Unit 2 String Processing – Storing Strings, Character Data Type, String Operations, Word
Processing, Pattern Matching Algorithms
Arrays, Records and Pointers – Linear Arrays, Representation and Traversing Linear
Arrays, Inserting and Deleting, Bubble Sort, Linear Search, Binary Search,
Multidimensional Arrays, Pointer Arrays, Record Structures, Representation of records
in memory, Parallel Arrays, Matrices, Sparse Matrices
Unit 3 Linked Lists – Representation, Traversing, Searching, Memory Allocation: Garbage
Collection, Insertion, Deletion, Header Linked Lists, Two-Way Lists
Stacks, Queues, Recursion- Stacks, Array representation, Linked List representation,
Arithmetic Expressions; Polish notation, Quick sort, Recursion, Towers of Hanoi,
Implementation of recursive procedures by stacks, Queues, Linked representation of
Queues, Deques, Priority Queues
Unit 4 Trees- Binary trees, Representing and traversing binary trees, Traversal algorithms using
stacks, Header nodes, Binary Search Trees, Searching, Insertion and Deletion in Binary
Search Trees, AVL Search Trees, Insertion and Deletion in AVL trees, m-way search
trees, searching, insertion and deletion in m-way search tree, B Trees, searching,
insertion and deletion in a B-tree, Heap: Heap Sort, Huffman’s Algorithms, General
Trees
Unit 5 Graphs- Terminology, Sequential representation of Graphs, Warshall’s Algorithm,
Linked representation of Graphs, Operations on Graphs, Traversing a Graph,
Topological Sorting
Sorting and Searching- Insertion Sort, Selection sort, Merging, Merge sort, Radix sort,
Searching and Data modification, Hashing
Text books
Author Title Publisher
1 Seymour Lipschutz Data Structures McGraw Hill
(Schaum’s Outlines)
Reference books
Author Title Publisher
1 Seymour Lipschutz Theory and Problems of Data McGraw Hill
Structures (Schaum’s Outlines)
2 Aho, Hopcroft & Data Structures & Algorithms
Ullman
3 M.A.Weiss Data Structures & Algorithms in C Addison Wisley
MCS 10616: DATA STRUCTURES USING JAVA LAB
Cycle – I : Java Programming
1. Write a Java Program that has a method for the caluculation of the fourth power of 2.
2. Write a Java Program that prints different Time Zones available with TimeZone Class.
Write a Java Program to
a. Test equality between two strings
3.
b. Find the length of the strings
c. Convert the given strings to upper case
Create a class called Numera that accepts an array of 10 numbers. Create a sub class called
NumPlay which has a menu as follows
a. Display numbers entered
b. Sum of the Numbers
4. c. Average of the Numbers
d. Maximum of the Numbers
e. Minimum of the Numbers
Create appropriate methods in the sub class to execute the operations as per choice and it should
continue until we press ctrl + Z.
Write a Java program to accept two names as command line parameters. Check whether each of
5. them exist in c:\java directory. If it exists, display its name and size, else display the message that it
does not exist. Further, if the extension of the file is html, then it has to be deleted.
6. Write a Java program to sort the elements of array in ascending order.
Cycle – II : Linear Data Structures : Sequential and Linked Storage Representations
1. Write a Java Program to create a class called Stack and implement stack operations.
2. Write a Java Program to create a class called Queue and implement queue operations.
Write a Java class to perform the following operations :
3. a. Polish Notation
b. Infix to Polish Notation
4. Write a Java Class to implement the operations of a Singly linked list.
5. Write a Java Class to implement the operations of a Doubly linked list.
6. Write a Java Class to implement the operations of a Circular linked list.
Cycle – III : Non Linear Data Structures
1. Write a Java program to implement operations on Binary Trees
2. Write a Java program to implement linked storage representation for binary trees
3. Write a Java program for symbol table construction
4. Write a Java Program to implement Sparse Matrix
5. Write a Java Program to implement DFS algorithm
6. Write a Java Program to implement BFS algorithm
Cycle – IV : Sorting & Searching
Write a Java program to implement the Following sorting techniques :
a. Bubble Sort
1.
b. Merge Sort
c. Quick Sort
Write a Java program to implement the Following search techniques :
2. a. Binary Search
b. Height Balanced Tree
c. Weight Balanced Tree
Write a Java Program to implement the following methods :
3. a. Hashing Functions
b. Collision Resolution Techniques
Cycle – V : File Structures
1. Write a Java Program to implement sequential file processing.
Write a Java Program to create and retrieve ‘n’ objects of the following classes :
a. Rectangle
2.
b. Circle
c. Ellipse
MCS 10716: DATABASE MANAGEMENT SYSTEMS LAB
Cycle-I: Aim: Marketing company wishes to computerize their operations by using following
tables.
Data
Column Name Size Attribute
Type
Primary key and first letter must start
SALESMAN_ NO Varchar2 6
with ‘S’
SALESMAN _NAME Varchar2 20 Not null
ADDRESS1 Varchar2 30
ADDRESS2 Varchar2 30
CITY Varchar2 20
PINCODE Number 8
STATE Vachar2 20
SAL_AMT Number 8,2 Not null, cannot be 0
TGT_TO_GET Number 6,2 Not null, cannot be 0
YTD _SALES Number 6,2 Not null
REMARKS Varchar2 20
ORDER_ NO Varchar2 6 Primary key and first letter must start with ‘S’
CLIENT _NO Varchar2 6 Foreign Key
ORDER _DATE Date
DELY _ADDRESS Varchar2 25
SALESMAN_ NO Varchar2 6 Foreign Key
DELY _TYPE Char 1 Delivery: part(p)/ full(f) and default ‘F’
BILL_ YN Char 1
DELY_ DATE Date Can’t be less than order date
Values (“In Process”, “ Fulfilled”,
ORDER _STATUS Varchar2 10
“Back Order”, “Cancelled.
Cycle-II
Aim: A manufacturing company deals with various parts and various suppliers supply these
parts. It consists of three tables to record its entire information. Those are as follows.
1. Get supplier numbers and status for suppliers in Chennai with status > 20.
2. Get project names for projects supplied by supplier S.
3. Get colors of parts supplied by supplier S1.
4. Get part numbers for parts supplied to any project in Mumbai.
5. Find the id’s of suppliers who supply a red or pink parts.
6. Find the pnames of parts supplied by London supplier and by no one else.
7. Get the names of the parts supplied by the supplier ‘Mart’ and ‘Miller’.
8. Get supplier names for suppliers who do not supply part P2.
9. Get all parirs of supplier numbers such that the suppliers concerned are “colocated”.
10. Get suppliers names for the suppliers who supply at least one red part.
Cycle- IV
An Airline system would like to keep track their information by using the following relations.
FLIGHTS( fl_no: integer, from: string, to: string, distance: integer, price: integer)
AIRCRAFT(aid: integer, aname: string, cruising_range: integer)
CERTIFIED(eid: integer, aid: integer)
Employees( eid: integer, ename: string, salary: real)
Note that the employees relation describes pilots and other kinds of employees as well; every
pilot is certified for aircraft and only pilots are certified to fly. Resolve the following queries.
1. Find the names of pilots whose salary is less than the price of the cheapest route from
Newyork to Chicago.
2. For each pilot who is certified for more than 2 aircraft, find the eid’s and the maximum
cruising range of the aircraft that he or she certified for.
3. For all aircraft with cruising range over 1,500 miles, find the name of the aircraft and the
average salary of all pilots certified for this aircraft.
4. Find the aid’s of all aircraft than can be used from chicaga to LosAngels.
5. Find the name of the pilots certified from some Boeing aircraft.
6. Print the enames of pilots who can operate planes with cruising range greater than
3,500 miles, but are not certified by Boeing aircraft.
7. Find the eid’s of employees who are certified for exactly 2 aircrafts.
8. Find the total amount paid to employees as salaries.
9. Find the aid’s of all than can be used on non-stop flights from Chennai to Dubai.
10. Find the eid’s of employee who make second highest salary.
PL/SQL PROGRAMS
1. Write a PL/SQL program to check the given number is strong or not.
2. Write a PL/SQL program to check the given string is palindrome or not.
3. Write a PL/SQL program to swap two numbers without using third variable.
4. Writ a PL/SQL program to generate multiplication tables for 2, 4, 6.
5. Write a PL/SQL program to check the given number is Amstrong or not.
6. Write a PL/SQL code to find the factorial of any number.
7. Write a PL/SQL program to display sum of even numbers and sum of odd numbers in the
given range.
8. Write a PL/SQL program to check the given number is palindrome or not.
9. The HRD manager has decide to raise the employee salary by 15% write a PL/SQL block
to accept the employee number and update the salary of that employee. Display
appropriate message based on the existence of the record in Emp table.
10. Write a PL/SQL program to display to 10 rows in Emp table based on their job and
salary.
11. Write a PL/SQL program to raise the employee salary by 10% for department number 30
people and also maintain the raised details in the raise table.
12. Write a procedure to update the salary of Employee, who are not getting commission by
10%.
13. Write a PL/SQL procedure to prepare an electricity bill by using following table.
Table used: Elect
14. Write a PL/SQL program to prepare an telephone bill by using following table and print
the monthly bills for each customer.
Table used: Phone
Name Null? Type
TEL_NO NOT NULL NUMBER(6)
CNAME VARCHAR2(20)
CITY VARCHAR2(10)
PR_READ NUMBER(5)
CUR_READ NUMBER(5)
NET_AMT NUMBER(5)
TOT-AMT NUMBER(8,2)
15. Write a PL/SQL program to raise the employee salary by 10 %, who are completed ther
25 years of service and store the details at appropriate tables
(Define the Retair_ Emp_Table)
16. Write a PL/SQL program to evaluate the grade of a student with following conditions:
For pass: all marks > 40
For I class: Total % > 59
For II Class: Total % between >40 and < 60
For III class: total % = 40
And also maintain the details in abstract table.
1. Table Std
2. Table Abstract
8. Write a Java Program to create a Package (Static and Dynamic link Libary).
2. a) What is a register? Explain register transfer using block diagram and Timing
diagram.
b) Explain the memory- reference instruction.
OR
c) Draw the block diagram of an ALU and explain the operations performed by it.
d) What is an interrupt? Explain the interrupt cycle with diagram.
3. a) Describe the organization of Microprogrammed control with block diagram.
b) Explain about instruction format.
OR
c) Explain about different types of addressing modes.
d) Explain about control memory in detail.
4. a) What is BCD adder? Explain with block diagram.
b) Explain about Booth’s multiplication algorithm.
OR
c) With a flow chart explain Hardware algorithm.
d) Explain about Floating point arithmetic operations.
5. a) What is an input – output interface? What is the difference between isolated I/o and
memory- mapped I/o.
b) Write a note on memory – hierarchy.
OR
c) What is Asynchronous data transfer?
d) What is locality of reference? Discuss various organizations of cache memory.
KRISHNA UNIVERSITY: MACHILIPATNAM
I Semester M.Sc. (Computer Science) Examination
MCS10316 : DISCRETE MATHEMATICAL STRUCTURES
(Regulation 2016-17)
Time : Three hours Maximum: 70 marks
Answer ALL questions
All questions carry equal marks
1. a) Prove the relation p q p r p r is a tautology.
b) Define Greatest Common Divisor (GCD) and Find the GCD (123, 277), GCD (414,
662) using the Euclidean algorithm.
OR
c) Use set builder notation prove the Demorgan laws.
(i) A B A B, (ii ) A B A B
d) Define (i) Biconditional statement (ii) Exclusive or (iii) conditional
statement
with the truth tables.
2. a) Use Induction to prove 12 32 52 2n 1 n 12n 12n 3 / 3
2
OR
c) How many different license plates are available if each plate contains a sequence of
three
letters followed by three digits without repeat ion
d) Find the values of following
(i) C (12, 6) (ii) C (30, 6) (iii) P (10, 9) (iv) P (15, 5)
3. a) Solve the recurrence relation an an1 f n, n 1 by substitution where a0 1
b) Write properties of relations with examples.
OR
c) Solve the recurrence relation a n 3a n 1 4 n 2 3 n given a0 1, a1 2 .
d) Write about reflexive closures, Transitive closures of relations with examples.
4. a) Define the Graphs and Explain the Graphs Models.
b) Explain the Bipartite Graphs.
OR
c) Define Isomorphism between two graphs. Explain Isomorphism of two graphs with
an examples.
d) Explain the Dijkstra’s algorithm to find a shortest path with an example.
5. a) Explain how to produce minimum spanning tree using Prim’s algorithm with an
examples.
b) Write the applications of trees.
OR
c) Construct the circuits that produce the following outputs
(i) x y x (ii) x y z (iii) x y z x y z
d) Use Karnaugh maps to minimize these sum-of products expansions.
(i) xy z x y z x yz x y z
(ii) x yz x y z x yz x yz x y z
(iii) xy z x y z x yz x y z
KRISHNA UNIVERSITY: MACHILIPATNAM
I Semester M.Sc. (Computer Science) Examination
MCS10416: DATABASE MANAGEMENT SYSTEMS
(Regulation 2016-17)
Time : Three hours Maximum: 70 marks
Answer ALL questions
All questions carry equal marks
1. a) Explain DBMS systems Architecture with neat diagram.
b) Write the advantages of using the DBMS approach.
OR
c) Explain Entity, Attributes types with examples.
d) Explain about Specialization and Generalization with examples.
3) a) What is a Linked List? Write algorithms to perform operations in Single linked list.
OR
b) Define Queue. Implement the queue operations using arrays.
c) Explain the process of converting an arithmetic expression from infix notation to
postfix notation with an example.
4) a) Define Binary tree and write non-recursive algorithm for in order traversal of binary
tree.
b) What is a heap? Construct a heap with the following elements
33, 5, 12, 43, 71, 6. 45. 21, 30
OR
c) Define Binary Search Tree and write an algorithm to search an element in a Binary
Search tree.
d) What are AVL search trees? Give example.
5) a) Explain the Graph traversal techniques.
b) Illustrate the process of Quick sort algorithm over the following elements
52, 45, 12, 64, 7, 56, 68, 10, 61
OR
c) Write an algorithm for Merge sort and give an example
d) Explain Warshall’s algorithm to find shortest paths in a weighted graph