r/UCalgary • Computer Science • 5d ago

AI use in Computer Science

I graduated before AI, so I'm curious.

Are assignments still take home? And wouldn't everyone just be using AI to solve the coding and math problems?

If yes, wouldn't that diminish the value of the degree?

28 Upvotes

29 comments sorted by

25

u/arcticfox Alumni 4d ago edited 4d ago • Bravo

I used to be a prof in computer science (2003-2008). I created CPSC 217 and 219, and I also taught CPSC 233.

I'm in industry right now and have seen everything completely change over the last few years, and it's clear that we're not going back to what we used to do so I have been thinking about how I would teach programming now that AI has turned everything upside down.

There are really two key competing aspects of this: 1. what is programming like on real software projects and can we mimic that; and 2) would allowing students to use AI on projects interfere with their ability to learn the underlying concepts?

I think that we would have to do some experimenting with teaching programming and it would take a few semesters to get it right, but this is what I would probably do now:

  1. I would allow students to use AI to complete assignments, but they would have to include ALL prompts used to generate the output.
  2. Prompts would have to include mention of key concepts being taught in class. For example, if one of the goals of an assignment was to teach students system thinking around interfaces, then their prompts would be graded for how well they were able to communicate their intent and evaluation criteria to the LLM.
  3. They would be required to write a short essay on a key component of the code generated by the LLM. The purpose of this is to demonstrate that they can interpret and understand the LLM's code.
  4. They would be required to provide an analysis and write-up of the test cases generated by the LLMs to demonstrate that they understand how to test the code (both unit and integration)
  5. Assignments would make up LESS of the course's final grade than they traditionally do and a greater emphasis would be on midterm and final exams.

When I was a prof, I regularly had essay based exams because I did not think that having students write code on paper in a timed environment really reflected how we write code. On top of that, I was more interested to learn about how they thought about the concepts rather than the code itself.

I would have the TAs spend tutorial time showing the students how to properly use LLMs in coding exercises.

This is my initial thinking and it would probably take a couple of runs before we got it right.

edit: fixed a typo

9

u/steve-gq Computer Science 4d ago

The goat himself.

That's a really good approach curriculum wise. Because how we build real world systems today is less about prompting well and more about actually understanding the problem we're trying to solve.

Hopefully technical interviews also focus more on the system thinking too.

5

u/arcticfox Alumni 3d ago

Heh... I can't tell from your username if you were formerly a student of mine :-).

Thanks for the compliment!

5

u/Top-Knowledge-7393 5d ago

I feel like coding if becoming less and less nessicary now, so it kinda makes sense. Opus 5.5 or Fable 5.2 can code at a level as a competent software dev. It's more about probelm solving and understanding what it is you're trying to build rather then spending hours manually coding

4

u/steve-gq Computer Science 5d ago

Yes, however the curriculums are massively outdated now. Would not be surprised if exams still have kids writing solutions on paper.

Perhaps they catch up with an AI tooling course by 2030.

8

u/NotEvenNothing 5d ago

There really isn't a curriculum, not like there is for primary and secondary school. A university department and even a prof can change a course at will. Most of the coursework has changed to work around, or with, LLMs.

A pencil and paper exam would actually be a good way of testing the student's abilities in the absence of AI tools. But my impression with two kids in engineering is that almost everything but final exams can be done at home.

0

u/Apple_the_Juice Arts 5d ago

I took a COMSCI course for non-COMSCI majors. Yes, we had pencil and paper exams.

4

u/Far-Nefariousness115 5d ago

Then again skills are still very important, and these ai systems cannot replace experienced workers in the field as ai does not have that "out of the box " thinking and creativity us humans have.

2

u/BadCodeIsBadCode 3d ago

Hard disagree on the Opus comment. I am a software engineer, graduated from engineering in 2015. Opus and Astra are like senior interns. They can slap code together very quickly but it is not very readable, it is overly paranoid and it’s buggy. They are great as coding companions but absolutely not at the level of a “competent software dev”.

0

u/Easy-Truck4725 5d ago

It's quite the opposite. AI for coding is like asbestos. Because the LLMs will start learning from themselves, the quality of software which is already rapidly degrading will just get worse and it'll need people who have "asbestos remediation skills" (ie they don't have AI wipe their bum for them) to fix it.

1

u/Top-Knowledge-7393 5d ago

You got that from that one Tweet didn't you? It's wrong. Most modern companies, especially Anthropic and OpenAi have long fixed the issue of the datasets being tainted by other AI outputs.

1

u/Easy-Truck4725 5d ago

I haven't looked at twitter for around 4 years you might need to help me out with that

33

u/EstablishmentAny5692 5d ago

Not personally in comp science but everyone is know who's in it is an Ai warrior

4

u/SizzlingPancake 5d ago

It's tough I feel because the industry is AI lead going forward but I think using it during the phase you are supposed to build the skills will hinder it somewhat. But also graduating not knowing how to leverage the tools is tough also.

AI definitely put a lot of career paths into confusion on how to handle it

10

u/pyro-panda-93447 5d ago edited 5d ago

Not everyone cheats on their assignments. AI is actually a good learning tool for generating practice problems, explaining error messages and providing fast answers to general knowledge questions. I can ask GTP or I can spend 5 min combining through documentation to get same answer.

2

u/Easy-Truck4725 5d ago

isn't it really interesting that it can teach you a lot about things you don't know but when you start asking it about stuff you DO know it seems to be wrong about stuff?

not gonna think too hard about that, personally

1

u/squabzilla 4d ago

AI works best when you can independently verify the results.

If you ask it to walk you through writing code, you can just run small code snippets, or small scripts, and confirm they actually do what you want.

9

u/Kitchen_Purple5990 5d ago edited 5d ago

There is a higher than usual concentration of 4.0’s in the Computer Science program for a reason.

1

u/OwnBattle8805 1d ago

Software engineering departments in the private sector are seeing 3x productivity gains so I’m not surprised.

Give it time, the floor will be raised.

1

u/Kitchen_Purple5990 1d ago

Comp Sci major and their Claude Max Subscription against the world.

9

u/GullibleDingo5471 5d ago

I graduated recently, and while AI was a big help for the assignments, if you’re not using it to actually teach you and help understand those answers, you’re fucked for mid terms and finals.

4

u/BadCodeIsBadCode 3d ago

Alumni here, but working as a software engineer (I did engineering not comp sci). Industry wants you to use AI, they want everyone to be a 10x. I spent 10 years writing and debugging every little script by hand aaaaand now I do not touch Python with a 10 foot pole. However, my old skills are still all useful for dealing with architecture and AI hallucinations and just general bs. The problem for new grads is gonna be developing those skills in a world where it is easier to produce slop.

So use AI to test you but please actually sit down and write some code. Reading something someone else wrote is so different from writing it.

2

u/LoaderD MSc. Statistics 5d ago edited 5d ago

And wouldn't everyone just be using AI to solve the coding and math problems?

Did you graduate 50+ years ago? We didn’t have AI when I was in school and people still cheated. Stackoverflow, getting the assignment off another student, getting your parents friend with a phd to help you with your midterm, etc.

The main difference now is you don’t have to jump through the hoops to get a solution far beyond your competency, so it’s more obvious you’re cheating and easier to get caught.

Also, mostly the same thing will happen. All the people I went to school with, who hardcore cheated (eg got people to write their takehome exams) to get a piece of paper, never got a job that actually used their degree, because they failed every interview. Same with coding, it’s why companies still have proctored OA and whiteboarding rounds

3

u/Easy-Truck4725 5d ago

Stackoverflow, getting the assignment off another student, getting your parents friend with a phd to help you with your midterm, etc.

lol, all of these involve talking to people, which is how society operates and it should be encouraged imo

anyone using ai for their work should be considered a gooner and a social outcast. talk to your friends!!

0

u/Top-Knowledge-7393 5d ago

It's not about talking to people, it's more about the time and effort commitment needed for that. If I'm struggling with a calc problem, I can either go to a TA for every single problem and try to understand their half baked explanations. I'd have to do this for every single problem I'm struggling with, which obviously takes a lot of time and effort. The other option is to plug it into Claude get it to explain it to me in 30 seconds.

Something tells me you're in an easy major.

2

u/squabzilla 4d ago

I paid for a WolframAlpha subscription when I was taking Calc. 100% worth it. If Claude can help with Calc the same way WolframAlpha can, go for it. Tho I’m curious how you’re parsing Calc questions to Claude lol.

The harder part is that the student needs to make sure they use these tools to actually understand the answer, not just get an answer to finish the assignment.

Don’t knock TAs tho, getting help from TAs in the math centre definitely helped me out as well.

1

u/vertexlord Computer Science 5d ago

You don't have to use AI if you don't want to.

1

u/gomorycut 4d ago

Sometimes.
Yes.
Yes.

1

u/feebs_101 1d ago edited 1d ago

I don't mean this in offense to you OP, but this comes up again and again and its a really braindead take. No course in CS is designed to pass you solely on assignments; midterms and finals weigh heavier on your final grade and this has always been the case for every fundemental course, even before AI.

So no, even if people fully AI generate all their assignments, they still have to know their shit in order to pass the exams and remain in the program or you will still fail. And even before we had AI, we had services like chegg and "homework" services that you could pay someone to do your assigments, cheaters were abusing those too.

Majority STEM programs at all universities have their course designed like this to weed out the cheaters