Interview Questions

Q:

How can we increase the execution time of a php script?

Answer

By the use of void set_time_limit(int seconds)


Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini. If seconds is set to zero, no time limit is imposed.


When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout is the default 30 seconds, and 25 seconds into script execution a call such as set_time_limit(20) is made, the script will run for a total of 45 seconds before timing out.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2998
Q:

What is onshore outsourcing?

Answer

When a business process is outsourced from a company in one country to another company in the same country – it is called onshore outsourcing.

Report Error

View answer Workspace Report Error Discuss

Subject: Call Center

7 2996
Q:

Define a temp table.

Answer

In a nutshell, a temp table is a temporary storage structure. It means you can use a temp table to store data temporarily so you can manipulate and change it before it reaches its destination format.


In table_user.gender column change ‘male to female’ and ‘female to male’ in one SQL statement.


UPDATE table_user


SET gender =


CASE gender


WHEN ‘male’ THEN ‘female’


WHEN ‘female’ THEN ‘male’


ELSE gender


END

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

1 2995
Q:

Which JavaScript objects are not accessible to web worker?

Answer

Following JavaScript objects are not accessible to web worker: 


- The window object


- The document object


- The parent object

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2991
Q:

If an array with name as "names" contain three elements, then how will you print the third element of this array?

Answer

Print third array element document.write(names[2]);

Note:- Array index starts with 0.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2988
Q:

What is salary TDS?

Answer

Means whatever income any employee received from the organisation and on that tax to be deducted. (e.g. Gross salary, Overtime, Bonus, Incentives etc.)

Report Error

View answer Workspace Report Error Discuss

0 2987
Q:

Which namespaces in .NET are used for XML?

Answer

The System.xml.dll is the real physical file, which contains the XML implementation. Some of the other namespaces that allow .NET to use XML are as follows:


    


      =>  System.Xml

      =>  System.Xml.Schema

      =>  System.Xml.XPath

      => System.Xml.Xsl

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 2985
Q:

Higher Quality Scores typically result in

A) faster delivery of daily budget B) higher costs and lower ad positions
C) lower costs and better ad positions D) less overall impressions
 
Answer & Explanation Answer: C) lower costs and better ad positions

Explanation:

Higher Quality Scores typically result in lower costs and better ad positions. Quality Score is Google's rating of the quality and relevance of both your keywords and PPC ads. It is used to determine your cost per click (CPC) and multiplied by your maximum bid to determine your ad rank in the ad auction process.

Report Error

View Answer Report Error Discuss

Filed Under: Advertising and Media
Job Role: Analyst , IT Trainer

0 2980