In the first class a student who got 46 problems wrong got 46 percent right (to the nearest whole percent.)

How many problems were there on this test?

In the second class there were 35 problems but again the lowest scoring student got the same number wrong as percent right (again rounded.)

How many questions did this student get wrong?

What is the smallest number of questions for which this kind of thing can happen?

(Aside from the trivial one question test.)

What if the percent must be exact instead of rounded?

[Note: This actually happened.]