Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
sale

Want to Unlock All Questions for this Exam?

Full Exam Access, Discussions, No Robots Checks

Zend 200-550 Exam Actual Questions

The questions for 200-550 were last updated on April 23, 2024.
  • Viewing page 1 out of 45 pages.
  • Viewing questions 1-5 out of 223 questions

Topic 1 - Single Topic

Question #1 Topic 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
Reveal Solution Hide Solution   Discussion  

Correct Answer: D 🗳️

Question #2 Topic 1

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
Reveal Solution Hide Solution   Discussion  

Correct Answer: C 🗳️

Question #3 Topic 1

What is "instanceof" an example of?

  • A. a boolean
  • B. an operator
  • C. a function
  • D. a language construct
  • E. a class magic
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

Question #4 Topic 1

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
Reveal Solution Hide Solution   Discussion  

Correct Answer: D 🗳️

Question #5 Topic 1

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
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...