Interview Questions

Q:

What is the difference between PHP and JavaScript?

Answer

The difference lies with the execution of the languages. PHP is server side scripting language, which means that it can’t interact directly with the user. Whereas, JavaScript is client side scripting language, that is used to interact directly with the user.


 

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2419
Q:

Explain the validation controls. How many validation controls in ASP.NET 4.0?

Answer

Validation controls are responsible to validate the data of an input control. Whenever you provide any input to an application, it performs the validation and displays an error message to user, in case the validation fails.

ASP.NET 4.0 contains the following six types of validation controls:

   => CompareValidator - Performs a comparison between the values contained in two controls.
   => CustomValidator - Writes your own method to perform extra validation.
   => RangeValidator- Checks value according to the range of value.
   => RegularExpressionValidator - Ensures that input is according to the specified pattern or not.
   =>  RequiredFieldValidator - Checks either a control is empty or not.
   => ValidationSummary - Displays a summary of all validation error in a central location.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2417
Q:

What are your weaknesses?

Answer

What are your weaknesses?


This is a very common interview question for many jobs across industries. Most people feel Answering strengths is easy but weaknesses is difficult. If approached the right way this question will give you chance to build trust. You have 3 options/approaches to answer this question. 


1. Deny having any weaknesses. This approach is least common and surely not the way to go.


2. Spin a Weakness into a strength. Like, "I'm a perfectionist" or "I care too much"


Note - This is very common approach and some interviewers think you are not being honest. 


3. Give an honest answer (Recommended). Answer the question honestly without shooting yourself in the foot. 


E.g. My weakness is public speaking, I am working on it. Ofcourse make sure this is not the primary requirement of the job. 

Report Error

View answer Workspace Report Error Discuss

3 2416
Q:

How do you handle errors in CICS programs?

Answer

Check EIBRESP after the call or use the HANDLE condition.


 

Report Error

View answer Workspace Report Error Discuss

0 2415
Q:

What is correlated query? Explain its uses.

Answer

In a correlated query, the outer query is related to the inner query. This means one or more columns in the outer query are referenced. It’s used when the outer queries value is being used by inner query. For example, we need to find which employee had more perks in the current month than they did in the previous month. The correlated subquery is executed for each row of perks information in the parent query to first determine what the perks were for each employee in the previous month. This data, in turn, is compared to perks for each employee in the current month, and only those employees whose perks in the current month were greater that their previous month's perks are returned.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2415
Q:

How long can you commit to work with us?

Answer

I like new challenges and fortunate to develop. As long as I keep doing these, I don’t think I’ll need to alter. I’d like to consider that this relationship lasts for many years. However, I haven’t set a period of time limit as such.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Human Resources

3 2414
Q:

Can a class be declared as protected?

Answer A class can't be declared as protected. only methods can be declared as protected.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2414
Q:

In terms of DB2 indexing, what is the root page?

Answer

The simplest DB2 index is the B-tree and the B-tree's top page is called the root page. The root page entries represent the upper range limits of the index and are referenced first in a search. 


 

Report Error

View answer Workspace Report Error Discuss

0 2412