$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-verbal-grammar-parts-of-speech-direction-identify-the-error-in-the-sentence-given'
$output = '{"success":true,"question":{"_id":"xH7c9EeqfppLRNEMW","name":"fpos3","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p><strong>Direction: </strong>Identify the error in the sentence given below.</p>\n","instructions":"","options":[{"index":0,"statement":"<p>Shipwrecked</p>\n","is_correct":true,"feedback":"<p>Astounding! ‘Shipwrecked on a desert island’ in the sentence is a modifier phrase whose subject ‘sailor’ is missing in the sentence. The right sentence should be – ‘When he was shipwrecked on a desert island…..’</p>\n"},{"index":1,"statement":"<p>on a desert island, coconuts and some other</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>fruits formed</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>the basis of the sailor’s diet.</p>\n","is_correct":false,"feedback":""},{"feedback":"","index":4,"statement":"<p>No error.</p>\n","is_correct":false}],"num_of_options":5,"num_of_correct_options":1,"correct_response":"{\"<p>Shipwrecked</p>\":true,\"<p>on a desert island, coconuts and some other</p>\":false,\"<p>fruits formed</p>\":false,\"<p>the basis of the sailor’s diet.</p>\":false,\"<p>No error.</p>\":false}","feedback":"{\"<p>Shipwrecked</p>\":\"<p>Astounding! ‘Shipwrecked on a desert island’ in the sentence is a modifier phrase whose subject ‘sailor’ is missing in the sentence. The right sentence should be – ‘When he was shipwrecked on a desert island…..’</p>\",\"<p>on a desert island, coconuts and some other</p>\":\"\",\"<p>fruits formed</p>\":\"\",\"<p>the basis of the sailor’s diet.</p>\":\"\",\"<p>No error.</p>\":\"\"}","general_wrong_feedback":"<p>Wrong! The subject for the modifier phrase, '‘Shipwrecked on a desert island’ is missing.</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Parts of Speech"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'xH7c9EeqfppLRNEMW'
name => 'fpos3'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Parts of Speech'
)
}
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-parts-of-speech-direction-identify-the-error-in-the-sentence-given'
$output = '{"success":true,"question":{"_id":"xH7c9EeqfppLRNEMW","name":"fpos3","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p><strong>Direction: </strong>Identify the error in the sentence given below.</p>\n","instructions":"","options":[{"index":0,"statement":"<p>Shipwrecked</p>\n","is_correct":true,"feedback":"<p>Astounding! ‘Shipwrecked on a desert island’ in the sentence is a modifier phrase whose subject ‘sailor’ is missing in the sentence. The right sentence should be – ‘When he was shipwrecked on a desert island…..’</p>\n"},{"index":1,"statement":"<p>on a desert island, coconuts and some other</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>fruits formed</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>the basis of the sailor’s diet.</p>\n","is_correct":false,"feedback":""},{"feedback":"","index":4,"statement":"<p>No error.</p>\n","is_correct":false}],"num_of_options":5,"num_of_correct_options":1,"correct_response":"{\"<p>Shipwrecked</p>\":true,\"<p>on a desert island, coconuts and some other</p>\":false,\"<p>fruits formed</p>\":false,\"<p>the basis of the sailor’s diet.</p>\":false,\"<p>No error.</p>\":false}","feedback":"{\"<p>Shipwrecked</p>\":\"<p>Astounding! ‘Shipwrecked on a desert island’ in the sentence is a modifier phrase whose subject ‘sailor’ is missing in the sentence. The right sentence should be – ‘When he was shipwrecked on a desert island…..’</p>\",\"<p>on a desert island, coconuts and some other</p>\":\"\",\"<p>fruits formed</p>\":\"\",\"<p>the basis of the sailor’s diet.</p>\":\"\",\"<p>No error.</p>\":\"\"}","general_wrong_feedback":"<p>Wrong! The subject for the modifier phrase, '‘Shipwrecked on a desert island’ is missing.</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Parts of Speech"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'xH7c9EeqfppLRNEMW'
name => 'fpos3'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Parts of Speech'
)
}
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 | Parts of Speech