Mfcs Hand Book
Mfcs Hand Book
Mathematical Foundations of
Computer Science
B.Tech
II Year
I
Semeste
r
July-Nov
2012
D E PA RT M E N T O F C O M P U T E R S C I E N C E &
ENGINEERING
Course Code
Course Title
SCIENCE
Semester
Course Time
: 53022
: MATHEMATICAL FOUNDATIONS OF COMPUTER
:I
: July Nov 2012.
TIME TABLE
DAY
9.00-9.50
9.50-10.40
10.4011.30
11.3012.20
12:201:10
MON
TUE
WED
2.50-3.40
CSE-A
CSE-A
CSE-A
THR
2.002.50
1.10-2.00
CSE-A
FRI
C
H
SAT
Faculty Details:
Sectio
n
Mail-ID
Mr.G.Bala Krishna,
Asst.Professor
Mr.B.V.Reddy, Asst.Professor
Educational
Objectives
Be able to apply the
principles of computer
science, mathematics
and
scientific
investigation to solve
the
problems
appropriate to the
discipline
Program Outcomes
Graduates will
demonstrate an ability to
indentify, formulate and
solve engineering
problems.
Graduate who can
participate and succeed in
competitive examinations
Course Outcomes
Be able to understand and
apply the mathematical
logic with different
notations, functional set
theory algebraic structures,
elementary combinations,
recursive relations, graph
theory.
UNIT-I
MATHEMATICAL LOGIC: Statements and notations, connectives, well formed formulas. Truth tables,
tautology, equivalence implication, Normal forms, Quantifiers, universal quantifiers.
Objective:
To discuss the concepts associated with mathematical logics, propositions well formed formulas and their
applications.
Ability to learn the notations, connectives.
To understand the construction of truth Tables.
To know the universal quantifier, existential quantifier.
Lecture Plan:
S.NO
1
2
3
4
5
TOPIC
Introduction to statement, notations
Connectives, well formed formulas
Truth tables,tautology,contradiction
Equivalence relations
Normal forms,PCNF,PDNF
Assignment:
NO.OF HRS
1
2
2
2
3
1. Explain with examples WFF, PCNF, PDNF, CNF, Tautology, and Contradiction.
2. Construct the truth tables for following compound prepositions
[(pq) U(r)] p
p(qr)
p or[q(r p)(q Ur)
3. What are laws of logic?
4. Find the duality of u=(pq) r
5. Find PCNF of p q, (pr) (q p)
UNIT-II
PREDICATES: Predicate logic, Free&Bound variables, Rules of inference, Consistency, Proof of
contradiction, Automatic Theorem Proving.
Objective:
To discuss the concepts associated with predicates, Rule of inferences and their applications
To know the difference between free and bound variables
To know how to apply Antecedent rules, Consequent rules.
Lecture Plan:
SNO
1
2
3
4
TOPIC
Predicates, free, bound variables
Antecedent, Consequent rules
Consistency, Automatic theorem
Problems
NO.OF HRS
2
2
2
1
Assignment:
1. Prove valid or not
If I study then I dont fail in the exam.
If I dont fail in the exam, my father gives me a two wheeler.
If I study then my father gives me a 2 wheeler.
2. (pq) r,rs then s (q v p)
3. p r, p r,q s then r s
4. p q, rs, p or r then q v s
UNIT-III
RELATIONS: Properties of Binary Relations, equivalence, transitive, closure, compatibility and partial
ordering relations.Lattices, Hasse diagram. Functions: Inverse function Composition of functions,
recursive functions, Lattice &its properties.
Objective:
To discuss the basic concepts associated with relations and functions, and their applications
To know about sets, relations, functions and their properties
Ability to learn lattice and its properties
To draw different diagrams like Lattice, Hasse diagrams.
Lecture Plan:
S.NO
1
2
3
4
5
6
TOPIC
Set theory, properties
Relations, properties
POSet,TOSet
Digraph,Hasse diagram
Functions, types of functions
Lattice, properties
NO.OF HRS
2
2
2
2
2
2
Assignment:
1.A={1,3,5} ,B={2,3} C={4,6} find
NO.OF HRS
2
2
3
Homomorphism, Isomorphism
Assignment:
UNIT-IV
ELEMENTARY COMBINATORICS: Basics of counting, Combinations & Permutations. with
repetitions, Constrained repetitions, Binomial Coefficients, Binomial Multinomial theorems, the
principles of Inclusion- Exclusion. Pigeon hole principles and its application.
Objective:
To discuss the basic concepts of permutations, combinations, discrete probability and conditional
probability
To understand the Permutations and Combinations Problems
To know the Pigeon hole principle and its applications.
Lecture Plan:
S.NO
1
2
3
4
TOPIC
Basics of counting
Binomial, Multinomial theorems
Principles of Inclusion-Exclusion
Problems on permutations
NO.OF HRS
2
1
2
1
Assignment:
1. Find the number of nonnegative integer solutions of the inequality x1+x2+x3+.+x6<10
2. In how many ways can we distribute 7 apples and 6 oranges among 4 children so that each
child gets at least 1 apple?
3. Show that C(n-1 +r,r) represents the number of binary numbers that contains (n-1) 1s and r 0s.
4. Find the number of ways of placing 20 identical balls into 5 boxes with atleast one ball put into
each box.
UNIT-IV
Lecture Plan:
SNO
1
2
3
TOPIC
Recurrence relations
Solving RR by substitution and generating functions
Ch roots of sol. In homogeneous RR
NO.OF HRS
2
2
2
Assignment:
1. Find a recurrence relation and the initial condition for the sequence 2,10,50,250
2. A bank pays a certain % of annual interest on deposits, compounding the interest once in 3 months. If
a deposit doubles in 6 yrs and 6 months ,what is the annual % of interest paid by the bank.
3. Find a recurrence relation for the number of binary sequences of length n>=1 that have no
Consecutive 0s.
4. Find the general solution of the recurrence relation
an-7an-2+10an-4=0,n>=4
UNIT-VII
GRAPH THEORY: Representation of Graph, DFS, BFS, Spanning Trees, Planar graphs.
Objective:
Basic concepts of graphs, Planar graphs.
Representation of graphs, trees.
Difference between DFS, BFS
Lecture Plan:
S.NO
TOPIC
1
2
3
4
NO.OF
HRS
2
2
1
1
Assignment:
1. Show that the complete bipartite graph K33 is non planar.
2. A necessary and sufficient condition for a graph G to be a planar is that G does not contain K5or K3,3
as a sub graph.
3. Prove that the Petersen graph is non planar.
4. Show that every graph with 4 or fewer vertices is planar.
5. Find the maximum number of edges possible in simple connected planar graph with 4 vertices.
UNIT-VIII
GRAPH THEORY AND APPLICATIONS: Basic concepts, Isomorphism and sub graphs, Multi graphs
and Euler circuits, Hamiltonian graphs, Chromatic Numbers.
Objective:
Applications of graph theory.
What are sub graphs, multi graphs and their differences?
Euler circuits, Hamiltonian graphs, Chromatic numbers.
How Chromatic numbers are useful?
Lecture Plan:
SNO
1
2
3
4
5
TOPIC
Graph theory & its applications
Multi graphs
Isomorphism
Euler circuits, Hamilton graphs
Chromatic Number ,Map Coloring problem
NO.OF HRS
2
1
1
2
1
Assignment:
1. What are the applications of graph theory?
2. Explain Chromatic number and Map Coloring Problem with examples.
3. Give the difference between DFS and BFS by considering examples.
4. Prove that a connected graph G has an Euler circuit if and only if all vertices of G are of even degree.
5. Is there a graph with odd number of vertices and even number of edges that contains an Euler
circuit?