Thursday, December 28, 2017

Important Programs for Training Purpose

Write only procedures / algorithms or draw flow charts for the following problems:

Arrays:
3.       First & Second Largest Numbers of N Random Numbers (Using Arrays & Without Arrays).
4.       Display Left Upper Triangle, Right Upper Triangle of square matrix.
5.       Display Left Lower Triangle, Right Lower Triangle of square matrix.
6.       Find the sum of randomly given numbers (Using Arrays & Without Using Arrays).

Strings:
1.       Procedure to find out string length, string copy, string compare, string concatenation with out using string functions 

Loops/Iteration Statements:
1.       Display Natural Numbers in the given range.
2.       Find the sum of Natural Numbers  in the given range.
3.       Display Even Numbers in the given range.
4.       Find the sum of even numbers in the given range.
5.       Display Odd Numbers in the given range.
6.       Find the sum of Odd numbers in the given range.
7.       Display multiples of ‘n’ in the given range.
8.       Find the sum of all multiples of ‘n’ in the given range.
9.       Find out the factors of a given number.
10.   Check whether the given number is prime or not using Recursion.
11.   Check whether the given number is prime or not without using Recursion.
12.   Print the Prime numbers within the given range using recursion.
13.   Print the Prime numbers within the given range without using recursion.
14.   Find out the factorial of a given number without using recursion.
15.   Find out the factorial of a given number using recursion.
16.   Print the factorials of all numbers within the given range using recursion.
17.   Print the factorials of all numbers within the given range without using recursion.
18.   If f(x)=x+x^2+x^3+x^4.....+x^n ,find f(n) by using single loop.
19.   For given value of n, find the value of 1!+2!+3!+.....+n! by using single loop..
20.   For given value of n, find the value of (x/1!)+(x^2/2!)+(x^3/3!)+.....+(x^n/n!)  by using single loop..
21.   Print Multiplication tables up to the given limit using recursion.
22.   Print Multiplication tables up to the given limit without using recursion.

CA - 3 4 5 Units