@SuppressWarnings("unchecked")
	@Override
	public double getScore(Object userAnswer) {
		if (userAnswer == null)
			return 0;
		ArrayList<String> ans = (ArrayList<String>) userAnswer;
		ArrayList<String> trueAns = (ArrayList<String>) answer;
		ArrayList<String> ques = (ArrayList<String>) question;			
		int matches = 0;
		for (int i = 0; i < ans.size(); i++) {
			if (i >= trueAns.size())
				break;
			if (ans.get(i).equals(trueAns.get(i))) 
					matches++;
		}
		return score * matches / (ques.size() / 2);
	}