EduploneExam/questions BaseExamQuestion.py,1.25,1.26 FillGapQuestion.py,1.19,1.20 FreeTextQuestion.py,1.21,1.22 MatchingQuestion.py,1.21,1.22 MathQuestion.py,1.21,1.22 MultipleChoiceQuestion.py,1.21,1.22 SingleChoiceQuestion.py,1.21,1.22 TextTaskQuestion.py,1.21,1.22 TrueFalseQuestion.py,1.21,1.22
Nils Haagen <[email protected]> Mon, 10 Jan 2005 12:49:22 +0000
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneExam/questions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12082/questions
Modified Files:
BaseExamQuestion.py FillGapQuestion.py FreeTextQuestion.py
MatchingQuestion.py MathQuestion.py MultipleChoiceQuestion.py
SingleChoiceQuestion.py TextTaskQuestion.py
TrueFalseQuestion.py
Log Message:
umlaute working now; removed matching-doublets
Index: FreeTextQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FreeTextQuestion.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** FreeTextQuestion.py 18 Dec 2004 14:54:23 -0000 1.21
--- FreeTextQuestion.py 10 Jan 2005 12:49:20 -0000 1.22
***************
*** 5,12 ****
RCS-ID $Id$
"""
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Sat Dec 18 14:43:46 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 5,12 ----
RCS-ID $Id$
"""
! # Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Mon Jan 10 11:01:26 2005
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
***************
*** 124,128 ****
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! 'content_icon':'ExamQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
--- 124,128 ----
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! #'content_icon':'FreeTextQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
Index: FillGapQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/FillGapQuestion.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** FillGapQuestion.py 18 Dec 2004 14:04:26 -0000 1.19
--- FillGapQuestion.py 10 Jan 2005 12:49:20 -0000 1.20
***************
*** 5,12 ****
RCS-ID $Id$
"""
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Sat Dec 18 14:43:46 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 5,12 ----
RCS-ID $Id$
"""
! # Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Mon Jan 10 11:01:26 2005
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
Index: TrueFalseQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TrueFalseQuestion.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** TrueFalseQuestion.py 18 Dec 2004 14:54:23 -0000 1.21
--- TrueFalseQuestion.py 10 Jan 2005 12:49:20 -0000 1.22
***************
*** 5,12 ****
RCS-ID $Id$
"""
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Sat Dec 18 14:43:46 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 5,12 ----
RCS-ID $Id$
"""
! # Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Mon Jan 10 11:01:26 2005
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
***************
*** 113,117 ****
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! 'content_icon':'ExamQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
--- 113,117 ----
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! #'content_icon':'TrueFalseQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
Index: MathQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MathQuestion.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** MathQuestion.py 18 Dec 2004 14:54:23 -0000 1.21
--- MathQuestion.py 10 Jan 2005 12:49:20 -0000 1.22
***************
*** 5,12 ****
RCS-ID $Id$
"""
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Sat Dec 18 14:43:46 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 5,12 ----
RCS-ID $Id$
"""
! # Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Mon Jan 10 11:01:26 2005
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
***************
*** 113,117 ****
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! 'content_icon':'ExamQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
--- 113,117 ----
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! #'content_icon':'MathQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
Index: MatchingQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MatchingQuestion.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** MatchingQuestion.py 18 Dec 2004 14:54:23 -0000 1.21
--- MatchingQuestion.py 10 Jan 2005 12:49:20 -0000 1.22
***************
*** 5,12 ****
RCS-ID $Id$
"""
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Sat Dec 18 14:43:46 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 5,12 ----
RCS-ID $Id$
"""
! # Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Mon Jan 10 11:01:26 2005
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
***************
*** 76,79 ****
--- 76,94 ----
#Methods
+
+ def getCleanAnswers(self):
+ ''' removes doublets from list of answers.correct
+ and sorts the list
+ '''
+ cleanAnswers={}
+ for answer in self.contentValues():
+ cleanAnswers[answer.getCorrect()]=1
+
+ r = cleanAnswers.keys()
+ r.sort()
+
+ return r
+
+
#manually created methods
***************
*** 113,117 ****
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! 'content_icon':'ExamQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
--- 128,132 ----
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! #'content_icon':'MatchingQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
Index: TextTaskQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/TextTaskQuestion.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** TextTaskQuestion.py 18 Dec 2004 14:54:23 -0000 1.21
--- TextTaskQuestion.py 10 Jan 2005 12:49:20 -0000 1.22
***************
*** 5,12 ****
RCS-ID $Id$
"""
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Sat Dec 18 14:43:46 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 5,12 ----
RCS-ID $Id$
"""
! # Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Mon Jan 10 11:01:26 2005
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
***************
*** 111,115 ****
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! 'content_icon':'ExamQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
--- 111,115 ----
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! #'content_icon':'TextTaskQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
Index: SingleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/SingleChoiceQuestion.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** SingleChoiceQuestion.py 18 Dec 2004 14:54:23 -0000 1.21
--- SingleChoiceQuestion.py 10 Jan 2005 12:49:20 -0000 1.22
***************
*** 5,12 ****
RCS-ID $Id$
"""
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Sat Dec 18 14:43:46 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 5,12 ----
RCS-ID $Id$
"""
! # Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Mon Jan 10 11:01:26 2005
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
***************
*** 113,117 ****
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! 'content_icon':'ExamQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
--- 113,117 ----
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! #'content_icon':'SingleChoiceQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
Index: MultipleChoiceQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/MultipleChoiceQuestion.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** MultipleChoiceQuestion.py 18 Dec 2004 14:54:23 -0000 1.21
--- MultipleChoiceQuestion.py 10 Jan 2005 12:49:20 -0000 1.22
***************
*** 5,12 ****
RCS-ID $Id$
"""
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Sat Dec 18 14:43:46 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 5,12 ----
RCS-ID $Id$
"""
! # Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Mon Jan 10 11:01:26 2005
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
***************
*** 116,120 ****
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! 'content_icon':'ExamQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
--- 116,120 ----
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! #'content_icon':'MultipleChoiceQuestion.gif',
'immediate_view':'base_view',
'global_allow':1,
Index: BaseExamQuestion.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/questions/BaseExamQuestion.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** BaseExamQuestion.py 18 Dec 2004 14:54:23 -0000 1.25
--- BaseExamQuestion.py 10 Jan 2005 12:49:20 -0000 1.26
***************
*** 5,12 ****
RCS-ID $Id$
"""
! # Copyright (c) 2004 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Sat Dec 18 14:43:46 2004
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
--- 5,12 ----
RCS-ID $Id$
"""
! # Copyright (c) 2005 by eduplone Open Source Business Network EEIG, contributed
# by FH-Aargau, Switzerland
#
! # Generated: Mon Jan 10 11:01:26 2005
# Generator: ArchGenXML Version 1.2 devel 3 http://sf.net/projects/archetypes/
#
***************
*** 195,199 ****
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! 'content_icon':'ExamQuestion.gif',
'immediate_view':'base_view',
'global_allow':0,
--- 195,199 ----
'allowed_content_types':allowed_content_types,
'allow_discussion': 0,
! #'content_icon':'BaseExamQuestion.gif',
'immediate_view':'base_view',
'global_allow':0,
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt