Question 1
Statement
The following pseudocode is executed using the “Library” dataset. What will A represent at the end of execution?
A = 0count = 0while(Table 1 has more rows){ Read the first row X in Table 1 count = count + 1 if(X.Author != “Kalam” and X.Language != “English”){ A = A + 1 } Move X to Table 2}A = 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 written by Kalam or in English or both