Jeff Rush wrote:
>
> For another solution, I wonder whether you could make use of the new Abstract
> Syntax Tree (AST) in Python 2.5, where you convert the source of an attempt
> into an abstract data structure, anonymize the method/variable/class names and
> compare the tree against a correct solu
On Thu, 14 Dec 2006 21:36:31 -0500
Brian Blais <[EMAIL PROTECTED]> wrote:
#> Paddy wrote:
#> > It might turn out to be a poor substitute for the personal touch,
#> > especially If they are just starting to program.
#>
#> Oh, I didn't mean it to completely replace me grading things, but I
#> thin
On Fri, Dec 15, 2006 at 06:44:37AM +, Dennis Lee Bieber wrote:
> On Thu, 14 Dec 2006 12:27:07 -0500, Brian Blais <[EMAIL PROTECTED]>
> declaimed the following in gmane.comp.python.general:
>
>
> > I envision a number of possible solutions. In one solution, I provide a
> > function
> > temp
Brian Blais wrote:
> Dan Bishop wrote:
> > On Dec 14, 8:36 pm, Brian Blais <[EMAIL PROTECTED]> wrote:
> >> [EMAIL PROTECTED] wrote:
> >>> [EMAIL PROTECTED] wrote:
> >>> Then on your PC you can
> run a script that loads each of such programs, and runs a good series
> of tests, to test the
Dan Bishop wrote:
> On Dec 14, 8:36 pm, Brian Blais <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>>> [EMAIL PROTECTED] wrote:
>>> Then on your PC you can
run a script that loads each of such programs, and runs a good series
of tests, to test their quality...
>>> What happens if
Hi Brian
You could make great use of XML-RPC here. XML-RPC is /really/ easy to
use.
Here is a simple example:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/81549
You put procedures on the server that will check the args against a the
required result, and report back to the student w
On Dec 14, 8:36 pm, Brian Blais <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > [EMAIL PROTECTED] wrote:
> > Then on your PC you can
> >> run a script that loads each of such programs, and runs a good series
> >> of tests, to test their quality...
> > What happens if someone-- perhaps not
Brian Blais <[EMAIL PROTECTED]> writes:
> Unfortunately, it takes a lot of time to grade such things by hand, so
> I would like to automate it as much as possible.
> ...
> Or perhaps there is a better way to do this sort of thing. How do
> others who teach Python handle this?
I think you should n
Brian Blais wrote:
> [EMAIL PROTECTED] wrote:
> > [EMAIL PROTECTED] wrote:
> > Then on your PC you can
> >> run a script that loads each of such programs, and runs a good series
> >> of tests, to test their quality...
> > What happens if someone-- perhaps not even someone in the class-- does
> >
Paddy wrote:
> It might turn out to be a poor substitute for the personal touch,
> especially If they are just starting to program.
Oh, I didn't mean it to completely replace me grading things, but I think it
would be
useful if there were a lot of little assignments that could be done
automatica
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> Then on your PC you can
>> run a script that loads each of such programs, and runs a good series
>> of tests, to test their quality...
> What happens if someone-- perhaps not even someone in the class-- does
> some version of os.system('rm -Rf /
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> Then on your PC you can
>
>> run a script that loads each of such programs, and runs a good series
>> of tests, to test their quality...
>>
> What happens if someone-- perhaps not even someone in the class-- does
> some version of os.sys
Brian Blais wrote:
>
> I envision a number of possible solutions. In one solution, I provide a
> function
> template with a docstring, and they have to fill it in to past a doctest. Is
> there a
> good (and safe) way to do that online? Something like having a student post
> code,
> and th
[EMAIL PROTECTED] wrote:
Then on your PC you can
> run a script that loads each of such programs, and runs a good series
> of tests, to test their quality...
What happens if someone-- perhaps not even someone in the class-- does
some version of os.system('rm -Rf /') ?
--
http://mail.python.org/m
Am Thu, 14 Dec 2006 12:27:07 -0500
schrieb Brian Blais <[EMAIL PROTECTED]>:
> Hello,
>
> I have a couple of classes where I teach introductory programming
> using Python. What I would love to have is for the students to go
> through a lot of very small programs, to learn the basic programming
>
[EMAIL PROTECTED] wrote:
Then on your PC you can
> run a script that loads each of such programs, and runs a good series
> of tests, to test their quality...
What happens if someone-- perhaps not even someone in the class-- does
some version of os.system('rm -Rf /') ?
--
http://mail.python.org/m
Brian Blais, just an idea. Create an online form to upload the tiny
program(s). Such programs can be one for file. Then on your PC you can
run a script that loads each of such programs, and runs a good series
of tests, to test their quality... Such tests can be about all things,
speed, coding quali
Brian Blais wrote:
> I have a couple of classes where I teach introductory programming using
> Python. What I would love to have is for the students to go through a
> lot of very small programs, to learn the basic programming structure.
> Things like, return the maximum in a list, making lists
Brian Blais wrote:
> Hello,
>
> I have a couple of classes where I teach introductory programming using
> Python. What
> I would love to have is for the students to go through a lot of very small
> programs,
> to learn the basic programming structure. Things like, return the maximum in
> a l
Hello Brian,
I do not teach (much to my regrets) but I have been thinking about what you
describe.
See below.
On 12/14/06, Brian Blais < [EMAIL PROTECTED]> wrote:
Hello,
I have a couple of classes where I teach introductory programming using
Python. What
I would love to have is for the stude
Brian Blais wrote:
> Hello,
>
> I have a couple of classes where I teach introductory programming using
> Python. What
> I would love to have is for the students to go through a lot of very small
> programs,
> to learn the basic programming structure. Things like, return the maximum in
> a lis
Hello,
I have a couple of classes where I teach introductory programming using Python.
What
I would love to have is for the students to go through a lot of very small
programs,
to learn the basic programming structure. Things like, return the maximum in a
list,
making lists with certain pa
22 matches
Mail list logo