help needed in organising a debugging contest
i m a part of a team which is resposible for oraganising a debugging contest in our college.this debugging conetst is solely based on C.
This contest will be held in two phases first phase will be consisting of a paper based test, which would have objective questions based on and some sample 'C' codes(of very few lines) having some errors,syntactical or logical and the task would be to identufy and write them on paper.
i m facing problem in deciding wat should be the format of the test in second phase.this phase would be held on computer systems.
the problems are basically-
-what kind of errors we can introduce in our test codes like only syntactical,logical,or both..also out of many other possible errors.
-how to make sure that after the code gets debugged it still is doing wat it was meant for.(i realise this cud b done using sample input cases..but hoe to decide the input cases)
-in case two ppl debug the code in same time how to decide which one has done it in a better way?
-can we introduce optimisation issues and if yes how in real scenario.
-how to frame questions.(taking an already existing codes and going in reverse way by introducing some errors or in some other better way..??)
-what sources can prove useful in deciding the frame design of the test...some books,links etc...if anyone can suggest.
thanks in advance for any help!