Friday, June 8, 2012

HCL interview questions for PHP

HCL interview questions for PHP



1.what is ajax?
2.different response types in ajax?
3.different states 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?

1 comment:

There was an error in this gadget