Skip to content
Ryan James
Menu

← Blog3 min read

Nice to C You Old Friend

In one of my new classes that I’m teaching this year, Computer Systems, the students build a computer from scratch and also write the operating system for the computer. The students have spent the first few weeks of school doing research to optimize the computer for the budget that I put them under. So while we wait for the remaining parts to come in the mail, I thought it’d be a good time to give them a crash course on programming in C since we’ll be using that to build their own version of Linux. Lucky for me that all of the students in the class either took AP CS A last year or are currently taking it.

Nice to C You Old Friend

Programming in C

In one of my new classes that I’m teaching this year, Computer Systems, the students build a computer from scratch and also write the operating system for the computer. The students have spent the first few weeks of school doing research to optimize the computer for the budget that I put them under. So while we wait for the remaining parts to come in the mail, I thought it’d be a good time to give them a crash course on programming in C since we’ll be using that to build their own version of Linux. Lucky for me that all of the students in the class either took AP CS A last year or are currently taking it. I know that C and Java are not the same but having some experience with a compiler language like Java definitely helps out more than only having experience with scripting languages like Python or JavaScript.

It’s been a while since I’ve done any work in C…dating all the way back when I was an Electrical Engineering major at UAB circa 2007. I traded that major in for mathematics to begin my path to being a teacher. I didn’t think I would enjoy programming in C as much but I love how it’s right in the middle of being a low level language like Assembly and a high level language like Python. You get some good abstractions but still have to maintain control over data management which forces your code to be good and intentional.

For my students’ first problem I naturally gave them the classic FizzBuzz problem and they all did really great with it which was very comforting. I know we’re still a ways off from arrays, structures, and some of the OOP concepts like inheritance and polymorphism even they aren’t clearly in C with classes like Java and C++ have, but I’m feeling very optimistic about this class.

Keep coding!
Ryan