$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-verbal-grammar-usage-active-passive-voice-directionsnbspwhich-sentence-is-written-in-activenbspvoice-365216717'
$output = '{"success":true,"question":{"_id":"qDcWdqfPrQKgF97ZX","name":"acpa6","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p><strong>Directions:</strong> Which sentence is written in active voice?</p>\n","instructions":"","options":[{"index":0,"statement":"<p>The beautiful girl was dropped at the corner by the mysterious taxi.</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>Did anyone meet her at the station?</p>\n","is_correct":true,"feedback":"<p>Correct! The subject, 'anyone' is suppose to perform the action, 'meet'.</p>\n"},{"index":2,"statement":"<p>The short walk to the station was covered in a few seconds at her hurried pace.</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>Four trains to New York were listed on the schedule.</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>The beautiful girl was dropped at the corner by the mysterious taxi.</p>\":false,\"<p>Did anyone meet her at the station?</p>\":true,\"<p>The short walk to the station was covered in a few seconds at her hurried pace.</p>\":false,\"<p>Four trains to New York were listed on the schedule.</p>\":false}","feedback":"{\"<p>The beautiful girl was dropped at the corner by the mysterious taxi.</p>\":\"\",\"<p>Did anyone meet her at the station?</p>\":\"<p>Correct! The subject, 'anyone' is suppose to perform the action, 'meet'.</p>\",\"<p>The short walk to the station was covered in a few seconds at her hurried pace.</p>\":\"\",\"<p>Four trains to New York were listed on the schedule.</p>\":\"\"}","general_wrong_feedback":"<p>Wrong! <strong><i><span style=\"font-size: 10pt; line-height: 115%; font-family: Arial, sans-serif; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">Active Voice</span></i></strong><span style=\"font-size: 10pt; line-height: 115%; font-family: Arial, sans-serif; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"> describes a sentence where the subject performs the action stated by the verb.<span class=\"apple-converted-space\"> </span></span>In<strong><i><span style=\"font-family:"Arial","sans-serif"\"> Passive Voice</span></i></strong> sentences, the subject is acted upon by the verb.</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Usage","Active Passive Voice"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'qDcWdqfPrQKgF97ZX'
name => 'acpa6'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Usage',
(int) 4 => 'Active Passive Voice'
)
}
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-grammar-usage-active-passive-voice-directionsnbspwhich-sentence-is-written-in-activenbspvoice-365216717'
$output = '{"success":true,"question":{"_id":"qDcWdqfPrQKgF97ZX","name":"acpa6","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p><strong>Directions:</strong> Which sentence is written in active voice?</p>\n","instructions":"","options":[{"index":0,"statement":"<p>The beautiful girl was dropped at the corner by the mysterious taxi.</p>\n","is_correct":false,"feedback":""},{"index":1,"statement":"<p>Did anyone meet her at the station?</p>\n","is_correct":true,"feedback":"<p>Correct! The subject, 'anyone' is suppose to perform the action, 'meet'.</p>\n"},{"index":2,"statement":"<p>The short walk to the station was covered in a few seconds at her hurried pace.</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>Four trains to New York were listed on the schedule.</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>The beautiful girl was dropped at the corner by the mysterious taxi.</p>\":false,\"<p>Did anyone meet her at the station?</p>\":true,\"<p>The short walk to the station was covered in a few seconds at her hurried pace.</p>\":false,\"<p>Four trains to New York were listed on the schedule.</p>\":false}","feedback":"{\"<p>The beautiful girl was dropped at the corner by the mysterious taxi.</p>\":\"\",\"<p>Did anyone meet her at the station?</p>\":\"<p>Correct! The subject, 'anyone' is suppose to perform the action, 'meet'.</p>\",\"<p>The short walk to the station was covered in a few seconds at her hurried pace.</p>\":\"\",\"<p>Four trains to New York were listed on the schedule.</p>\":\"\"}","general_wrong_feedback":"<p>Wrong! <strong><i><span style=\"font-size: 10pt; line-height: 115%; font-family: Arial, sans-serif; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\">Active Voice</span></i></strong><span style=\"font-size: 10pt; line-height: 115%; font-family: Arial, sans-serif; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;\"> describes a sentence where the subject performs the action stated by the verb.<span class=\"apple-converted-space\"> </span></span>In<strong><i><span style=\"font-family:"Arial","sans-serif"\"> Passive Voice</span></i></strong> sentences, the subject is acted upon by the verb.</p>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Usage","Active Passive Voice"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'qDcWdqfPrQKgF97ZX'
name => 'acpa6'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Usage',
(int) 4 => 'Active Passive Voice'
)
}
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 | Grammar | Usage | Active Passive Voice