Wednesday, February 13, 2013

oDesk PHP5 test answers

-->


1.       1.Which of the following command line interface constant is not defined in the cli sapi?
Ans: STDPRT
2.       2. If the session_cashe_expire() is not set, then by default the session cache will expire after:
Ans: 3hr
3.       3. Which of the following is not a correct way of commenting in php?
Ans:  /# php comment
4.       4. Which of the following is not the correct way of starting a session?
Ans: session_initiate()
5.       5. Which composite data types are supported by php?
Ans: Array

6.       6. The default value of register_globals in PHP is:
Ans: off
7.      7.  Which of the following is not a valid PHP connection status?
Ans: open
8.      8.  Which of the following are invalid data types in PHP?
Ans: char
9.       9 What is the result of the following expression?
5+2*4+6
Ans: 19
110.   Which of the following is turnary operator?
Ans: ?:

3 comments:

  1. Freelancer Orientation http://hlam.com.ua/expertrating/question.php?id=15942

    ReplyDelete
  2. It is very very helpful for the freelancer's. There are seven simple steps to pass theoDesk Test

    ReplyDelete