Interview Questions

Q:

Differentiate between localStorage and sessionStorage objects.

Answer

- localStorage object stores the data without an expiry date while sessionStorage object stores the data only for one session. 


- With localStorage object, data will not be deleted when the browser window is closed while the data is deleted when the browser window closes with sessionStorage objects.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2467
Q:

Do you work well under pressure?

Answer

In most cases, the best answer to this question is answering yes. Working well under pressure is a good trait to have. However, I think if you answer that you work the same with pressure and without pressure, the interviewer will be more impressed. However, you will need to explain in words why this is better. Here are some of my answers.


1. "I work well under pressure because I use the pressure to help me work more efficiently."


2. "I enjoy working under pressure because I believe it helps me grow. In my previous experience, I always worked well during deadlines, and I always learned how to work more efficiently afterwards."


3. "I work well under pressure because I don't panic. I maintain self control and work as efficiently as possible. In all my experiences, I did well and I always enjoyed the experience."

Report Error

View answer Workspace Report Error Discuss

1 2465
Q:

What are the different functions in sorting an array?

Answer

sort() , rsort(), asort()
ksort()   , usort()
arsort()  , uksort()
natsort() , natcasesort()
array_multisort()

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2462
Q:

What are the different types of components involved in URI?

Answer

URI is known as Uniform Resource Identifier as it identifies the resources requested by clients and fetches them from the server. 


The components that are used in URI are as follows:


- http: is the first thing that is used in a URL and it is used to tell what kind of resource that needs to be retrieved over the server.


 This includes the server details and it is itself a protocol known as Hypertext Transfer Protocol (HTTP) that is used to fetch the information. 


- Web browsers sometimes use the secure protocol that is represented using HTTPs used in case of secure transaction over the internet. 


- FTP: is also a protocol that is known as File Transfer Protocol that allows the transfer from a file from local computer to server

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2460
Q:

What does it mean if the null indicator has -1, 0, -2?

Answer

 -1 indicates the field is null


 0 indicates the field is not null


 -2 indicates the field is truncated

Report Error

View answer Workspace Report Error Discuss

0 2458
Q:

What is Internal marketing?

Answer

Internal marketing is the process of motivating and empowering the employees of a company to work as a team for the overall well-being of the customers and thereby the company itself. This is actually the core to succes of a company. A harmonised effort  within the company is an utmost necessity to provide customers with services at a desired level. If a firm doesn't deliver the service it promises in its marketing campaign, it will fail for sure. And it only can keep that promise when all of its employees at all levels realise what actually it is going to deliver. 

Report Error

View answer Workspace Report Error Discuss

0 2456
Q:

What File system is supported by Windows XP?

Answer

Windows XP supports four major file systems: FAT12, FAT16, FAT32 and NTFS. This means that Windows XP can be installed on these file systems. The use of NTFS is preferred especially when using a bigger hard drive space.

Report Error

View answer Workspace Report Error Discuss

0 2455
Q:

Difference between Java Beans & Servlets?

Answer

java bean is a reusable component, where as the servlet is the java program which extends the server capability. 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

2 2455