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

Which of the following keywords will you use to set the default timezone?

Each correct answer represents a complete solution. Choose all that apply.

A.

date.timezone setting in php.ini

B.

set_default_timezone

C.

set_timezone

D.

date_default_timezone_set()

Which of the following OOPS design patterns is used to encapsulate a data source so that accessing the data source components becomes hidden within the class that implements the pattern?

A.

Registry

B.

ActiveRecord

C.

Model-view-controller

D.

Factory

Which of the following is the method that is used to check whether the version required for running the application exists or not?

A.

$var = Zend_Version->compareVersion($version)

B.

Zend_Version::VERSION

C.

Zend_Version::compareVersion($version)

D.

Zend_compareVersion($version)

Which of the following keywords will you use to set the default timezone?

Each correct answer represents a complete solution. Choose all that apply.

A.

date.timezone setting in php.ini

B.

set_default_timezone

C.

date_default_timezone_set()

D.

set_timezone

You have a table created as follows:

create table foo (c1 int, c2 char(30), c3 int, c4 char(10))

If column c1 is unique, which of the following indexes would optimize the statement given below?

Select distinct (c1), c3 from foo where c1=10

A.

create index foox on foo (c1)

B.

create unique index foox on foo (c1,c3)

C.

create unique index foox on foo (c1) include (c3)

D.

create index foox on foo (c1,c3)

Which of the following functions can you use to mitigate a command injection attack?

Each correct answer represents a complete solution. Choose all that apply.

A.

strip_tags()

B.

escapeshellarg()

C.

escapeshellcmd()

D.

htmlentities()

You have a table created as follows:

create table foo (c1 int, c2 char(30), c3 int, c4 char(10))

If column c1 is unique, which of the following indexes would optimize the statement given below?

Select distinct (c1), c3 from foo where c1=10

A.

create unique index foox on foo (c1) include (c3)

B.

create index foox on foo (c1)

C.

create index foox on foo (c1,c3)

D.

create unique index foox on foo (c1,c3)

Consider the following script:

</p><p>This is a test script.</p><p>

echo 'This is some sample text';

?>

Which of the following tags is used in the php script?

A.

Short tag

B.

Standard tag

C.

ASP tag

D.

Script tag

You want to set the form method in post and action to /uc/zend.php when you are using the Zend_Form class. Which of the following code snippets will you use to accomplish the task?

A.

$form->setAction('/uc/zend.php')

->setMethod('post');

B.

echo "

";

C.

$form->('/uc/zend.php')

->('post');

D.

$form->Zend::setAction('/uc/zend.php')

->Zend::setMethod('post');

Which of the following classes will you use to store objects and values in the application space?

A.

zend_Db

B.

Zend_Acl

C.

Zend_Registry

D.

Zend_Config