Interview Questions

Q:

What is the use of $_Server and $_Env?

Answer

$_SERVER and $_ENV arrays contain different information. The information depends on the server and operating system being used. Most of the information can be seen of an array for a particular server and operating system. The syntax is as follows:


foreach($_SERVER as $key =>$value)


{ echo “Key=$key, Value=$value\n”; }

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2505
Q:

Explain some of the commonly used Predefined PL/SQL Exceptions.

Answer

1)Divide by zero        – This is raised when any number is attempted to divide by zero.


2)TOO MANY ROWS   - A SELECT INTO statement returns more than one row.


3)CASE_NOT_FOUND - No choice in the WHEN clause of a case statement is selected.


4)LOGIN_DENIED      - An attempt to login with an invalid username or password.


5)PROGRAM_ERROR  - An internal PL/SQL problem.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2504
Q:

How do you handle conflict?

Answer

When responding to conflict resolution questions, answer with confidence since you're being considered for a supervisory position where you will frequently be required to work in teams, delegate responsibilities, and handle difficult problems.


The following is an effective way to answer conflict resolution questions:


Before proposing a solution, I collect all relevant facts surrounding the conflict. Conflicts are often resolved if sufficient time is devoted to determining root causes, while disregarding trivial or irrelevant facts.


An effective answer can also be supplemented with the following response:


When resolving a problem between employees, I serve as a neutral third party. When needed, I establish rules of conduct. For an organization to operate efficiently, employees must be on the same page. At most organizations, bad feelings exist among some employees, so a manager is responsible for ensuring that employees are placed in situations where they're comfortable to focus on their job responsibilities. In other words, employees must be situated around others they can work with so productivity is not affected.

Report Error

View answer Workspace Report Error Discuss

6 2504
Q:

Why Did You Leave Your Last Job?

Answer

The Best way to answer this question:


Be honest but stay positive.  Of course, your answer should be based on the real reason you left, but put a positive spin on it. That means, you should try to frame your honest answer in the most positive way possible.Do not lie, be truthful and honest but do not be harsh on a previous employer. So answer truthfully while at the same time NOT talking about the company or staff in a negative light. More info on why you left a job would help to give applicable suggestions. You TELL them why you left! .  Make it sound as positive as possible though. Put the reason you are no longer at your last job in your question. Unless you were laid off or the company had relocated you too far, just say "it's a career move." It's better not to go into the specifics. Always keep in mind that your  interviewer is looking for a positive, motivated, hard-working candidate. No potential employer wants to hear your gripe about a prior boss or talk poorly about a previous employer. She or he wants to hear about your potential as a superstar at the position you are seeking.

Report Error

View answer Workspace Report Error Discuss

6 2503
Q:

List the advantages of inheritance

Answer

- Inheritence permits code reusability. 


- Reusability saves time in program development. 


- It encourages the reuse of proven and debugged high-quality software which reduces the problems after a system becomes functional.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2502
Q:

How can visual basic be used for server side scripting?

Answer

Visual basic can be used for server side scripting. A component designed with Visual basic will not have any user interface instead provides the functionality of Active X to other programs via COM. This form of technique allows server side functionality and add in module.

Report Error

View answer Workspace Report Error Discuss

0 2501
Q:

What do you mean by multiple inheritance in C++ ?

Answer

Multiple inheritance is a feature in C++ by which one class can be of different types. Say class teaching Assistant is inherited from two classes say teacher and Student.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2501
Q:

What is inheritance?

Answer

Inheritance is the ability to create new classes based on existing classes. It is useful to reuse existing code.

Report Error

View answer Workspace Report Error Discuss

0 2501