Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54591
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: building an online judge to evaluate Python programs |
| Date | 2013-09-22 12:53 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <mailman.195.1379698177.18130.python-list@python.org> <bc7ecd73-818c-411e-86d1-0743c1255476@googlegroups.com> <mailman.196.1379702349.18130.python-list@python.org> <l1i7va$7hm$1@reader1.panix.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.246.1379868839.18130.python-list@python.org> (permalink) |
On Fri, 20 Sep 2013 19:34:02 +0000 (UTC), John Gordon <gordon@panix.com>
declaimed the following:
>In <mailman.196.1379702349.18130.python-list@python.org> Jabba Laci <jabba.laci@gmail.com> writes:
>
>> Let's take this simple exercise:
>
>> "Write a function that receives a list and decides whether the list is
>> sorted or not."
>
>> Here the output of the function is either True or False, so I cannot
>> test it with my current method.
>
>Make a master input file and a master output file for each exercise. If
>the student program's output matches the master output when run from the
>master input, then it is correct.
As long as the student doesn't have access to the master in/out data,
but only examples...
Hearsay in my junior year at college was of a senior who couldn't
manage to get his program to work -- so he basically embedded lots of
output statements which basically wrote the expected output, based on
access to the test input data.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
building an online judge to evaluate Python programs Jabba Laci <jabba.laci@gmail.com> - 2013-09-20 19:28 +0200
Re: building an online judge to evaluate Python programs Aseem Bansal <asmbansal2@gmail.com> - 2013-09-20 10:57 -0700
Re: building an online judge to evaluate Python programs Jabba Laci <jabba.laci@gmail.com> - 2013-09-20 20:30 +0200
Re: building an online judge to evaluate Python programs John Gordon <gordon@panix.com> - 2013-09-20 19:34 +0000
Re: building an online judge to evaluate Python programs Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-22 12:53 -0400
Re: building an online judge to evaluate Python programs John Gordon <gordon@panix.com> - 2013-09-20 20:08 +0000
Re: building an online judge to evaluate Python programs Jabba Laci <jabba.laci@gmail.com> - 2013-09-21 00:26 +0200
Re: building an online judge to evaluate Python programs Ned Batchelder <ned@nedbatchelder.com> - 2013-09-20 18:46 -0400
Re: building an online judge to evaluate Python programs Ned Batchelder <ned@nedbatchelder.com> - 2013-09-21 16:29 -0400
Re: building an online judge to evaluate Python programs Jabba Laci <jabba.laci@gmail.com> - 2013-09-21 21:57 +0200
csiph-web