private void setQuestionsArray(ArrayList<QuestionInfo> questionInfo) throws SQLException {
		ArrayList<Question> questionsArray = new ArrayList<Question>();
		for(int i=0; i<questionInfo.size(); i++) {
			QuestionInfo currQuestionInfo = questionInfo.get(i);

			int questionID = currQuestionInfo.getQuestionID();
			String questionType = currQuestionInfo.getQuestionType();
			int questionNumber = currQuestionInfo.getQuestionNumber();

			if(questionType.equals("question_response")) {
				questionsArray.add(new QuestionResponse(con, questionID, questionNumber));
			} else if(questionType.equals("fill_in_the_blank")) {
				questionsArray.add(new FillInTheBlank(con, questionID, questionNumber));
			} else if(questionType.equals("multiple_choice")) {
				questionsArray.add(new MultipleChoice(con, questionID, questionNumber));
			} else if(questionType.equals("picture_response")) {
				questionsArray.add(new PictureResponse(con, questionID, questionNumber));
			} else if(questionType.equals("multiple_answer")) {
				questionsArray.add(new MultipleAnswer(con, questionID, questionNumber));
			}
			else if(questionType.equals("multiple_choice_multiple_answer")) {
				questionsArray.add(new MultipleChoiceMultipleAnswer(con, questionID, questionNumber));
			}
		}
		questions = questionsArray;
	}