Interview Questions

Q:

What is the purpose of Buffer class in Node.js?

Answer

Buffer class could be a global class and may be accessed in application without importing buffer module. A Buffercould be a quite an array of integers and corresponds to a raw memory allocation outside the V8 heap. A Buffer can not be resized.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 3244
Q:

Describe Bottom-Up and Top-Down approach in Testing.

Answer

Bottom Up Approach:


The bottom up approach testing approach is carried out with the help of the test driver. The test driver calls a component to be tested.


The modules in the lower level of call hierarchy are tested independently. Then the next level modules are tested that call previously tested modules. This is done repeatedly until all the modules are included in the testing.


Bottom up testing stops when the top module in the call hierarchy is tested with all lower call hierarchy modules.


 


Top Down Approach:


The top down approach is carried out with the help of the test stub. Test stub are the dummy programs. The Stub is called from the software component to be tested.


Tests top layer of controlling subsystem first. Then combine modules that are called by the tested modules and test resulted collection of modules.


Do this until all the modules are combined and tested.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

1 3242
Q:

What is a linked server in SQL server?

Answer

It enables SQL server to address diverse data sources like OLE DB similarly. It allows Remote server access and has the ability to issue distributed queries, updates, commands and transactions.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 3235
Q:

What is a PL/SQL package? what are its Advantages ?

Answer

A package is a collection of related PL/SQL objects. The package contains a body and a specification. The package specification has the declaration which is public and can be used in the PL/SQL sub programs inside the package.


The package body holds the implementation of all the PL/SQL objects declared in the specification.


Example of a PL/SQL Package.


CREATE OR REPLACE PACKAGE emp_data AS 


PROCEDURE add_employee (


      ename VARCHAR2,


      job VARCHAR2,


      mgr NUMBER,


      sal NUMBER,


      deptno NUMBER);


END emp_actions;


 


CREATE OR REPLACE PACKAGE BODY emp_data AS 


PROCEDURE add_employee (


       ename VARCHAR2,


       job VARCHAR2,


       mgr NUMBER,


       sal NUMBER,


       deptno NUMBER) IS


BEGIN


         INSERT INTO emp VALUES (empno_seq.NEXTVAL, ename, job, mgr, SYSDATE, comm, deptno);


END add_employee;


END emp_data;


Advantages of  PL/SQL packages :


Packages are easier for application designing, encapsulating data, additional functionality and better performance. An application has various modules which can be placed in packages and handled easier.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 3234
Q:

Who is a more senior creditor, a bondholder or stockholder?

Answer

According to the classification, the claim of bond holder should be accounted first. After fulfilling all the claims of bond holder company should look after the stock holder.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

0 3227
Q:

How to upload struts file in DHTML?

Answer

The interface org.apache.struts.upload.FormFile is used for the struts file upload application. This interface represents a file that has been uploaded by a client. It is the only interface or class in upload package which is typically referenced directly by a Struts application.


This is not specific to Struts in case of DHTML but the two things that are needed in DHTML page is: first, the form needs to specify an enctype of multipart/form-data and second an <input> form control of type file.


Following are the steps to load file in DHTML:


- Creating a bean


- Writing the ActionClass.


- Mapping the bean in struts-config.xml


- Defining actionmapping


- Developing the DHTML page.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

1 3226
Q:

What gross data rate does GPRS provide?

Answer

- GPRS provide gross data rate of 22.80 KBPS / time slot
- Voice uses only 13KBPS/ time slot and the rest is consumed by Error Correction Code
- Error connection code is utilized for detecting and correcting the transmission errors
- As voice is compressed, the usage of Error connection code is mandatory

Report Error

View answer Workspace Report Error Discuss

3 3221
Q:

What is Bex (Business Explorer) ?

Answer

Bex stands for Business Explorer. Bex enables end user to locate reports, view reports, analyze information and can execute queries. The queries in workbook can be saved to there respective roles in the Bex browser. Bex has the following components: Bex Browser, Bex analyzer, Bex Map, Bex Web.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 3219