pick any cs class
I have a minor in CS and no -producing the assignment by the deadline is important- grades are not based on quantity of code vs classmates.
I mean, maybe things have changed (I finished college about 20 years ago), but I don't remember producing large volumes of stuff as being a particularly important part of a CS degree.
That was never a worry in any of my CS classes.
I have a minor in CS and no -producing the assignment by the deadline is important- grades are not based on quantity of code vs classmates.