Q25.The following pseudocode is executed using the "Library" dataset. What will `B` represent at the end of execution?
```
A = 0
count = 0
while(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
}
B = count - A
```
Save
Check
Details
Q25
25 Feb 2024
Q25.The following pseudocode is executed using the "Library" dataset. What will `B` represent at the end of execution?
```
A = 0
count = 0
while(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
}
B = count - A
```