Questions

Q:

Explain the difference between fixed and flexible budgets ?

Answer

1. A fixed budget is established for a specific level of activity whereas flexible budget is prepared for various levels of activity.


2. Fixed budget cannot be changed after the period commences, whereas a flexible budget can be changed after the period commence.


3. Fixed budget is more suitable for fixed expenses whereas flexible budget takes both fixed as well as variable expenses in account.


4. Fixed budget includes only fixed costs, whereas a flexible budget includes fixed costs, variable costs and semi variable costs.


5. Fixed budget is mainly used in planning stage whereas flexible budget is used in controlling stage.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

1 2383
Q:

What would be the output of the following program?

/* sample.c */

main ( int argc, char **argv )

{

     argc = argc - (argc -1);

     printf ("%s", argv[argc - 1]);

}

Answer

C: \SAMPLE.EXE

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2382
Q:

Write a c program for merge sort.

Answer

#include
#define MAX 50

void mergeSort(int arr[],int low,int mid,int high);
void partition(int arr[],int low,int high);

int main(){
  
    int merge[MAX],i,n;

    printf("Enter the total number of elements: ");
    scanf("%d",&n);

    printf("Enter the elements which to be sort: ");
    for(i=0;i<n;i++){
         scanf("%d",&merge[i]);
    }

    partition(merge,0,n-1);

    printf("After merge sorting elements are: ");
    for(i=0;i<n;i++){
         printf("%d ",merge[i]);
    }

   return 0;
}

void partition(int arr[],int low,int high){

    int mid;

    if(low<high){
         mid=(low+high)/2;
         partition(arr,low,mid);
         partition(arr,mid+1,high);
         mergeSort(arr,low,mid,high);
    }
}

void mergeSort(int arr[],int low,int mid,int high){

    int i,m,k,l,temp[MAX];

    l=low;
    i=low;
    m=mid+1;

    while((l<=mid)&&(m<=high)){

         if(arr[l]<=arr[m]){
             temp[i]=arr[l];
             l++;
         }
         else{
             temp[i]=arr[m];
             m++;
         }
         i++;
    }

    if(l>mid){
         for(k=m;k<=high;k++){
             temp[i]=arr[k];
             i++;
         }
    }
    else{
         for(k=l;k<=mid;k++){
             temp[i]=arr[k];
             i++;
         }
    }
  
    for(k=low;k<=high;k++){
         arr[k]=temp[k];
    }
}


Sample output:

Enter the total number of elements: 5
Enter the elements which to be sort: 2 5 0 9 1
After merge sorting elements are: 0 1 2 5 9

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2382
Q:

4 phases of project management are

Answer

The project management life cycle describes high-level processes for delivering a successful project.


The project management life cycle is usually broken down into four phases:


1. Initiation and Planning,


2. Execution,


3. Project Monitoring and Control, and


4. Project Closing.

Report Error

View answer Workspace Report Error Discuss

11 2382
Q:

What is XPath?

Answer

XPath is an expressions to select a xml node in an XML document.


It allows the navigation on the XML document to the straight to the element where we need to reach and access the attributes.


 

Report Error

View answer Workspace Report Error Discuss

1 2382
Q:

Addis Ababa is the Capital city of

A) Angola B) Burundi
C) Chile D) Ethiopia
 
Answer & Explanation Answer: D) Ethiopia

Explanation:

The Capital city of Ethiopia is Addis Ababa.

 

Countries and Capital cities ::

Angola  -  Launda

Burundi  -  Bujumbura

Chile  -  Santiago

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

2 2382
Q:

When to use colon?

Answer

A colon is used to connect two sentences when the second sentence expands, illustrates, explains, summarizes, or sharpens the first. Both sentences should be complete, and their content should be very closely related.


 


Example:


This girl has two favorite hobbies: watching movies and seeing how long she can hold her breathe.

Report Error

View answer Workspace Report Error Discuss

Subject: English Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO

1 2382
Q:

Sales promotions include all of the following except

A) Online Ads B) Coupons
C) Free Samples D) Rebates
 
Answer & Explanation Answer: A) Online Ads

Explanation:

Sales promotion uses both media and non-media marketing communications for a pre-determined, limited time to increase consumer demand, stimulate market demand or improve product availability.

 

Sales promotions include Coupons, Rebates, Free Samples, etc... Online Ads come under advertising form.

Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 2381