Q31.The following pseudocode is executed using the "Library" dataset. What will `A` 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
}
A = count - A
```
Save
Check
Details
Q31
16 Jul 2023
Q31.The following pseudocode is executed using the "Library" dataset. What will `A` 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
}
A = count - A
```