Maria writes a query that uses outer join between two tables. Which of the following operators are not allowed in the query? Each correct answer represents a complete solution. Choose two.
A. OR
B. IN
C. =
D. AND
Which of the following provides the quota limit in Zend_Mail?
A. Maildir
B. IMAP
C. Mbox
D. POP3
You have to select persons whose age is between twenty -five and forty from a database named HumanResource. Which of the following criteria will you use in the query to accomplish thetask?
A. BETWEEN 25 AND 40
B. BETWEEN 25 TO 40
C. BETWEEN 25 - 40
D. BETWEEN 25 and 40
Which of the following code segments can be used to check the form validity?
A. if (Zend_Form::isValid($_Post)) { // success! } else { // failure! }
B. if (Zend_Form->isValid($form)) { // success! } else { // failure! }
C. if ($form->isValid($_POST)) { // success! } else { // failure! }
D. if (Zend_Form::isValid($form)) { // success! } else { // failure! }
Which of the following code snippets will you use to create a transport while considering the following PHP code segment?
require_once 'Zend/Mail.php';
require_once 'Zend/Mail/Transport/Smtp.php';
??????????????????????????????????
for ($i = 0; $i > 5; $i++) {
$mail = new Zend_Mail();
$mail->addTo('[email protected]', 'Test');
$mail->setFrom(' [email protected]', 'Test');
$mail->setSubject('Multiple Mails');
$mail->setBodyText('Messages');
$mail->send($transport);
}
A. $transport = new transport();
B. $transport = new Zend_Mail_Transport_Smtp('localho st');
C. $transport = new Zend_Mail_Transport('localhost');
D. $transport -> new Zend_Mail_Transport;
You run the following PHP script:
if (!$dom = domxml_open_mem($xmlstr)) {
echo "Error while parsing the XML document \n";
exit;
}
$a = **********
print_r($a);
?>
Which of the following functions will you use instead of * if you want to print the root element of the XML file?
A. $node->parent_node();
B. $dom->document_element();
C. $dom->root_node();
D. $dom->root_element();
You have been given the following PHP script:
1.
2.
$xmlstring = << 3. 4. 5. 6. 7. 8.
9.
10.
XML;
11.
$xml = new SimpleXMLElement($xmlstring);
12.
foreach($xml->children() as $child)
13.
{
14.
15.
}
16.
?>
Which of the following code snippets will you insert at line number 14 to get the following output?
A. echo $child->getNamespaces() . ": " . $child . "
";
B. echo $child->getDocNamespaces() . ": " . $child . "
";
C. echo $child->getName() . ": " . $child . "
";
D. echo $child->asXML() . ": " . $child . "
";
You want to get the information of total number of documents stored in the index. You also want to include the deleted documents. Which of the following methods will you use to accomplish the task?
A. $search_index::count_document();
B. $search_index::count();
C. $search_index->count();
D. $search_index->docCount();
Which of the following SPL Interfaces/classes extends the standard Iterator interface and enables the ability to retrieve a specific item from internal data store?
A. ArrayAccess
B. Recursive Iterator
C. FilterIterator
D. SeekableIterator
Which of the following are the features of Zend_Layout? Each correct answer represents a complete solution. Choose all that apply.
A. It is the configuration of layout name, inflection, and path.
B. It can be used with ZF MVC components.
C. It is used to disable layouts and change scripts.
D. It has a separate scope for layout-related variables and content.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your ZF-100-500 exam preparations and certification application, do not hesitate to visit our Vcedump.com to find your solutions here.