First Question :
You need to know how to read from a file. File content i
first-line some coordinates, and line by line some letters.
You need to go target x and y. But you have to start bottom left line, so from the Last line.
And other questions might be Some MySQL script ,
And Common operations such as parsing strings, reading
from files, string transformations, etc.