In this video, searching is explained with a program which accesses a two-dimensional vertically and counts the number students scored above or equivalent to 90 in three different subjects. Bubble sort is explained with the help of sort program in the Java environment.
Link to the Book - Essentials of Computer Applications:
https://www.amazon.in/Essentials-Comp...
Practice Exercise searching and sorting
1. Read or initialize subjects, names, and the marks in 3 subjects of each student and display in the following format after calculating greater than or equivalent to 90 marks of each subject and each student.
English Science Java greater or = 90
Ramesh 94 78 99 2
Charan 62 97 90 2
Divya 92 67 93 2
Pranav 56 98 100 2
Surya 45 91 75 1
greater or 2 3 4
= 90
2. Read a two-dimensional array of size 3X4 and sort the array using the Arrays.sort() method.