42 ms·
In a CS class I took, we built a project over the course of a month. The TA's then introduced 5 bugs into the project, locked us in a room for 3 hours and we w
by phamilton 15y ago
In a CS class I took, we built a project over the course of a month. The TA's then introduced 5 bugs into the project, locked us in a room for 3 hours and we were required (individually) to find and identify the 5 bugs in that time. If you failed, they do it again a week later for a lower grade.
Cool assignment.
- bobbydavid 15y agoI'll assume you simply ran your comprehensive test suite, inspected the five failing tests, and left in five minutes :-)
- phamilton 15y agopretty much. Though some were nasty: char * getFirstName(char * name){ char * fname = strtok(name, " "); return fname; } became: char * getFirstName(char * name){ char * fname = strtok(name, " "); return "fname"; } And stuff like that. It was fun though.