Interview Questions

Q:

What is severity and priority of bug? Give some example.

Answer

Priority: concern with application from the business point of view. It answers  How quickly we need to fix the bug? Or How soon the bug should get fixed?


Severity: concern with functionality of application. It deals with the impact of the bug on the application.


 

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2134
Q:

Can HTML 5 get the geographical position of a user?

Answer

- Yes, HTML 5 can get the location of a user with the use of Geolocation API.


- Use getCurrentPosition() method to get the user’s current position.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2134
Q:

What is the objective of Financial Reporting?

Answer

Financial Reporting involves the disclosure of financial information to the various stakeholders about the financial performance and financial position of the organization over a specified period of time. These stakeholders include – investors, creditors, public, debt providers, governments & government agencies.


Financial Reporting is very important and critical task of an organization. It is vital part of Corporate Governance.


 


The objectives & purposes of financial reporting :–


 


* Providing information to management of an organization which is used for the purpose of planning, analysis, benchmarking and decision making.


 


* Providing information to investors, promoters, debt provider and creditors which is used to enable them to male rational and prudent decisions regarding investment, credit etc.


 


* Providing information to shareholders & public at large in case of listed companies about various aspects of an organization.


 


* Providing information about the economic resources of an organization, claims to those resources (liabilities & owner’s equity) and how these resources and claims have undergone change over a period of time.


 


* Providing information as to how an organization is procuring & using various resources.


 


* Providing information to various stakeholders regarding performance management of an organization as to how diligently & ethically they are discharging their fiduciary duties & responsibilities.


 


* Providing information to the statutory auditors which in turn facilitates audit.


 


* Enhancing social welfare by looking into the interest of employees, trade union & Government.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2133
Q:

What is separation in HRM?

Answer

Separation of an employee exists when the service of an employee comes to an end because of one reason or other. "Separation of employment" refers broadly to the process of managing the termination of employment. It is a sensitive issue for any organization. 


 


Types of separation:


 


1) Volunntary:


a) Resignation
b) Job abandonment
c) Retirement


 


2) Involuntary:


a) Layoff
b) Dismissal
c) Plant closure
d) Death or Disability.

Report Error

View answer Workspace Report Error Discuss

1 2130
Q:

What is the difference between path and classpath?

Answer

Path contains path of .exe files(commands).


Classpath contains path of packages. packages can be stored in folder or .jar files

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2127
Q:

Define stored procedure. What are its advantages and disadvantages?

Answer

A stored procedure is a segment of declarative SQL statements stored inside the database catalog. A stored procedure can be invoked by triggers, other stored procedures or applications such as Java, C#, PHP, etc.


Advantages 



- Typically stored procedures help increase the performance of the applications. Once created, stored procedures are compiled and stored in the database. However MySQL implements the stored procedures slightly different. MySQL stored procedures are compiled on demand. After compiling a stored procedure, MySQL puts it to a cache. And MySQL maintains its own stored procedure cache for every single connection. If an application uses a stored procedure multiple times in a single connection, the compiled version is used, otherwise the stored procedure works like a query.


- Stored procedures helps reduce the traffic between application and database server because instead of sending multiple lengthy SQL statements, the application has to send only name and parameters of the stored procedure.


- Stored procedures are reusable and transparent to any applications. Stored procedures expose the database interface to all applications so that developers don’t have to develop functions that are already supported in stored procedures.


- Stored procedures are secure. Database administrator can grant appropriate permissions to applications that access stored procedures in the database without giving any permission on the underlying database tables.


Disadvantages


- If you use a lot of stored procedures, the memory usage of every connection that is using those stored procedures will increase substantially. In addition, if you overuse a large number of logical operations inside store procedures, the CPU usage will also increase because database server is not well-designed for logical operations.


- A constructs of stored procedures make it more difficult to develop stored procedures that have complicated business logic.


- It is difficult to debug stored procedures. Only few database management systems allow you to debug stored procedures. Unfortunately, MySQL does not provide facilities for debugging stored procedures.


-It is not easy to develop and maintain stored procedures. Developing and maintaining stored procedures are often required specialized skill set that not all application developers possess. This may lead to problems in both application development and maintenance phases.

Report Error

View answer Workspace Report Error Discuss

0 2124
Q:

How to call argument constructor?

Answer

new ClassName( arg1, arg2, .... argN);


Ex:


Class sample {


   Sample(int a) {


   System.out.println("arg con a =" +a);


   }


}


class Demo {


    Public static void main( String[] args) {


     Sample s1= new Sample(23);


     Sample s2= new Sample(45);


    }


}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2124
Q:

What is local class?

Answer

Local class is class defined inside method


EX;


class A { // top level class


  public static void main(string[] args) {


   class B { // local class


   }


}


}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2123