// a variable to represent the department 
var department = "COMP";

// Total number of questions in Ex2 
// Becoming a Preferred Graduate
var TotalNoOfQuestions = 15;

// 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 mathematical and computing system concepts in general";

// Question 2
	Question[1] = "Have specialised knowledge in chosen areas of computing";
	
// Question 3
	Question[2] = "Have general knowledge of economics, social, human and environmental sciences, etc.";
	
// Question 4
	Question[3] = "Able to critically apply practical skills in the information engineering life cycle.";
	
// Question 5
	Question[4] = "Have strong communication and interpersonal skills";
	
// Question 6
	Question[5] = "Able to be a team player";
	
// Question 7
	Question[6] = "Able to be a leader";
	
// Question 8
	Question[7] = "Open-minded";
	
// Question 9
	Question[8] = "Have critical thinking (思考) and analytical (分析) skills";
	
// Question 10
	Question[9] = "Have problem solving skills";
	
// Question 11
	Question[10] = "Creative";
	
// Question 12
	Question[11] = "Have independent and life-long learning skills";
	
// Question 13
	Question[12] = "Have a global view (掌握國際趨勢)";

// Question 14
	Question[13] = "Be responsible for the actions taken";

// Question 15
	Question[14] = "Able to see both the positive and negative sides of everything";

// Total number of categories in this question set
var TotalNoOfCategory  = 11;

var Category = new Array(TotalNoOfCategory);
// Category 1
	Category[0] = "Computing is about creatively applying computers and related technology to different information processing areas such as business, industry and public sectors.";
	
// Category 2
	Category[1] = "Because the computing field contains many areas, a software professional cannot specialize in all of them.  Instead, he or she must know about the whole field and specialise only in a few areas.";
	
// Category 3
	Category[2] = "Factors such as cost-effectiveness, reliability, ethical, ergonomics and management concerns, etc. are as important as the technical (技術上) issues in software design and analysis.";
	
// Category 4
	Category[3] = "Technical knowledge and skills in the area of computing are very important. Especially the principles governing the computing environment";
	
// Category 5
	Category[4] = "When doing a job, software professionals often work as a team. Therefore, they must have strong communication and teamwork skills.";
	
// Category 6
	Category[5] = "Since a team must have leaders, software professionals have strong leadership skills.";
	
// Category 7
	Category[6] = "In Computing, for every problem there are usually several possible solutions.  To get the best result, it is necessary to first consider (考慮到) all possible solutions before deciding on the best one.";

// Category 8
	Category[7] = "Computing often involves creatively applying an old technology to a new situation to produce new results.";

// Category 9
	Category[8] = "Since the Computing field changes everyday, software professionals must learn through a lifetime. They are committed in continuous professional development (CPD).";

// Category 10
	Category[9] = "A software professional understands the direction the world is going towards and tries to lead that direction.";
	
// Category 11
	Category[10] = "Software professional must observe the ethical standards of the profession.  They also weigh (衡量) fairly the limitations (極限) of the products and technologies that are developed.";
	
// 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] = 1;
	
// 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] = 1;
	
// Total number of question(s) in Category[6] - Category 7
	QuestionCategory[6] = 3;


// Total number of question(s) in Category[7] - Category 8
	QuestionCategory[7] = 1;

// Total number of question(s) in Category[8] - Category 9
	QuestionCategory[8] = 1;
	
// Total number of question(s) in Category[9] - Category 10
	QuestionCategory[9] = 1;
	
// Total number of question(s) in Category[10] - Category 11
	QuestionCategory[10] = 2;
	
		
// 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] = 1;
	QuestionType[2] = 2;
	QuestionType[3] = 3;
	QuestionType[4] = 4;
	QuestionType[5] = 4;
	QuestionType[6] = 5;
	QuestionType[7] = 6;
	QuestionType[8] = 6;
	QuestionType[9] = 6;
	QuestionType[10] = 7;
	QuestionType[11] = 8;
	QuestionType[12] = 9;
	QuestionType[13] = 10;
	QuestionType[14] = 10;
	
