Beruflich Dokumente
Kultur Dokumente
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Teaching
Examination
Subject Teaching Hours/Week
Sl. No. Subject Credit
Code Department
L T P CIE SEE Total
ENGINEERING MATHEMATICS-III
Sub. Code: MAT31 CIE:50
Hrs./ Week: 4 SEE:50
Total Hrs.: 52 Exam Hours: 3
Course Objectives:
1. Generalize a periodic function as a sum of series of trigonometric functions using Fourier
series.
2. Explain the concept of Fourier and Z transform and state the use of it in time varying
signals (continuous).
3. Finding solutions of equations and also evaluating approximate areas and volume using
numerical methods.
Course outcomes:
1. Explain Fourier series, reproduce Fourier transforms & Z- transform and list numerical
methods for various analytical problem.
2. Expand a function using Fourier series, operate Fourier transform, Z-transform and
practice numerical methods.
3. Rewrite a function using Fourier series, summarize Fourier and Z-transforms and compare
numerical solution with analytical solution.
Course Content
Module 1
FOURIER SERIES:
Periodic functions, Dirichlets conditions, Fourier series of periodic functions of period and
with arbitrary period 2 , Half-range Fourier sine and cosine series,Practical Harmonic Analysis.
12 Hours
(Self Study Component:Infinite Series-Convergence, Divergence of infinite series of positive
terms (p-series Ratio test, Comparison test))
Module 2
FOURIER TRANSFORMS:
Infinite Fourier transform, Infinite Fourier sine and cosine transforms, Inverse Fourier transforms,
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Module 3
Curve fitting: Curve fitting by the method of least squares, Fitting of the curves of the form
Module 4
FINITE DIFFERENCES: Forward and Backward differences, Newtons forward and Backward
interpolation formulae. Newtons divided difference formula, Lagranges interpolation formula
and inverse interpolation formula (without proofs).
Numerical Integration: Simpsons 1/3rd, 3/8th rule, Weddles rule (all formulae/rules without
proof). 10 Hours
Module 5
Z-TRANSFORMS:
Z-Transforms, Standard Z-transforms, Damping rule, Shifting rule, Initial value and final value
theorems (without proof), Inverse Z-transforms, Application of Z-transforms to solve difference
equations. 10 Hours
Text Books:
1. B.S. Grewal, Higher Engineering Mathematics Khanna Publishers, 43rd Edition, 2014
June, ISBN:978817409195.
2. Erwin Kreyszig; Advanced Engineering Mathematics; John Wiley & Sons, 9th Edition,
2007, ISBN: 9788126531356.
References:
4. Steven C. Chapra and Raymond Canale, Numerical methods for Engineers, McGraw-
Hill Education,7th Edition, 2014, ISBN: 007339792X.
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Course objectives:
This course will enable students to
1. Explain fundamentals of data structures and their applications essential for programming /
problem solving
2. Analyze Linear Data Structures: Stack, Queues, Lists
3. Analyze Non-Linear Data Structures: Trees, Graphs
4. Assess appropriate data structure during program development / problem solving
Course Outcome
2. Analyze the performance of - Stack, Queue, Lists, Trees, Graphs, Searching and Sorting
techniques.
4. Design and apply appropriate data structures for solving computing problems.
Course Content
Module 1
BASIC CONCEPTS: Structure & Union, Introduction to Data Structure and its classification,
the need for Data structure, Algorithm specification, performance analysis & measurements,
Polynomials and Sparse Matrices. 11 Hours
(Self-study components: Dynamic Memory Allocation)
Module 2
STACKS AND QUEUES: Introduction to Stacks, Stacks Using Dynamic Arrays, Evaluation of
Expressions, Introduction to Queues, Types of Queue: Ordinary queue, Circular Queues &
Double ended queue, Application of stacks and Queues. 11Hours
(Self-study components: Multiple Stacks and Queues)
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Module 3
LINKED LISTS: Definition of Linked lists and Chains, Representing Chains in C, Types of
Linked List: Singly Linked List, Circular Singly Linked List, Doubly Linked Lists & Circular
doubly linked list, Application of Linked List. 10Hours
Module 4
TREES & GRAPH: Introduction to Binary Search Trees (BST), Properties of Binary Tree,
Operation on BST, Traversals in Binary Trees, Heaps, Selection Trees, Forests tree, Counting
Binary Trees. 10Hours
(Self-study components: Introduction to Graph, properties of graph, Representation of graph in
memory)
Module 5
EFFICIENT BINARY SEARCH TREES: Optimal Binary Search Trees, AVL Trees,
Properties of AVL tree, Construction of AVL tree, Red-Black Trees, Properties of red black tree,
Construction of red black tree. 10 Hours
(Self-study components: Splay Trees)
Text Book:
Reference Books:
1 Yedidyah, Augenstein, Tannenbaum: Data Structures Using C and C++, 2nd Edition, Pearson
Education, 2003.
2 Richard F. Gilberg and Behrouz A. Forouzan: Data Structures A Pseudocode Approach with C,
Cengage Learning, 2005.
3 A.M Padma Reddy, Approach of Data Structures, Person Publication, 5th Edition, 2015
Course Objectives:
Course Outcomes:
1. Design, write, compile and test programs using the basic constructs and the object oriented
paradigms.
2. Demonstrate the ability to use various types of selection constructs in a Java program. Be able
to employ a hierarchy of Java classes to provide a solution to a given set of requirements.
3. Given a problem statement, the student is expected to divide the same into different
interrelated modules and design the individual modules and integrate them.
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Course Content
Module 1
Overview of Java: Object Oriented Programming, Java and Java applications, java
Development kit(JDK); Java is interpreted, Byte code, JVM, Java Buzzwords, A simple program,
Two Control statements, arrays, Lexical Issues.
Introducing Classes: Class fundamentals, declaring Objects, creating and destroying objects,
assigning object reference variables, access specifiers, introducing methods, constructors, this
keyword, garbage collection, the finalize() method. 10 Hours
(Self Learning Component: Data types and other tokens: Boolean Variables, int, long, char,
white spaces, literals.)
Module 2
A Closer Look at Methods and Classes: Overloading methods, Overloading constructors, using
objects as parameters, a closer look at argument passing, returning objects, recursion, introducing
access control, understanding static, introducing final, nested and inner classes, using command
line arguments
Inheritance: inheritance basics, using super, creating multilevel hierarchy, method overriding,
using abstract classes, using final with inheritance.
Input/Output: I/O Basics, Reading Console Input, Writing Console Output, Reading and
Writing files. 10 Hours
Module 3
(Self Learning Component: Interfaces can be extended, multiple catch clauses, Java's built-in
exceptions.)
Module 4
Multithreaded Programming: Java thread model, main thread, creating a thread, creating
multiple threads, using isAlive( ) and join( ), suspending, resuming thread.
String handling: String Constructors, String Length, Special string operators, character
extraction, string comparison. 11 Hours
(Self Learning Component: thread priorities, stopping thread, searching strings, modifying a
string.)
Module 5
Generics: What are Generics? A Simple Generics Example, A generics Class with two type
parameters, The General form of a Generic Class, creating a generic method.
The Collections Framework: Collections Overview, the Collection Interfaces, the Collection
Classes 11 Hours
Text Books:
1. Herbert Schildt: Java The Complete Reference, 7th Edition, Tata McGraw Hill, 2007.
Reference Books:
LOGIC DESIGN
Sub. Code: CS34 CIE: 50
Hrs./ Week: 3 SEE: 50
Total Hrs.: 40 Exam Hours: 03
Course Objectives:
1. Explain Digital and analog signals, its working and difference between them and positive
and negative logic.
2. Simplification of Algebraic Equations using different methods.(K-Map, Quine-
McCluskey, EVM).
3. Design and Analysis of Data processing circuits using Multiplexers, De-Multiplexers,
Decoders, Encoders, Programmable Logic Device.
4. Design and synthesis of sequential circuits using Flip-Flops, Counters, Registers.
Course Outcomes:
1. The Students will be able to understand positive and negative logic, Digital and analog
signals with its working and difference.
2. The Students will be able to solve algebraic equations using K-Map, EVM and Quine-
Mcclukey Technique.
3. The Students will be able to Design various Data processing circuits using Multiplexer,
De-Multiplexer, Decoders, Encoders, programmable array logic, programmable logic
array.
4. The Students will be able to understand & synthesis Sequential Circuits using various
Registers, Counters and Flip-flops (JK, D, SR, T).
Course Content
Module 1
Combinational Logic Circuits: Digital Signals, Basic Gates and Universal Gates, Positive and
Negative Logic, Sum-of-Products Method, Product-of-sums Method, Karnaugh Map, Pairs,
Quads, and Octets, Karnaugh Simplifications, Dont-care Conditions, Sum-of-Products
simplifications, Product-of-sums simplifications. 8 Hours
Module 3
Module 4
Registers: Types of Registers, Serial In -Serial Out, Serial In - Parallel out, Parallel In- Serial
Out, Parallel In - Parallel Out, Applications of Shift Registers. 8 Hours
Module 5
Design of Synchronous and Asynchronous Counters: Asynchronous Counters, Synchronous
Counters, design of up and down counters, Decoding Gates, Ring Counters, Decade Counters.
8 Hours
(Self Study Component: Asynchronous Counters Vs Synchronous Counters. )
Text Book:
Donald P Leach, Albert Paul Malvino & GoutamSaha: Digital Principles and Applications, 7th
Edition, Tata McGraw Hill, 2010.
Reference Books:
3. M Morris Mano: Digital Logic and Computer Design, 10th Edition, Pearson Education,
2008.
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
5. Ronald J. Tocci, Neal S. Widmer, Gregory L. Moss: Digital Systems Principles and
Applications, 10th Edition, Pearson Education, 2007.
6. Stephen Brown, ZvonkoVranesic: Fundamentals of Digital Logic Design with VHDL, 2nd
Edition, Tata McGraw Hill, 2005
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
COMPUTER ORGANIZATION
Course Objectives:
1. To learn and understand the fundamental concepts of how Computer Systems works & its
basic principles.
2. To learn and understand I/O device address, Interrupts and different buses.
3. To learn and understand the current state of art in memory system design.
4. To impart knowledge on arithmetic concepts of signed numbers, Adders Design,
Multiplication and floating point numbers.
Course Outcomes:
1. Students will have the knowledge of the fundamental concepts of how Computer Systems
works &its basic principles.
2. The students will have knowledge of I/O device address, Interrupts and different buses.
3. The students will be able to design simple memory systems.
4. The student will have the knowledge on arithmetic concepts of signed numbers, Address
design, Multiplication and floating point numbers.
Course Content
Module 1
Module 2
Input/ Output Organization: Accessing I/O Devices, Interrupts Interrupt Hardware, Enabling
and Disabling Interrupts, Handling Multiple Devices, Controlling Device Requests, Exceptions
08 Hours
Module 3
Direct Memory Access, Buses, Interface Circuits, Standard I/O Interfaces PCI Bus, SCSI Bus
08 Hours
Module 4
Memory System: Basic Concepts, Semiconductor RAM Memories, Read Only Memories,
Speed, Size, and Cost, Cache Memories Mapping Functions, Replacement Algorithms,
Performance Considerations, Virtual Memories 08 Hours
Module 5
Arithmetic: Addition and Subtraction of Signed Numbers, Design of Fast Adders, Multiplication
of Positive Numbers, Signed Operand Multiplication, Fast Multiplication, Integer Division,
Floating-point Numbers and Operations, IEEE Standard for Floating-point Numbers.
08 Hours
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Text Books:
1. Carl Hamacher, ZvonkoVranesic, SafwatZaky: Computer Organization, 5th Edition, Tata
McGraw Hill, 2002. (Listed topics only from Chapters 1, 2, 4, 5, 6)
Reference Books:
1. William Stallings: Computer Organization & Architecture, 7th Edition, PHI, 2006.
2. Computer Systems Design and Architecture by Vincent P. Heuring & Harry F. Jordan,
Ed2, Pearson Education
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Course Objectives:
1. Explain Fundamentals of Sets, Probability Concepts and their Applications essential for
Problem Solving.
2. Analyze Mathematical Logic using truth tables, laws of logic, Rules of Inference and
Proofs.
3. Explain Properties of Relations and various types of functions, Partial order and Hasse
diagrams during problem solving.
Course Outcomes:
1. Acquire knowledge of - basics of Set Theory & Probability concepts
2. Improves logical reasoning and problem solving skills on how the fundamentals of logic
can be applied for applications like switching networks.
3. Ability to apply various concepts of functions and relations for solving computing
problems.
Course Content
Module 1
Set Theory: Sets and Subsets, Set Operations and the Laws of Set Theory, Counting and Venn
Diagrams, A First Word on Probability. 8 Hours
Module 2
Fundamentals of Logic I: Basic Connectives and Truth Tables, Logic Equivalence The Laws
of Logic, Logical Implication Rules of Inference 8 Hours
Module 3
Fundamentals of Logic II : Quantifiers ,The Use of Quantifiers, Quantifiers Types ,Methods of
Proofs and Methods of Disproofs. 8Hours
Module 4
Relations and Functions: Cartesian Products and Relations, Functions Plain and One-to-One,
Onto Functions Stirling Numbers of the Second Kind, Pigeon-hole Principle, Function
Composition. 8Hours
Module 5
Relations II: Properties of Relations, Zero-One Matrices and Directed Graphs, Partial Orders
Hasse Diagrams, Equivalence Relations and Partition 8 Hours
Text Book:
1. Ralph P. Grimaldi: Discrete and Combinatorial Mathematics, 5th Edition, Pearson Education,
2004.
Reference Books:
1. Kenneth H. Rosen: Discrete Mathematics and its Applications, 7th Edition, McGraw Hill,
2010.
3. D.S. Malik and M.K. Sen: Discrete Mathematical Structures: Theory and Applications,
Cengage Learning, 2004.
4. Thomas Koshy: Discrete Mathematics with Applications, Elsevier, 2005, Reprint 2008.
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Course objectives:
This laboratory course enables students to get practical experience in design, develop, implement,
analyze and evaluation/ testing of
1. Linear data structures and their applications such as Stacks, Queues and Lists
2. Non-Linear Data Structures and their Applications such as Trees and Graphs
3. Sorting and Searching Algorithms
1. Write an algorithm to find the average of best of two elements from an array.
2. Write an algorithm to create a student database using structure with following fields USN,
NAME & SEMESTER for 10 students and sort it according to USN using bubble sort.
3. Design an algorithm and execute a program to read a sparse matrix of integer values and to search
the sparse matrix for an element specified by the user. Print the result of the search appropriately.
Use the triple <row, column, value> to represent an element in the sparse matrix
4. Design, develop and execute a program in C to convert a given valid parenthesized infix
arithmetic expression to postfix expression and then print both the expressions. The expression
consists of single character operands and the binary operators +, - , * , /
5. Design, develop and execute a program in C to evaluate a valid postfix expression using stack.
Assume that the postfix expression is read as single line consisting of non-negative single digit
operands and binary arithmetic operators. The arithmetic operators are +(add),-(sub),*(mul) and /
(divide)
6. Design, develop and execute a program in C to simulate the working of a queue of integers using
an array. Provide the following operations.
a. Insert b. Delete c. Display
7. Design, develop and execute a program in C to perform the following operation on Singly linked
list
a. Insert the node at the beginning
b. Insert the node at the end of the list
c. Display the list
9. Design, develop and execute a program in C to implement a doubly linked list where each node
consists of integers. The program should support the following operations:
a. Create a doubly linked list by adding each node at the front
b. Insert a new node to the left of the node whose key value is read as an input.
c. Delete the node of a given data If it is found, otherwise display appropriate
message
d. Display the contents of the list.
(Note: Only either (a,b and d) or (a,c and d) may be asked in the examination) */
10. Design, develop and execute a program in C to create a max heap of integers by accepting one
element at a time and by inserting it immediately in to the heap. Use the array representation for
the heap. Finally display the heap list.
11. Design, develop and execute a program in C to create a Binary tree and perform the following
operation inorder, preorder and postorder traversals.
12. Write an algorithm to construct a Binary Search Tree for the given array elements and display
the elements using array indexing.
1. Students are able to have knowledge of data structure and its applications.
2. Students are in a position to write, compile and debug programs in C language and able
to design programs involving various data structures.
3. Students are exposed to various Linear & Non Linear Data Structures
2. Students are allowed to pick one experiment from the list of programs.
3.Strictly follow the instructions as printed on the cover page of answer script for breakup
of marks
4.Change of experiment is allowed only once and writes up procedure made to be zero.
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Course Objectives:
1. To have hands on session on the basics of Java, including looping constructs and selection
statements.
2. To understand the various built in packages, the classes within them and gain a knowledge
of using the methods of these classes.
3. To gain a deep insight into concepts of interfaces, Exception handling and threads by
executing programs that incorporates them.
1. Write a Java program that prints all real solutions to the quadratic equation ax2 + bx + c = 0.
Read in a, b, c and use the quadratic formula. If the discriminate b2-4ac is negative, display a
message stating that there are no real solutions.
2 a. Write a Java program that uses both recursive and non recursive functions to print the nth
value in the Fibonacci sequence.
b. Write a Java program that prompts the user for an integer and then prints out all prime
numbers up to that integer.
3. Write a Java program to multiply two given matrices. The matrix should be read from the
command line.
5. Write a Java program to illustrate constructors to add and subtract two complex numbers.
6. Write a Java program to calculate gross salary & net salary taking the following data.
HRA=20% of basic
CCA=Rs 250/-
PF=10% of basic
PT=Rs100/-
IT = 10% of gross
Deductions = PF+PT+IT
7. Write a Java program to declare an abstract class Solid and implements Cylinder, Cone and
Sphere by inheriting from Solid abstract class. Compute the surface area and volume.
8. Write a Java program to read from console and write these data into a file, again read that file
and print the content onto console.
Vehicle
(Interface)
12. Write a Java program that creates three threads. First thread displays Good Morning, every
one second. The second thread displays Hello every two seconds and the third thread displays
Welcome every three seconds.
Course outcomes:
1. The students will be able to write Java code using the concept of classes and object.
2. Given a problem statement, the student will be able to identify modules and code them
individually which can be then integrated into one.
3. The student will be a have knowledge of built in packages and their contents, which can
be used in designing of their programs.
2. Students are allowed to pick one experiment from the list of programs.
3. Strictly follow the instructions as printed on the cover page of answer script for
breakup of marks
4. Change of experiment is allowed only once and writes up procedure made to be zero.
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
IV SEMESTER
ENGINEERING MATHEMATICS-IV
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
COURSE OUTCOME
1. List the numerical methods for solving differential equations, define analytical functions
and reproduce concepts of Probability distribution.
2. Practice Numerical methods, examine analytical functions, employ probability
distribution for real life problem.
3. Evaluate differential equation using Numerical methods and predict solutions using
probability distribution.
COURSE CONTENT
MODULE 2
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
MODULE 3
COMPLEX VARIABLES-I:
MODULE 4
COMPLEX VARIABLES-II:
Complex integration, Cauchy theorem, Cauchy integral formula. Taylor & Laurent series
(statements only). Cauchy residue theorem (statement only). 10Hours
MODULE 5
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
PROBABILITY THEORY:
Sampling distribution: Samples, Central limit theorem (statement only), Hypothesis testing for
means, confidence limits for means, Students t-distribution-illustrative examples. 10Hours
TEXT BOOKS
REFERENCE BOOKS
COURSE OBJECTIVES:
1. The student will be able to understand and use asymptotic notation to formulate the time
and space requirements of algorithms.
2. The student will be able to analyze and compare complexity for different types of
algorithms for different types of problems.
3. The student will be able to apply and implement major different algorithm design
techniques to solve problems and analyze time complexity of those problems.
4. Ability to apply and implement learned algorithm design techniques and data structures
to solve problem
COURSE OUTCOMES
COURSE CONTENT
Module 1
27
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Module 2
11 Hours
Module 3
Space and Time Trade-Offs: Introduction, Sorting by Counting, Input Enhancement in String
Matching,. Dynamic Programming: Introduction,Three Basic Examples, Warshalls and
Floyds Algorithms, The Knapsack Problem and Memory Functions. Transform-and-Conquer:
Introduction, Balanced Search Trees. 10 Hours
Module 4
28
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Limitations of Algorithm Power: Lower-Bound Arguments, Decision Trees, P, NP, and NP-
Complete Problems. Backtracking, Branch-and-Bound, Approximation Algorithms for NP-Hard
Problems. 10 Hours
Text Books:
Reference Books:
29
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Operating System
COURSE OBJECTIVES
1. The student will be able to understand the importance of operating systems in utilizing
the hardware and software resources along with the protection and security mechanisms.
2. The student will be able to comprehend and analyze various resource management
techniques.
3. The student will be able to implement resource management algorithms.
4. The student will gain knowledge on the various protection and security mechanisms
provided by operating system.
COURSE OUTCOMES
COURSE CONTENT:
Module 1
30
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
8 Hours
Module 2
Module 3
Module 4
31
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Module 5
Storage Management-File System: File concept; Access methods; Directory and Disk
structure; File system mounting; File sharing; Protection. Secondary Storage Structures:
Overview of Mass storage structures; Disk scheduling. System Protection: Goals of protection,
Principles of protection, Domain of protection, Access matrix.
8 Hours
Text Books:
1. Abraham Silberschatz, Peter Baer Galvin, Greg Gagne: Operating System Principles, 8th
edition, Wiley India, 2009
Reference Books:
2. P.C.P. Bhatt: Introduction to Operating Systems: Concepts and Practice, 2nd Edition, PHI,
2008.
32
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
COURSE OBJECTIVES:
COURSE OUTCOMES:
MODULE 1
33
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
11 Hours
(Self study component: Data Addressing modes, Assembler Details, Mov instruction machine
code generation)
MODULE 2
(Self study component: Shift and Rotate Instructions, String Comparisons, Miscellaneous
Instructions).
MODULE 3
10 Hours
MODULE 4
HARDWARE SPECIFICATIONS, MEMORY INTERFACE: Pin-Outs and the Pin
Functions, Clock Generator, Bus Buffering and Latching, Bus Timings, Ready and Wait State,
Minimum versus Maximum Mode. Memory Interfacing: Memory Devices. Address Decoding,
8088 Memory Interface, 8086 Memory Interface. 10 Hours
(Self study component: Basic I/O Interface: Introduction to I/O Interface, I/O Port Address
Decoding)
34
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
TEXT BOOKS:
1. Barry B Brey: The Intel Microprocessors, 8th Edition, Pearson Education, 2009.
2. Microcomputer systems-The 8086/8088 Family Y.C.Liu and G.A Gibson, 2E PHI-
2003.
REFERENCE BOOKS:
1. Douglas V. Hall: Microprocessors and Interfacing, Revised 2nd Edition, TMH, 2006.
2. K. Udaya Kumar & B.S. Umashankar : Advanced Microprocessors & IBM-PC Assembly
Language Programming, TMH 2003.
3. James L. Antonakos: The Intel Microprocessor Family: Hardware and Software
Principles and Applications, Cengage Learning, 2007.
35
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
COURSE OBJECTIVES
1. Introduce the Python language, its most important libraries, and its recommended
programming styles and idioms.
2. Teachs how to solve typical programming problems in Pythonic style. Survey some
exemplary Python applications and systems.
COURSE OUTCOME
Course Content
Module 1
Introduction to Python Programming: Features, basic syntax, Writing and executing simple
program, Basic Data Types such as numbers, strings, etc Declaring variables, Performing
assignments, arithmetic operations, Simple input-output, Precedence of operators, Type
conversion, Control statements: Terminating loops, skipping specific conditions, String
Manipulation: declaring strings, string functions, Manipulating Collections Lists, Tuples.
8 Hours
(Self Study Component: Conditional Statements: if, if-else, nested ifelse, Looping: for, while,
nested loops.)
36
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Dictionaries Concept of dictionary, techniques to create, update & delete dictionary items.
Functions: Defining a function, calling a function, Advantages of functions, types of functions,
function parameters, Formal parameters, Actual parameters, anonymous functions, global and
local variables. 8 Hours
(Self Study Component: Modules: Importing module, Creating & exploring modules, Math
module, Random module, Time module.)
Module 3
Python File Input-Output: Opening and closing file, various types of file modes, reading and
writing to files, manipulating directories. Regular Expressions Concept of regular expression,
various types of regular expressions, using match function. 8 Hours
(Self Study Component: Exception Handling What is exception, various keywords to handle
exception such try, catch, except, else, finally, raise.)
Module 4
(Self Study Component: Font, Colors, drawing on canvas (line, oval, rectangle, etc.))
37
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Text books:
1. Paul Gries , Jennifer Campbell, Jason Montojo, Practical Programming: An Introduction
to Computer Science Using Python 3, Pragmatic Bookshelf, 2/E 2014
2. James Payne, Beginning Python: Using Python 2.6 and Python 3, Wiley India, 2010
Reference Books:
2. A. Lukaszewski, MySQL for Python: Database Access Made Easy, Pact Publisher, 2010
38
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
COURSE OBJECTIVE
1. The student will be familiar with basic UNIXOS concepts such as: types of UNIX
versions,process,program,processgroups,signals,runningprograms,processcontrol,address
space,userandkernelmodes,systemcalls,and contextswitching.
2. The student will have the ability to write programs for fileI/O operations using
APIs(i.e.open,close,read,write,seek).
3. The student will be able to write system programs to handle signals and exceptions within
a process and to control processes.
4. The student will be able to write system programs using sockets to implement
clientserve r process environment.
COURSE OUTCOMES
1. Identify and use UNIX utilities to create and manage simple file processing operations,
organize directory structures with appropriate security, and develop shell scripts to
perform more complex tasks.
2. Effectively use the UNIX/Linux system to accomplish typical personal, office, technical,
and software development tasks.
Course Content
Module 1
UNIX Operating System and Unix Commands: The Unix Operating System, The UNIX
architecture and Command Usage,The File System, Basic File Attributes 8 Hours
39
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Unix Editor, Environment and Shell: The vi Editor, The Process, The Shell and Essential Shell
Programming 8 Hours
Module 3
UNIX Standards and Files: UNIX and ANSI Standards: The ANSI C Standard, The ANSI/ISO
C++ Standards, Difference between ANSI C and C++, The POSIX Standards, The POSIX.1
FIPS Standard, UNIX and POSIX APIs: The POSIX APIs, The UNIX and POSIX Development
Environment, API Common Characteristics. UNIX FILES: File Types, the UNIX and POSIX
File System, Application Program Interface to Files, UNIX Kernel Support for Files. 8 Hours
Module 4:
File APIs and UNIX Processes: UNIX File APIs: General File APIs, File and Record Locking,
Directory File APIs, Device File APIs, FIFO File APIs, Symbolic Link File APIs.. UNIX
Process: main function, Process Termination, Process Identifiers, fork, vfork, exit, wait, waitpid
Functions, Race Conditions, exec Functions 8Hours
UNIT - 5:
40
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
2. Terrence Chan: UNIX System Programming Using C++, Prentice Hall India, 1999.
3. W. Richard Stevens: Advanced Programming in the UNIX Environment, 2nd Edition, Pearson
Education, 2005.
Reference Books:
1. Behrouz A. Forouzan and Richard F. Gilberg: UNIX and Shell Programming, Cengage
Learning, 2005.
2. M.G. Venkateshmurthy: UNIX & Shell Programming, Pearson Education, 2005
3. Marc J. Rochkind: Advanced UNIX Programming, 2nd Edition, Pearson Education, 2005.
4. Maurice J Bach: The Design of the UNIX Operating System, Pearson Education, 1987.
41
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Design, develop and implement the specified algorithms for the following problems using
C++ Language in LINUX / Windows environment.
1. Design, develop, and execute a program to create a class called QUICK_SORT that
represents the array of elements, with member functions to sort a given set of elements using the
Quicksort method and determine the time required to sort the elements. Repeat the experiment
for different values of n, the number of elements in the list to be sorted and plot a graph of the
time taken versus n. The elements should be read from a file and also be generated using the
random number generator.
2. Design, develop, and execute a program to create a class called MERGE_SORT that
represents the array of elements, with member functions to sort a given set of elements using the
merge sort method and determine the time required to sort the elements. Repeat the experiment
for different values of n, the number of elements in the list to be sorted and plot a graph of the
time taken versus n. The elements should be read from a file and also be generated using the
random number generator.
3a. Design, develop, and execute a program to create a class called BFS that represents the
adjacency matrix, with member functions. Print all the nodes reachable from a given starting
node in a digraph using BFS method.
b. Design, develop, and execute a program to create a class called DFS that represents the
adjacency matrix, with member functions. Print all the nodes reachable from a given starting
node in a digraph using DFS method.
42
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
b. Design, develop, and execute a program to create a class called WARSHALL that represents
the adjacency matrix, with member functions to compute the transitive closure of a given
directed graph using Warshall's algorithm. Print all the matrices of transitive closure.
5. Design, develop, and execute a program to create a class called HORSPOOL that represents
the text and pattern string and member functions to search for given pattern string in text string
using Horspool method.
6. Design, develop, and execute a program to create a class called KNAPSACK that represents
the weights and profits of n objects, with member functions to Implement 0/1 Knapsack
problem using Dynamic Programming.
7. Design, develop, and execute a program to create a class called KRUSKAL that represents the
cost adjacency matrix, Find Minimum Cost Spanning Tree of a given undirected graph using
Kruskal's algorithm.
8. Design, develop, and execute a program to create a class called PRIMS that represents the
cost adjacency matrix presents and member functions to find Minimum Cost Spanning Tree of a
given undirected graph using Prims algorithm.
9. Design, develop, and execute a program to create a class called DIJKSTRA that represents the
cost adjacency matrix. From a given vertex in a weighted connected graph, find shortest paths to
other vertices using Dijkstra's algorithm.
10. Design, develop, and execute a program to create a class called SUMOFSUBSET that
represents the array of elements, and member functions to find a subset of a given set S = {sl,
s2,.....,sn} of n positive integers whose sum is equal to a given positive integer d. For example, if
S={1, 2, 5, 6, 8} and d = 9 there are two solutions {1,2,6} and {1,8}. A suitable message is to be
displayed if the given problem instance doesn't have a solution.
43
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
12. Design, develop, and execute a program to create a class called TSP that represents the cost
adjacency matrix and member functions to implement any scheme to find the optimal solution
for the Traveling Salesperson problem and then solve the same problem instance using any
approximation algorithm and determine the error in the approximation.
44
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
Microprocessors Laboratory
Develop and execute the following programs using 8086 Assembly Language. Any
suitable assembler like MASM, TASM etc may be used.
Program should have suitable comments.
The board layout and the circuit diagram of the interface are to be provided to the
student during the examination.
1a. Write an ALP to conduct binary search for unsorted array of N numbers.
b. Read the status of eight input bits from the Logic Controller Interface and display FF if it is
the parity of the input read is even, otherwise display 00.
2a. Read an alphanumeric character and displays its equivalent ASCII code at the center of the
screen.
b. Read the status of two 8-bit inputs (X & Y) from the Logic Controller Interface and display
X*Y.
3a. Write an ALP to read an 8 bit number from the keyboard and check whether it is a prime
number or not.
4a. Write an ALP to read a string from the keyboard and check whether it is a palindrome or not.
b. Display messages DSCE and 4CSE alternately with flickering effects on a 7-segment
display interface for a suitable period of time. Ensure a flashing rate that makes it easy to
read both the messages (Examiner does not specify these delay values nor is it necessary for
the student to compute these values).
45
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institution affiliated to Visvesvaraya Technological University, Belagavi& recognized by AICTE)
b. Convert a 16-bit binary value (assumed to be an unsigned integer) to BCD and display it
from left to right and right to left for specified number of times on a 7-segment display
interface.
6a. Write an ALP to separate even and odd numbers from N array elements.
b. Scan an 8 x 3 keypad for key closure and to store the code of the key pressed in a memory
location or display on screen. Also display row and column numbers of the key pressed.
b. Drive a Stepper Motor interface to rotate the motor in specified direction (clockwise or
counter-clockwise) by N steps (Direction and N are specified by the examiner). Introduce
suitable delay between successive steps.
8a. Compute nCr using recursive procedure. Assume that n and r are non-negative integers.
9a. Develop an assembly level program to display the system date at the centre of the screen.
b. Generate the Sine Wave using DAC interface (The output of the DAC is to be displayed on
the CRO).
10a. Read a pair of input co-ordinates in BCD and move the cursor to the specified location on
the screen.
b. Drive an elevator interface in the following way:
i. Initially the elevator should be in the ground floor, with all requests in OFF state.
ii. When a request is made from a floor, the elevator should move to that floor, wait there
for a couple of seconds (approximately), and then come down to ground floor and
stop. If some requests occur during going up or coming down they should be ignore
46