One tomato two tomatoes , one hippo two hippos :)
Page loading ... Welcome Guest Sign In 🏡 📚 🔍    
There are various types of question. Each type of question can be retrieved from the database and presented via a view file or presented directly via the view file after some adhoc creation of the question data. Note: Only questions that exist on the database can have their submitted answers graded. Use this button to check the various Question Types
Coursework DB tables All course work is stored on a single set of tables on the database. A variety of different question types Question table column qtype and assignments are stored on these database tables. Coursework is divided from the top down into courses, exercises and questions, such that questions may be anything which requires a response. For example an essay might be a question asking students to enter a blog post link into a single input field.
Content pages and the exercises A web directory will belong to a single course and each page will be considered as an exercise.
Multi-part Questions
A essay or thesis may convieniently be submitted as a simple input, where the writer provides a link to a blog post or article that they have authored. Most course work questions will consist of a single HTML input or textarea.
However, some questions are made up of a series of related inputs or a set of inputs. For example;
  1. Crossword puzzles Hopefully more are on their way soon
  2. Word Walks, whereby a given word has to be changed step by step, following rules, such as You can change only one letter to make the next word.. Hopefully more are on their way soon
Rendering Questions on WebPages

Browser Address Bar : URL

If you know the question number, the question can be rendered directly onto a web page using URL /question/QUESTION_ID

View controller question->deal(QID)

The PHP Question Renderer

The actual question renderer is : PHP this->exerciseMethods->renderQuestion(QID)

Example

AJAX posts via this->exerciseMethods->doQuestion() to this->exerciseMethods->renderQuestion(QID)

Using text @tokens: from Blogs and plain html

Single Questions

@qidNNN or @qidNNN! (for inline minimal questions ) Renders a form in view file question-qtype-i-form <form action="" onsubmit="return(questionSubmitAttempt(this));">
PHP Render Whole exercise $this->loadView('exercise-control', array('eid' => 27,'preLoad'=>true));