$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-verbal-verbal-ability-sentence-correction-if-i-was-the-prime-minister-of-the'
$output = '{"success":true,"question":{"_id":"xCXxzzNiNQxiDL5aD","name":"seco11","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p><u><i>If I was the prime minister of the country, I will </i></u>make economic growth, poverty eradication and tax reform my top priorities.</p>\n","instructions":"<p><strong>Directions:</strong> Choose the answer option that corrects any error/errors observed in the underlined fragment.</p>\n","options":[{"index":0,"statement":"<p>If I was the prime minister of the country, I would</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>If I were the prime minister of the country, I will</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>If I were the prime minister of the country, I would</p>\n","is_correct":true,"feedback":"<p>Great job! ‘Was is associated with the past tense. The usage of ‘was’ in the given sentence is incorrect. In discussing hypothetical situations, the subjunctive mood is used. The correct usage is ‘If I were…I would….’ Also note that ‘would’ is used instead of ‘will’: In general, would is used in situations which are hypothetical, or contingent on some unfulfilled condition; will is used in situations that are more certain.</p>\n"},{"index":3,"statement":"<p>No correction required</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>If I was the prime minister of the country, I would</p>\":false,\"<p>If I were the prime minister of the country, I will</p>\":false,\"<p>If I were the prime minister of the country, I would</p>\":true,\"<p>No correction required</p>\":false}","feedback":"{\"<p>If I was the prime minister of the country, I would</p>\":\"\",\"<p>If I were the prime minister of the country, I will</p>\":\"\",\"<p>If I were the prime minister of the country, I would</p>\":\"<p>Great job! ‘Was is associated with the past tense. The usage of ‘was’ in the given sentence is incorrect. In discussing hypothetical situations, the subjunctive mood is used. The correct usage is ‘If I were…I would….’ Also note that ‘would’ is used instead of ‘will’: In general, would is used in situations which are hypothetical, or contingent on some unfulfilled condition; will is used in situations that are more certain.</p>\",\"<p>No correction required</p>\":\"\"}","general_wrong_feedback":"<p>Psst! ‘Was is associated with the past tense. The usage of ‘was’ in the given sentence is incorrect. </p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Verbal Ability","Sentence Correction"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'xCXxzzNiNQxiDL5aD'
name => 'seco11'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Verbal Ability',
(int) 3 => 'Sentence Correction'
)
}
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-verbal-ability-sentence-correction-if-i-was-the-prime-minister-of-the'
$output = '{"success":true,"question":{"_id":"xCXxzzNiNQxiDL5aD","name":"seco11","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p><u><i>If I was the prime minister of the country, I will </i></u>make economic growth, poverty eradication and tax reform my top priorities.</p>\n","instructions":"<p><strong>Directions:</strong> Choose the answer option that corrects any error/errors observed in the underlined fragment.</p>\n","options":[{"index":0,"statement":"<p>If I was the prime minister of the country, I would</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>If I were the prime minister of the country, I will</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>If I were the prime minister of the country, I would</p>\n","is_correct":true,"feedback":"<p>Great job! ‘Was is associated with the past tense. The usage of ‘was’ in the given sentence is incorrect. In discussing hypothetical situations, the subjunctive mood is used. The correct usage is ‘If I were…I would….’ Also note that ‘would’ is used instead of ‘will’: In general, would is used in situations which are hypothetical, or contingent on some unfulfilled condition; will is used in situations that are more certain.</p>\n"},{"index":3,"statement":"<p>No correction required</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>If I was the prime minister of the country, I would</p>\":false,\"<p>If I were the prime minister of the country, I will</p>\":false,\"<p>If I were the prime minister of the country, I would</p>\":true,\"<p>No correction required</p>\":false}","feedback":"{\"<p>If I was the prime minister of the country, I would</p>\":\"\",\"<p>If I were the prime minister of the country, I will</p>\":\"\",\"<p>If I were the prime minister of the country, I would</p>\":\"<p>Great job! ‘Was is associated with the past tense. The usage of ‘was’ in the given sentence is incorrect. In discussing hypothetical situations, the subjunctive mood is used. The correct usage is ‘If I were…I would….’ Also note that ‘would’ is used instead of ‘will’: In general, would is used in situations which are hypothetical, or contingent on some unfulfilled condition; will is used in situations that are more certain.</p>\",\"<p>No correction required</p>\":\"\"}","general_wrong_feedback":"<p>Psst! ‘Was is associated with the past tense. The usage of ‘was’ in the given sentence is incorrect. </p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Verbal Ability","Sentence Correction"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'xCXxzzNiNQxiDL5aD'
name => 'seco11'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Verbal Ability',
(int) 3 => 'Sentence Correction'
)
}
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 | Verbal Ability | Sentence Correction