1 of 2

Name:

PID: (page 1)

A process is what our computer keeps track of for each command while it is running. This includes:

  • Where its standard input comes from (typing or file) and where its standard output and error should go (terminal or file)
  • Its memory (like where all the variables and objects are stored) and code (Java bytecode, bash script code)
  • The command line arguments it started with
  • It’s exit code (when it finishes)
  • Any ports it is listening on, any files it is reading from or writing to.... and lots more!

Brainstorm: What makes a good autograder script? How might it work?

Hint – imagine this setup. Gradescope runs:

$ bash grade.sh <student-github-url>

and whatever the text output of that command is gets sent back to the student. What are the steps to, say, grade a PA.

Imagine students submitted code for one of the ListExamples that we used in lab that searches files, for example. What should the grader do?

(Example repo: https://github.com/ucsd-cse15l-f23/lab3, say we are grading the methods the student wrote in ArrayExamples)

2 of 2

Name:

PID: (page 2)