結果 : the two main functions of an operating system