$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-verbal-grammar-usage-modifier-directionsnbspwhich-of-the-following-sentences-contains-a-dangling'
$output = '{"success":true,"question":{"_id":"Wh7MNR6v7a4jftAwa","name":"modif15","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p><strong>Directions:</strong> Which of the following sentences contains a dangling modifier?</p>\n","instructions":"","options":[{"index":0,"statement":"<p>Having worked for the company for twenty years, I was surprised to learn that my retirement benefits would not be sufficient.</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>Having taught phonology every semester for the last five years, he was eager to teach syntax.</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>After sweating in Reavis Hall throughout the summer, I am ready for winter.</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>all of the above</p>\n","is_correct":false,"feedback":""},{"feedback":"<p>Correct!</p>\n","index":4,"statement":"<p>none of the above</p>\n","is_correct":true}],"num_of_options":5,"num_of_correct_options":1,"correct_response":"{\"<p>Having worked for the company for twenty years, I was surprised to learn that my retirement benefits would not be sufficient.</p>\":false,\"<p>Having taught phonology every semester for the last five years, he was eager to teach syntax.</p>\":false,\"<p>After sweating in Reavis Hall throughout the summer, I am ready for winter.</p>\":false,\"<p>all of the above</p>\":false,\"<p>none of the above</p>\":true}","feedback":"{\"<p>Having worked for the company for twenty years, I was surprised to learn that my retirement benefits would not be sufficient.</p>\":\"\",\"<p>Having taught phonology every semester for the last five years, he was eager to teach syntax.</p>\":\"\",\"<p>After sweating in Reavis Hall throughout the summer, I am ready for winter.</p>\":\"\",\"<p>all of the above</p>\":\"\",\"<p>none of the above</p>\":\"<p>Correct!</p>\"}","general_wrong_feedback":"<p>Wrong! <strong><em>DANGLING MODIFIER - </em></strong>Here the sentence has a modifier but the doer or the subject is not clear. Hence, the sentence is dangling. <strong><em>Example:</em></strong></p>\n\n<ul>\n\t<li>Having completed the task, the book was read.</li>\n</ul>\n\n<p>Here the doer is some person who is not mentioned at all. So we rewrite the sentence as: <em><strong>Having completed the task, he/she read the book.</strong></em></p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Usage","Modifier"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'Wh7MNR6v7a4jftAwa'
name => 'modif15'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Usage',
(int) 4 => 'Modifier'
)
}
UrlsController::question() - APP/Controller/UrlsController.php, line 235
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Use of undefined constant desc - assumed 'desc' [APP/Controller/UrlsController.php, line 236]
$metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags), desc => !empty($qsData->common_data) ? substr(strip_tags($qsData->common_data), 0, 200) . '...' : $qsData->questions[0]->statement ? substr(strip_tags($qsData->questions[0]->statement), 0, 200) . '...' : 'Best CAT coaching CAT preparation and Personalised learning with unlimited classes, from Alchemist'
$slug = 'cat-verbal-grammar-usage-modifier-directionsnbspwhich-of-the-following-sentences-contains-a-dangling'
$output = '{"success":true,"question":{"_id":"Wh7MNR6v7a4jftAwa","name":"modif15","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p><strong>Directions:</strong> Which of the following sentences contains a dangling modifier?</p>\n","instructions":"","options":[{"index":0,"statement":"<p>Having worked for the company for twenty years, I was surprised to learn that my retirement benefits would not be sufficient.</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>Having taught phonology every semester for the last five years, he was eager to teach syntax.</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>After sweating in Reavis Hall throughout the summer, I am ready for winter.</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>all of the above</p>\n","is_correct":false,"feedback":""},{"feedback":"<p>Correct!</p>\n","index":4,"statement":"<p>none of the above</p>\n","is_correct":true}],"num_of_options":5,"num_of_correct_options":1,"correct_response":"{\"<p>Having worked for the company for twenty years, I was surprised to learn that my retirement benefits would not be sufficient.</p>\":false,\"<p>Having taught phonology every semester for the last five years, he was eager to teach syntax.</p>\":false,\"<p>After sweating in Reavis Hall throughout the summer, I am ready for winter.</p>\":false,\"<p>all of the above</p>\":false,\"<p>none of the above</p>\":true}","feedback":"{\"<p>Having worked for the company for twenty years, I was surprised to learn that my retirement benefits would not be sufficient.</p>\":\"\",\"<p>Having taught phonology every semester for the last five years, he was eager to teach syntax.</p>\":\"\",\"<p>After sweating in Reavis Hall throughout the summer, I am ready for winter.</p>\":\"\",\"<p>all of the above</p>\":\"\",\"<p>none of the above</p>\":\"<p>Correct!</p>\"}","general_wrong_feedback":"<p>Wrong! <strong><em>DANGLING MODIFIER - </em></strong>Here the sentence has a modifier but the doer or the subject is not clear. Hence, the sentence is dangling. <strong><em>Example:</em></strong></p>\n\n<ul>\n\t<li>Having completed the task, the book was read.</li>\n</ul>\n\n<p>Here the doer is some person who is not mentioned at all. So we rewrite the sentence as: <em><strong>Having completed the task, he/she read the book.</strong></em></p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Usage","Modifier"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'Wh7MNR6v7a4jftAwa'
name => 'modif15'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Usage',
(int) 4 => 'Modifier'
)
}
UrlsController::question() - APP/Controller/UrlsController.php, line 236
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Best CAT Coaching In Delhi - CAT | Verbal | Grammar | Usage | Modifier