Without loss of generality, we may consider that the rows or columns to be modified in a sequence of steps are consecutive, and that each column or row is modified only once.
Suppose then that the first x rows and the first 50−y columns have been modified. One gets a x×y rectangle and a (50−x)×(50−y) rectangle with all squares coloured blue, the rest of the table being red.
The number of blue squares is then A=xy+(50−x)(50−y) which is an even number, so it can not equal 2011.
For the second part, notice that A=2010 is equivalent to (x−25)(y−25)=380=19⋅20.
One can take x=25+19=44 and y=25+20=45 to give the answer (thus being clear that the steps are not unique).