EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
C/C++代写
您的位置: 主页 > 编程案例 > C/C++代写 >
代写C++/C:代写CS之C or C++ Projects on Operating Systems (UNIX/LINUX) - C++代写
发布时间:2021-07-25 22:25:50浏览次数:
Due Date for Grouping: April 10, 2018Due Date for Phase 1: April 24, 2018Due Date for Phase 2: May 10, 20181Objective•Understanding how a job scheduler works.•Increasing experience with system calls.•Learning UNIX signals and controlling methods of signals2IntroductionThis project will help you understand some fundamental mechanisms of process scheduling in UNIX/LINUX environments. In this project, you are required to implement a basic job scheduler, which supports two scheduling algorithms, i.e., FCFS (First Come and First Serve) and RR (Round Robin).This is a group project. You can form a group with at most 3 members. You shall learn how to solve a middle-level problem with collaboration with your partners and learn how to manage your time under a tight schedule.3IntroductionProcess control and management is an important topic to modern operating systems. Therefore, to implement a basic job scheduler can help you having a better understanding on process control and management as well as having improved program skills.Project 1 involves with process creation, suspension, termination and signal handling. You are required to implement a basic but working job scheduler. It is not an easy task. Therefore, you must cooperate closely with your partner. Besides, you also need to manage your time in a tight schedule.4Programming environmentYour system shall be able to be executable under the following environments:•Operating Systems. You must write and test you programs under the Linux operating systems (MS Windows are not acceptable). The preferred Linux OSes include CentOS, Ubuntu, Debian, etc. The final testing Linux platform will be released later.•Language. You must implement it in either C or C++. Using languages other than the above two will is also not acceptable.•You are not allowed to invoke the system(3) library call. Otherwise, you would score 0 marks for this assignment.Note that your development can be done in MacOS or other Linux/Unix platforms though the final program shall be tested in our given Linux.5AssignmentYou should write a simple job scheduler. The scheduler should read jobs from a job description file and process it and schedule the jobs specified in this description file according to different scheduling algorithms. There are some basic functionalities you need to implement: (i) ii) building up the job scheduling queue; (iii) scheduling the jobs according to FCFS; (iv) scheduling th processing the jobs defined in the job file; (e jobs according to RR.6Specification6.1Basic functionsAs shown in Figure 1, you are required to implement a process scheduler, which has the following functions:1.Read the jobs information from a job description file named “Job.txt”.2.The scheduler creates the jobs from such job description file.3.The jobs are scheduled to be executed according to the scheduling policy (such as FCFO and RR) selected when the scheduler program starts.4.The scheduler should not be terminated until all the jobs are scheduled and are terminated.5.When each job is scheduled, your scheduler should output the exact execution of theprocesses to the screen (i.e., your scheduler MUST TRULY execute the process).6.After all the jobs are terminated (but before the scheduler is terminated), the schedulershould print out the job execution information to a file named “JobOut.txt”, which includes the scheduling sequences of all the jobs (For more details, please refer to Section6.3).Figure 1: System architecture6.2The SchedulerFor one execution of the scheduler, it must follow one scheduling policy only. To invoke the scheduler, the following arguments are required:$ ./ scheduler [ input filename ] [ policy ]Note:•$ is the shell prompt;•./scheduler is the path to the scheduler program;•[input filename] is the path to the job description file;•[policy] is the scheduling policy which should take the following values:1.FCFS (which means the first come first serve policy);2.RR 2 (which means the round robin policy) and “2” means the time quota is “2”. (Note: Do not type the quotes.)After invoking the scheduler, it creates a set of jobs that are described in âĂIJJob.txtâĂİ, which will be described in Section 6.3. Then, the jobs will be scheduled to execute according to the given policy. After the jobs are terminated, the scheduler should print out the statistic information into a file âĂIJJobOut.txtâĂİ.In addition, it has more things to do and we list the properties and the functionalities of the scheduler process as follows.

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。