$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-quantitative-ability-theory-of-numbers-base-system-what-is-the-decimal-equivalent-to-the-hexadecimal'
$output = '{"success":true,"question":{"_id":"k8m3Tbbm8NBhT5reF","name":"NS_BS16","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>What is the decimal equivalent to the hexadecimal number (1000.........(23 times zero)1)<sub>16</sub>?</p>\n","instructions":"","options":[{"index":0,"statement":"<p>2<sup>23</sup>+1</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p><span style=\"line-height: 20.8px;\">2</span><sup>24</sup><span style=\"line-height: 20.8px;\">+1</span></p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p><span style=\"line-height: 20.8px;\">2<sup>92</sup></span><span style=\"line-height: 20.8px;\">+1</span></p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p><span style=\"line-height: 20.8px;\">2<sup>96</sup></span><span style=\"line-height: 20.8px;\">+1</span></p>\n","is_correct":true,"feedback":"<p>That's right, Champ! Start with the decimal expansion and then powers of 2 from there!</p>\n"}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>2<sup>23</sup>+1</p>\":false,\"<p><span style=\\\"line-height: 20.8px;\\\">2</span><sup>24</sup><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":false,\"<p><span style=\\\"line-height: 20.8px;\\\">2<sup>92</sup></span><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":false,\"<p><span style=\\\"line-height: 20.8px;\\\">2<sup>96</sup></span><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":true}","feedback":"{\"<p>2<sup>23</sup>+1</p>\":\"\",\"<p><span style=\\\"line-height: 20.8px;\\\">2</span><sup>24</sup><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":\"\",\"<p><span style=\\\"line-height: 20.8px;\\\">2<sup>92</sup></span><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":\"\",\"<p><span style=\\\"line-height: 20.8px;\\\">2<sup>96</sup></span><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":\"<p>That's right, Champ! Start with the decimal expansion and then powers of 2 from there!</p>\"}","general_wrong_feedback":"<p>Incorrecto! Try expanding the number in the decimal system. Do you see now?</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Theory of Numbers","Base System"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'k8m3Tbbm8NBhT5reF'
name => 'NS_BS16'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Quantitative Ability',
(int) 2 => 'Theory of Numbers',
(int) 3 => 'Base System'
)
}
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-theory-of-numbers-base-system-what-is-the-decimal-equivalent-to-the-hexadecimal'
$output = '{"success":true,"question":{"_id":"k8m3Tbbm8NBhT5reF","name":"NS_BS16","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>What is the decimal equivalent to the hexadecimal number (1000.........(23 times zero)1)<sub>16</sub>?</p>\n","instructions":"","options":[{"index":0,"statement":"<p>2<sup>23</sup>+1</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p><span style=\"line-height: 20.8px;\">2</span><sup>24</sup><span style=\"line-height: 20.8px;\">+1</span></p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p><span style=\"line-height: 20.8px;\">2<sup>92</sup></span><span style=\"line-height: 20.8px;\">+1</span></p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p><span style=\"line-height: 20.8px;\">2<sup>96</sup></span><span style=\"line-height: 20.8px;\">+1</span></p>\n","is_correct":true,"feedback":"<p>That's right, Champ! Start with the decimal expansion and then powers of 2 from there!</p>\n"}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>2<sup>23</sup>+1</p>\":false,\"<p><span style=\\\"line-height: 20.8px;\\\">2</span><sup>24</sup><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":false,\"<p><span style=\\\"line-height: 20.8px;\\\">2<sup>92</sup></span><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":false,\"<p><span style=\\\"line-height: 20.8px;\\\">2<sup>96</sup></span><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":true}","feedback":"{\"<p>2<sup>23</sup>+1</p>\":\"\",\"<p><span style=\\\"line-height: 20.8px;\\\">2</span><sup>24</sup><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":\"\",\"<p><span style=\\\"line-height: 20.8px;\\\">2<sup>92</sup></span><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":\"\",\"<p><span style=\\\"line-height: 20.8px;\\\">2<sup>96</sup></span><span style=\\\"line-height: 20.8px;\\\">+1</span></p>\":\"<p>That's right, Champ! Start with the decimal expansion and then powers of 2 from there!</p>\"}","general_wrong_feedback":"<p>Incorrecto! Try expanding the number in the decimal system. Do you see now?</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Theory of Numbers","Base System"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'k8m3Tbbm8NBhT5reF'
name => 'NS_BS16'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Quantitative Ability',
(int) 2 => 'Theory of Numbers',
(int) 3 => 'Base System'
)
}
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 | Theory of Numbers | Base System