To solve this problem, we need to apply Bubble Sort, a simple sorting algorithm where each pass through the list involves comparing adjacent elements and swapping them if they are in the wrong order. We'll explain the process for the initial list:
Initial List: 7, 19, 18, 9, 23, 51, 12, 54, 73
List after Pass 1: 7, 18, 9, 19, 23, 12, 51, 54, 73
List after Pass 2: 7, 9, 18, 19, 12, 23, 51, 54, 73
Therefore, the result after Pass 2 using Bubble Sort in ascending order is: 7, 9, 18, 19, 12, 23, 51, 54, 73.
The result after pass 2 of Bubble Sort will be 7, 9, 18, 19, 12, 23, 51, 54, 73.
Additional Context:
Correct Answer: (4) 7, 9, 18, 19, 12, 23, 51, 54, 73.
Given the following table:
| ENO | SALARY |
|---|---|
| A101 | 4000 |
| B109 | NULL |
| C508 | 6000 |
| A305 | 2000 |
State the output of the following query:
SELECT COUNT(SALARY) FROM EMPLOYEE;
| List-I (Aggregate function) | List-II (Description) |
|---|---|
(A) count(marks) | (III) Count all non null values of marks column |
(B) count() | (I) Count all rows |
(C) avg(marks) | (II) Finding average of non null values of marks |
(D) sum(marks) | (IV) Finding sum of all marks |
Match List-I with List-II
| List-I (Agricultural Land use Category) | List-II (Characteristics) |
|---|---|
| (A) Culturable Waste Land | (II) Land which has been left uncultivated for more than five years. |
| (B) Current Fallow | (I) Land which has been left uncultivated for one or less than one agricultural year. |
| (C) Fallow other than Current Fallow | (IV) Land which has been left uncultivated for more than one year but less than five years. |
| (D) Net Sown Area | (III) Physical extent of land on which crops are sown and harvested. |
Choose the correct answer from the options given below: