Russian student visa and work visa can be extended in the same visa category.
Student visa extension depends on your study period in Russia. Whereas the extension in work visa depends on your employment contract.
However,. Russian tourist visa is not extend-able while you are in Russia. You need to exit from Russia before your visa expiry date. (Russian government MAY considers to extend your stay in Russia, as a tourist, only in case of an extreme emergency! )