University of Madras - Syllabus of Bachelor of Science (BSc) Computer Science - Semester II - Practical II - Programming In C
UNIVERSITY OF MADRAS
B.Sc. DEGREE COURSE IN COMPUTER SCIENCE
SEMESTER SYSTEM WITH CREDITS
(Effective from the Academic Year 2003-2004)
Semester II - Practical II - Programming In C
Lecture Lab: 4
Duration: 3 hrs
Maximum Marks: 75
Credits: 3
I. Summation of Series:
1. Sin(x), 2. Cos(x), 3. Exp(x) (Comparison with built in functions)
II String Manipulation:
1. Counting the no. of vowels, consonants, words, white spaces in a line of text and array of lines.
2. Reverse a string & check for palindrome.
3. Sub string detection, count and removal.
4. Finding and replacing substrings.
III Recursion
1. nPr,nCr
2. GCD of two numbers
3. Fibonacci sequence
4. Maximum & Minimum
5. Towers of Hanoi
IV Matrix Manipulation:
6. Addition & Subtraction
7. Multiplication
8. Transpose, and trace of a matrix
9. Determinant of a Matrix
V Sorting and Searching:
1. Insertion Sort
2. Bubble Sort
3. Linear Search
4. Binary Search