Questions

Q:

Write a c program for insertion sort.

Answer

#include<stdio.h>
int main(){

  int i,j,s,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=1;i<s;i++){
      temp=a[i];
      j=i-1;
      while((temp<a[j])&&(j>=0)){
      a[j+1]=a[j];
          j=j-1;
      }
      a[j+1]=temp;
  }

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

  return 0;
}

Output:
Enter total elements: 5
Enter 5 elements: 3 7 9 0 2
After sorting:  0 2 3 7 9

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2864
Q:

Monitoring and Controlling Process Group

What are the Project Management Processes included in Monitoring and Controlling Process Group?

Answer


    • Monitor and Control Project Work

    • Integrated Change Control

    • Scope Verification

    • Scope Control

    • Schedule Control

    • Cost Control

    • Perform Quality Control

    • Manage Project Team

    • Performance Reporting

    • Manage Stakeholders

    • Risk Monitoring and Control

    • Contract Administration


Report Error

View answer Workspace Report Error Discuss

0 2863
Q:

How long would it take to travel 4 light years?

Answer

There are approximately 6 trillion miles in a light-year, so the distance we need to go is 6 trillion miles / light-year times. 4 light-years is equal to 24 trillion miles. So, this whole would take 1.2 billion hours. There are 24 hours a day and 365.25 days per year, so this time in years is 137 thousand years.

Report Error

View answer Workspace Report Error Discuss

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

6 2863
Q:

Select the correct statement about lymphocytes.

A) Lymph transport is faster than that occurring in veins B) Lymph transport depends on the movement of adjacent tissues, such as skeletal muscles
C) Lymph transport is only necessary when illness causes tissue swelling D) Under normal conditions, lymph vessels are very high-pressure conduits
 
Answer & Explanation Answer: B) Lymph transport depends on the movement of adjacent tissues, such as skeletal muscles

Explanation:

Lymph transport depends on the movement of adjacent tissues, such as skeletal muscles is the correct statement regarding lymph transport.

Report Error

View Answer Report Error Discuss

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

5 2863
Q:

Genes are made of 

A) Carbohydrates B) Proteins
C) Fats D) Nucleotides
 
Answer & Explanation Answer: D) Nucleotides

Explanation:

Genes: The DNA is the genetic material. The DNA is made of several nucleotides. A nucleotide means, one nitrogenous base one sugar molecule and a phosphate molecule. These Nucleotides occur in sequences and several nucleotides form one gene ( a functional gene is called a cistron)

Report Error

View Answer Report Error Discuss

Filed Under: Biology

3 2863
Q:

Acute diabets  patients smell of 

A) acetone B) ether
C) ethyl alcohol D) methyl alcohol
 
Answer & Explanation Answer: A) acetone

Explanation:

Acute diabetes results in the formation of acetone in the body. Hence such patients smell of acetone.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

2 2862
Q:

What is the freezing point of water in Celsius?

A) 0 deg C B) 32 deg C
C) -42 deg C D) -32 deg C
 
Answer & Explanation Answer: A) 0 deg C

Explanation:

The freezing point of water and melting point is 0 °C or 32 °F. The temperature may be lower if supercooling occurs.

Report Error

View Answer Report Error Discuss

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

0 2862
Q:

Who has won the orange cap for scoring the most runs in IPL 2018?

A) Rishabh Pant (Delhi Daredevils) B) Virat Kohli (Royal Challengers Bangalore)
C) Ambati Rayudu (Chennai Super Kings) D) Kane Williamson (Sunrisers Hyderabad)
 
Answer & Explanation Answer: D) Kane Williamson (Sunrisers Hyderabad)

Explanation:

Kane Williamson, the captain of Sunrisers Hyderabad team has won orange cup for scoring the most runs in IPL 2018.

The orange cap is presented annually in the Indian Premier League to the highest run scorer.

Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

6 2862