Questions

Q:

Lala lajapathi rai is the author of the book

A) India Divided B) Hind Swaraj
C) Unhappy India D) Mother India
 
Answer & Explanation Answer: C) Unhappy India

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

1 2345
Q:

Write a c program for quick sort.

Answer

#include<stdio.h>

void quicksort(int [10],int,int);

int main(){
  int x[20],size,i;

  printf("Enter size of the array: ");
  scanf("%d",&size);

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

  quicksort(x,0,size-1);

  printf("Sorted elements: ");
  for(i=0;i<size;i++)
    printf(" %d",x[i]);

  return 0;
}

void quicksort(int x[10],int first,int last){
    int pivot,j,temp,i;

     if(first<last){
         pivot=first;
         i=first;
         j=last;

         while(i<j){
             while(x[i]<=x[pivot]&&i<last)
                 i++;
             while(x[j]>x[pivot])
                 j--;
             if(i<j){
                 temp=x[i];
                  x[i]=x[j];
                  x[j]=temp;
             }
         }

         temp=x[pivot];
         x[pivot]=x[j];
         x[j]=temp;
         quicksort(x,first,j-1);
         quicksort(x,j+1,last);

    }
}

Output:
Enter size of the array: 5
Enter 5 elements: 3 8 0 1 2
Sorted elements: 0 1 2 3 8

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2344
Q:

What are the various ways to measure the effectiveness of an advertising campaign?

Answer

The main purpose in measuring the effectiveness of any advertising campaigns is to evaluate its effect on the sales and also brand recall factor. The mathematical equation for measuring the effectiveness of an advertising campaign is:


Advertising campaign effectiveness = Revenue + Return on investment (ROI)


There are various ways to measure the effectiveness of advertising campaigns:


         - Conducting a survey after the campaign ends


         - Proportionate increase in the sales of that particular product/service


         - More customers calling to a toll-free and prescribed lines


         - Redemption of coupons and vouchers


         - Increased footfalls in the store to purchase product/service


         - Increased click on the company’s website  

Report Error

View answer Workspace Report Error Discuss

1 2344
Q:

What is a primary benefit of location targeting?

Answer

The ability to target combinations of countries, territories, and regions.

Report Error

View answer Workspace Report Error Discuss

0 2344
Q:

What are the Various Register in 8085?

Answer

Accumulator register, Temporary register, Instruction register, Stack Pointer, Program Counter are the various registers in 8085

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2344
Q:

Eugenics is the study of

A) impair the racial qualities of future generations either physically or mentally B) different races of mankind
C) genetic of plants D) people of European origin
 
Answer & Explanation Answer: A) impair the racial qualities of future generations either physically or mentally

Explanation:

Eugenics is the study of altering human beings by changing their genetic components.

 

It is the study of the agencies under social control that may improve or impair the racial qualities of future generations either physically or mentally.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

9 2344
Q:

If there is a lock on an adjacent key, an insert will fail if the isolation level is set to what?

A) committed read B) repeatable read
C) share read D) indexed read
 
Answer & Explanation Answer: B) repeatable read

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

1 2344
Q:

The term Hassles refers to

A) major annoyances of everyday life B) personal limitations that make it impossible for someone to pursue a desired goal
C) to interact with persons we dislike in order to obtain our goals D) minor annoyances of everyday life
 
Answer & Explanation Answer: D) minor annoyances of everyday life

Explanation:

The term Hassles refers to minor annoyances of everyday life.

Report Error

View Answer Report Error Discuss

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

6 2344