Questions

Q:

Graphically, the market demand curve is

A) greater than the sum of the individual demand curves B) the horizontal sum of individual demand curves
C) steeper than any individual demand curve that is part of it D) the vertical sum of individual demand curves
 
Answer & Explanation Answer: B) the horizontal sum of individual demand curves

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2778
Q:

what are the hardware interrupts?

Answer

TRAP, RST7.5, RST6.5, RST5.5, INTR.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2778
Q:

Press freedom day is celebrated on

A) May 2 B) May 3
C) May 4 D) None of these
 
Answer & Explanation Answer: B) May 3

Explanation:
Report Error

View Answer Report Error Discuss

2 2778
Q:

He is the world's only person who has climbe all the 14 peaks of the mountains without using oxyger cylinders

A) Henry Ford B) Reinhold Messner
C) John D) Bachhendri Pal
 
Answer & Explanation Answer: B) Reinhold Messner

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

3 2777
Q:

Which of the following Articles of Indian Constitution guarantees freedom to press?

A) Article 16 B) Article 19
C) Article 22 D) Article 31
 
Answer & Explanation Answer: B) Article 19

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

1 2777
Q:

Most organic compounds contain carbon and

A) Hydrogen B) Nitrogen
C) Potassium D) All of the above
 
Answer & Explanation Answer: A) Hydrogen

Explanation:

Most organic compounds contain carbon and hydrogen.

Report Error

View Answer Report Error Discuss

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

2 2777
Q:

Common alcoholic beverages include

A) Wine B) Cider
C) Beer D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:
Report Error

View Answer Report Error Discuss

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

3 2777
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 2776