Question 2
The following pseudocode is executed using the "Library" dataset. What will B represent at the end of execution?
1 A = 0 2 count = 0 3 while(Table 1 has more rows){ 4 Read the first row X in Table 1 5 count = count + 1 6 if(X.Author == "Kalam" and X.Language == "English"){ 7 A = A + 1 8 } 9 Move X to Table 210 }11 B = count - ANumber of books written by author Kalam in English
Number of books not written by author Kalam in English
Number of English books written by authors other than Kalam
Number of books that are not written by author Kalam or not in English or both