Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #87480

Re: Help me please urgently!

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Help me please urgently!
Date 2015-03-15 13:44 -0400
Organization IISS Elusive Unicorn
References <43223410-538e-4834-82d4-98ab0702ae2d@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.398.1426441457.21433.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, 15 Mar 2015 08:43:32 -0700 (PDT), Jenny Hale <jhale7021@gmail.com>
declaimed the following:

>Hi 
>
>How would I do this?
>The teacher wants to keep track of the scores each member of the class obtains in the quiz. There are three classes in the school and the data should be kept separately for each class.
>

	Is this supposed to just be a grade book ("track the scores"), or (as
it seems by your code) also administer the quiz. And if it IS administering
the test, is it really fair that two students would get a different set of
questions (since you are using random so much). To make the grades fairly
comparable, all students should get the same set of problems to solve
(mixing up the order is a different matter).

	Will multiple students be taking this in parallel? Then you need to
figure out some way to do shared access to the grade book(s). If
sequential, do you really want a student to respond to that "view previous
results"?

	That is my main problem with the sample code -- you have mixed both the
teacher access (setting up the grade book, reviewing results) with the
student access (taking a randomly generated quiz).

	For a homework assignment, I'm probably getting a bit overly fancy
but... I'd produce three programs:

Generate Quiz (which creates a file, possibly lightly encrypted and binary)
of the questions -- that way every student sees the same set of questions
for fairness.

Take Quiz (uses the pregenerated quiz file to present questions. Also makes
sure the current student has not already taken the quiz, saves the score,
should also be encrypted)

Teacher Review (produces a report of the scores and student names, maybe
sorted by name or grade)

	Three programs, two data files (per class unless you want to share the
question pool across all classes and just keep the scores per class)
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Help me please urgently! Jenny Hale <jhale7021@gmail.com> - 2015-03-15 08:43 -0700
  Re: Help me please urgently! Chris Angelico <rosuav@gmail.com> - 2015-03-16 03:00 +1100
  Re: Help me please urgently! Ian Kelly <ian.g.kelly@gmail.com> - 2015-03-15 10:10 -0600
  Re: Help me please urgently! Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-03-15 13:44 -0400

csiph-web