3 Ways to Make Your CS Course AI-Ready 

Your CS1 students will graduate into a workforce where AI writes much of the first draft of the code. Cay Horstmann, author of Big Java, Big C++, and Python for Everyone, says the principles of the course haven’t changed, but what students practice needs to. 

Software engineers now direct the code, not just type it 

Cay spends much of his time at developer conferences, not educational ones. What he sees there: “They are no longer writing much code. They are directing the AI to write the code.” Developers prompt, then shape what comes back. Sometimes the output is good, and sometimes it isn’t. 

That changes what new graduates need. AI is not a perfect coder. For anything real, Cay says, managing it is “not that different from having a bunch of junior coders, maybe outsourced coders, and having to manage the entire process.” His conclusion: “Software engineering has become more important than ever.” 

The good news for instructors is that you don’t need to rebuild your course. Cay suggests three changes that are realistic to make before next term. 


1. Assign more activities that aren’t just coding 

As AI handles routine code, the skill that matters is reading it. “Reading code and understanding that it does the right thing, and exactly the right thing, is becoming more important than ever,” Cay says. When you write code yourself, you’ve thought it through. When an agent generates it from imperfect instructions, you can’t assume it’s right. Students need to read fluently, focus on edge cases, and simulate a few conditions in their heads. 

That is what many interactive activities in zyBooks already train: What does this code actually do? Step through it one step at a time. Now that you’ve done it, what’s wrong with it? Cay calls these questions “AI-proof.” They live in an interactive element inside the zyBook, so students can’t paste the question into a chatbot and get an answer back. 

Programming questions are a different story. “Sadly enough,” Cay says, “coding agents can solve every programming exercise in the book”. But the AI solutions often use features that haven’t been covered, so they don’t make sense in the context of a particular course. So Cay added exercises that ask students to examine the AI output critically. Do they use appropriate mechanisms? Do they solve the problem? What about edge cases?  

The takeaway for your syllabus: “Five years ago, I said that whatever a student needs to be able to do is fluidly write simple loops, simple array algorithms. Now they don’t have to think as much about writing them. But they do have to think about reading them, assembling them, putting them together into a bigger part.” 


2. Go deeper on software engineering principles

There has always been too much material in CS1. Now you can choose it differently, with more focus on software engineering and concepts and less on writing mundane code. 

Testing is the clearest example. Writing a complete set of test cases is time-consuming, and in the past there was rarely enough class time for students to do it. Cay’s advice now: start with the testing topics in the book, then see what the AI can generate and judge how good those tests are. Automated test cases aren’t always complete or perfect, and “being able to deal with that is an essential skill for a budding developer.” 

Sections that instructors once marked optional deserve a second look. “Some of these are no longer optional,” Cay says. “They are now really becoming core material.” The same applies to CS2. Students once spent their time implementing a basic binary tree. With AI taking on the tedious pointer-chasing, they can study structures that used to be out of reach for a second-semester course, such as the red-black tree discussion in Big Java and Big C++. 

Software engineering also becomes easier to teach. Vibe-coded prototypes are easy to start and hard to maintain over months or years. “These days you can have students code themselves into a corner,” Cay says, “and they feel in their heart why these things need to be solved.” 


3. Build a dialogue with your students

When students paste prompts into an AI and copy the answer, they learn nothing. Most students know that, but pressures like jobs and other coursework can still push them toward the easy route. Cay suggests to have students explain the code to the instructor or a TA, who then asks for a small change on the spot.  

In his most recent courses, he interviewed students about every assignment. If a student couldn’t do it, he told them to come back when they could. It takes more time, and he had the advantage of small classes. For larger sections he says plainly: “Every CS1 instructor needs to go to their department chair and say, I need an army of TAs.” 

Paper-and-pencil coding can be one part of an exam, he adds, but it only shows whether students grasp the basics of a construct. Employers face the same shift. Job interviews require more staff time, just like they used to before automated coding interviews, which have become pretty useless in the age of AI. 

Cay sees AI-assisted grading as a possibility. In theory, an AI grader could review a student’s code, ask questions, and propose an assessment that is reviewable by a human and that a student can challenge. He hasn’t yet seen a system that does this well. 


Where to start

Cay’s advice is to start from the course you have. With zyBooks you can mix and match, so you can keep your existing content and add the activities above. The instructors with the most work ahead are those using a more basic title. “There’s really no glory in just teaching the basic programming constructs,” he says. “The bots know them just fine.” Shift the focus toward fundamentals and understanding, and away from producing simple code. 

Cay’s overall view of the field is optimistic: “I don’t think it’s bad, it’s just different.” The role of the software engineer isn’t going away. “Just crunching out code, that’s not going to be the job.” 

Try it in your course

Explore the interactive activities in Big Java, Big C++, and Python for Everyone with a free evaluation copy. Request your access today.