** CS 456/556 Midterm ** Date Available : March 3 @ 12:01AM Date Due : March 7 @ 11:59PM Time Limit : TBD (probably 60-75 minutes) Points : TBD Format : All on Canvas - some matching, some multiple choice, some true false, but there will also be some short answer as well The same rules that apply to quizzes will also apply here. Access code will be emailed to your ISU email Exam grade note: If student does better on the final than on the midterm, then I'll drop the midterm entirely and only use the final to calculate exam grade Everything we've covered so far is fair game for the exam How many questions specifically? TBD, but definitely more than the quiz # Questions on the Exam # Topics: - Systems Programming Introduction - Basic File I/O - Getting File Metadata & Inodes - Processes (fork, exec, wait) - Some stuff on directories. Questions that may show up - Something about the UNIX file Hierarchy - Basic File I/O questions - return values of these functions? - what does this line a code do? - give me a line of code that does something - file descriptors - File Metadata: - the fields of the stat structure - given a file mode - what does the mode tell you? - what type of file is it - permissions? - how the file type is calculated - other fields - stat function (and it's variants) - Processes: - fork and how it functions - Possible dangers of fork - wait (and it's purpose) - exec,it's variants, and why we need this function - child vs parent process - signals - Directories - a few questions on these I'll draw questions from the reading as well as the example code and assignments you've done.