What are the educational functions of a state?

Every State has its specific educational set-up based on its condition and ideology. Education is the key of all development and every State gives top priority to its educational field life an investment on human resource for future.