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

Which is India's Largest BPO (Business Process Outsourcing) Company?

A) Piogeon B) Spectramind
C) Technovate D) None of these
 
Answer & Explanation Answer: B) Spectramind

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

12 2809
Q:

What is the difference between real money & nominal money?

Answer

Nominal money relates more to it's measure of counting - so nominal figure of what is written on bill, while "real" relates more to it's purchasing power (usually between some periods of time). For instance 100 units in nominal could buy 2 units of good in 1950 and 1 unit of good in 2005, at the same time real value of this 100 nominal units are 100 real units in 1950 and 50 real units in 2005.


Same is with GDP. In nominal it can rise due to inflation while it can stay the same or even decrease in real value.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

2 2809
Q:

What is the smallest unit that can evolve?

Answer

The population is the smallest unit of living organisms that can undergo evolution.

Report Error

View answer Workspace Report Error Discuss

Subject: General Awareness Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

0 2808
Q:

A remedy for all diseases

A) Antiseptic B) Lyric
C) Narcotics D) Panacea
 
Answer & Explanation Answer: D) Panacea

Explanation:

Panacea, also known as panchrest, is a medicine supposed remedy that is claimed to cure all diseases and prolong life indefinitely. It is named after the Greek goddess of universal remedy Panakeia.

Report Error

View Answer Report Error Discuss

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

2 2808
Q:

Which State's chief minister has announced five lakh rupees health-cum-life insurance scheme for farmers in the state?

A) Telangana B) Uttar Pradesh
C) Gujarat D) Andhra Pradesh
 
Answer & Explanation Answer: A) Telangana

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2808
Q:

The transfer of data from one application to another in a computer system is known as

A) Dynamic Data Exchange B) Dodgy Data Exchange
C) Dogmatic Data Exchange D) Dynamic Disk Exchange
 
Answer & Explanation Answer: A) Dynamic Data Exchange

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

2 2807
Q:

Kargil Fight held in

A) 1979 B) 1989
C) 1999 D) 1969
 
Answer & Explanation Answer: C) 1999

Explanation:

The Kargil War, also known as the Kargil conflict, was an armed conflict between India and Pakistan that took place between May and July 1999 in the Kargil district of Kashmir and elsewhere along the Line of Control (LOC). In India, the conflict is also referred to as Operation Vijay.

Report Error

View Answer Report Error Discuss

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

3 2807