0% found this document useful (0 votes)
5 views30 pages

Practical

The document contains a series of programming tasks related to array manipulation and SQL commands. It includes instructions for traversing, inserting, deleting, copying, searching, sorting arrays, as well as operations on 2D arrays and stack/queue implementations. Additionally, it outlines various SQL commands such as CREATE, DROP, TRUNCATE, ALTER, DELETE, ROLLBACK, COMMIT, and UPDATE.

Uploaded by

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

Practical

The document contains a series of programming tasks related to array manipulation and SQL commands. It includes instructions for traversing, inserting, deleting, copying, searching, sorting arrays, as well as operations on 2D arrays and stack/queue implementations. Additionally, it outlines various SQL commands such as CREATE, DROP, TRUNCATE, ALTER, DELETE, ROLLBACK, COMMIT, and UPDATE.

Uploaded by

prmranjali165
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 30

1. Write a Program to Traverse elements of an array.

Output:
2. Write a Program to Inert new element in array

Output:
3. Write a Program to Delete an element from an
array.

Output:
4. Write a Program to Copy elements of one array to
another array.

Output:
5. Write a Program to Perform linear search on an
array.

Output:
6. Write a Program to Perform binary search on an
array.

Output:
7. Write a Program to Perform selection sort.

Output:
8. Write a Program to Perform bubble sort.

Output:
9. Write a Program to Merge elements of two array
into third array.

Output
10.Write a Program to Insert elements in 2d array.

Output:
11.Write a Program to Perform addition operation
on 2d array.
Output:
12.Write a Program to Perform transpose operation
on 2d array.
Output:
13. Write a Program to Implement stack using array.

Output:
14. Write a Program to Implement queue using array.
Output:
15. Write a Program to Reverse a string without using
string library.

Output:
SQL Commands:
1. CREATE and INSERT command:
2. DROP:

Output:
3. TRUNCATE:

OUTPUT:
4. ALTER Command:

Output:
5. DELETE Command:

Output:
6. ROLLBACK Command:

Output:
7. COMMIT Command:

Output:
8. UPDATE Command:

Output:

You might also like