Vituperation

Uncategorized No Comments »

Oxford English Dictionary:

The action, fact, or process of vituperating; blame, censure, reproof, or (esp. in later use) the expression of this, in abusive or violent language; abuse, railing, rating. Also, vituperative or abusive language.

The OED have record of this word dating back to 1481. I first heard this word spoken in the film ‘The General’s Daughter‘ in a passionate speech by a colonel and I loved it. Although the subject matter is unpleasant the word itself is fantastic.

Efficacious

Uncategorized No Comments »

Oxford English Dictionary:

That produces, or is certain to produce, the intended or appropriate effect; effective. (Said of instruments, methods, or actions; not, in prose, of personal agents.)

The OED have record of this word dating back to 1528. I think it is a gorgeous word.

How to parse an XML file using PHP: Part 1

Uncategorized No Comments »

This post follows the multiple choice question theme. I’ve spent quite a bit of time working on how to go about parsing an XML file using PHP. I had to pay particular attention to the structure of the XML file with reference to which elements appeared where and which were repeated but in different orders throughout the document.

I’m the sort who likes to learn by doing and having a play with things. I read a basic php xml parsing tutorial on sitepoint written by Kevin Yank (PHP and XML: Parsing RSS 1.0) it explains the process pretty well so if you want to know the specifics of creating the parser object I recommend you read that brief tutorial or consult the php manual.

Read the rest of this entry »

Multiple Choice Question Formats

Uncategorized No Comments »

One of my objectives for Kquestion is for it to be able to parse and generate an XML of multiple choice questions. That’s because I think typing the questions into a template will be a lot quicker than using the application, however, both methods should be available. I’m going talk about the different formats of multiple choice question and then in another post how I’ve implemented them in XML and then talk about the document type definition created for the format.

Isolated single questions

This type of question consists of question text and a list of possible answers. They are isolated in that the question and the answers are used only once.

Read the rest of this entry »

Multiple Choice Questions & XML

Uncategorized No Comments »

XML is used to store Information about something in a logical format. Information is data that has meaning and that meaning can be represented in XML via its structure. A well written XML schema should be easy to understand and follow. Data should be stored within elements (sometimes referred to as tags) whereas information about the data (metadata) should be stored in attributes.

Below is the XML structure I devised to contain the information about the different questions types discussed in my ‘Multiple Choice Question Formats‘ post. I will refer to the element that contains the different question types as the question type element but in reality the name of the question type element will change depending on the question type.

Read the rest of this entry »

Kquestion begins

Uncategorized No Comments »

Currently a friend and I are developing a php based multiple choice question application that will hopefully help me and others study for exams etc. This blog will document the progress of and any thoughts about the project.

WP Theme & Icons by N.Design Studio | Akismet has gobbled 332,298 spam comments...Mmmm Tasty :-)
Entries RSS Comments RSS Log in