Labour Day Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

ZF-100-500 Sample Questions Answers

Questions 4

Consider the following code segment:

1.

2. require_once 'Zend/Mail.php';

3. ?????????????????????????

4. $mail->setBodyText('This is the test email.');

5. $mail->setFrom('somebody@example.com', 'Send er');

6. $mail->addTo('somebody_else@example.com', 'Recipient');

7. $mail->setSubject('TestSubject');

8. $mail->send();

9. ?>

Which of the following code snippets will you use at line number 3 to initiate Zend_Mail?

Options:

A.

$mail = new Zend_Mail();

B.

$mail => initialize_Zend_Mail();

C.

$mail -> Zend_Mail();

D.

$mail => Zend_Mail();

Buy Now
Questions 5

Which of the following is allowed in the function declaration only?

Options:

A.

Pass-by-reference

B.

Function calling

C.

Function declaration

D.

Call-by-reference

Buy Now
Questions 6

Which of the following methods in Zend_Controller_Action can be used for resetting the state when multiple controllers use the same helper in the chained actions?

Options:

A.

preDispatch()

B.

setActionController()

C.

postDispatch()

D.

init()

Buy Now
Questions 7

Fill in the blank with the appropriate method name. The__________ method is used to convert an existing money value to a localized currency formatted output.

Options:

Buy Now
Questions 8

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.

Options:

Buy Now
Questions 9

In which of the following situations will you use the set_exception_handler() function?

Options:

A.

When you want to restore a previously defined exception handler function.

B.

When the try/catch block is unable to catch an exception.

C.

When you want to set a user -defined function to handle errors.

D.

When you want to generate a user -level error/warning/notice message.

Buy Now
Questions 10

Which of the following clauses is used to specify a column or an array of columns by which to sort?

Options:

A.

Order By

B.

WHERE

C.

FROM

D.

LIMIT

Buy Now
Questions 11

Fill in the blank with the appropriate method name. _________is used to make call of the remote methods in the same manner as native methods.

Options:

Buy Now
Questions 12

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

Options:

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

Buy Now
Questions 13

A table named employees is given below:

Which of the following statements would return the employees names , in ascending order, based on their last name and first name? Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

select fname, lname from employees order by lname;

B.

select fname, lname from employees order by lname desc;

C.

select fname, lname from employees group by lname;

D.

select fname, lname from employees order by lname asc;

Buy Now
Questions 14

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?

Options:

A.

$search_index::count_document();

B.

$search_index::count();

C.

$search_index->count();

D.

$search_index->docCount();

Buy Now
Questions 15

Which of the following functions in SimpleXML can be used to return an iterator containing a list of all subnodes of the current node?

Options:

A.

asXML()

B.

attributes()

C.

getName()

D.

children()

Buy Now
Questions 16

Celina works as a Database Administrator for Tech Mart Inc. The company uses an Oracle database. The database contains a table named Employees. Following is the structure of the table:

EmpID NUMBER (5) PRIMARY KEY EmpName VARCHAR2 (35) NOT NULLSalary NUMBER (9, 2) NOT NULL Commission NUMBER (4, 2) ManagerNameVARCHAR2 (25) ManagerID NUMBER (5) Celina wants to display the names of employees and their managers, using a self join.

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

Options:

A.

SELECT e.EmpName, m.ManagerName

FROM Employees e, Employeesm

WHERE e.EmpID = m.ManagerID;

B.

SELECT e.EmpName, m.ManagerName

FROM Employees e INNER JOIN Employeesm

ON e.EmpID = m.ManagerID;

C.

SELECT e.EmpName, m.ManagerName

FROM Employees e LEFT OUTER JOIN Employees m

ON e.EmpID = m.ManagerID;

D.

SELECT e.EmpName, m.ManagerName

FROM Employees e SELF JOIN Employeesm

ON e.EmpID = m.ManagerID;

Buy Now
Questions 17

Consider the following XML file:

PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1 -transitional.dtd" >

xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >

SimpleXML Example

Please go href="http://www.PassGuide.com" >http: //www.PassGuide.com


Which of the following statements will display the HREF attribute on the anchor tag if the SimpleXML object is $sxml?

Options:

A.

$sxml->body->h1->a->href

B.

$sxml->body->h1->a

C.

$sxml->body->h1->a['href']

D.

$sxml->h1->a->href

Buy Now
Questions 18

Which of the following methods will you use to retain the identity across requests according to the PHP session configuration?

Options:

A.

isValid()

B.

getIdentity()

C.

Zend_Auth::authenticate()

D.

getCode()

Buy Now
Questions 19

Which of the following is the temp late layer, where all the HTML rendering takes place, and where everything to be displayed to a user is assembled?

Options:

A.

Controller

B.

Model

C.

Architecture

D.

View

Buy Now
Exam Code: ZF-100-500
Exam Name: Zend Framework CertificationVersion 4.0
Last Update: May 1, 2024
Questions: 130
$64  $159.99
$48  $119.99
$40  $99.99
buy now ZF-100-500