$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-quantitative-ability-algebra-sequences-and-series-ap-gp-ap-let-sk-be-the-sum-of-the-first'
$output = '{"success":true,"question":{"_id":"78yw67ZoDhj8iz5Z7","name":"ALG_433","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>Let S<sub>k</sub> be the sum of the first k terms of the arithmetic progression t<sub>1</sub>, t<sub>2</sub>, ..., t<sub>k</sub>. If S<sub>m</sub>/S<sub>n</sub> = m<sup>2</sup>/n<sup>2</sup>, then find the value of t<sub>m</sub>/t<sub>n</sub>.</p>\n","instructions":"","options":[{"index":0,"statement":"<p>(t<sub>1</sub> + m)/(t<sub>1</sub> + n)</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>(m + 1)/(n + 1)</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>(mt<sub>1</sub> + 1)/(nt<sub>1</sub> + 1)</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>(2m - 1)/(2n - 1)</p>\n","is_correct":true,"feedback":"<p>Yay!! You answered correctly hope you figured out it is of the form of sum of consecutive odd number.</p>\n"}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>(t<sub>1</sub> + m)/(t<sub>1</sub> + n)</p>\":false,\"<p>(m + 1)/(n + 1)</p>\":false,\"<p>(mt<sub>1</sub> + 1)/(nt<sub>1</sub> + 1)</p>\":false,\"<p>(2m - 1)/(2n - 1)</p>\":true}","feedback":"{\"<p>(t<sub>1</sub> + m)/(t<sub>1</sub> + n)</p>\":\"\",\"<p>(m + 1)/(n + 1)</p>\":\"\",\"<p>(mt<sub>1</sub> + 1)/(nt<sub>1</sub> + 1)</p>\":\"\",\"<p>(2m - 1)/(2n - 1)</p>\":\"<p>Yay!! You answered correctly hope you figured out it is of the form of sum of consecutive odd number.</p>\"}","general_wrong_feedback":"<p>Oops!! You made a mistake, use sum of consecutive odd no. i.e. m^2 in the above question.</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Algebra","Sequences and Series","AP, GP","AP"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => '78yw67ZoDhj8iz5Z7'
name => 'ALG_433'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Quantitative Ability',
(int) 2 => 'Algebra',
(int) 3 => 'Sequences and Series',
(int) 4 => 'AP, GP',
(int) 5 => 'AP'
)
}
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-quantitative-ability-algebra-sequences-and-series-ap-gp-ap-let-sk-be-the-sum-of-the-first'
$output = '{"success":true,"question":{"_id":"78yw67ZoDhj8iz5Z7","name":"ALG_433","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>Let S<sub>k</sub> be the sum of the first k terms of the arithmetic progression t<sub>1</sub>, t<sub>2</sub>, ..., t<sub>k</sub>. If S<sub>m</sub>/S<sub>n</sub> = m<sup>2</sup>/n<sup>2</sup>, then find the value of t<sub>m</sub>/t<sub>n</sub>.</p>\n","instructions":"","options":[{"index":0,"statement":"<p>(t<sub>1</sub> + m)/(t<sub>1</sub> + n)</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>(m + 1)/(n + 1)</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>(mt<sub>1</sub> + 1)/(nt<sub>1</sub> + 1)</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>(2m - 1)/(2n - 1)</p>\n","is_correct":true,"feedback":"<p>Yay!! You answered correctly hope you figured out it is of the form of sum of consecutive odd number.</p>\n"}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>(t<sub>1</sub> + m)/(t<sub>1</sub> + n)</p>\":false,\"<p>(m + 1)/(n + 1)</p>\":false,\"<p>(mt<sub>1</sub> + 1)/(nt<sub>1</sub> + 1)</p>\":false,\"<p>(2m - 1)/(2n - 1)</p>\":true}","feedback":"{\"<p>(t<sub>1</sub> + m)/(t<sub>1</sub> + n)</p>\":\"\",\"<p>(m + 1)/(n + 1)</p>\":\"\",\"<p>(mt<sub>1</sub> + 1)/(nt<sub>1</sub> + 1)</p>\":\"\",\"<p>(2m - 1)/(2n - 1)</p>\":\"<p>Yay!! You answered correctly hope you figured out it is of the form of sum of consecutive odd number.</p>\"}","general_wrong_feedback":"<p>Oops!! You made a mistake, use sum of consecutive odd no. i.e. m^2 in the above question.</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Algebra","Sequences and Series","AP, GP","AP"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => '78yw67ZoDhj8iz5Z7'
name => 'ALG_433'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Quantitative Ability',
(int) 2 => 'Algebra',
(int) 3 => 'Sequences and Series',
(int) 4 => 'AP, GP',
(int) 5 => 'AP'
)
}
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 | Quantitative Ability | Algebra | Sequences and Series | AP, GP | AP