Upload Share and Earn

Thursday, September 13, 2007

PHP Interview Questions From yahoo

Hi Guys,

You all might be busy with your work. I hope this will be useful
information for you all. Following are the questions asked in the
interview of Yahoo!, last sunday.

PHP
----
1. Differences between sessions and cookies
2. Disadvantage of sessions
3. How to upload file using Get method
4. What is the max size of post method
5. How to store sessions in database
6. "a_b_2_3__5_ 6_8_a_b_2_ 4" given as a string Explode it
using Underscrore and find out unique alphanumeric existences and
their no.of occurences
7. Explain DB.ini file configuration in PHP
8. Registar_globals
9. connect,pconnet differences
10. setting php configurations dynamically
11. Soap Vs Rest
12. Error handling when an object calls an function which is not
existing in class
13. Implementation of Destructors in PHP4
14. In php5, in a class
__construct( ) is one method and another method name same as class name
Which will be called when object is intialized
15. Writing Code snippet for Stack implementation using OOPs.

Javascript
-----------
1. OOPs(inheritence and polymorphism) implementation in Javascript
2. Implement Trim functionality in javascript
3. Explain different types of objects(Native ,Host and user Defined) in
javascript
4. Try to extend Trim() method on String object
5. Explain all parameters of Window.open( )
6. How to avoid Permission denied error when child window accesses
parent window's elements.
7. Enabling and disabling Client's cookie settings using javascript
8. Write code snippet for managing the size of text area so that it will
not get scrollbar
(with DOM and without DOM)

HTML
----
1. Span vs Div
2. InnerHTML explanation
3. Form tag properties while uploading file
4. Frames vs Iframes
5. W3standards
6. How do you implement Search engine optimization Using HTML

CSS
----
1. #txt and .txt diffences
2. Order of preference for differnt types of CSS(inline,external etc.)
3. How to avoid scrollbar for textarea

Database
---------
1. Explain SQL Query processing
2. Explain Analyze option
3. Getting 10 to 20 records in mysql
4. Query to alter the data type of a field
5. Backup and Restore of Mysql database
6. Mysql 4 vs Mysql 5
7. Normal Forms
8. Employee table(empid, name,deptid, sal)
Query to retrive the details of employees who are having sal more
than the average of their dept sal
9. Inner join Vs Outer Join
10. Unique key vs. Primary key
11. Triggers in Mysql

Linux
------
1. How to monitor currently running processes in linux/unix
2. How to send a process to background[Atleast Three commands]
3. How to change the priority of processes
4. How to see the lists of services running currently
5. How to stop an user to connection to linux with ssh
6. How to reset root password
7. Installing PHP,apache and Database
8. How do you add modules to php(like gdlibrary) in windows and linux
9. How to see the ip address of linux system as normal user
10. what are the tools you use for file upload and ssh connection for linux

Apache
------
1. Virtual hosting
2. How to run apache on 2 or more ports at a time
3. What is directory index
4. How do you control no.of connections to webserver through apache settings
5. What is the default port of apache

Regards
Saikumar

No comments:

 
eXTReMe Tracker