Sunday, 20 April 2014

200-550

Vendor Name: Zend
 

Exam code: 200-550
 

Exam Name: Zend Certified PHP Developer
 

Click the link below to get full version
http://www.examcertify.co.uk/200-550.html

 

http://www.examcertify.co.uk/200-550.html

Question: 1

  
What is the output of the following code?
echo '1' . (print '2') + 3; 

A. 123
B. 213
C. 142
D. 214
E: Syntax error

Answer: D    

Question: 2
  
What is the output of the following code?
 $a = 3;
 switch ($a) {
   case 1: echo 'one'; break;
   case 2: echo 'two'; break; 
   default: echo 'four'; break;
   case 3: echo 'three'; break;
 }

A. one
B. two
C. three
D. four

Answer: C    

Question: 3
  
What is "instanceof" an example of?

A. a boolean
B. an operator
C. a function
D. a language construct
E: a class magic

Answer: B    

Question: 4
  
Which of the following may be used in conjunction with CASE inside a SWITCH statement?

A. A scalar
B. An expression
C. A boolean
D. All of the above

Answer: D    

Question: 5
  
What is the output of the following code?
 $a = 'a'; $b = 'b';
 echo isset($c) ? $a.$b.$c : ($c = 'c').'d';

A. abc
B. cd
C. 0d

Answer: B    

Question: 6
  
Which of the following are valid identifiers? (Choose 3)

A. function 4You() { }
B. function _4You() { }
C. function object() { }
D. $1 = "Hello";
E: $_1 = "Hello World";

Answer: B, C, E    

Question: 7
  
What super-global should be used to access information about uploaded files via a POST request?

A. $_SERVER
B. $_ENV
C. $_POST
D. $_FILES
E: $_GET

Answer: D    

Question: 8
  
What is the difference between "print" and "echo"?

A. There is no difference.
B. Print has a return value, echo does not
C. Echo has a return value, print does not
D. Print buffers the output, while echo does not
E: None of the above

Answer: B    

Question: 9
  
What is the output of the following code?
echo "1" + 2 * "0x02"; 

A. 1
B. 3
C. 5
D. 20
E: 7

Answer: C    

Question: 10
  
What is the result of the following bitwise operation in PHP? 
1 ^ 2 

A. 1
B. 3
C. 2
D. 4
E: -1

Answer: B    

Question: 11
  
What is the output of the following code?
echo "22" + "0.2", 23 . 1; 

A. 220.2231
B. 22.2231
C. 22.2,231
D. 56.2

Answer: B    

Question: 12
  
What is the output of the following code?
 $first = "second";
 $second = "first";
 echo $$$first;

A. "first"
B. "second"
C. an empty string
D. an error

Answer: B    

Question: 13
  
Your supervisor wants you to disallow PHP scripts to open remote HTTP and FTP resources using PHP's file functions. Which php.ini setting should you change accordingly?

Answer: 

Question: 14

Which of the following code snippets DO NOT write the exact content of the file "source.txt" to "target.txt"? (Choose 2)

A. file_put_contents("target.txt", fopen("source.txt", "r"));
B. file_put_contents("target.txt", readfile("source.txt"));
C. file_put_contents("target.txt", join(file("source.txt"), "\n"));
D. file_put_contents("target.txt", file_get_contents("source.txt"));
E: $handle = fopen("target.txt", "w+"); fwrite($handle, file_get_contents("source.txt")); fclose($handle);

Answer: B, C     

Question: 15
  
What is the recommended method of copying data between two opened files?

A. copy($source_file, $destination_file);
B. copy($destination_file, $source_file);
C. stream_copy_to_stream($source_file, $destination_file);
D. stream_copy_to_stream($destination_file, $source_file);
E: stream_bucket_prepend($source_file, $destination_file);

Answer: C    

Question: 16
  
Which of the following will set a 10 seconds read timeout for a stream?

A. ini_set("default_socket_timeout", 10);
B. stream_read_timeout($stream, 10);
C. Specify the timeout as the 5th parameter to the fsockopen() function used to open a stream
D. stream_set_timeout($stream, 10);
E: None of the above

Answer: D    

Question: 17
  
What function allows resizing of PHP's file write buffer?

A. ob_start()
B. set_write_buffer()
C. stream_set_write_buffer()
D. Change the output_buffering INI setting via ini_set() function

Answer: C    

Question: 18
  
What does the __FILE__ constant contain?

A. The filename of the current script.
B. The full path to the current script.
C. The URL of the request made.
D. The path to the main script.

Answer: B    

Question: 19
  
What can prevent PHP from being able to open a file on the hard drive (Choose 2)?

A. File system permissions
B. File is outside of open_basedir
C. File is inside the /tmp directory.
D. PHP is running in CGI mode.

Answer: A, B    

Question: 20
  
What purpose do namespaces fulfill?

A. Encapsulation
B. Alternative to classes
C. Improved performance
D. All of the above

Answer: A    

http://www.examcertify.co.uk/200-550.html

Vendor Name: Zend
 

Exam code: 200-550
 

Exam Name: Zend Certified PHP Developer
 

Click the link below to get full version

http://www.examcertify.co.uk/200-550.html

PR2F

Vendor Name: Exin
 

Exam code: PR2F
 

Exam Name: PRINCE2® Foundation
 

Click the link below to get full version
http://www.examcertify.co.uk/PR2F.html

 

http://www.examcertify.co.uk/PR2F.html

Question: 1

  
Identify the missing word(s) from the following sentence. A project is a temporary organization that is created for the purpose of delivering one or more business products according to an agreed?

A. Senior User
B. Business Case
C. Change
D. Cost

Answer: B    

Question: 2
  
According to PRINCE2, which of the following is a characteristic of a project compared to that of business operations?

A. Incurs cost
B. Introduces business change
C. Delivers benefits
D. Creates products

Answer: B    

Question: 3
  
Which of the following is FALSE?

A. Manage risks is a PRINCE2 principle
B. Manage by exception is a PRINCE2 principle
C. Focus on products is a PRINCE2 principle
D. Tailor to suit the project environment is a PRINCE2 principle

Answer: A    

Question: 4
  
According to PRINCE2, which of the following are the aspects of project performance to be managed?

A. Processes, themes, principles
B. Time, cost, quality, people
C. Time, cost, quality
D. Time, cost, quality, scope, benefits, risk

Answer: D    
 
Question: 5
  
What environment does PRINCE2 assume?

A. Third party
B. Customer/Supplier
C. Fixed-price contract
D. Management and Specialist

Answer: B    

Question: 6
  
A characteristic of a project is that they come with an element of uncertainty. Which of the following PRINCE2 themes will help with the identification and management of such uncertainty?

A. Quality
B. Risk
C. Change
D. Organization

Answer: B    

Question: 7
  
Which is a benefit of using PRINCE2?

A. Stakeholders are kept out of planning and decision making
B. Participants understand each other's roles and needs
C. Stakeholders are not involved in assuring the project work
D. All problems are escalated to all stakeholders

Answer: A    

Question: 8
  
If an informal issue is defined as a problem or concern, where should it first be recorded?

A. Issue Register
B. Risk Register
C. Daily Log
D. Exception Report

Answer: C    

Question: 9
  
Which of the following statements about the Project Initiation Documentation are true?
1. The Project Initiation Documentation is used to ensure that a sound basis exists.
2. The Project Initiation Documentation should be updated at the end of each stage to reflect the current status of a project before the Project Board authorizes a project,

A. Only 1 is true
B. Only 2 is true
C. Both 1 and 2 are true
D. Neither 1 or 2 are true

Answer: C    

Question: 10
  
Which is the purpose of the Change theme?

A. Prevent change to baselined products
B. Identify, assess and control any potential and approved changes to baselined products
C. Establish mechanisms to monitor and compare actual achievements against those planned
D. Assess and control uncertainty

Answer: B    

Question: 11
  
Why is a Project Brief produced?

A. To act as a trigger for the Starting up a Project process
B. To record the strategies and management controls to be used by a project
C. To provide a full and firm foundation for the initiation of a project
D. To be used by the Project Board as a basis for reviewing the progress of a project

Answer: C    

Question: 12
  
Identify the missing words in the following sentence. An objective of the Closing a Project process is to ensure that provision has been made to address [?] through follow-on action recommendations.

A. the measurement of benefits NOT yet realized
B. the handover of products
C. open issues and risks
D. the release of resources

Answer: C    

Question: 13
  
In what process is the authorization to deliver the project's products given?

A. Starting up a Project
B. Initiating a Project
C. Managing a Stage Boundary
D. Directing a Project

Answer: D    

Question: 14
  
Which of the following is NOT part of quality planning?

A. Define quality responsibilities
B. Gain acceptance of the project product
C. Agree acceptance criteria
D. Set quality tolerances

Answer: B    

Question: 15
  
Which should be provided by a project mandate?

A. Terms of reference
B. Detailed Business Case
C. Stage tolerances
D. Initiation Stage Plan

Answer: A    


http://www.examcertify.co.uk/PR2F.html

Vendor Name: Exin
 

Exam code: PR2F
 

Exam Name: PRINCE2® Foundation
 

Click the link below to get full version

http://www.examcertify.co.uk/PR2F.html