Interview Questions

Q:

Explain Superglobal variables in PHP .

Answer

To access the global data which is originating externally, the super globals are used. The superglobals are available as arrays. These superglobals represents the data from URLs, HTML forms, cookies, sessions and also the web server. For this purpose, $HTTP_GET_VARS, $HTTP_POST_VARS are used. The super globals are pretty good enough to be used in functions. The following are the list of super globals.


$_GET, $_POST, $_COOKIE;$_REQUEST, $_SERVER, $_SESSION, $_ENV, $_FILE


Another PHP Superglobal, called $GLOBALS; is available for persisting every variable with global scope.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 4715
Q:

Which command displays memory usage in linux?

A) Top B) Free
C) Buffer D) Swap
 
Answer & Explanation Answer: B) Free

Explanation:

Free command displays memory usage in linux.

Report Error

View Answer Report Error Discuss

9 4696
Q:

What are the two types of fields available in IMS DB?

Answer

Key Fields - (PROCOPT=K)


- Used to sequence the database and can't be changed


- It is the field within a segment, used to identify the occurrence of the segment


- Used to maintain the IMS segments in ascending sequence.


 


Search Fields - (PROCOPT=G)


- Used to search for a segment, without the segment being sequenced on that field


- A segment need not have a key or search field.


 


Both types of fields can be used to search the database.

Report Error

View answer Workspace Report Error Discuss

0 4690
Q:

Have you ever been in a situation where significant change was made to your team, department or organisation? How did you adjust?

Answer

The purpose of this question is to check your adaptability and flexibility. Did you feel victimized?


Answer this question by mentioning the change that was made but the main focus should be on how you adjusted in that situation and the results you achieved afterwards.


For example you can say something like, “Being an early joiner in the marketing team, I opened a lot of new customer accounts. Over the time the team grew and we had more people in the team opening more accounts. At one point of time, we had to re-distribute the accounts area wise so that a particular territory can be allotted to each one of us. This re-distribution meant loss of my high performing accounts and a requirement to develop new accounts in the assigned territory. Initially, it looked difficult but I could understand the need for this re-distribution and saw more opportunities for the company and myself. I introduced my colleagues to the old accounts I held and started strategizing for better ways to tap the new territory. Within 6 months, I could develop 50 new accounts with the help of new strategy. Usually we would achieve this result in 9 months to a year.”

Report Error

View answer Workspace Report Error Discuss

Subject: Human Resources

7 4685
Q:

What operator tests column for the absence of data?

A) NOT operator B) IS NULL operator
C) EXISTS operator D) All of the above
 
Answer & Explanation Answer: B) IS NULL operator

Explanation:

SELECT "column_name"


FROM "table_name"


WHERE "column_name" IS NULL.

Report Error

View Answer Report Error Discuss

1 4682
Q:

What is ILOC (Irrevocable Letter Of Credit) ?

Answer

It is a letter of credit or a contractual agreement between financial institute (Bank) and the party to which the letter is handed. The ILOC letter cannot be cancelled under any circumstance and, guarantees the payment to the party. It requires the bank to pay against the drafts meeting all the terms of ILOC. It is valid upto the stated period of time. For example, if a small business wanted to contract with an overseas supplier for a specified item they would come to an agreement on the terms of the sale like quality standards and pricing, and ask their respective banks to open a letter of credit for the transaction. The buyer’s bank would forward the letter of credit to the seller’s bank, where the payment terms would be finalized and the shipment would be made.

Report Error

View answer Workspace Report Error Discuss

Subject: Bank Interview

1 4679
Q:

How can you make sure the web application is fit for release ?

Answer


1. We can operate majority of test cases, but importantly we can make use testing techniques such as Pair-wise testing to reduce combinations, and/or model based testing to plan user journeys to ensure major functionality of web application works or not.


2. We can also use analytics to get insight into what users do on the website, which page is most popular and which feature is most used by the users.



Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

9 4654
Q:

Why interface data is public?

Answer

to access non-public data outside class getter methods be defined but we cannot define a  method inside interface we can declared a method inside interface.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 4652