Question 3
The following pseudocode is executed using the "Library" dataset. What will count represent at the end of the execution?
1 A = 0, count = 0 2 while(Table 1 has more rows){ 3 Read the first row X in Table 1 4 if(X.Year > A){ 5 A = X.Year 6 } 7 Move X to Table 2 8 } 9 while(Table 2 has more rows){10 Read the first row Y in Table 211 if(Y.Year != A){12 count = count + 113 }14 Move Y to Table 115 }Number of authors who have not published a book in the most recent year
Number of authors who have not published maximum number of books
Number of books which are not published in the most recent year
Number of authors who have published a book in the most recent year