CS/SE 4348: Operating Systems Concepts Section 004 Programming Project 1 Instructor: Neeraj Mittal Assigned on: Monday, January 31, 2022 Due date: Wednesday, February 16, 2022 This is a group...

1 answer below »
I need this done as soon as possible no more than the deadline and also need comments and clean code which is easily readable.


CS/SE 4348: Operating Systems Concepts Section 004 Programming Project 1 Instructor: Neeraj Mittal Assigned on: Monday, January 31, 2022 Due date: Wednesday, February 16, 2022 This is a group assignment. A group can consist of up to two students. Each group is expected to work independently and submit only their own work. Copying or using work not your own will result in disciplinary action and the suspected incident will be referred to the Office of Community Standards and Conduct for investigation! 1 Project Description Implement a simple shell that repeatedly waits for the user to enter a command and then executes it by creating a new process. In this project, we will only consider simple commands. A simple command consists of the program followed by zero or more arguments. For example, “ls”, “ls -al”, “ps”, “cat file1 file2 file3”, etc. Your shell program should terminate if the user enters either exit, quit or Ctrl+D on the terminal. You should write your program in C/C++. You will need to use some variants of fork( ), exec( ), wait( ) and other related family of system calls in this program (do not use system( ) system call). You can learn more about these and other related system calls in the section 2 of the man pages. Your shell program should create a separate process for the simple command in the input command specified by the user. Name your program as my-shell. Also, ensure that your program runs on one of the department machines cs1.utdallas.edu or cs2.utdallas.edu; otherwise you will not get any credit. 2 Grading Criteria As such, projects will be graded with these criteria in mind: ˆ Solutions must adequately address the problem at hand. Specifically: – The solution represents a good-faith attempt to actually address the requirements for the assignment. – The program complies and executes. – The program runs correctly. ˆ The solution constitutes a high quality product expected of a professional. Specifically: 1 – The program is easy to read and to understand, that is, it is well commented. In addition, method and variable names are meaningful, all potentially confusing/complex code is well documented. – The general design of the program is clear and reasonable. – All procedure and function headers include comments explaining what the method is supposed to do (not how it does it) and the purpose of each formal parameter. Be as precise and careful as you can be. – The program is robust and handles important errors and exceptions properly. 3 Submission Information You have to submit your project through eLearning. Along with all the source files, submit the following: (i) a Makefile to compile the program and (ii) a README file that contains the names of all the group members and instructions for running the compiled program. Points will be deducted if you fail to submit either a Makefile or README file. Only one team member needs to submit the files. 2
Answered 1 days AfterFeb 14, 2022

Answer To: CS/SE 4348: Operating Systems Concepts Section 004 Programming Project 1 Instructor: Neeraj Mittal...

Sathishkumar answered on Feb 15 2022
109 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here