Interview Questions

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 3341
Q:

What are string functions in VBScript?

Answer

Asc() - Returns ANSI Character Code 


Chr() - Returns Character from ANSI Code 


InStr() - Find a string within another 


InStrRev() - Find a string within another (Reverse) 


LCase() - Convert a string to lowercase 


Left() - Crops a string from left 


Len() - Determine the length of a string 


LTrim() - Remove leading spaces from a string 


Mid() - Crops a string 


Replace() - Replace a substring within a string 


Right() - Crops a string from right 


RTrim() - Remove trailing spaces from a string 


Space() - Creates a string with the specified number of spaces 


StrComp() - Compare two strings 


String() - Creates a repeated character string 


StrReverse() - Reverse the characters of a string 


Trim() - Remove both leading and trailing spaces from a string 


UCase() - Convert a string to uppercase 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

5 3341
Q:

What do you mean by ‘cheque endorsing’?

Answer

‘Endorsing cheque’ ensures that the cheque get deposited into your account only. It minimizes the risk of theft. Normally, in endorsing cheque, the cashier will ask you to sign at the back of the cheque. The signature should match the payee. The image over here shows the endorsed cheque.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Bank Interview

0 3336
Q:

What determines the value of an item?

A) the capital required to build the factory B) the unlimited wants of the consumers
C) the resources consumed in production D) the amount of goods that are produced
 
Answer & Explanation Answer: A) the capital required to build the factory

Explanation:

Value is the monetary worth of something, in this case, it is an item.

In option A, since it is talking about capital which is measured in monetary terms.

The value of an item is determined by its quality and its age. Often antiques with good quality are sold in the market with a high value and are sometimes auctioned.

Report Error

View Answer Report Error Discuss

Filed Under: Accounts Receivable
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 3335
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 3329
Q:

All of these are exemptions from local real property taxes EXCEPT :

A) Low-income homeowner's exemption B) Homeowner's exemption
C) Veteran's exemption D) Senior citizen's tax exemption
 
Answer & Explanation Answer: A) Low-income homeowner's exemption

Explanation:

Under state law limited exemptions from local real property taxes for individuals who qualify are senior citizens(blind and disabled persons), who may defer their taxes; Veterans, who receive $4000 off assessed value; and homeowners, who receive $7000 off assessed value.

Report Error

View Answer Report Error Discuss

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

1 3323
Q:

How can u write programmatically value help to a field without using search help and match code?

Answer

By using two types of function modules to be called in SAP Script:

1)HELP_OBJECT_SHOW_FOR_FIELD
2)HELP_OBJECT_SHOW

Report Error

View answer Workspace Report Error Discuss

Subject: ABAP

0 3320
Q:

What is an exit and entry criteria in a Test Plan ?

Answer

Generally,test plan document is prepared by TL&QM.


Entry &Exit criteria is part of test plan document


 


Entry criteria is 


- Testing environment established


- Test cases prepared


- Build received from development team


 


Exit criteria is


- All modules are covered or not


- All test cases are completely executed or not


- All bugs resolved or not


 

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 3318