Saturday, January 8, 2011

HCL interview questions for PHP

Hello recently HCL is hiring PHP people for their client(YAHOO).When i got a interview call i googled a lot for PHP HCL INTERVIEW QUESTIONS but I got nothing.Hope this blog will help some of the people like me.Iam not providing answers here as you can google it.If somebody need answers plz comment.Here are the interview questions which myself and some of my friends faced in HCL Bangalore location.They will ask the same questions to every one.

NOTE: IF YOU ARE EXPECTING MORE FROM ME MENTION IT IN YOUR COMMENTS.


1.what is ajax?
2.different states in ajax?
3.different response types in ajax?
4.what is json?
5.how to parse json response data?
6.how do u place two div elements side by side?
7.how do u place two images one on another?
8.stored procedures?
9.diff b/w echo and print?
10."sk.aariz@gmail.com" how to get the string b/w two dots(.) using php string functions?
11.what is shift operator?
12.what is array_shift?
13 .what is array_unshift?
14.array_combine().
$array1 = (a=>abc,a=>bc,a=>ac,a=>abcd);
$array2 = (azaad,aariz);
what ia the o/p of array_combine()?
15.how to override inline css with external css?
16.how will you validate input data in javascript and in php?(cross site scripting)
17.echo print('hello'); what is the o/p?
18.CSS sprite technique?
19.document types in html?
20.Difference between HTML and DHTML?
21.How willa create the following layout using div's?
22.what is the difference between padding and margin?
23.I have two iframes in a page how can I pass variables of one frame to another using javascript?
24.Explain singleton pattern?
25.What is Encapsulation?How will you achieve that in PHP?
26 What is load balencing? How will you do it?
27.How will you pass sessions from one server to another?
28.What is opcode & opcode cache?
29.How will you fix cross browser issues for CSS and JAVASCRIPT?
30.Is there any place in your project where the application is running slow?How will you fix that?
31.What is CSS sprite technique?
32.AJAX states?
33.In which variable you will get the response states?
34.What are environment variables.
35.Difference between PHP4 and PHP5?
36.How will you improve the page performence in front-end(front-end caching)?
37.Diff between a div teg and a span tag?
38.Explain CSS box model?
39.What is cascading?
40.Separating a number from a string using javascript?
41.CSS hacks?
42.What are access specifiers in PHP?
43.Diffenrece between Abstract class and Interface?
44.What are the different mysql Engines?
45.What is a persistance cookie?
46.What is static keyword?
47.Different query optimization techniques?
48.Inheritance in Javascript?
49.Difference between visibility :hidden and display:none?
50.XHTML Rules?
51.How will you optimize php applications?
52.What are the properties of CSS "position" ?
53.Different types of joins in mysql?
54.How will you find whether your browser supports cookies using javascript?
55.


How will you get student name and total marks of a first rank student?

56.


one employee can take interview to any number of candidates.How will you get count of candidates an employee taken interview?

22 comments:

  1. Thanks yaar..if u got more please forward it to me..

    ReplyDelete
  2. Dear Friend
    I have a interview on this saturday in HCL. Can you give me more tips to clear this interview. If i clear this interview i can work for Yahoo. Help me by giving some tips.
    I will read your question now..thanks

    ReplyDelete
    Replies
    1. Were you asked the same questions as mentioned on the blog?

      Delete
  3. Hi, Here is the answer for 55

    SELECT s.name, (
    m.m1 + m.m2 + m.m3 + m.m4
    ) AS total
    FROM student s
    LEFT JOIN marks m ON s.id = m.stdid
    ORDER BY total DESC
    LIMIT 0 , 1

    ReplyDelete
  4. Here is the answer for 56

    SELECT name, count( i.candidate ) as total
    FROM employee e
    JOIN interview i ON e.id = i.empid
    GROUP BY i.empid

    ReplyDelete
    Replies
    1. Were you asked the same questions mentioned on the blog?

      Delete
  5. thank u so much... need few more answer for 7,13,15,16,23,27,29,30,36,54

    ReplyDelete
  6. Thanks for posting this..

    Really like this blog.. having interview on tomorrow. I am so nervous.. Please advice me to get selected.. :)

    Thanks, Sham.

    ReplyDelete
  7. NO need to worry about the interview.If you have a reference you are in.

    ReplyDelete
  8. 6 months Industrial Training at HCL in Delhi for BE, BTECH, MCA, BSC students

    HCL the real Software giant offers Limited seats for Industrial training in New Delhi.

    The LIVE project training module of our course can make a huge difference to your profile and career prospects. So don't settle for the second-best. Choose WINNERS ie

    HCL

    The Last Semester Project Training for Btech, MCA & others can be done at HCL.

    Training at HCL brings you directly intouch with industry experts & sets the right base for leading vendor certification. Our alliance with leading IT corporations

    such as MICROSOFT, RED HAT, JAVA & ORACLE provides us with valuable input for IT education

    Eligibility - MCA / B. Tech./B.C.A /B.E /MSC (IT & CS).

    Period of Training :- 6 months, 6 weeks, 45 Days, 60 Days, 90 Days and 120 Days, 6 months.

    Industrial Training will include: Learning, Training, Case study, Presentations, Problem solving and Live Project Scenario.

    Topics for Summer Training and Internship with project

    1. Networks & Networking
    2. Dot Net & Microsoft Technologies (ASP, ASPX, VB etc)
    3. Java, Adavance Java, J2ee
    4. SQL /Oracle
    5. Linux & Red Hat (RHCE, RHEL)
    6. MCSE/ MCITP
    7. CCNA /CCNP
    8. MCITP
    9. Exchange Server
    10. Android
    11. PHP
    12. Embedded Systems & Design

    On successful completion of Project Training, HCL will issue Certificate of Completion.

    The candidates who are eligible and selected for Project Training would be undergoing this training in HCL Career Development Centre, South Extension, NEW DELHI

    LIMITED SEATS For 45 Days, 8 weeks, 2 months, 6 months and 6 Weeks Project training for Btech, MCA, BCA, BSc IT, MSc IT, Polytechnic, etc


    HCL, E-78, South Extension-1 , NEW DELHI
    Call 0-9582999346/45/48, 0-9818112118
    or Email southextension@hclcdc.in

    Group Booking or College Groups- 0-9818112118

    ReplyDelete
  9. Thepathfinder is a leading academy in Delhi NCR for GATE , CSIR - NET , DBT , ICMR, Biotechnology Entrance Exam , GATE - Life Science , Net Life Science Correspondence , CSIR Life Science Correspondence , JRF Life Science Book , JRF Life Science Coaching and so on.

    GATE coaching

    ReplyDelete
  10. Organicseomarket provide best services in buy high pagerank backlinks, high pagerank backlinks , directory submission ,Link building packages , social bookmarking, seo services,buy high PR Backlinks.
    Buy High PageRank BackLinks

    ReplyDelete
  11. Thanks a lot for providing architecture understanding, It will help to understand the core of AngularJS & PHP especially beginner like me. Thanks Buddy, Keep rocking

    ReplyDelete
  12. Thanks for the informative article. This is one of the best resources I have found in quite some time. Once Again Thanks for Sharing this Valuable Information i like this i Can Share this with My Friend Circle.
    PHP Interview Questions and Answer

    ReplyDelete
  13. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. This paragraph gives clear idea for the new viewers of blogging, Thanks you. You’re doing a great job Man, Keep it up.
    PHP Interview Questions and Answers for Fresher

    ReplyDelete
  14. Thanks for sharing such a nice information with us. Very useful lines and to the point.

    PHP-MySQL | Interview Sortout

    ReplyDelete

  15. Thanks for sharing the knowledgeable stuff to enlighten us no words for this amazing blog.. learnt so many things I recommend everyone to learn something from this blogger and blog.. I am sharing it with others also
    IT Software Training in Chennai | Python Training in Chennai | Dot Net Training in Chennai |Android Training in Chennai | J2ee Training in Chennai

    ReplyDelete
  16. Lucky Club Casino Site
    Lucky Club casino site is a top in the UK with a great selection of games for every occasion of our life, from table games to the latest promotions and Live casino: Play at Lucky Club Casino with more than 50 online luckyclub.live slots, table games and Live dealers: 24/7 Live streaming: 24/7 live roulette & more than 500 live dealers Rating: 4.4 · ‎45 votes

    ReplyDelete