q)For which of the following situations is a nested loop required? It is a Multiple Select Question (MSQ).
1.To find the pair of students who have the same birthdays from the “Scores” dataset
2.To find the pair of students who scored the same marks in Physics from the “Scores” dataset
3.To find the number of words which have highest letter count from the “Words” dataset
4.To find the number of bills from the same shop from the “Shopping Bills” dataset
asha g ta meri shikayat karti tusi mai vi daso tuhade daddy nu ki tusi manu buhut preshan karde o
Answers
Answered by
5
Answer:
o find the pair of students who have the same birthdays from the “Scores” dataset
2.To find the pair of students who scored the same marks in Physics from the “Scores” dataset
3.To find the number of words which have highest letter count from the “Words” dataset
4.To find the number of bills from the same shop from the “Shopping Bills” dataset
Step-by-step explanation:
Answered by
0
To find the pair of students who scored the same marks in Physics from the “Scores” dataset
Explanation:
- When you need to repeat an action on the data in the outer loop on each trip through the outer loop, nested loops are beneficial.
- For example, you may scan a file line by line and count how many times the word "the" appears on each line.
- NESTED LOOPS joins offer an advantage over other join techniques in that they can obtain the first few rows of the result set without waiting for the whole result set to be determined.
Similar questions