Searching for "or"

Q:

Are objects passed by value or by reference?

Answer Everything is passed by value.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

Explain the ternary conditional operator in PHP?

Answer Expression preceding the ? is evaluated, if it’s true, then the expression preceding the : is executed, otherwise, the expression following : is executed.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

Will comparison of string "10" and integer 11 work in PHP?

Answer Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example?

Answer In this example it wouldn’t matter, since the variable is all by itself, but if you were to print something like "{$a},000,000 mln dollars", then you definitely need to use the braces.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

Where do you expect to be working in five years?

Answer

Why are they asking?


The interviewer wants to find out the following:


  -How committed are you to the career and the company
  -How much do you understand about the career path ahead of you
  -How passionate are you

Approach 
Research the job and the organization structure and relate your career plan and progression with the job posting and progression of the company.

Eg.
I would like to work hard and grow with the company to a respectable position with additional challenges and responsibilities and contributing to success of the company.

Please don't give these answers...
"Doing your Job"
"Working somewhere else"
"No idea"
"I haven’t thought that far ahead"
"Have a family"

Report Error

View answer Workspace Report Error Discuss

Q:

Do you prefer to work on your own or as part of team?

Answer

Even if you like to work as a team or independent. Make sure you show interest in both, As most jobs require you to work both as part of team and independent.

In general, the idea is to say what you prefer without being negative about the thing you don’t.

Independently -
If you have done enough research on the job posting and mostly need to work independently then you can say something like “I prefer to work alone, but I find that occasionally working with a team feels creative and fun. Always felt, it is easy to solve problems being part of a team.

Work in a Team -
On the other hand, if your research says that your job requires working in a team then you can say something like "I like the dynamics of working in a team, but do like working independently when the assignment requires it.”

Report Error

View answer Workspace Report Error Discuss

Subject: Team Work