Interview Questions

Q:

Explain storage qualifiers in C++

Answer

i.) Const - This variable means that if the memory is initialised once, it should not be altered by a program. 


ii.) Volatile - This variable means that the value in the memory location can be altered even though nothing in the program code modifies the contents. 


iii.) Mutable - This variable means that a particular member of a structure or class can be altered even if a particular structure variable, class, or class member function is constant.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

1 3807
Q:

Selecting and managing marketing channels :

On what criteria can channel members be evaluated for their proper selection?

Answer

The SCPCA method can be used to evaluate channel members.


a) Sales (S): How much sales each channel member can give within a cetain time frame


b) Cost(C): How much cost would be incurred for each channel?


c) Profitability(P): Which channel can give better profitability to the company?


d) Control(C): Whether company can have better control over its channel members or not.


e) Adaptability (A): Whether the channel alternatives are flexible enough to any changes or not. The channel meeting the objectives of the company is selected

Report Error

View answer Workspace Report Error Discuss

0 3806
Q:

Write a c program for bubble sort.

Answer

#include<stdio.h>
int main(){

  int s,temp,i,j,a[20];

  printf("Enter total numbers of elements: ");
  scanf("%d",&s);

  printf("Enter %d elements: ",s);
  for(i=0;i<s;i++)
      scanf("%d",&a[i]);

  //Bubble sorting algorithm
  for(i=s-2;i>=0;i--){
      for(j=0;j<=i;j++){
           if(a[j]>a[j+1]){
               temp=a[j];
              a[j]=a[j+1];
              a[j+1]=temp;
           }
      }
  }

  printf("After sorting: ");
  for(i=0;i<s;i++)
      printf(" %d",a[i]);

  return 0;
}

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 3806
Q:

Loan and Advances of a bank come under the category of______________.

A) Deposits B) Expenditure
C) Liabilities D) Assets
 
Answer & Explanation Answer: D) Assets

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview

2 3796
Q:

How many validation controls are available in ASP.NET AJAX 4.0?

Answer

The following validation controls are available in ASP.NET AJAX 4.0:




        => FilteredTextBoxExtender - Enables you to apply filtering to a text box.

        => MaskedEditExtender and MaskedEditValidator - Restricts a user to enter only a certain pattern of characters in the TextBox by applying a mask to the input.

        => ValidatorCalloutExtender - Attaches to the ASP.NET validators so that the error messages are not displayed as a simple text but as a balloon-style ToolTip.

        => NoBot - Prevents the spam/bot from filling the input forms automatically and uses the Completely Automated Public Turing test to tell Computers and Humans Apart (CAPTCHA), which is a type of challenge-response test to ensure that the response is not generated by the computer.

        => PasswordStrengthExtender - Measures the strength of the password text entered within the text box by validating with the different strength specified parameters

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 3796
Q:

Explain What is Customer Master record?

Answer

A Customer Master Record is a permanent record that contains key information about a business partner or a material. This information must be entered into the system before any transactions can take place involving the business partner [customer] or a material. Entering all the information about a customer or a material into the system before making transactions insures that subsequent transactions or inquiries will have consistent data and reports and analyses can be done in an orderly way. Master Records can be edited or changed when necessary. Changing master records is frequently called "Maintaining" in SAP

Report Error

View answer Workspace Report Error Discuss

1 3790
Q:

What does inheriatance allows you to do?

A) create a class B) access methods
C) create a hierarchy of classes D) None of the mentioned
 
Answer & Explanation Answer: C) create a hierarchy of classes

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 3785
Q:

How to rebuild Master Database?

Answer

Master database is system database and it contains information about running server's configuration. When SQL Server 2005 is installed it usually creates master, model, msdb, tempdb resource and distribution system database by default. Only Master database is th one which is absolutely must have database. Without Master database SQL Server cannot be started. This is the reason it is extremely important to backup Master database.


To rebuild the Master database, Run Setup.exe, verify, and repair a SQL Server instance, and rebuild the system databases. This procedure is most often used to rebuild the master database for a corrupted installation of SQL Server.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 3783