EFFECT FROM THE ACADEMIC YEAR 2014 - 2015
CS 131
PROGRAMMING LAB
Instruction 3 Periods per week
Duration of University Examination 3 Hours
University Examination 50Marks
Sessional 25Marks
Write the following Programs Using C Programming Language
1. Sin x and Cos x values using series expansion.
2. Frequency of occurrence and special characteristics like n\t, white spaces.
3. Bubble sort with an array.
4. Linear and Binary Searches.
5. Matrix addition and multiplication using pointers.
6. Generation of address labels using structures.
7. Sequential file operations.
8. Functions of string manipulations without using library functions.
Write the following Programs using C++ Programming Language.
1. Finding maximum, minimum and sum of given set of numbers.
2. Implementation of a matrix class.
3. Classes for Bank Account, Student Information, Library catalog.
4. Creation of complex class with operator overloading.
5. Creation of inheritance hierarchy for graphic shapes.
6. Template functions for min ( ) and max ( ) for finding minimum and maximum in a list of numbers.
7. Programs for finding the number of characters, words and sentences in the given text input.
8. Program to write error Handling Code using Exceptions.