For programming in every organization having some programming question given below with answer.

Program for pattern matching


  1. *
    * *
    * * *
    * * * *
    * * * * *


  2. *
    * * *
    * * * * *
    * * * * * * *


  3.           *
          * * *
        * * * * *
    * * * * * * *

    .

  4. 1
    1 2
    1 2 3
    1 2 3 4


  5.           1
          1 2 1
        1 2 3 2 1
    1 2 3 4 3 2 1


  6.         1
           2 2
       3 3 3
    4 4 4 4

Program for array

  1. Program for shorting an array.
  2. Program for searching any element from array.
  3. Program for counting the frequency of any number in the given array.
  4. Program for addition of two matrix.
  5. Program for multiplication of the matrix.
  6. Program for finding the union of the two matrix.
  7. Program for finding the intersection of the two matrix.
  8. Program for add the elements of the matrix .
  9. Program for finding the addition of row wise and colum wise.
  10. Program for performing the merge short.

Program for string

  1. Program for reverse of the string.

Some other important programs

  1. Program for prime no.
  2. Program for fabonaci number.
  3. Program for armstrong number.
  4. Program for swapping of two number without using third variable.
  5. Program for finding factorial without recursion.
  6. Program for finding factorial with recursion.
  7. Program for pascal triangle.