// a variable to represent the department 
var department = "BSE";

// Total number of questions in Ex2 
// Becoming a Preferred Graduate
var TotalNoOfQuestions = 13;

// Total number of option in each question
var TotalNoOfOptions = 5;

// an array that stores the results of each question 
var result =  new Array(TotalNoOfQuestions);

// The question set
var Question = new Array(TotalNoOfQuestions);
// Question 1
	Question[0] = "Understand mathematics and engineering principles";

// Question 2
	Question[1] = "Have knowledge of general subjects that may be related to and outside of the discipline";
	
// Question 3
	Question[2] = "Be competent in practice, for example, know how to apply the learned skills and technology in actual work";
	
// Question 4
	Question[3] = "Be responsible for the actions taken";
	
// Question 5
	Question[4] = "Able to be a leader and a team player";
	
// Question 6
	Question[5] = "Have strong management skills";
	
// Question 7
	Question[6] = "Have strong communication and interpersonal skills";
	
// Question 8
	Question[7] = "Have a global view and a view of the international role of Hong Kong";
	
// Question 9
	Question[8] = "Open-minded";
	
// Question 10
	Question[9] = "Creative";
	
// Question 11
	Question[10] = "Have problem solving skills";
	
// Question 12
	Question[11] = "Have critical thinking and analytical skills";
	
// Question 13
	Question[12] = "Have independent and life-long learning skills";




// Total number of categories in this question set
var TotalNoOfCategory  = 7;

var Category = new Array(TotalNoOfCategory);
// Category 1
	Category[0] = "Building Services Engineering (BSE) works with public health, fire, electrical and indoor environmental systems, etc. in and around buildings.  BSE engineers need to design, install, operate and maintain these systems and other equipment.  Therefore, they must be knowledgeable in engineering and other relevant subjects.";
	
// Category 2
	Category[1] = "BSE engineers often receive public and professional trust because they deal with safety, security and other important issues in buildings.  Therefore, BSE engineers must observe the ethical standards of the profession.";
	
// Category 3
	Category[2] = "To complete a project, a BSE engineer must work with the others in a team.";
	
// Category 4
	Category[3] = "BSE engineers must complete projects within the specified periods of time and financial limits.";
	
// Category 5
	Category[4] = "BSE engineers must communicate well with local professionals and those from mainland China and around the world.";
	
// Category 6
	Category[5] = "The problems in BSE change from case to case.  BSE engineers must be able to modify old solutions or find new solutions.";
	
// Category 7
	Category[6] = "BSE engineers must get the most up-to-date information in the field.  Continuous Professional Development (CPD) is very important to them.";




// Total number of question(s) within each	Category
var QuestionCategory = new Array(TotalNoOfCategory);

// Total number of question(s) in Category[0] - Category 1
	QuestionCategory[0] = 3;
	
// Total number of question(s) in Category[1] - Category 2
	QuestionCategory[1] = 1;
	
// Total number of question(s) in Category[2]  - Category 3
	QuestionCategory[2] = 1;
	
// Total number of question(s) in Category[3] - Category 4
	QuestionCategory[3] = 1;
	
// Total number of question(s) in Category[4] - Category 5
	QuestionCategory[4] = 2;
	
// Total number of question(s) in Category[5] - Category 6
	QuestionCategory[5] = 4;
	
// Total number of question(s) in Category[6] - Category 7
	QuestionCategory[6] = 1;




// Which question should belongs to which category	
var QuestionType = new Array(TotalNoOfQuestions);

//e.g. Question 1 is belong to category 0
	QuestionType[0] = 0;
	QuestionType[1] = 0;
	QuestionType[2] = 0;
	QuestionType[3] = 1;
	QuestionType[4] = 2;
	QuestionType[5] = 3;
	QuestionType[6] = 4;
	QuestionType[7] = 4;
	QuestionType[8] = 5;
	QuestionType[9] = 5;
	QuestionType[10] = 5;
	QuestionType[11] = 5;
	QuestionType[12] = 6;
	
