This is the homework of operation system.