Sunday, 8 July 2018

PHP Developer Interview Questions for Freshers

Well, hey guys hope you all are fine!! I wanted to inform you that I actually attended some job interviews last week in  PHP DEVELOPER job profile as a fresher. So you know I can't be in very enjoying mood. But still I am okay as I don't get upset easily. You all have to change yourself if you all are too emotional and get upset easily because if you are like that then .... u know how interview hiring process goes.Be strong guys before going to interviews.

I was initially rejected in some interviews but after that I was selected in some IT companies but I couldn't join those jobs as they were paying less money. That is the problem with being a fresher and applying for jobs off campus. If you are also a fresher in PHP web development then get ready to listen to some really less salary offers from your interviews if you are applying for companies off campus and you know only core php and not any frameworks.


So, in this blog I am gonna discuss the questions that I faced mostly during the job interviews. So that all of you can prepare or at least get an idea of what question could be asked in your job interviews.



QUESTIONS THAT WERE ASKED IN INTERVIEWS:

HR ROUND QUESTIONS:
  • This is the most common question you all have must heard " Introduce yourself ".
  •  Next question maybe to know about you better " What are your hobbies? ". As this question also tells that whether you are a social person or not. 
  • Next one is " What is your aim in life" . 
  • You may also encounter this one " Whom you consider your idol". 
  • " Any sports you play or take part in "  maybe this one's is to know whether you like some activities or only involve in work. 


  • " How you consider yourself an asset to our company" . This you should answer very carefully. 
  • " What are your strengths". In this tell about all your strengths. 
  •  " What are your weaknesses". Don't hesitate to tell anything and just be honest. 
  • " Are you ready to sign a bond"  This is like a trick question to check you. See, guys if want that job badly then don't show on face but gently answer yes to that question as they may not even send you to next rounds if you say no to this question or you seem hesitant answering this question.


CONCLUSION OF HR ROUND QUESTIONS:

You neither can be right nor wrong in the above section of question. This round is probably just conducted to know the candidate better and they wanted to just test you whether you are right for the company or not. I am not saying they will  not eliminate any candidates after this round as it may also happen that you maybe  not able to clear this round but chances are very less if you are applying for any technical post in a company. Just remember guys be honest with your answers and don't loose hope if you don't clear this round as maybe company required some thing else in their candidates. But be yourself always.

                               Photo by:Markus Spiske freeforcommercialuse.net from Pexels

TECHNICAL ROUND QUESTIONS:

This is the round where they test your technical knowledge of your subject. They just wanna know whether you would be able to handle the load of work in their company or they have to teach from from the beginning. This round usually decides your salary. They want their candidates to be technically sound. I will only discuss PHP interview related questions for freshers.
  • They may start like " Can you answer any array or string functions ".
  • " Can you break a string into an array"
  • " Can you make an array into a string"
**NOTE: Don't forget to read some string function. Try explode and implode functions as well


  • " Are you familiar with frameworks in php".
  • " Difference in function overloading and overriding".
  • "  Are you familiar with javascript". They ask this question because Javascript is in very demand in today's time.
  • If you say yes to previous question then they may go deep into that language so don't lie and if you know the language well then only answer yes otherwise say " NO SIR ".
  • " Tell about some loops ". After this they may give you some loops pattern printing questions to you.
  • " How to print image from the database".
  • " How to upload image into database".
Along with PHP they will check your knowledge about databases as well. As they will give you some MYSQL commands to you to solve. These commands may include:

         
Suppose you are given two tables as below



  • Now from these tables they can tell you to explain any question like " Write a query to fetch names of all students having marks greater than 65".
  • " Write a query to fetch name, last name of students having marks greater than 50".
  • " Write a query to fetch marks of students whose name starts with k".
  • "Write a query to fetch marks of students whose name ends with e".


  • " Write a query to show joins".
  • "Explain all the joins".
  • " Explain the difference in inner join and cascading". As this question may arise depend on what approach you follow to solve above queries i.e. cascading or join.
CONCLUSION OF TECHNICAL ROUND QUESTIONS:
All the above or related to above question are enough to prepare for technical round as if you answer all these questions correctly then they will get an idea that you have some knowledge of your field and if trained properly you can be an asset to their company.



MACHINE ROUND TASKS:

                                            Photo by :Startup Stock Photos from Pexels


This round is probably conducted after a technical interview round as its most probably the last round. It's purpose is mainly to check the logic and technical abilities of a person on the machine. As sometimes candidates may have some good theoretical knowledge of the subject and they may clear the technical round but they maybe not so good technically while working practically ( This happens really). 
So, In this round they may ask the candidate to execute some programs on the machines. They can be like this:


  • " Write a code to print the fibonacci series".
  • " Write a code to print a pattern". The pattern can anything like
       



                                           


**NOTE: I am not saying only the above pattern are necessary; not at all. What I am telling you guys is that the above pattern you must be aware of because these type of pattern solving companies expect from their candidates. 
  • " Write a code to print the armstrong number ". If you are able to do this using strrev function they also try to execute the code without any built-in function and with only loops.
  • " Fetch image from the database".
  • " Upload image into database".
  • They can ask you to show some OOPS concepts on machine as well. 
**NOTE: They can make you code on any coding platform. So try to have basic knowledge of all the platforms.
As during my machine test they made me code on Sublime and I was not aware of that platform. It was all same but the problem was that I use to code on online platforms and where I code I use "\n" for newline but this didn't work in sublime that day but I knew the <br> tag too which saved me that day. 
So, I am saying if any of this happen to you don't get nervous as all platforms have their own functionalities. So, if one function is not working try next as at least some will definitely work. 


CONCLUSION OF MACHINE ROUND INTERVIEW:

By performing great in this round you can boost your salary range. As if you perform up to mark then they will think they have to teach you less and you will learn quickly and in less time you can be an asset to the company and for that reason they may offer you handsome salary.

If you perform decent then your salary would be near to starting range of what range of salary they are offering.

So try to perform on higher note in this round.



 OVERALL CONCLUSION:

This article basically gives all of you an  idea of what kind of stuff happens during interviews for IT sector technical jobs ( I deeply specified the PHP developer job part but mostly all interviews have these rounds in common and only change in other interviews will be just the language part as it can be JAVA, C++ or any other. Rest will be  same ).

So, don't get nervous and just have believe on yourself before going to any interview( not only interview believe yourself throughout your life and be confident always).

Better be prepared before attending any interview.

Don't be overconfident ( as don't think only you can get the job as you are not aware of other's capabilities also) and just be confident( as think you can get the job).

Finally, ALL THE BEST  guys. Now go and crack the interviews and conquer your dreams.




No comments:

Post a Comment

Note: only a member of this blog may post a comment.