$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-quantitative-ability-combinatorics-and-probability-probability-probability-basics-two-dice-are-tossed-the-probability-that-the'
$output = '{"success":true,"question":{"_id":"6PHaSvkug8yLKBQs7","name":"prob1_3","common_data":"","questions":[{"type":"Subjective","index":0,"statement":"<p>Two dice are tossed. The probability that the total score is a prime number is:</p>\n\n<p><em>Type in your answer as a decimal number rounded off to two decimal places. For example, if your answer is 2/3 type in 0.67</em></p>\n","instructions":"","options":[{"index":0,"statement":"0.42","is_correct":true,"feedback":"<p>Well Done! You did it correctly. Here use your concept of probability. Since dice has numbers 1, 2...6 and there are two dices thrown and you also use the concept of prime number. Make various combinations and Sample space and favorable outcome can be found and required probability can be calculated easily</p>\n"}],"num_of_options":1,"num_of_correct_options":1,"correct_response":"{\"0.42\":true}","feedback":"{}","general_wrong_feedback":"<p>Ouch! You made a mistake. Here use your concept of probability. Since dice has numbers 1, 2...6 and there are two dices thrown and you also use the concept of prime number. Make various combinations and Sample space and the favorable outcome can be found and required probability can be calculated easily</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Combinatorics and Probability","Probability","Probability Basics"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => '6PHaSvkug8yLKBQs7'
name => 'prob1_3'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Quantitative Ability',
(int) 2 => 'Combinatorics and Probability',
(int) 3 => 'Probability',
(int) 4 => 'Probability Basics'
)
}
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-combinatorics-and-probability-probability-probability-basics-two-dice-are-tossed-the-probability-that-the'
$output = '{"success":true,"question":{"_id":"6PHaSvkug8yLKBQs7","name":"prob1_3","common_data":"","questions":[{"type":"Subjective","index":0,"statement":"<p>Two dice are tossed. The probability that the total score is a prime number is:</p>\n\n<p><em>Type in your answer as a decimal number rounded off to two decimal places. For example, if your answer is 2/3 type in 0.67</em></p>\n","instructions":"","options":[{"index":0,"statement":"0.42","is_correct":true,"feedback":"<p>Well Done! You did it correctly. Here use your concept of probability. Since dice has numbers 1, 2...6 and there are two dices thrown and you also use the concept of prime number. Make various combinations and Sample space and favorable outcome can be found and required probability can be calculated easily</p>\n"}],"num_of_options":1,"num_of_correct_options":1,"correct_response":"{\"0.42\":true}","feedback":"{}","general_wrong_feedback":"<p>Ouch! You made a mistake. Here use your concept of probability. Since dice has numbers 1, 2...6 and there are two dices thrown and you also use the concept of prime number. Make various combinations and Sample space and the favorable outcome can be found and required probability can be calculated easily</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Quantitative Ability","Combinatorics and Probability","Probability","Probability Basics"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => '6PHaSvkug8yLKBQs7'
name => 'prob1_3'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Quantitative Ability',
(int) 2 => 'Combinatorics and Probability',
(int) 3 => 'Probability',
(int) 4 => 'Probability Basics'
)
}
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 | Combinatorics and Probability | Probability | Probability Basics