Questions

Q:

China and Pakistan air forces have launched _________ joint air exercise in China.

A) Black Flag B) Desert Eagle
C) Red Flag D) Shaheen
 
Answer & Explanation Answer: D) Shaheen

Explanation:

The air forces of China and Pakistan began a joint training exercise SHAHEEN and deployed their latest fighter jets and AWACS aircraft. 

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

9 2659
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 2659
Q:

When is International Day of Non-Violence,recognized by the UN,observed on M.K.Gandhi's birthday is observed

A) December 11 B) November 29
C) October 2 D) Second wednesday of october
 
Answer & Explanation Answer: C) October 2

Explanation:
Report Error

View Answer Report Error Discuss

1 2658
Q:

Wind and solar energy are examples of

A) Non renewable B) Renewable
C) Unsustainable D) Limited
 
Answer & Explanation Answer: B) Renewable

Explanation:

Many types of renewable energy resources such as wind and solar energy are constantly replenished and will never run out.

Report Error

View Answer Report Error Discuss

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

1 2658
Q:

Manas sanctuary in assam known for

A) Tigers B) Birds
C) Bears D) Elephants
 
Answer & Explanation Answer: D) Elephants

Explanation:

Manas_sanctuary_in_assam_known_for1552911929.jpg image

 

Manas National Park or Manas Wildlife Sanctuary is a national park, UNESCO Natural World Heritage site in Assam is known for Elephants. It is located in the Himalayan foothills.

Report Error

View Answer Report Error Discuss

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

4 2658
Q:

The International Court of Justice was established in the year

A) 1947 B) 1946
C) 1950 D) 1948
 
Answer & Explanation Answer: B) 1946

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

2 2657
Q:

What is hard disk and what is its purpose?

Answer

Hard disk is the secondary storage device, which holds the data in bulk, and it holds the data on the magnetic medium of the disk.Hard disks have a hard platter that holds the magnetic medium, the magnetic medium can be easily erased and rewritten, and a typical desktop machine will have a hard disk with a capacity of between 10 and 40 gigabytes. Data is stored onto the disk in the form of files.

Report Error

View answer Workspace Report Error Discuss

0 2655
Q:

The inherited traits of an organism are controlled by

A) DNA B) Enzymes
C) Nucleotides D) RNA
 
Answer & Explanation Answer: A) DNA

Explanation:

The inherited traits of an organism are controlled by DNA molecules.

 

The traits an organism displays are ultimately determined by the genes it inherited from its parents, in other words by its genotype. Animals have two copies of all their chromosomes, one from each parent.

 

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

3 2655