File format of Quiz Results File

The quiz results file (or log file) could be used as input file for post-processing analysis. For example it could be easily imported into spreadsheet software like Microsoft Excel.
Below, the format details:

The file of the results of quizzes is a text file.
The results of a quiz, answered by a single student, are written in a row, ended with CR (Carriage Return, ascii code 13) and LF (Line Feed, ascii code 10) in a Windows server, or only with LF in a Unix/Linux server.

Each row contains a set of fields, separated by a tab character (TAB, ascii code 7).
These fields are:

1)  Number of version, currently :3
2)  0 or 1 : 1 = entire data row is encrypted, 0 = data row is not encrypted
3)  title of the quiz
4)  name of the student
5)  date and time of the quiz
6)  Total number of questions
7)  highest mark for the quiz
8)  maximum time to answer to the quiz (in minutes)
9)  time taken by the student to answer the quiz (in minutes)
10)  Number of correct answers guessed by the student

11) Number of wrong answers
12) Number of questions not answered by the student
13) final mark
14) Name of the author (for example, the teacher name)
15) Argument of the quiz

At the end, on the same row, the list of questions and their answers.
Each question has 4 fields (except open answers, with only 3 fields, the 4th is missing)

16) type of the question, its value can be:
    0 = hidden question (you can hide a question in the QuizFaber editor)
    1 = single or multiple answers

    2 = boolean (true or false) answers
    3 = open answer
    4 = fill-gap exercises
    5 = matching
17) weight of the question (a integer number, can be >=1, its default value in QuizFaber is 1)
18) the answer of the student. For a multiple answer type, the list of selected answers (for example: 1,3,5)
19) the correct answers. For a multiple answer type, if a question has 4 answers, and you get 2 answers right, the field value is: 2/4