Questions

Q:

Write a c program for selection sort.

Answer

include<stdio.h>
int main(){

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

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

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

  for(i=0;i<s;i++){
      for(j=i+1;j<s;j++){
           if(a[i]>a[j]){
               temp=a[i];
              a[i]=a[j];
              a[j]=temp;
           }
      }
  }

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

  return 0;
}

Output:
Enter total elements: 5
Enter 5 elements: 4 5 0 21 7
The array after sorting is:  0 4 5 7 21

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2394
Q:

I jump when i walk and sit when i stand, who am I?

Answer

Kangaroo.

Report Error

View answer Workspace Report Error Discuss

3 2394
Q:

The combined gas law relates which of the following?

A) Volume & Temperature B) Temperature & Pressure
C) Volume & Pressure D) Volume, Temperature & Pressure
 
Answer & Explanation Answer: D) Volume, Temperature & Pressure

Explanation:

The combined gas law states that the ratio between the pressure-volume product and the temperature of a system remains constant.

 

Hence it depends on all the three Volume, Temperature & Pressure.

Report Error

View Answer Report Error Discuss

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

2 2394
Q:

The word length of a computer is measured in

A) centimeters B) millimeters
C) bytes D) bits
 
Answer & Explanation Answer: D) bits

Explanation:
Report Error

View Answer Report Error Discuss

3 2394
Q:

How many Species go Extinct Every Day?

Answer

About 150 - 200 species of plant, insect, bird and mammal become extinct every day or 24 hrs.


This is not an accurate but an estimation by U.N. Convention on Biological Diversity and Global Extinction Rates. It is also said that current extinctions were 'up to 100 times higher than the background rate.'

Report Error

View answer Workspace Report Error Discuss

Subject: General Science Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

6 2393
Q:

Which statement about subatomic particles is not true?

A) Protons and neutrons have the same charge B) Protons and electrons have the opposite charhes
C) Protons and neutrons have almost the same mass D) All of the above
 
Answer & Explanation Answer: A) Protons and neutrons have the same charge

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 2393
Q:

Landslides, mudflows, slump, and creep are all examples of

A) runoff B) soil formation
C) mechanical weathering D) mass movement
 
Answer & Explanation Answer: D) mass movement

Explanation:

Mass wasting, also known as slope movement or mass movement, is the geomorphic process by which soil, sand, regolith, and rock move downslope typically as a solid, continuous or discontinuous mass, largely under the force of gravity, but frequently with characteristics of a flow as in debris flows and mudflows.

 

Landslides,_mudflows,_slump,_and_creep_are_all_examples_of1562827917.jpg image

Report Error

View Answer Report Error Discuss

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

15 2393
Q:

The chairman of the RBI's committee constituted to review the governance of boards of banks in india

Answer

P J Nayak

Report Error

View answer Workspace Report Error Discuss

0 2391