$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-quantitative-ability-algebra-equations-and-polynomials-equations-linear-and-quadratic-equations-the-roots-of-the-equation-x-2nbsp-minusx'
$output = '{"success":true,"question":{"_id":"xefnNzBMcfBjn3wPy","name":"ALG_399","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>The roots of the equation <math> <mrow> <msup> <mi>x</mi> <mrow> <mn>2</mn><mo> </mo></mrow> </msup> <mo>−</mo><mi>x</mi><mrow><mo>(</mo> <mrow> <mi>a</mi><mo>+</mo><mi>b</mi></mrow> <mo>)</mo></mrow><mo>+</mo><mi>a</mi><mi>b</mi><mo>−</mo><msup> <mi>b</mi> <mn>2</mn> </msup> <mo>=</mo><mn>0</mn></mrow> </math> (where <math> <mi>a</mi> </math> & <math> <mi>b</mi> </math> are real numbers and <math> <mi>a</mi> </math> ≠<math> <mi>b</mi> </math>) are:</p>\n","instructions":"","options":[{"index":0,"statement":"<p>Complex conjugates</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>Real and unequal</p>\n","is_correct":true,"feedback":"<p>You are correct we hope that you determined the roots of the quadratic equation to check on the value of D.</p>\n"},{"index":2,"statement":"<p>Real and equal</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>Depends on value of a and b</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>Complex conjugates</p>\":false,\"<p>Real and unequal</p>\":true,\"<p>Real and equal</p>\":false,\"<p>Depends on value of a and b</p>\":false}","feedback":"{\"<p>Complex conjugates</p>\":\"\",\"<p>Real and unequal</p>\":\"<p>You are correct we hope that you determined the roots of the quadratic equation to check on the value of D.</p>\",\"<p>Real and equal</p>\":\"\",\"<p>Depends on value of a and b</p>\":\"\"}","general_wrong_feedback":"<p>Oops!! You made mistake somewhere, in this case, to determine the roots of quadratic equation check the value of D.</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Algebra","Equations and Polynomials","Equations","Linear and Quadratic Equations"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'xefnNzBMcfBjn3wPy'
name => 'ALG_399'
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 => 'Equations and Polynomials',
(int) 4 => 'Equations',
(int) 5 => 'Linear and Quadratic Equations'
)
}
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-equations-and-polynomials-equations-linear-and-quadratic-equations-the-roots-of-the-equation-x-2nbsp-minusx'
$output = '{"success":true,"question":{"_id":"xefnNzBMcfBjn3wPy","name":"ALG_399","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>The roots of the equation <math> <mrow> <msup> <mi>x</mi> <mrow> <mn>2</mn><mo> </mo></mrow> </msup> <mo>−</mo><mi>x</mi><mrow><mo>(</mo> <mrow> <mi>a</mi><mo>+</mo><mi>b</mi></mrow> <mo>)</mo></mrow><mo>+</mo><mi>a</mi><mi>b</mi><mo>−</mo><msup> <mi>b</mi> <mn>2</mn> </msup> <mo>=</mo><mn>0</mn></mrow> </math> (where <math> <mi>a</mi> </math> & <math> <mi>b</mi> </math> are real numbers and <math> <mi>a</mi> </math> ≠<math> <mi>b</mi> </math>) are:</p>\n","instructions":"","options":[{"index":0,"statement":"<p>Complex conjugates</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>Real and unequal</p>\n","is_correct":true,"feedback":"<p>You are correct we hope that you determined the roots of the quadratic equation to check on the value of D.</p>\n"},{"index":2,"statement":"<p>Real and equal</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>Depends on value of a and b</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>Complex conjugates</p>\":false,\"<p>Real and unequal</p>\":true,\"<p>Real and equal</p>\":false,\"<p>Depends on value of a and b</p>\":false}","feedback":"{\"<p>Complex conjugates</p>\":\"\",\"<p>Real and unequal</p>\":\"<p>You are correct we hope that you determined the roots of the quadratic equation to check on the value of D.</p>\",\"<p>Real and equal</p>\":\"\",\"<p>Depends on value of a and b</p>\":\"\"}","general_wrong_feedback":"<p>Oops!! You made mistake somewhere, in this case, to determine the roots of quadratic equation check the value of D.</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Algebra","Equations and Polynomials","Equations","Linear and Quadratic Equations"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'xefnNzBMcfBjn3wPy'
name => 'ALG_399'
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 => 'Equations and Polynomials',
(int) 4 => 'Equations',
(int) 5 => 'Linear and Quadratic Equations'
)
}
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 | Equations and Polynomials | Equations | Linear and Quadratic Equations