Q10.Using the Library dataset, select the correct code for procedure `filterBooks` that counts books which:
a) Are not written by "Narayan"
b) Were published before 1950
c) Language is "English"
```
A = 0
while(Table 1 has more rows){
Read the first row X in Table 1
A = A + filterBooks(X)
}
```
Save
Check
Details
Q10
13 Jul 2025
Q10.Using the Library dataset, select the correct code for procedure `filterBooks` that counts books which:
a) Are not written by "Narayan"
b) Were published before 1950
c) Language is "English"
```
A = 0
while(Table 1 has more rows){
Read the first row X in Table 1
A = A + filterBooks(X)
}
```