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 2888
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 2888
Q:

Which is not a basic function of a cell?

A) stopping homeostasis from happening B) obtaining and storing energy
C) removing waste D) transferring genetic information
 
Answer & Explanation Answer: A) stopping homeostasis from happening

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2888
Q:

Which animal adaptation happened before the others?

A) Reproduction on land B) Development of a colelom
C) Tissue development D) Deuterostome development
 
Answer & Explanation Answer: C) Tissue development

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk

10 2887
Q:

Where is the Forest Reserve Institute of India located

A) Bhopal B) Dehradum
C) Lucknow D) Delhi
 
Answer & Explanation Answer: B) Dehradum

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

7 2887
Q:

Damanganga Reservoir Project with about 115 km of minor canals and distributaries is located in

A) NCT B) Dadra and Nagar Haveli
C) Puducherry D) Goa
 
Answer & Explanation Answer: B) Dadra and Nagar Haveli

Explanation:

The Daman Ganga also called DawanRiver is a river in western India. The river's headwaters are on the western slope of the Western Ghats range, and it flows west into the Arabian SeaThere is an existing major irrigation project on the river called the Damanganga Reservoir Project, whichis located near Madhuban village in Dharampur taluka of Valsad district of Gujarat.It is an inter-state multipurpose project of the Govt. of Gujarat and Union Territories of Dadra & Nagar Haveli (D&NH) and Daman. The storage of this project is shared by the riparian states of Gujarat, Union Territories of Dadra & Nagar Haveli and Daman & Diu as beneficiary States.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 2886
Q:

How many posts are reserved for women at all levels in Panchayat Raj System in India?

A) 2/3 B) 1/4
C) 1/3 D) 1/2
 
Answer & Explanation Answer: C) 1/3

Explanation:

1/3 of the posts are reserved for women at all levels in Panchayati Raj System in India.

 

Panchayat Raj System in India ::

 

>> Recommend by: Balwantrai Mehta Committee 

>> System: 3-tier

>> Established by: Jawahar Lal Nehru

>> Constitutional amendment: 73rd (1992)

>> Schedule: 11th

>> First state to adopt: Rajasthan

>> Article: 243

>> Direct election: Gram Panchayat

Report Error

View Answer Report Error Discuss

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

4 2886
Q:

Most highly intelligent mammals are

A) Elephants B) Kangaroos
C) Whales D) Dolphins
 
Answer & Explanation Answer: D) Dolphins

Explanation:

Dolphins are the most highly intelligent mammals.

Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

9 2886