Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Zend ZF-100-500 - Zend Framework CertificationVersion 4.0

Page: 3 / 4
Total 130 questions

Which of the following joins will you use to display data that do not have an exact match in the column?

A.

Self join

B.

Outer join

C.

Equijoin

D.

Non-equijoin

Which of the following code snippets will you use to instantiate Zend_XmlRpc_Server?

A.

$server = Zend_Xml::Zend_XmlRpc_Server()

B.

$server = new Zend_Xml();

C.

$server = new Zend_XmlRpc_Server();

D.

$server = create_new_Zend_XmlRpc_Server()

Which of the following resource objects is used to support Zend_Acl?

A.

No

B.

Multiple

C.

Single

D.

Cyclic

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();

Fill in the blank with the appropriate PHP function. The___________ function is used to return the sum of the values of every entry within an array.

Which of the following is used to render a specific template within its own variable scope?

A.

Action View Helpers

B.

Initial Helpers

C.

Partial Helpers

D.

View Helpers

Which of the following classes allows for the reporting of queries, including information on which queries were processed by the adapter?

A.

Zend_Db_Profiler

B.

Zend_Loader

C.

Zend_Db

D.

Zend_Db_Select

Which of the following is used for separation of hierarchies in Zend_config_Ini file?

A.

.

B.

>

C.

,

D.

->

Which of the following code snippets will you use if you want to connect to a Pop3 server using TLS?

A.

$mail = new Zend_Mail_Storage_Pop3(array('host'

='example.com', 'user' ='user_name',

'protocol_used' = 'tls')); ?>

B.

$mail = new Zend_Mail_Storag e_Pop3(array('host'

='example.com', 'user' ='user_name',

'connectTo' = 'tls')); ?>

C.

$mail = new Zend_Mail_Storage_Pop3(array('host'

='example.com', 'user' ='user_name',

'ssl' = 'tls')); ?>

D.

$mail = new Zend_Mail_Storage_Pop3(array('host'

='example.com', 'user' ='user_name',

'protocol_used' = 'ssl/tls')); ?>

You have created a table based on the following data:

EmpID NUMBER (5) PRIMARY KEYEmpName VARCHAR2 (35) NOT NULL Salary NUMBER (9, 2) NOT NULL CommissionNUMBER (4, 2) ManagerName VARCHAR2 (25) ManagerID NUMBER (5) Now, you wantto display the names of employees and their managers, using a self join.

Which of the following SQL statements can you use to accomplish this? Each correct answer represents a complete solution. Choose two.

A.

SELECT e.EmpName, m.ManagerName

FROM Employees e, Employeesm

WHERE e.EmpID = m.ManagerID;

B.

SELECT e.EmpName, m.ManagerName

FROM Employees e SELF JOIN Employeesm

ON e.EmpID = m.ManagerID;

C.

SELECT e.EmpName, m.ManagerNam e

FROM Employees e INNER JOIN Employeesm

ON e.EmpID = m.ManagerID;

D.

SELECT e.EmpName, m.ManagerName

FROM Employees e LEFT OUTER JOIN Employees m

ON e.EmpID = m.ManagerID;