9 Apr

PHP Interview Questions and Answers for Freshers

PHP Interview Questions and Answers for FreshersPHP is becoming more and more important to our computing world. As it does, more freshers are trying to become PHP programmers. It’s for this reason that PHP interview questions for freshers are becoming harder. To try and ease things up a bit, we’ve compiled some sample php interview questions and answers for freshers.

Q: What makes you want to work with us in particular?

A: All my research into your company makes me confident that we share similar values. As well, I’m interested in working with PHP.

The interviewer wants to get at your motives.

Q: What’s your favorite thing about PHP?

A: It’s transparency makes it a lot easier to do troubleshooting.

The interviewer wants to get at your values.

Q: What is your least favorite thing about PHP?

A: Its open sourced nature is a security concern.

Just like in the last question, the interviewer wants to get at your values.

Q: What does PHP stand for?

A: It used to stand for Personal Home Page, but it’s now a backronym that stands for PHP: Hypertext Processor.

This question is tricky and requires an attention to detail that the interviewer wants to see.

Q: You want to include a file in a PHP page, but you don’t want the execution of the script to stop. What do you do?

A: I use the “include()” function, because the “require()” function would stop the script.

This is a skills question, which makes sure you’ve spent enough time with the program to know its ins and outs.

Q: What is the most recent version of PHP?

A: PHP 5.6.7.

The interviewer wants to see that you’re knowledgeable on the current goings-on in the PHP world.

Q: How do you maintain your technical expertise?

A: Since the field is constantly changing, it is of course important to keep up one’s knowledge. For this purpose, I do a couple of things. For one, I make sure to take continuing education classes. I also try to read up on books and magazines. Then of course there are conferences — I try and go to at least one or two a year, since they can be so educational.

The interviewer wants to makes sure that you’re willing to maintain your expertise.

Q: When you’re working in MYSQL, what is the maximum number of characters that can be used in a database name, a field name, or a table name?

A: Database names, field names, and table names all have the same maximum number of characters: 64.

This is another skills question, which makes sure you’ve spent enough time with the program to know its ins and outs.

Q: Name the three sorts of errors that you can find in PHP.

A: Notices, Warnings, and Fatal Errors.

This is another skills question, which makes sure you’ve spent enough time with the program to know its ins and outs.

Q: What salary are you looking for?

A: $87,000 a year.

This is a good sign, because the interviewer may very well be opening up negotiations for your salary. But before anything can be finalized, they have to know what salary you’re looking for.

We hope you enjoyed this php and C# interview questions and answers for freshers pdf (or, if you’re on the website, non-pdf). If you did, you’re sure to have a leg up on the competition, because you prepared. And preparation is what separates the professional from the dilettante.

Resources:

http://phpinterviewquestions.co.in/

PHP Basic Interview Questions for freshers with answers

http://www.imatrixsolutions.com/blog/Freshers-Latest-PHP-Technical-Interview-Questions-Answers

Image credit: http://www.slideshare.net/topsint/gtu-mca-php-interview-questions-and-answers-for-freshers

Download PDF