4EC7 COMPUTER  PROGRAMMING LAB-II

Programs in C++

1.  Write a program to perform the complex arithmetic.

2.  Write a program to perform the rational number arithmetic.

3.  Write a program to perform the matrix operations. (Transpose, addition, subtraction, multiplication,

test if a matrix is symmetric/ lower triangular/ upper triangular)

4.  Implement Morse code to text conversion and vice-versa.

5.  To calculate Greatest Common Divisor of given numbers.

6.  To implement tower of Hanoi problem.

Program in Java

7.    To implement spell checker using dictionary.

8.    To implement a color selector from a given set of colors.

9.    To implement a shape selector from a given set of shapes.

10.  By mapping keys to pens of different colors, implement turtle graphics.

11.  To implement a calculator with its functionality.

12.  To implement a graph and display BFS/DFS order of nodes.