1.Read an array and rotate elements right( read n-number of times to rotate).

2.Find
the average of list of numbers.

3.Find
the maximum and minimum values from an array of integers.

4.Swap
the k

^{th }and k+1^{th}element in an array. Read k.
5.Find
the binary equivalent of a number using array.

6.Find similar
elements in an array and compute the number of times they occur.

7. Separate
odd and even integers in separate arrays from a given array.

8.Find
the intersection of two set of numbers.

9.Rearrage
n numbers in an array in reverse order.(selection sort)

10.Sort
the numbers stored in array in ascending order.(bubble sort)

11.Arrange
numbers in an array in such a way that the array will have odd numbers followed
by the even numbers.

12.Find
the frequency of digits in a set of numbers.

13.Remove
duplicate elements from an array.

14.Merge
two sorted arrays into another array in sorted order.

15.Find
the standard deviation of set of integer data.

16.Read list
of numbers and print prime numbers from the list.

17.List
of internal marks of a subject is stored in an array ( marks out of 50).Find

a.number
of passed students ( need 50 percentage or more)

b.number of
failed students

c.number of
students having 60 percentage or more

d.maximum
, minimum and average mark in the subject.

( do it
as a menu driven program..)

18.Search
a key element ina given array ( linear search)

19.Search
a key element in the give sorted array ( binary search)

20.Generate
Fibonacci numbers up to n and store it in an array.Read and print prime numbers
from it.

21.Given two vectors V1 and V2. Find their dot product.

22.Given two vectors V1,V2 find V1-2V2

23.Find the length of a given vector.

24.Check whether two vectors are orthogonal.

## Comments

## Post a Comment