Interview Questions

Q:

What is ALV programming in ABAP? When is this grid used in ABAP?

Answer

ALV is Application List viewer. Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. The report output can contain up to 90 columns in the display with the wide array of display options.

Report Error

View answer Workspace Report Error Discuss

Subject: ABAP

2 3711
Q:

Differentiate between realloc() and free().

Answer

- Free() - A block of memory previously allocated by the malloc subroutine is freed by free subroutine. Undefined results come out if the Pointer parameter is not a valid pointer. If the Pointer parameter is a null value, no action will take place.


- Realloc() - This subroutine changes the size of the block of memory pointed to by the Pointer parameter to the number of bytes specified by the Size parameter and returns a new pointer to the block. The pointer specified by the Pointer parameter must be created with the malloc, calloc, or realloc subroutines and should not be deallocated with the free or realloc subroutines. Undefined results show up if the Pointer parameter is not a valid pointer.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 3699
Q:

What are virtual functions?

Answer

Polymorphism is also achieved in C++ using virtual functions. If a function with same name exists in base as well as parent class, then the pointer to the base class would call the functions associated only with the base class. However, if the function is made virtual and the base pointer is initialized with the address of the derived class, then the function in the child class would be called.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

1 3680
Q:

What are the activities present in payroll task?

Answer

1. Processing Payroll to generate Paycheck and Pay Stubs


2. Generating Tax reports and vouchers using which Taxes are deposited to Govt (Employee Tax).


3. Processing reports that are handed over to Accounting Dept.


4. Ensuring that the Deductions, Benefits, Acruals, Taxes and Salaries are accurate (


5. Posting the Journals to Finance


6. Processing Govt Reports and submitted to Govt


7. Entering interims (may also be done by HR in some Companies)


7. Year End Process to generate W2s

Report Error

View answer Workspace Report Error Discuss

0 3680
Q:

Marketing organisation:

As a consultant, what advice would you give a company while setting up its marketing department?

Answer

As a consultant , I would:


• Recommend structuring of the marketing department as per the demands of the different tasks, roles and responsibilities keeping in mind the cost(budget) factor as long as it fits within the budget of the company.


• Finding out and establishing the level of skills, duties and responsibilities of the employees via job descriptions and job specifications.


• Proper and regular supervision of the department to ensure its smooth functioning


• Determine the marketing functions of the department as per the requirements (advertising,distribution channels,promotional activities)

Report Error

View answer Workspace Report Error Discuss

1 3664
Q:

.What are Stacks? Give an example where they are useful.

Answer

A Stack is a linear structure in which insertions and deletions are always made at one end i.e the top - this is termed as last in, first out (LIFO). Stacks are useful when we need to check some syntex errors like missing parentheses. 

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 3659
Q:

Which among the following is used to send data from one page to another with the URL but you can send limited size of data with the URL

A) Cookies B) View state
C) Querystring D) None
 
Answer & Explanation Answer: C) Querystring

Explanation:

Querystring is used to send data from one page to another with URL.But it can store only some minimum amount of data.Most browsers allow a limit of 255 characters on URL length

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Job Role: Software Architect

0 3657
Q:

There is one default constructor in every class.

A) The above statement is true B) The above statement is false
C) Both true and false D) None
 
Answer & Explanation Answer: A) The above statement is true

Explanation:

There will always be a default constructor in every class 

Report Error

View Answer Report Error Discuss

Filed Under: Java

0 3657