var init = 
{
    'questions': [
	{
        'question': "1. What is a sentence?",
        'answers': 
		[
			'a. a group of words that makes complete sense',
			'b. a group of words that makes no sense',
			'c. both of them',
			'd. none of these'
],
        'correctAnswer': 1
    }, 
	
	{
        'question': '2. A sentence always begins with a __________.',
        'answers': 
		[
			'a. vowel',
			'b. capital letter',
			'c. consonant',
			'd. small letter'
],
        'correctAnswer': 2
    }, 
	
	{
        'question': '3. A sentence always ends with a full stop.',
        'answers': 
		[
			'a. True',
			'b. False'
],
        'correctAnswer': 2
    },
	
	{
        'question': '4. A sentence ends with a full stop, a __________ or an <br/>exclamation mark.',
        'answers': 
		[
			'a. quotation mark',
			'b. question mark'
],
        'correctAnswer': 2
    }, 
	
	{
        'question': '5. I have __________.',
        'answers': 
		[
			'a. a new pen',
			'b. pink',
			'c. very dirty',
			'd. hot'
],
        'correctAnswer': 1
    },
	
	{
        'question': '6. The rainbow has __________.',
        'answers':
		[
			'a. four colours',
			'b. six colours',
			'c. seven colours',
			'd. eight colours'
],
        'correctAnswer': 3
    },
	
	{
        'question': '7. Which one of these is a correct sentence? ',
        'answers': 
		[
			'a. My name is Hannah.',
			'b. Name is my Hannah.',
			'c. Hannah my name is.',
			'd. None of these'
],
        'correctAnswer': 1
    },
	
{
        'question': '8. Which one of these is a correct sentence?',
        'answers': 
		[
			'a. The sheep are grazing in the field.',
			'b. The sheep grazing are in the field',
			'c. In the field grazing are the sheep',
			'd. None of these'
],
        'correctAnswer': 1
    },

	{
        'question': '9. Which of these is a correct sentence?',
        'answers': 
		[
			'a. i cake cut the.',
			'b. I cut the cake.',
			'c. cake cut I.',
			'd. None of these'
],
        'correctAnswer': 2
    },
	
	{
        'question': '10. Which of these is a correct sentence?',
        'answers': 
		[
			'a. It is a beautiful place.',
			'b. It is a place beautiful',
			'c. It is place a beautiful',
			'd. None of these'
	],
        'correctAnswer': 1
    },

	],
    'resultComments': {
        perfect: 'Perfect!',
        excellent: 'Excellent!',
        good: 'Good!',
        average: 'Average!',
        bad: 'Bad!',
        poor: 'Poor!',
        worst: 'Worst!'
    }
};

// function addScorm(){
/* 	SCO = pipwerks.SCORM;
	SCO.connection.initialize();
	console.log("INIT:  ",SCO.connection.isActive);

	 let lmsData = SCO.get("cmi.suspend_data");
  
	 console.log("LMS DATA: ", lmsData);

	if(lmsData.length){
		 resultArr = JSON.parse(lmsData);
	   
	 }

	 console.log("DATA: ", lmsData);
} */

function start_quiz()
{
/* 
	try{
		addScorm();
	}catch(err){		
	} */
	
	$('#start').hide();
	$('#quiz-container').show();
}
