0% found this document useful (0 votes)
3 views1 page

Array Assignment

The document outlines a series of programming assignments focused on array operations, categorized into beginner, intermediate, advanced, and specific tasks involving pointers and 2D arrays. Each category contains various tasks such as inputting and displaying array elements, finding sums and maximums, sorting, and matrix operations. The assignments are designed to enhance understanding and proficiency in handling arrays in programming.

Uploaded by

nitishatiwari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Array Assignment

The document outlines a series of programming assignments focused on array operations, categorized into beginner, intermediate, advanced, and specific tasks involving pointers and 2D arrays. Each category contains various tasks such as inputting and displaying array elements, finding sums and maximums, sorting, and matrix operations. The assignments are designed to enhance understanding and proficiency in handling arrays in programming.

Uploaded by

nitishatiwari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Array Assignment

⭐ BEGINNER LEVEL (Basic Array Operations)


1. WAP to input and display elements of an array.
2. WAP to find the sum of all elements of an array.
3. WAP to find the maximum element in an array.
4. WAP to count even and odd elements in an array.
5. WAP to reverse the elements of an array.
6. WAP to copy one array to another array.
7. WAP to check if the array is sorted or not.

⭐ INTERMEDIATE LEVEL
8. WAP to sort the array using Selection Sort.
9. WAP to find the second smallest element.
10. WAP to rotate an array right by 1 position.
11. WAP to rotate an array left by k positions.

⭐ ADVANCED ARRAY QUESTIONS


12. WAP to find all unique pairs with given sum (Two Sum).
13. WAP to segregate even and odd numbers in an array.

⭐ ARRAY WITH POINTERS (Important for C)


14. WAP to access array elements using pointers.
15. WAP to display reverse of array using pointer arithmetic.

⭐ 2D ARRAY QUESTIONS (Matrix)


16. WAP to input and print a matrix.
17. WAP to add two matrices.
18. WAP to multiply two matrices.
19. WAP to find transpose of matrix.

You might also like