Académique Documents
Professionnel Documents
Culture Documents
PART A
Unit-1: Set Theory
Introduction to set theory, Set operations, Algebra of sets, Duality, Finite and Infinite sets,
Classes of sets, Power Sets, set with set-elements.
Cartesian Product, Representation of relations, Types of relations, Equivalence relations and
partitions, Partial ordering relations and lattices.
Function and its types, Composition of functions and relations, Cardinality and inverse
functions.
PART B
Text Books:
Reference Books:
3
6
Instructions for paper setting: Seven questions are to be set in total. First question will
be conceptual covering entire syllabus and will be compulsory to attempt. Three questions
will be set from each Part A and Part B (one from each unit) Student needs to attempt two
questions out of three from each part. Each question will be of 20 marks.
3
7
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
Objective: To give exposure of basic data structures and related algorithms to prepare a
sound base of the students.
PART A
Unit-1: Introduction to Data Structures
Concept of data structure, various elementary data structures, Static and Dynamic
implementation of data structures. Pointers, pointer-arrays & functions, simple programs
using pointers. Stacks: operations on stacks, array based implementation of stacks,
Examples: Infix, postfix, prefix representation of expressions and their conversions,
Applications of stacks. Recursive functions and algorithms. Concept of time complexity.
Unit-3: Trees
Definition of trees and types of trees. Binary trees: properties of binary trees and their
Implementation, Binary tree traversal: pre-order, post-order and in-order traversal. Binary
Search Tree and its implementation. Threaded trees. Balanced trees, balancing trees, left-
right rotations, operations on balanced trees.
PART B
Unit-4: Graphs
Undirected and Directed Graphs. Array based implementation of graphs: Adjacency matrix,
path matrix implementation. Linked List representation of graphs. Shortest path Algorithms:
Warshal, Krushkal and Prim Algorithms. Graph Traversal: Breadth first Traversal, Depth first
Traversal.
Text Books:
Reference Books:
1. Data Structures and Program Design in C : Robert Kruse, Pearson.
2. Theory & Problems of Data Structures : Lipschetz S., Schaum’s outline Series,TMH.
3
8
3. Introduction to Data Structures in C : Kamathne, Pearson
4. Introduction to Computers Science: An Algorithms Approach : J. P. Tremblay, R.B.
Bunt, TMH.
5. Data Structure and the Standard Template library : Willam J. Collins, 2003, TMH
Instructions for paper setting: Seven questions are to be set in total. First question will
be conceptual covering entire syllabus and will be compulsory to attempt. Three questions
will be set from each Part A and Part B (one from each unit) Student needs to attempt two
questions out of three from each part. Each question will be of 20 marks.
3
9
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
PART A
PART B
Text Books:
4
0
1. Computer Systems Architecture : Morris Mano, 3rd Ed., Pearson.
2. Computer Architecture and Organization by John P. Hayes, 3rd Ed., 1998, TMH
Reference Books:
1. Digital Design and Computer Organisation : Gill, N.S and Dixit, J.B,Khanna
Publication
2. Computer Organisation and Architecture : William Stalling, 7th Ed. Pearson.
3. Structured Computer Organisation : A.S. Tanenbaum, 5th Ed., Pearson.
4. Computer Architecture: Nicholas Carter, TMH.
Instructions for paper setting: Seven questions are to be set in total. First question will
be conceptual covering entire syllabus and will be compulsory to attempt. Three questions
will be set from each Part A and Part B (one from each unit) Student needs to attempt two
questions out of three from each part. Each question will be of 20 marks.
4
1
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
Objective: To give exposure of Object Oriented Programming Concepts and use these
concepts to develop programming skills in C++.
PART A
Unit-3: Polymorphism:
Concept of polymorphism; function overloading and operator overloading, Restrictions on
Operator Overloading, Operator Functions as Class Members versus Friend Functions,
Overloading operators: <<, >>, Unary Operators, Overloading Binary Operators.
PART B
Unit-4: Inheritance
Introduction to Inheritance, types of inheritance, Base Classes and Derived Classes.
Abstract base classes: Use of virtual functions in classes. Pointer to derived class. Use of
Protected and Private Inheritance and Member Functions. Overriding Base Class Members in a
Derived Class, Use of Constructors and Destructors in derived Classes, Implicit Derived Class
Object to Base Class Object Conversion, Composition versus. Inheritance.
Reference Books:
1. Computing Concepts with C++ Essentials: Horstmann, John Wiley.
2. Object Oriented Programming in C++ : Bhave, Pearson.
3. Programming with C++ : D Ravichandran, 2003, TMH.
4. The Complete Reference in C++ :Herbert Schildt, 2005, TMH.
Instructions for paper setting: Seven questions are to be set in total. First question will
be conceptual covering entire syllabus and will be compulsory to attempt. Three questions
will be set from each Part A and Part B (one from each unit) Student needs to attempt two
questions out of three from each part. Each question will be of 20 marks
4
3
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
PART A
Unit–1:Introduction
Overview of Database Management System; Advantages of DBMS over file processing
systems; Various views of data; Data Models: Relational Model, Network Model, Hierarchical
Model, Object Oriented Model. Entity Relationship Model, Object Relational Model.
Introduction to Database Languages, Advantages of database languages, Responsibility of
Database Administrator, Overall DBMS Structure.
Text Books:
1. Database System Concepts : A. Silberschatz, H.F. Korth and S. Sudarshan, 3rd
Ed.,1997, TMH.
2. Introduction to Database Management System : Bipin Desai, 1991,Galgotia Pub.
Reference Books:
4
4
1. Fundamentals of Database Systems : R. Elmasri and S.B. Navathe, 3rd Ed, 2000, AW.
2. An Introduction to Database Systems : C.J. Date, 7th ED., 2000, Addison-Wesley.
3. Database Systems : Concepts, Design and Applications : S K Singh, Pearson.
4. SQL, PL/SQL The Programming Language of Oracle : Ivan Bayross, 2nd Ed., BPB
Publication.
5. Oracle Database 10g PL/SQL 101 : Allen and Christopher, 3rd edition, TMG.
Instructions for paper setting: Seven questions are to be set in total. First question will
be conceptual covering entire syllabus and will be compulsory to attempt. Three questions
will be set from each Part A and Part B (one from each unit) Student needs to attempt two
questions out of three from each part. Each question will be of 20 marks
4
5
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
PART A
Unit-1: Digital Technique
Binary Arithmetic, overview of Karnaugh map, Tabulation minimization procedure, Error
detecting and correcting codes.
Unit-3: Logic Gates: Basic gates, RTL, TTL, ECL, HTL, CMOS & NMOS logic gates, circuit
diagram and analysis characteristics and specifications.
PART B
Unit-4: Flip Flops
Concept of Flip-flop, SR, JK, T, D Flip-Flops, Master/Slave Flip-Flops, Analysis of clocked
sequential circuits and their design, state minimization, state assignment, circuit
implementation, Register – Shift Register.
Unit-5: Counters
Synchronous and Asynchronous Counter-Johnson counter, Ring Counter, Decade counter ,
Sequence Generator.
Text Books:
1. Digital Circuit and Design: S.Salivahanan, Vikas.Publication.
2. Digital Logic Design : Sedha R.S., S. Chand.
Reference Books:
1. Digital Logic and Computer Design : M. Morris Mano, PHI..
2. Modern Digital Electronics: Jain, R.P., TMH.
3. Digital Design : John. F .Wakerly, Pearson Education.
4
6
Instructions for paper setting: Seven questions are to be set in total. First question will
be conceptual covering entire syllabus and will be compulsory to attempt. Three questions
will be set from each Part A and Part B (one from each unit) Student needs to attempt two
questions out of three from each part. Each question will be of 20 marks
Objective: The objective of the course is to develop mathematical skills which are
pertaining to other engineering subjects.
PART-A
PART-B
Reference Books:
Instructions for paper setting: Seven questions are to be set in total. First question will
be conceptual covering entire syllabus and will be compulsory to attempt. Three questions
will be set from each PART-A and PART-B (one from each unit). Student needs to attempt
two questions out of three from each part. Each question will be of 20 marks.
4
8
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
List of Practicals:
4
9
1. Write a program to search an element in a two-dimensional array using linear
search.
2. Using iteration & recursion concepts write programs for finding the element in the
array
using Binary Search Method
4. Using iteration & recursion concepts write the programs for Quick Sort Technique
6. Write a program for swapping of two numbers using ‘call by value’ and ‘call by
reference’ strategies.
8. Write a program to create a linked list & perform operations such as insert, delete,
update, reverse in the link list
9. Write the program for implementation of a file and performing operations such as
insert,
delete, update a record in the file.
11. Write a program to simulate the various searching & sorting algorithms and compare
their timings for a list of 1000 elements.
13. Write a program for various tree traversal algorithms using two dimensional
representation for trees.
14. Write Program for traversal of a tree by pre-order, post-order and in-order traversal.
15. Write Program to sort data using Merge Sort and heap sort.
5
0
List of Practicals:
Q2. A point on the two dimensional plane can be represented by two numbers: an X
coordinate and a Y coordinate. For example, (4,5) represents a point 4 units to the right
of the origin along the X axis and 5 units up the Y axis. The sum of two points can be
defined as a new point whose X coordinate is the sum of the X coordinates of the points
and whose Y coordinate is the sum of their Y coordinates.
Write a program that uses a structure called point to model a point. Define three points,
and have
the user input values to two of them. Then set the third point equal to the sum of the
other two,
and display the value of the new point. Interaction with the program might look like
this:
Enter coordinates for P1: 3 4
Enter coordinates for P2: 5 7
Coordinates of P1 + P2 are : 8, 11
Q 3. Create the equivalent of a four function calculator. The program should request the user
to enter a number, an operator, and another number. It should then carry out the
specified arithmetical operation: adding, subtracting, multiplying, or dividing the two
numbers. (It should use a switch statement to select the operation). Finally it should
display the result.
When it finishes the calculation, the program should ask if the user wants to do another
calculation. The response can be ‘Y’ or ‘N’. Some sample interaction with the program
might
look like this.
Enter first number, operator, second number: 10/ 3
Answer = 3.333333
Do another (Y/ N)? Y
Enter first number, operator, second number 12 + 100
Answer = 112
Do another (Y/ N) ? N
Q4. A phone number, such as (212) 767-8900, can be thought of as having three parts: the
area code (212), the exchange (767) and the number (8900). Write a program that uses
a structure to store these three parts of a phone number separately. Call the structure
phone. Create two structure variables of type phone. Initialize one, and have the user
input a number for the other one. Then display both numbers. The interchange might
look like this:
Enter your area code, exchange, and number: 415 555 1212
My number is (212) 767-8900
Your number is (415) 555-1212
Q 5. Create two classes DM and DB which store the value of distances. DM stores distances
in metres and centimeters and DB in feet and inches. Write a program that can read
values for the class objects and add one object of DM with another object of DB.
Use a friend function to carry out the addition operation. The object that stores the
results maybe
a DM object or DB object, depending on the units in which the results are required.
The display should be in the format of feet and inches or metres and cenitmetres
depending on
the object on display.
Q 6. Create a class rational which represents a numerical value by two double values-
NUMERATOR & DENOMINATOR. Include the following public member Functions:
• constructor with no arguments (default).
• constructor with two arguments.
5
1
• void reduce( ) that reduces the rational number by eliminating the highest
common factor between the numerator and denominator.
• Overload + operator to add two rational number.
• Overload >> operator to enable input through cin.
• Overload << operator to enable output through cout.
Q 8. Write a program that creates a binary file by reading the data for the students from the
terminal. The data of each student consist of roll no., name ( a string of 30 or lesser
no. of characters) and marks.
Q9. A hospital wants to create a database regarding its indoor patients. The information to
store include
a) Name of the patient
b) Date of admission
c) Disease
d) Date of discharge
Create a structure to store the date (year, month and date as its members). Create a base
class to store the above information. The member function should include functions to
enter information and display a list of all the patients in the database. Create a derived
class to store the age of the patients. List the information about all to store the age of the
patients. List the information about all the pediatric patients (less than twelve years in
age).
Q 10. Make a class Employee with a name and salary. Make a class Manager inherit
from Employee. Add an instance variable, named department, of type string.
Supply a method to toString that prints the manager’s name, department and
salary. Make a class Executive inherit from Manager. Supply a method to String
that prints the string “Executive” followed by the information stored in the
Manager superclass object. Supply a test program that tests these classes and
methods.
Q11. Imagine a tollbooth with a class called toll Booth. The two data items are a type
unsigned int to hold the total number of cars, and a type double to hold the total
amount of money collected. A constructor initializes both these to 0. A member
function called payingCar ( ) increments the car total and adds 0.50 to the cash total.
Another function, called nopayCar ( ), increments the car total but adds nothing to
the cash total. Finally, a member function called displays the two totals.
5
2
Include a program to test this class. This program should allow the user to push one
key to count a paying car, and another to count a nonpaying car. Pushing the ESC
kay should cause the program to print out the total cars and total cash and then exit.
Q12. Write a function called reversit( ) that reverses a string (an array of char). Use a for
loop that swaps the first and last characters, then the second and next to last
characters and so on. The string should be passed to reversit ( ) as an argument.
Write a program to exercise reversit ( ). The program should get a string from the
user, call
reversit ( ), and print out the result. Use an input method that allows embedded
blanks. Test the program with Napoleon’s famous phrase, “Able was I ere I saw
Elba)”.
Q13. Create some objects of the string class, and put them in a Deque-some at the head
of the Deque and some at the tail. Display the contents of the Deque using the
forEach ( ) function and a user written display function. Then search the Deque for a
particular string, using the first That ( ) function and display any strings that match.
Finally remove all the items from the Deque using the getLeft ( ) function and display
each item. Notice the order in which the items are displayed: Using getLeft ( ), those
inserted on the left (head) of the Deque are removed in “last in first out” order while
those put on the right side are removed in “first in first out” order. The opposite
would be true if getRight ( ) were used.
Q 14. Create a base class called shape. Use this class to store two double type values that
could be used to compute the area of figures. Derive two specific classes called
triangle and rectangle from the base shape. Add to the base class, a member
function get_data ( ) to initialize base class data members and another member
function display_area ( ) to compute and display the area of figures. Make
display_area ( ) as a virtual function and redefine this function in the derived classes
to suit their requirements. Using these three classes, design a program that will
accept dimensions of a triangle or a rectangle interactively and display the area.
Remember the two values given as input will be treated as lengths of two sides in the case
of
rectangles and as base and height in the case of triangles and used as follows:
5
3
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
List of Practicals:
1. Create a student database (Roll No, Name, Dept) and write the queries to carry out
the following operations)
a) Add 20 new records to the database.
b) Delete 5 records from the database.
c) Add another column phone No. to this database.
d) Add values to the column phone No.
e) Change the data type of column phone No from number to var char2.
f) Delete a table from the database.
g) Drop the table.
2. Write queries to display records in ascending and descending order from the
student database.
3. Calculate and display the total no of students enrolled in following subjects from
students database:-
a) Mathematics
b) Science
c) English
4. Write queries to implement following functions to the student database.
a) Grouping functions.
b) Date and time functions.
c) Mathematical functions.
d) Character functions.
e) Conversion functions.
5. Create a view on student database to display the data of all the students in
Computer Science, Mechanical and IT departments.
6. Create an employee database and create the following two tables:
Employee (Empid, Name Department) and accounts (Empid, Salary)
Display the name of all Employees having salaries grater than 10,000.
7. Display the name of employees along with their respective manager name from the
following table.
Empid Emp Name Manager
E001 Ivan E003
E002 Bayross E004
E003 Cristinna E002
E004 Maria E001
8. Write queries to implement primary key, foreign key, Not Null and Check constraints
on employee database.
9. Write queries to implement database triggers on student database.
10. Create a PL/SQL procedure called QUERY_ EMP to query the employee database
retrieving the salary and job title for an employee when provided with the employee
number compile the code, invoke the procedure and display the salary and job title
for the employee.
11. Create a PL/SQL procedure NEW_EMP to insert a new employee into the EMP_
database. The procedure should contain a call to function VALID_ DEPI to check
whether the department number specified for the new employee exists in the
department table.
5
4
Test your NEW_EMP procedure by adding a new employee to the database.
12. Use a curser to retrieve the department number and department name from the
dept. table: Pass the dept. no. to another curser to retrieve from the employee
table the details of employee name, job and salary of all employees who is working
in that department.
13. Develop two menu driven project for management of database system:
1. Library Information System
(a) Engineering Courses
(b) MCA Course
2. Inventory Control System
(c) Computer Lab
(d) College Store
3. Student Information System
(e) Academic Section
(f) Finance Department
4. Time Table Development System
(g) CSE, IT and MCA Departments
(h) Electrical and Mechanical Departments
5
5
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
List of Experiments:
1. Study of TTL gates – AND, OR, NOT, NAND, NOR, EX-OR, EX-NOR.
2. Design & realize a given function using K-maps and verify its performance.
5. To verify the truth tables of S-R, J-K, T & D type flip flops.
8. To design and verify the operation of synchronous UP/DOWN decade counter using J K
flip-flops & drive a
seven-segment display using the same.
9. To design and verify the operation of asynchronous UP/DOWN decade counter using J K
flip-flops & drive a
seven-segment display using the same.
10. To design & realize a sequence generator for a given sequence using J-K flip-flops.
11. Design a 4-bit shift-register and verify its operation . Verify the operation of a ring
counter and a Johnson counter.
NOTE: At least ten experiments are to be performed, atleast seven experiments should be
performed from above list. Remaining three experiments may either be performed from the
above list or designed & set by the concerned institution as per the scope of the syllabus.
5
6
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
5
7
MANAV RACHNA INTERNATIONAL UNIVERSITY
(Deemed to be University under section 3 of the UGC Act 1956)
SW-301 : EXTRA and CO-CURRICULAR ACTIVITIES
Periods/week Credits
1
Every student will associate himself / herself in one or more extra-curricular activities which
shall be conducted after college hours under Student Welfare team, it will entitle a student
for one assigned credit.
5
8