By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,918 Members | 2,240 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,918 IT Pros & Developers. It's quick & easy.

debugging questions plz

P: 1
hi

i am new member of the community and
i am looking for some multiple question type of c programs
for a debugging contest to be held.
So, could anyone plz help me and send the questions or the sites
only on <email removed per posting guidelines> as this is for a contest

thanks in advance.
Mar 15 '07 #1
Share this Question
Share on Google+
2 Replies


sicarie
Expert Mod 2.5K+
P: 4,677
hi

i am new member of the community and
i am looking for some multiple question type of c programs
for a debugging contest to be held.
So, could anyone plz help me and send the questions or the sites
only on <email removed per posting guidelines> as this is for a contest

thanks in advance.
The problem with multiple choice questions in programming is that they will either need to be similar - in which case mistakes like missing letters/operators are easy to spot, or the statements are so obfuscated that they are practically impossible to decipher. I would recommend creating short challenges and allowing compilers into the competition.
Mar 15 '07 #2

DeMan
100+
P: 1,806
The problem with multiple choice questions is that one answer is right, so even if you have no clue before you see the answers, you can guess or a particular option might stand out (which you would not have remembered had you not seen it).

Furthermore, the formula for writing multiple choice seems to follow (roughly)
Expand|Select|Wrap|Line Numbers
  1. 4 answers:
  2. 1 right
  3. 1 possibly right, but you need to know your stuff
  4. 1 wrong if you know anything about anything
  5. 1 the class clown will answer becasue he knows noone else will.
  6.  
In an effort to be funny, some writers of multiple choice actually add in answers which may be valid, even though it's not the answer their looking for (or something which, while not necessarily correct, maybe miconstrued by a non native speaker)....

Expand|Select|Wrap|Line Numbers
  1. what is c
  2. a) a programming language
  3. b) a character
  4. c) an operating System
  5. d) the ocean
  6.  
also steer clear of "more than" and "less than" and "at least" questions....I have often argued with people that a question like

Expand|Select|Wrap|Line Numbers
  1. The number of cars in Sam's driveway is:
  2. a) more than 1
  3. b) more than 2
  4. c) more than 3
  5. d) more than 452
  6.  
Has at least one answer (and often the writer would put in d because he has 453 cars, but a,b,c would still be correct).....


Finally (and most obviously) never but "none of the above" above an "all of the above"
Mar 15 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.