Interview Questions

Q:

What is Thread ?

Answer

A thread is a lightweight subprocess, a smallest unit of processing. It is a separate path of execution. It shares the memory area of process.



As shown in the above figure, thread is executed inside the process. There is context-switching between the threads. There can be multiple processes inside the OS and one process can have multiple threads.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2079
Q:

What report are provided to accounting dept. from payroll every month? What reports are generate at end month, qtr & year end in payroll dept?

Answer

For making accounting entries the accounting dept will need the total transactions of the particular payroll run grouped into various expenditure/liability/Income items like salary,loans,ees pension,ers pension,tax, PF/NI etc. This information should be employee wise & relevant cost center of the employee(in a large organisation).

Mostly payroll will have expenses/liabilities only. Few payrolls might have Income also.

To be specific to the reports bit of your question following reports are produced

1) Net pay reconciliations report
2) Deductions report comprising all voluntary and non voluntary deductions
3) Payments report
4) Costing report
5) Exceptions report
6) High pay salary report
7) No pay salary report

Report Error

View answer Workspace Report Error Discuss

0 2078
Q:

What needs to be taken into consideration to host a website?

Answer

- To host a website a platform needs to be decided using which the hosting can be made simpler. 


- The specification needs to be determined before hosting the website and choosing the hosting platform. 


- The choice of operating system needs to be clear in choosing the website hosting services and the resources that the particular hosting platform requires need to be known. 


- The web hosting platform requires lots of services that need to be decided before hosting the website on the web.


- The space and the cost need to be kept minimum and according to that the choice has to be made between hosted or shared platforms.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2077
Q:

Can Manual Testing be completely replaced by Automation Testing?

Answer

Automated testing cannot replace manual testing because of following reason:


 


- Automated testing cannot replace the analytical skills required to conduct testing. It can only enhance or supplement manual testing,


- Through manual testing, information can be gathered about the application, and real-time decisions can be made about how to enhance a test that would be too difficult to program into an automated script.


- We need a manual tester to analyze and maintain the automated scripts after they can run.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2070
Q:

What is Constructor?

Answer

Constructor is not a special method.


Constructor is block of code that is executed automatically whenever object of the class is created.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2067
Q:

Which cost is an example of a variable cost?

A) raw materials B) raw materials
C) labor D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Variable costs are expenses that vary in proportion to the amount of goods or services that a business produces. 

Examples of variable cost include labor, packaging and raw materials.

Report Error

View Answer Report Error Discuss

Filed Under: Finance
Exam Prep: Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2065
Q:

How do you traverse through a collection using its Iterator?

Answer

To use an iterator to traverse through the contents of a collection, follow these steps:


- Obtain an iterator to the start of the collection by calling the collections iterator() method.


- Set up a loop that makes a call to hasNext(). Have the loop iterate as long as hasNext() returns true.


- Within the loop, obtain each element by calling next().

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2065
Q:

What are the Advantages of PL/SQL?

Answer

- Because of the block nature, multiple statements are processed at once thereby improving performance. 


- PL/SQL handles exceptions on catching which, action can be taken. 


- PL/SQL is highly portable as it works with all procedural languages and is highly secured because of privileges.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2065