Example fill the form activity : calculate the Body Mass Index

Age [25] years old Sex [M] (M or F) Weight 95 Kg Height 1.81 m Body Mass Index [29] BMI =Weight/Size2 (Cf. Wikipedia article) "; $langDefaultMatchingOptA = "Note down the address"; $langDefaultMatchingOptB = "Contact the emergency services"; $langDefaultMakeCorrespond1 = "First step"; $langDefaultMakeCorrespond2 = "Second step"; $langDefineOptions = "Please define the options"; $langMakeCorrespond = "Match them"; $langFillLists = "Please fill the two lists below"; $langGiveText = "Please type the text"; $langDefineBlanks = "Please define at least one blank with square brackets [...]"; $langGiveAnswers = "Please type the question\'s answers"; $langChooseGoodAnswer = "Please check the correct answer"; $langChooseGoodAnswers = "Please check one or more correct answers"; $langQuestionList = "Question list of the test"; $langMoveUp = "Move up"; $langMoveDown = "Move down"; $langGetExistingQuestion = "Recycle existing questions"; $langFinishTest = "Correct test"; $langQuestionPool = "Recycle existing questions"; $langOrphanQuestions = "Orphan questions"; $langNoQuestion = "Questions list (there is no question so far)."; $langAllExercises = "All tests"; $langFilter = "Filter"; $langGoBackToEx = "Go back to the test"; $langReuse = "Re-use in current test"; $langExerciseManagement = "Tests management"; $langQuestionManagement = "Question / Answer management"; $langQuestionNotFound = "Question not found"; $langExerciseNotFound = "Test not found or not visible"; $langAlreadyAnswered = "You already answered the question"; $langElementList = "Elements list"; $langScore = "Score"; $langCorrespondsTo = "Corresponds to"; $langExpectedChoice = "Expected choice"; $langYourTotalScore = "Score for the test"; $ReachedMaxAttemptsAdmin = "You have reached the maximum number of attempts for this test. Being a trainer, you can go on practicing but your Results will not be reported."; $langExerciseAdded = "Exercise added"; $Build = "Build"; $langEvalSet = "Assesment settings"; $langActive = "active"; $langInactive = "inactive"; $langQuestCreate = "Create questions"; $langExRecord = "your test has been saved"; $langBackModif = "back to the edit page of questions"; $langDoEx = "make test"; $langDefScor = "Describe assessment settings"; $langCreateModif = "Create/Edit questions"; $langSub = "subtitle"; $langMyAnswer = "My answer"; $langMorA = "+ answer"; $langLesA = "- answer"; $langRecEx = "Save test"; $langRecQu = "Add question to test"; $langRecAns = "Save Answers"; $langIntroduction = "Introduction"; $langTitleAssistant = "Assistant for the creation of tests"; $langQuesList = "questionlist"; $langSaveEx = "save tests"; $langFinish = "Quit test"; $langCancel = "Cancel"; $langQImage = "Question with an image"; $langAddQ = "Add a question"; $langDoAnEx = "Do an test"; $langGenerator = "Test list"; $langChoice = "Your choice"; $langCorrect = "Correct"; $langPossAnsw = "Number of good answers for one question"; $langStudAnsw = "number of errors by the learner"; $langDetermine = "Determine"; $langNonNumber = "a non numeric value"; $langReplaced = "Replaced"; $langSuperior = "a value larger than 20"; $langRep20 = "Replace 20"; $langDefault = "Default Values *"; $langDefComment = "previous values will be replaced by clicking the \"default values\" button"; $langScoreGet = "black numbers = score "; $langShowScor = "Show score to learner:"; $langStep1 = "Step 1"; $langStep2 = "Step 2"; $langTake = "take"; $langAmong = "among"; $langImportHotPotatoesQuiz = "Import Hotpotatoes"; $langHotPotatoesTests = "Import Hotpotatoes tests"; $langDownloadFile = "Upload HotPotatoes (html or zip)"; $langDownloadImg = "Upload Image file to the server"; $langDownloadEnd = "The html upload is finished."; $langNoSpace = "The upload has failed. There is not enough disk space in your directory"; $langZipNoPhp = "The zip file cannot contain .PHP files"; $langNoImg = "Test whithout Images"; $langImgNote_st = "
You still have to upload "; $langImgNote_en = " image(s) :"; $langDocDeleted = "Document deleted"; $langViMod = "Visibility modified"; $langNameNotEqual = "is not the valid file !"; $langIndice = "Index"; $langIndices = "Indexes"; $langDateExo = "Date"; $langShowQuestion = "Show Question"; $langUnknownExercise = "Unknown Test"; $langReuseQuestion = "Reuse the question"; $langCreateExercise = "Create test"; $langCreateQuestion = "Create a question"; $langCreateAnswers = "Create answers"; $langModifyExercise = "Edit test name and settings"; $langModifyAnswers = "Edit answers"; $langForExercise = "for the test"; $langUseExistantQuestion = "Use an existing question"; $freeAnswer = "Open question"; $notCorrectedYet = "This answer has not yet been corrected. Meanwhile, your score for this question is set to 0, affecting the total score."; $adminHP = "Hot Potatoes Admin"; $NewQu = "New question"; $NoImage = "Please select an image"; $langAnswerHotspot = "Description and scoring are required for each hotspot - feedback is optional"; $langMinHotspot = "You have to create one (1) hotspot at least."; $langMaxHotspot = "The maximum hotspots you can create is twelve (12)."; $langHotspotError = "Please supply a description and weighing for each hotspot."; $langMoreHotspots = "Add hotspot"; $langLessHotspots = "Remove hotspot"; $langHotspotZones = "Image zones"; $langNextQuestion = "Next question"; $langCorrectAnswer = "Correct answer"; $langHotspotHit = "Your answer was"; $langOnlyJPG = "For hotspots you can only use JPG (or JPEG) images"; $langFinishThisTest = "Show correct answers to each question and the score for the test"; $langAllQuestions = "All questions"; $langModifyTitleDescription = "Edit title and description"; $langModifyHotspots = "Edit answers/hotspots"; $langHotspotNotDrawn = "You haven\'t drawn all your hotspots yet"; $langHotspotWeightingError = "You must give a positive score for each hotspots"; $langHotspotValidateError1 = "You should answer completely to the question ("; $langHotspotValidateError2 = " click(s) required on the image) before seeing the results"; $langHotspotRequired = "Description and scoring are required for each hotspot. Feedback is optional."; $langHotspotChoose = "To create a hotspot: select a shape next to the colour, and draw the hotspot. To move a hotspot, select the colour, click another spot in the image, and draw the hotspot. To add a hotspot: click the Add hotspot button. To close a polygon shape: right click and select Close polygon."; $Fault = "Incorrect"; $Hotspot = "Image zones"; $ClickNumber = "Click number"; $HotspotGiveAnswers = "Please give an answer"; $Addlimits = "Add limits"; $AreYouSure = "Are you sure "; $StudentScore = "Learner score"; $backtoTesthome = "Back to test home"; $Feedback = "Feedback"; $MarkIsUpdated = "The mark has been updated"; $MarkInserted = "Mark inserted"; $PleaseGiveAMark = "Please give a mark"; $EditCommentsAndMarks = "Edit individual feedback and score the open question"; $AddComments = "Add individual feedback"; $Number = "N°"; $Weighting = "Score"; $ChooseQuestionType = "To create a new question, choose the type above"; $MatchesTo = "Matches To"; $CorrectTest = "More details"; $ViewTest = "View"; $State = "Status"; $NotAttempted = "Not attempted"; $AddElem = "Add element"; $DelElem = "Remove element"; $PlusAnswer = "Add answer option"; $LessAnswer = "Remove answer option"; $YourScore = "Your score"; $Attempted = "Attempted"; $AssignMarks = "Assign a mark"; $Results = "Results and feedback"; $ExerciseStored = "Proceed by clicking on a question type, then enter the appropriate information."; $ChooseAtLeastOneCheckbox = "Choose at least one good answer"; $ExerciseEdited = "Test name and settings have been saved. "; $ExerciseDeleted = "The test has been deleted"; $ClickToCommentAndGiveFeedback = "Click the following link to check the answer and give feedback"; $OpenQuestionsAttempted = "A learner has answered an open question"; $AttemptDetails = "Attempt details"; $TestAttempted = "Test attempted"; $StudentName = "Learner name"; $StudentEmail = "Learner email"; $OpenQuestionsAttemptedAre = "Open question attempted is"; $CourseName = "Training name"; $UploadJpgPicture = "Upload image (jpg, png or gif) to apply hotspots."; $HotspotDescription = "Now click on : (...)"; $ExamSheetVCC = "Examsheet viewed/corrected/commented by the trainer"; $AttemptVCC = "Your following attempt has been viewed/commented/corrected by the trainer"; $ClickLinkToViewComment = "Click the link below to access your account and view your commented Examsheet."; $Regards = "Regards"; $AttemptVCCLong = "You attempt for the test %s has been viewed/commented/corrected by the trainer. Click the link below to access your account and view your Examsheet."; $DearStudentEmailIntroduction = "Dear learner,"; $ExerciseFinished = "Test Finished"; $ResultsEnabled = "Results enabled for learners"; $ResultsDisabled = "Results disabled for learners"; $ExportWithUserFields = "Include profiling"; $ExportWithoutUserFields = "Exclude profiling"; $DisableResults = "Do not show results"; $EnableResults = "Show results to learners"; $ValidateAnswer = "Validate answers"; $FillInBlankSwitchable = "Allow answers order switches"; $ReachedMaxAttempts = "You cannot take test %s because you have already reached the maximum of %s attempts."; $AdvancedParameters = "Advanced settings"; $RandomQuestionsToDisplay = "Number of random questions to display "; $RandomQuestionsHelp = "Number of random questions to display; let 0 to have all questions in the right order"; $RandomQuestionsHelp = "To randomize all questions choose 10. To disable randomization, choose \"Do not randomize\". "; $ExerciseAttempts = "Max number of attempts"; $DoNotRandomize = "Do not randomize"; $Infinite = "Infinite"; $BackToExercisesList = "Back to Tests tool"; $ViewScoreChangeHistory = "View score change history"; $NoStartDate = "No start date"; $NoLogOfDuration = "No log of duration"; $EnableTimeLimits = "Impose calendar limit"; $ExeStartTime = "Start date"; $ExeEndTime = "End date"; $Value = "Value"; $DeleteAttempt = "Delete attempt?"; $WithoutComment = "Without comment"; $QuantityQuestions = "Questions"; $FilterExercices = "Filter tests"; $FilterByNotRevised = "Only unqualified"; $FilterByRevised = "Only qualified"; $Duration = "Duration"; $ReachedTimeLimit = "Time limit reached"; $TryAgain = "Try again"; $SeeTheory = "Theory link"; $EndActivity = "End of activity"; $GoToQuestion = "Go to question"; $NoFeedback = "Exam (no feedback)"; $DirectFeedback = "Self-evaluation (immediate feedback)"; $FeedbackType = "Feedback"; $Scenario = "Scenario"; $VisitUrl = "Visit this link"; $ExitTest = "Exit test"; $DurationFormat = "%1$d seconds"; $Difficulty = "Difficulty"; $NewScore = "New score"; $NewComment = "New comment"; $ExerciseNoStartedYet = "The test did not start yet"; $ExerciseNoStartedAdmin = "The trainer did not allow the test to start yet"; $SelectTargetLP = "Select target training"; $SelectTargetQuestion = "Select target question"; $DirectFeedbackCantModifyTypeQuestion = "The test type cannot be modified since it was set to self evaluation. Self evaluation gives you the possibility to give direct feedback to the user, but this is not compatible with all question types and, so this type quiz cannot be changed afterward."; $CantShowResults = "Not available"; $CantViewResults = "Can\'t view results"; $ShowCorrectedOnly = "With individual feedback"; $ShowUnCorrectedOnly = "All results"; $HideResultsToStudents = "Hide results"; $ShowResultsToStudents = "Show score to learner"; $ProcedToQuestions = "Proceed to questions >"; $AddQuestionToExercise = "Add this question to the test"; $PresentationQuestions = "Display"; $UniqueAnswer = "Multiple choice"; $MultipleAnswer = "Multiple answer"; $FreeAnswer = "Open question"; $HotSpot = "Image zones"; $ReachedOneAttempt = "You can not take this test because you have already reached one attempt"; $QuestionsPerPage = "Questions per page"; $QuestionsPerPageOne = "One"; $QuestionsPerPageAll = "All"; $EditIndividualComment = "Edit individual feedback"; $ThankYouForPassingTheTest = "Thank you for passing the test"; $ExerciseAtTheEndOfTheTest = "At end of test"; $EnrichQuestion = "Enrich question"; $langDefaultUniqueQuestion = "Select the good reasoning"; $langDefaultUniqueAnswer1 = "A then B then C"; $langDefaultUniqueComment1 = "Milk is the basis of many dairy products such as butter, cheese, yogurt, among other"; $langDefaultUniqueAnswer2 = "A then C then B"; $langDefaultUniqueComment2 = "Oats are one of the most comprehensive grain. By their energy and nutritional qualities has been the basis of feeding people"; $langDefaultMultipleQuestion = "The marasmus is a consequence of"; $langDefaultMultipleAnswer1 = "Lack of Calcium"; $langDefaultMultipleComment1 = "The calcium acts as a ..."; $langDefaultMultipleAnswer2 = "Lack of Vitamin A"; $langDefaultMultipleComment2 = "The Vitamin A is responsible for..."; $langDefaultFillBlankQuestion = "Calculate the Body Mass Index"; $langDefaultMathingQuestion = "Order the operations"; $langDefaultOpenQuestion = "List what you consider the 10 top qualities of a good project manager? "; $SaveSection = "Save section"; $langMoreHotspotsImage = "Add/edit hotspots on the image"; $ReachedTimeLimitAdmin = "Reached time limit admin"; $LastScoreTest = "Last score of a exercise"; $BackToResultList = "Back to result list"; $EditingScoreCauseProblemsToExercisesInLP = "If you edit a question score, please remember that this Exercise was added in a Course"; ?>