Total Pageviews

Thursday, April 30, 2020

Digital Image Processing

CMSADSE05T: Digital Image Processing Lab Theory: 60 Lectures
1. Introduction (6 Lectures)
Light, Brightness adaption and discrimination, Pixels, coordinate conventions, Imaging Geometry, Perspective Projection, Spatial Domain Filtering, sampling and quantization.
2. Spatial Domain Filtering (7 Lectures) Intensity transformations, contrast stretching, histogram equalization, Correlation and convolution, Smoothing filters, sharpening filters, gradient and Laplacian.
3. Filtering in the Frequency domain (8 Lectures) Hotelling Transform, Fourier Transforms and properties, FFT (Decimation in Frequency and Decimation in Time Techniques), Convolution, Correlation, 2-D sampling, Discrete Cosine Transform, Frequency domain filtering.
4. Image Restoration (8 Lectures) Basic Framework, Interactive Restoration, Image deformation and geometric transformations, image morphing, Restoration techniques, Noise characterization, Noise restoration filters,
Adaptive filters, Linear, Position invariant degradations, Estimation of Degradation functions, Restoration from projections.
5. Image Compression (10 Lectures) Encoder-Decoder model, Types of redundancies, Lossy and Lossless compression, Entropy of an information source, Shannon's 1st Theorem, Huffman Coding, Arithmetic Coding, Golomb Coding, LZW coding, Transform Coding, Sub-image size selection, blocking artifacts, DCT implementation using FFT, Run length coding, FAX compression (CCITT Group-3 and Group-4), Symbol-based coding, JBIG-2, Bit-plane encoding, Bit-allocation, Zonal Coding, Threshold Coding, JPEG, Lossless predictive coding, Lossy predictive coding, Motion Compensation
6. Wavelet based Image Compression (5 Lectures) Expansion of functions, Multi-resolution analysis, Scaling functions, MRA refinement equation, Wavelet series expansion, Discrete Wavelet Transform (DWT), Continuous Wavelet Transform, Fast Wavelet Transform, 2-D wavelet Transform, JPEG-2000 encoding, Digital Image Watermarking.
7. Morphological Image Processing (7 Lectures) Basics, SE, Erosion, Dilation, Opening, Closing, Hit-or-Miss Transform, Boundary Detection, Hole filling, Connected components, convex hull, thinning, thickening, skeletons, pruning, Geodesic Dilation, Erosion, Reconstruction by dilation and erosion.
8. Image Segmentation (9 Lectures) Boundary detection based techniques, Point, line detection, Edge detection, Edge linking, local processing, regional processing, Hough transform, Thresholding, Iterative thresholding, Otsu's method, Moving averages, Multivariable thresholding, Region-based segmentation, Watershed algorithm, Use of motion in segmentation

Programming in Python Planning the Computer Program

CMSSSEC01M: Programming in Python Planning the Computer Program: Concept of problem solving, Problem definition, Programdesign, Debugging, Types of errors in programming, Documentation. (2L)
Techniques ofProblem Solving: Flowcharting, decision table, algorithms, Structured programming concepts,Programming methodologies viz. top-down and bottom-up programming. Overview of Programming : Structure of a Python Program, Elements of Python (2L)
(3L)
Introduction to Python: Python Interpreter, Using Python as calculator, Python shell, Indentation.Atoms, Identifiers and keywords, Literals, Strings, Operators(Arithmetic operator, Relational operator, Logical or Boolean operator, Assignment, Operator, Ternary operator, Bit wise operator, Increment or Decrement operator). (4L)
Creating Python Programs : Input and Output Statements, Control statements(Branching,Looping, Conditional Statement, Exit function, Difference between break, continue and pass.), Defining Functions, default arguments.

CMSSSEC02M: R-Programming

CMSSSEC02M: R-Programming
(1+2 Labs)
Introduction: Overview and History of R, Getting Help, Data Types, Subsetting, Vectorized
Operations, Reading and Writing Data. (5L) Control Structures, Functions, lapply, tapply, split, mapply, apply, Coding Standards. (5L) Scoping Rules, Debugging Tools, Simulation, R Profiler. (5L)

Software Lab Based on R Programming

Software Lab Based on R Programming

 1. Write a program that prints ‗Hello World‘ to the screen.
 2. Write a program that asks the user for a number n and prints the sum of the numbers 1 to n 
 3. Write a program that prints a multiplication table for numbers up to 12. 
 4. Write a function that returns the largest element in a list. 
 5. Write a function that computes the running total of a list. 
 6. Write a function that tests whether a string is a palindrome. 
 7. Implement the following sorting algorithms: Selection sort, Insertion sort, Bubble Sort 
 8. Implement linear search. 
 9. Implement binary search. 
10. Implement matrices addition, subtraction and Multiplication

Software Lab Based on Python:

Section: A ( Simple programs) 1. Write a menu driven program to convert the given temperature from Fahrenheit to Celsius and vice versa depending upon users choice. 2. WAP to calculate total marks, percentage and grade of a student. Marks obtained in each of the three subjects are to be input by the user. Assign grades according to the following criteria : Grade A: Percentage >=80 Grade B: Percentage>=70 and <80 Grade C: Percentage>=60 and <70 Grade D: Percentage>=40 and <60 Grade E: Percentage<40 3. Write a menu-driven program, using user-defined functions to find the area of rectangle, square, circle and triangle by accepting suitable input paramters from user. 4. WAP to display the first n terms of Fibonacci series. 5. WAP to find factorial of the given number. 6. WAP to find sum of the following series for n terms: 1 – 2/2! + 3/3! - - - - - n/n! 7. WAP to calculate the sum and product of two compatible matrices.
Section: B (Visual Python):
All the programs should be written using user defined functions, wherever possible.
1. Write a menu-driven program to create mathematical 3D objects I. curve
II. sphere III. cone IV. arrow V. ring VI. cylinder. 2. WAP to read n integers and display them as a histogram. 3. WAP to display sine, cosine, polynomial and exponential curves.
4. WAP to plot a graph of people with pulse rate p vs. height h. The values of p and h are to be entered by the user. 5. WAP to calculate the mass m in a chemical reaction. The mass m (in gms) disintegrates according to the formula m=60/(t+2), where t is the time in hours. Sketch a graph for t vs. m, where t>=0. 6. A population of 1000 bacteria is introduced into a nutrient medium. The population p grows as follows: P(t) = (15000(1+t))/(15+ e) where the time t is measured in hours. WAP to determine the size of the population at given time t and plot a graph for P vs t for the specified time interval. 7. Input initial velocity and acceleration, and plot the following graphs depicting equations of motion: I. velocity wrt time (v=u+at) II. distance wrt time ( s=u*t+0.5*a*t*t) III. distance wrt velocity ( s=(v*v-u*u)/2*a ) 8. WAP to show a ball bouncing between 2 walls. (Optional)

Digital Image Processing Lab

Digital Image Processing Lab

1. Write program to read and display digital image using MATLAB or SCILAB a. Become familiar with SCILAB/MATLAB Basic commands b. Read and display image in SCILAB/MATLAB c. Resize given image d. Convert given color image into gray-scale image e. Convert given color/gray-scale image into black & white image f. Draw image profile g. Separate color image in three R G & B planes h. Create color image using R, G and B three separate planes i. Flow control and LOOP in SCILAB j. Write given 2-D data in image file
2. To write and execute image processing programs using point processing method a. Obtain Negative image
b. Obtain Flip image c. Thresholding d. Contrast stretching
3. To write and execute programs for image arithmetic operations a. Addition of two images b. Subtract one image from other image c. Calculate mean value of image d. Different Brightness by changing mean value
4. To write and execute programs for image logical operations a. AND operation between two images b. OR operation between two images c. Calculate intersection of two images d. Water Marking using EX-OR operatione. NOT operation (Negative image)
5. To write a program for histogram calculation and equalization using a. Standard MATLAB function b. Program without using standard MATLAB functions c. C Program
6. To write and execute program for geometric transformation of image a. Translation b. Scaling c. Rotation d. Shrinking e. Zooming
7. To understand various image noise models and to write programs for a. image restoration b. Remove Salt and Pepper Noise c. Minimize Gaussian noise d. Median filter and Weiner filter
8. Write and execute programs to remove noise using spatial filters a. Understand 1-D and 2-D convolution process b. Use 3x3 Mask for low pass filter and high pass filter
9. Write and execute programs for image frequency domain filtering a. Apply FFT on given image b. Perform low pass and high pass filtering in frequency domain c. Apply IFFT to reconstruct image
10. Write a program in C and MATLAB/SCILAB for edge detection using different edge detection mask 11. Write and execute program for image morphological operations erosion and dilation. 12. To write and execute program for wavelet transform on given image and perform inverse wavelet transform to reconstruct image.

Cloud Computing Lab

Cloud Computing Lab 1. Create virtual machines that access different programs on same platform. 2. Create virtual machines that access different programs on different platforms . 3. Working on tools used in cloud computing online- a. Storage b. Sharing of data c. manage your calendar, to-do lists, d. a document editing tool 4. Exploring Google cloud 5. Exploring microsoft cloud 6. Exploring amazon cloud

Microprocessor Lab

Microprocessor Lab

ASSEMBLY LANGUAGE PROGRAMMING 1. Write a program for 32-bit binary division and multiplication 2. Write a program for 32-bit BCD addition and subtraction 3. Write a program for Linear search and binary search. 4. Write a program to add and subtract two arrays 5. Write a program for binary to ascii conversion 6. Write a program for ascii to binary conversion

Computer Graphics Lab

1. Write a program to implement Bresenham‘s line drawing algorithm. 2. Write a program to implement mid-point circle drawing algorithm. 3. Write a program to clip a line using Cohen and Sutherland line clipping algorithm. 4. Write a program to clip a polygon using Sutherland Hodgeman algorithm. 5. Write a program to apply various 2D transformations on a 2D object (use homogenous coordinates). 6. Write a program to apply various 3D transformations on a 3D object and then apply parallel and perspective projection on it. 7. Write a program to draw Hermite/Bezier curve.

Artificial Intelligence Lab

1Write a prolog program to calculate the sum of two numbers.LINK
2Write a prolog program to find the maximum of two numbers.LINK
3Write a prolog program to calculate the factorial of a given number.LINK
4Write a prolog program to calculate the nth Fibonacci number.LINK
5Write a prolog program, insert_nth(item, n, into_list, result) that asserts that result is the list into_list with item inserted as the n‘th element into every list at all levels.LINK
6Write a Prolog program to remove the Nth item from a list.LINK
7Write a Prolog program, remove-nth(Before, After) that asserts the After list is the Before list with the removal of every n‘th item from every list at all levels.LINK
8Write a Prolog program to implement append for two lists.LINK
9 Write a Prolog program to implement palindrome (List).LINK
10Write a Prolog program to implement max(X,Y,Max) so that Max is the greater of two numbers X and Y.LINK
11Write a Prolog program to implement maxlist(List,Max) so that Max is the greatest number in the list of numbers List.LINK
12Write a Prolog program to implement sumlist(List,Sum) so that Sum is the sum of a given list of numbers List.LINK
13Write a Prolog program to implement two predicates evenlength(List) and oddlength(List) so that they are true if their argument is a list of even or odd length respectively.LINK
14 Write a Prolog program to implement reverse(List,ReversedList) that reverses lists.LINK
15Write a Prolog program to implement maxlist(List,Max) so that Max is the greatest number in the list of numbers List using cut predicate.LINK
16Write a Prolog program to implement GCD of two numbers.LINK
17 Write a prolog program that implements Semantic Networks/Frame Structures.

Internet Technologies

Internet Technologies

Create event driven program for following: 1. Print a table of numbers from 5 to 15 and their squares and cubes using alert. 2. Print the largest of three numbers. 3. Find the factorial of a number n. 4. Enter a list of positive numbers terminated by Zero. Find the sum and average of these numbers. 5. A person deposits Rs 1000 in a fixed account yielding 5% interest. Compute the amount in the account at the end of each year for n years. 6. Read n numbers. Count the number of negative numbers, positive numbers and zeros in the list.

Database Management SystemsLab

Database Management SystemsLab





Query List 1. Query to display Employee Name, Job, Hire Date, Employee Number; for each employee with the Employee Number appearing first. 2. Query to display unique Jobs from the Employee Table.
3. Query to display the Employee Name concatenated by a Job separated by a comma. 4. Query to display all the data from the Employee Table. Separate each Column by a comma and name the said column as THE_OUTPUT. 5. Query to display the Employee Name and Salary of all the employees earning more than $2850. 6. Query to display Employee Name and Department Number for the Employee No= 7900. 7. Query to display Employee Name and Salary for all employees whose salary is not in the range of $1500 and $2850. 8. Query to display Employee Name and Department No. of all the employees in Dept 10 and Dept 30 in the alphabetical order by name. 9. Query to display Name and Hire Date of every Employee who was hired in 1981. 10. Query to display Name and Job of all employees who don‘t have a current Manager. 11. Query to display the Name, Salary and Commission for all the employees who earn commission. 12. Sort the data in descending order of Salary and Commission. 13. Query to display Name of all the employees where the third letter of their name is ‗A‘. 14. Query to display Name of all employees either have two ‗R‘s or have two ‗A‘s in their name and are either in Dept No = 30 or their Manger‘s Employee No = 7788. 15. Query to display Name, Salary and Commission for all employees whose Commission Amount is 14 greater than their Salary increased by 5%. 16. Query to display the Current Date. 17. Query to display Name, Hire Date and Salary Review Date which is the 1st Monday after six months of employment. 18. Query to display Name and calculate the number of months between today and the date each employee was hired. 19. Query to display the following for each employee <E-Name> earns < Salary> monthly but wants < 3 * Current Salary >. Label the Column as Dream Salary. 20. Query to display Name with the 1st letter capitalized and all other letter lower case and length of their name of all the employees whose name starts with ‗J‘, ‘A‘ and ‗M‘. 21. Query to display Name, Hire Date and Day of the week on which the employee started. 22. Query to display Name, Department Name and Department No for all the employees. 23. Query to display Unique Listing of all Jobs that are in Department # 30. 24. Query to display Name, Dept Name of all employees who have an ‗A‘ in their name. 25. Query to display Name, Job, Department No. And Department Name for all the employees working at the Dallas location. 26. Query to display Name and Employee no. Along with their Manger‘s Name and the Manager‘s employee no; along with the Employees‘ Name who do not have a Manager. 27. Query to display Name, Dept No. And Salary of any employee whose department No. and salary matches both the department no. And the salary of any employee who earns a commission. 28. Query to display Name and Salaries represented by asterisks, where each asterisk (*) signifies $100. 29. Query to display the Highest, Lowest, Sum and Average Salaries of all the employees 30. Query to display the number of employees performing the same Job type functions. 31. Query to display the no. of managers without listing their names. 32. Query to display the Department Name, Location Name, No. of Employees and the average salary for all employees in that department. 33. Query to display Name and Hire Date for all employees in the same dept. as Blake. 34. Query to display the Employee No. And Name for all employees who earn more than the average salary. 35. Query to display Employee Number and Name for all employees who work in a department with any employee whose name contains a ‗T‘. 36. Query to display the names and salaries of all employees who report to King.
37. Query to display the department no, name and job for all employees in the Sales department.

Software Engineering Lab

Sample Projects: 1. Criminal Record Management: Implement a criminal record management system forjailers, police officers and CBI officers 2. DTC Route Information: Online information about the bus routes and their frequency andfares 3. Car Pooling: To maintain a web based intranet application that enables the corporateemployees within an organization to avail the facility of carpooling effectively. 4. Patient Appointment and Prescription Management System 5. Organized Retail Shopping Management Software 6. Online Hotel Reservation Service System 7. Examination and Result computation system 8. Automatic Internal Assessment System 9. Parking Allocation System 10. Wholesale Management System


Design and Analysis of Algorithms Lab


CMSACOR08P::

1.
 i. Implement Insertion Sort : 
    a )THEORY -   VIDEO LINK    b ) C CODE -- CLICK
 (The program should report the number of comparisons) 


 ii.Implement Merge Sort:
       a) THEORY -  VIDEO LINK       b) C++ CODE - CLICK NONRECURSIVE
                                                                                        RECURSIVE MERGE SORT
(The program should report the number of comparisons) 
                                         

2. Implement Heap Sort :
    a) THEORY - VIDEO LINK      b) C++ CODE - CLICK
(The program should report the number of comparisons) 

3. Implement Randomized Quick sort :
   a) THEORY - VIDEO LINK        b) C++ CODE - CLICK
(The program should report the number of comparisons) 

4. Implement Radix Sort:  
   a) THEORY - VIDEO LINK        b)  C++ CODE -CLICK
5. Create a Red-Black Tree and perform following operations on it:
 i. Insert a node  ii. Delete a node  iii. Search for a number & also report the color of the node containing this number. 




6. Write a program to determine the LCS of two given sequences :
a) THEORY -         b)  C++ CODE - CLICK


7. Implement Breadth-First Search in a graph : 
a) THEORY -  VIDEO LINK     b)  C CODE - CLICK



8. Implement Depth-First Search in a graph :
a) THEORY - VIDEO LINK      b)  C++ CODE - CLICK



9. Write a program to determine the minimum spanning tree of a graph : 
a) THEORY -  i) PRIMS VIDEO LINK  ii) KRUSKAL VIDEO LINK    
b)  C++ CODE   prims in c++ click  kruskal in c
For the algorithms at S.No 1 to 3 test run the algorithm on 100 different inputs of sizes varying from 30 to 1000. Count the number of comparisons and draw the graph. Compare it with a graph of nlogn.

Computer Networks Lab

1. Simulate Cyclic Redundancy Check (CRC) error detection algorithm for noisy channel. 2. Simulate and implement stop and wait protocol for noisy channel. 3. Simulate and implement go back n sliding window protocol. 4. Simulate and implement selective repeat sliding window protocol. 5. Simulate and implement distance vector routing algorithm 6. Simulate and implement Dijkstra algorithm for shortest path routing.

Operating Systems Lab

CMSACOR06P: Operating Systems Lab Practical: 60 Lectures
C/ C++ programs 1. WRITE A PROGRAM (using fork() and/or exec() commands) where parent and child execute: a. same program, same code. b. same program, different code. c. before terminating, the parent waits for the child to finish its task. 2. WRITE A PROGRAM to report behaviour of Linux kernel including kernel version, CPU type and model. (CPU information) 3. WRITE A PROGRAM to report behaviour of Linux kernel including information on configured memory, amount of free and used memory. (memory information) 4. WRITE A PROGRAM to print file details including owner access permissions, file access time, where file name is given as argument. 5. WRITE A PROGRAM to copy files using system calls. 6. Write program to implement FCFS scheduling algorithm. 7. Write program to implement Round Robin scheduling algorithm. 8. Write program to implement SJF scheduling algorithm. 9. Write program to implement non-preemptive priority based scheduling algorithm. 10. Write program to implement preemptive priority based scheduling algorithm. 11. Write program to implement SRJF scheduling algorithm. 12. Write program to calculate sum of n numbers using thread library. 13. Write a program to implement first-fit, best-fit and worst-fit allocation strategies.

CBCS DATA STRUCTURE PRACTICAL ASSIGNMENT

CMSACOR05P: Data Structures Lab Practical: 60 Lectures 

1. Write a program to search an element from a list. Give user the option to perform Linear or Binary search. Use Template functions. 

2. WAP using templates to sort a list of elements. Give user the option to perform sorting using Insertion sort, Bubble sort or Selection sort. 

3. Implement Linked List using templates. Include functions for insertion, deletion and search of a number, reverse the list and concatenate two linked lists (include a function and also overload operator +). CLICK HERE

 4. Implement Doubly Linked List using templates. Include functions for insertion, deletion and search of a number, reverse the list.  CLICK HERE

5. Implement Circular Linked List using templates. Include functions for insertion, deletion and search of a number, reverse the list. CLICK HERE

6. Perform Stack operations using Linked List implementation.  CLICK HERE

7. Perform Stack operations using Array implementation. Use Templates.

8. Perform Queues operations using Circular Array implementation. Use Templates. 

9. Create and perform different operations on Double-ended Queues using Linked List implementation.CLICK HERE

 10. WAP to scan a polynomial using linked list and add two polynomial. CLICK HERE

11. WAP to calculate factorial and to compute the factors of a given no. (i)using recursion, (ii) using iteration CLICK HERE

12. (ii) WAP to display Fibonacci series (i)using recursion, (ii) using iteration  CLICK HERE

 13. WAP to calculate GCD of 2 number (i) with recursion (ii) without recursion  CLICK HERE
 
 14. WAP to create a Binary Search Tree and include following operations in tree:
 i. Insertion (Recursive and Iterative Implementation) 
ii. Deletion by copying
 iii. Deletion by Merging
 iv. Search a no. in BST 
v. Display its preorder, postorder and inorder traversals Recursively
 vi. Display its preorder, postorder and inorder traversals Iteratively 
vii. Display its level-by-level traversals 
viii. Count the non-leaf nodes and leaf nodes
 ix. Display height of tree
 x. Create a mirror image of tree xi. Check whether two BSTs are equal or not 

15. WAP to convert the Sparse Matrix into non-zero form and vice-versa. 

16. WAP to reverse the order of the elements in the stack using additional stack. CLICK

17. WAP to reverse the order of the elements in the stack using additional Queue.  CLICK

18. WAP to implement Diagonal Matrix using one-dimensional array. CLICK

19. WAP to implement Lower Triangular Matrix using one-dimensional array. 

20. WAP to implement Upper Triangular Matrix using one-dimensional array. 

21. WAP to implement Symmetric Matrix using one-dimensional array.

22. WAP to create a Threaded Binary Tree as per inorder traversal, and implement operations like finding the successor / predecessor of an element, insert an element, inorder traversal.

 23. WAP to implement various operations on AVL Tree.

cbcs computer organization practical assignment


cbcs c practical assignment

 cbcs c practical assignment

1. WAP to print the sum and product of digits of an integer.CLICK HERE
2. WAP to reverse a number.CLICK HERE
3. WAP to compute the sum of the first n terms of the following series S = 1+1/2+1/3+1/4+……CLICK HERE
4. WAP to compute the sum of the first n terms of the following series S =1-2+3-4+5…………….CLICK HERE
5. Write a function that checks whether a given string is Palindrome or not. Use this function to find whether the string entered by user is Palindrome or not.CLICK HERE     
6. Write a function to find whether a given no. is prime or not. Use the same to generate the prime numbers less than 100.CLICK HERE
7. WAP to compute the factors of a given number.CLICK HERE
8. Write a macro that swaps two numbers. WAP to use it.CLICK HERE
9. WAP to print a triangle of stars as follows (take number of lines from user):
10. WAP to perform following actions on an array entered by the user:
 i.Print the even-valued elements
 ii.Print the odd-valued elements
 iii.Calculate and print the sum and average of the elements of array
 iv.Print the maximum and minimum element of array v.Remove the duplicates from the array vi.Print the array in reverse order
The program should present a menu to the user and ask for one of the options. The menu should also include options to re-enter array and to quit the program.
12. Write a program that swaps two numbers using pointers.
13. Write a program in which a function is passed address of two variables and then alter its contents.
14. Write a program which takes the radius of a circle as input from the user, passes it to another function that computes the area and the circumference of the circle and displays the value of area and circumference from the main() function.CLICK HERE
15. Write a program to find sum of n elements entered by the user. To write this program, allocate memory dynamically using malloc() / calloc() functions or new operator.CLICK HERE
16. Write a menu driven program to perform following operations on strings:
a) Show address of each character in string
b) Concatenate two strings without using strcat function
c) Concatenate two strings using strcat function.
d) Compare two strings
e) Calculate length of the string (use pointers)
f) Convert all lowercase characters to uppercase
g) Convert all uppercase characters to lowercase
 h) Calculate number of vowels i) Reverse the string
17. Given two ordered arrays of integers, write a program to merge the two-arrays to get an ordered array. CLICK HERE
18. WAP to display Fibonacci series (i)using recursion, (ii) using iteration
19. WAP to calculate Factorial of a number (i)using recursion, (ii) using iteration
20. WAP to calculate GCD of two numbers (i) with recursion (ii) without recursion.
21. Create Matrix class using templates. Write a menu-driven program to perform following Matrixoperations (2-D array implementation): a) Sum b) Difference c) Product d) Transpose
22. Create the Person class. Create some objects of this class (by taking information from the user). Inherit the class Person to create two classes Teacher and Student class. Maintain the respective information in the classes and create, display and delete objects of these two classes (Use Runtime Polymorphism).
23. Create a class Triangle. Include overloaded functions for calculating area. Overload assignment operator and equality operator.
24. Create a class Box containing length, breath and height. Include following methods in it:
 ) Calculate surface Area              
b) Calculate Volume              
c) Increment, Overload ++ operator (both prefix & postfix)              
d) Decrement, Overload -- operator (both prefix & postfix)              
e) Overload operator == (to check equality of two boxes), as a friend function              
f) Overload Assignment operator              
g) Check if it is a Cube or cuboid Write a program which takes input from the user for                             length, breath and height to test the above class.
25. Create a structure Student containing fields for Roll No., Name, Class, Year and Total Marks. Create 10 students and store them in a file.
26. Write a program to retrieve the student information from file created in previous question and print it in following format: Roll No. Name Marks
27. Copy the contents of one text file to another file, after removing all whitespaces
28. Write a function that reverses the elements of an array in place. The function must accept only one pointer value and return void.
29. Write a program that will read 10 integers from user and store them in an array. Implement array using pointers. The program will print the array elements in ascending and descending order.

CMSACOR01P: Programming Fundamental using C/C++

CMSACOR01P: Programming Fundamental using C/C++

 cbcs c++ practical assignment

1. WAP to print the sum and product of digits of an integer. - CLICK HERE

 2. WAP to reverse a number. CLICK HERE

 3. WAP to compute the sum of the first n terms of the following series S = 1+1/2+1/3+1/4+    CLICK HERE

 4. WAP to compute the sum of the first n terms of the following series S = 1 - 2 + 3 - 4 + 5…   CLICK HERE

 5. Write a function that checks whether a given string is Palindrome or not. Use this function to find whether the string entered by user is Palindrome or not. CLICK HERE

6. Write a function to find whether a given no. is prime or not. Use the same to generate the prime numbers less than 100. CLICK HERE

7. WAP to compute the factors of a given number. CLICK HERE

8. Write a macro that swaps two numbers. WAP to use it. CLICK HERE

9. WAP to print a triangle of stars as follows (take number of lines from user): CLICK HERE
                          *
                       ***
                     *****
                   *******
                 *********

10. WAP to perform following actions on an array entered by the user:  click here
                i.Print the even-valued elements
               ii.Print the odd-valued elements
              iii.Calculate and print the sum and average of the elements of array
              iv.Print the maximum and minimum element of array
               v.Remove the duplicates from the array
              vi.Print the array in reverse order The program should present a menu to the user and ask for one of the options. The menu should also include options to re-enter array and to quit the program.

 11. WAP that prints a table indicating the number of occurrences of each alphabet in the text entered as command line arguments. click here

12. Write a program that swaps two numbers using pointers.click here

13. Write a program in which a function is passed address of two variables and then alter its contents. click here

14. Write a program which takes the radius of a circle as input from the user, passes it to another function that computes the area and the circumference of the circle and displays the value of area and circumference from the main() function. click here

 15. Write a program to find sum of n elements entered by the user. To write this program, allocate memory dynamically using malloc() / calloc() functions or new operator. click here

16. Write a menu driven program to perform following operations on strings: click here
                   a) Show address of each character in string
                   b) Concatenate two strings without using strcat function.
                   c) Concatenate two strings using strcat function.
                   d) Compare two strings
                   e) Calculate length of the string (use pointers)
                   f) Convert all lowercase characters to uppercase
                   g) Convert all uppercase characters to lowercase
                   h) Calculate number of vowels i) Reverse the string

17. Given two ordered arrays of integers, write a program to merge the two-arrays to get an ordered array. click here

18. WAP to display Fibonacci series (i)using recursion, (ii) using iteration click here

19. WAP to calculate Factorial of a number (i)using recursion, (ii) using iteration  click here

20. WAP to calculate GCD of two numbers (i) with recursion (ii) without recursion. click here

21. Create Matrix class using templates. Write a menu-driven program to perform following Matrixoperations (2-D array implementation): a) Sum b) Difference c) Product d) Transpose CLICK HERE

 22. Create the Person class. Create some objects of this class (by taking information from the user). Inherit the class Person to create two classes Teacher and Student class. Maintain the respective information in the classes and create, display and delete objects of these two classes (Use Runtime Polymorphism).CLICK HERE

23. Create a class Triangle. Include overloaded functions for calculating area. Overload assignment operator and equality operator. CLICK HERE

24. Create a class Box containing length, breath and height. Include following methods in it: CLICK HERE
              a) Calculate surface Area
              b) Calculate Volume
              c) Increment, Overload ++ operator (both prefix & postfix)
              d) Decrement, Overload -- operator (both prefix & postfix)
              e) Overload operator == (to check equality of two boxes), as a friend function
              f) Overload Assignment operator
              g) Check if it is a Cube or cuboid Write a program which takes input from the user for                             length, breath and height to test the above class.

25. Create a structure Student containing fields for Roll No., Name, Class, Year and Total Marks. Create 10 students and store them in a file. CLICK HERE

26. Write a program to retrieve the student information from file created in previous question and print it in following format: Roll No. Name Marks. CLICK HERE

27. Copy the contents of one text file to another file, after removing all whitespaces.CLICK HERE

28. Write a function that reverses the elements of an array in place. The function must accept only one pointer value and return void. CLICK HERE

29. Write a program that will read 10 integers from user and store them in an array. Implement array using pointers. The program will print the array elements in ascending and descending order. CLICK HERE