Interview Questions

Q:

How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.

Answer

Syntax:


SORT   file-1 ON ASCENDING/DESCENDING KEY key....


USING  file-2


GIVING file-3.


 


USING can be substituted by INPUT PROCEDURE IS para-1 THRU para-2


GIVING can be substituted by OUTPUT PROCEDURE IS para-1 THRU para-2.


 


file-1 is the sort workfile and must be described using SD entry in FILE SECTION.


file-2 is the input file for the SORT and must be described using an FD entry in FILE SECTION and SELECT clause in FILE CONTROL.


file-3 is the outfile from the SORT and must be described using an FD entry in FILE SECTION and SELECT clause in FILE CONTROL.


file-1, file-2 & file-3 should not be opened explicitly.


 


INPUT PROCEDURE is executed before the sort and records must be RELEASEd to the sort work file from the input procedure.


OUTPUT PROCEDURE is executed after all records have been sorted. Records from the sort work file must be RETURNed one at a time to the output procedure.

Report Error

View answer Workspace Report Error Discuss

0 2270
Q:

What is the difference between primary key & unique index ?

Answer

Primary key : a relational database constraint. Primary key consists of one or more columns that uniquely identify a row in the table. For a normalized relation, there is one designated primary key.


Unique index: a physical object that stores only unique values. There can be one or more unique indexes on a table.

Report Error

View answer Workspace Report Error Discuss

0 2270
Q:

Explain how a web application works.

Answer

A web application resides in the server and serves the client’s requests over internet. The client access the web page using browser from his machine. When a client makes a request, it receives the result in the form of HTML which are interpreted and displayed by the browser.


A web application on the server side runs under the management of Microsoft Internet Information Services (IIS). IIS passes the request received from client to the application. The application returns the requested result in the form of HTML to IIS, which in turn, sends the result to the client.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2269
Q:

Define Budgetary Control ?

Answer

Budgetary Control is establishment of budgets and the continuous comparison of actual results with the planned results. It computes the variances and after that management takes necessary actions to maintain favorable variations, through revision of the budgets.

Report Error

View answer Workspace Report Error Discuss

Subject: Bank Interview Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

2 2268
Q:

Marketing refers to -

A) Execution of sales B) Planning sales campaigns
C) Advertising and promotions D) Philosophy that stresses customer value and satisfaction
 
Answer & Explanation Answer: D) Philosophy that stresses customer value and satisfaction

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales

5 2265
Q:

How can record locking be achieved in those DB2 versions which do not support it?

Answer

It can be done by setting the record length’s size to more than half of the page’s size.

Report Error

View answer Workspace Report Error Discuss

0 2264
Q:

How do we Tune the BO Reports for Performance Improvement?

Answer

We can tune the report by using index awarness in universe

Report Error

View answer Workspace Report Error Discuss

2 2264
Q:

What are your qualifications as a fashion designer?

Answer

This question can be answered in several ways. You can describe your education: fine arts with fashion/design focus. You can describe your work experience: fashion houses, employers, employees, and of course your actual work (the portfolio). Or you can describe your personal characteristics.

Report Error

View answer Workspace Report Error Discuss

4 2262