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

What sugar is found in RNA?

A) Deoxyribose B) Ribose
C) Pentose D) Sucrose
 
Answer & Explanation Answer: B) Ribose

Explanation:

RNA - ribonucleic acid is a type of nucleic acid. The sugar contained in it is called Ribose.

Report Error

View Answer Report Error Discuss

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

4 2926
Q:

Where are chromatids found in a cell?

A) Anaphase B) Metaphase
C) Prophase D) None of the above
 
Answer & Explanation Answer: B) Metaphase

Explanation:

A chromatid is one copy of a newly copied chromosome which is still joined to the original chromosome by a single centromere.

The two identical copies—each forming one half of the replicated chromosome are called chromatids.

Chromonema is the fibre-like structure in prophase in the primary stage of DNA condensation. In metaphase, they are called chromatids.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE
Job Role: Analyst

1 2926
Q:

Market imperfections of a country are reflected in___________.

A) price rigidity B) factor immobility
C) lack of specialization D) All options are correct
 
Answer & Explanation Answer: D) All options are correct

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

1 2926
Q:

The total number of judges of the International Court of Justice is

A) 10 B) 12
C) 15 D) 18
 
Answer & Explanation Answer: C) 15

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

0 2925
Q:

Which of the following is a renewable source of energy

A) Natural gas B) Coal
C) Wind D) Oil
 
Answer & Explanation Answer: C) Wind

Explanation:

The energy sources that are constantly being replenished, such as sunlight, wind, and water. This means that we can use them as much as we want, and we do not have to worry about them running out. Additionally, renewable energy sources are usually much more environmentally friendly than fossil fuels. Overall, they release very few chemicals, like carbon dioxide, that can harm the environment.


Most of this energy comes from fossil fuels, such as coal, oil, and natural gas. These are nonrenewable energy sources, which means that if we use them all up, we can never get more during our lifetime. Fossil fuels also contribute greatly to global climate change by releasing carbon dioxide into the air when they are burned.

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

An integrated circuit is more advantages than a coventional circuit because 

A) they make the electric equipments more reliable and easier for servicing B) a faulty part of a conventional circuit may be difficult to locate and repair
C) if a part of the integrated circuit fails the entire circuit is simply replaced D) all the above
 
Answer & Explanation Answer: D) all the above

Explanation:

Integrated circuit (IC) is a tiny device that controls electric signals in such electronic equipments as computers and T.V sets. Many integrated circuits contain thousands of electronic parts on a paper - thin chip of silicon. These parts include capacitors, diodes, all in a very small, compact space.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

2 2924
Q:

CFS Scheme means

A) Concessional Financing Scheme B) Controversial Fylum Scheme
C) Country Federation Scheme D) None of the above
 
Answer & Explanation Answer: A) Concessional Financing Scheme

Explanation:

CFS Scheme means Concessional Financing Scheme. 

Under the CFS, the Govt. of India has been supporting Indian Entities bidding for strategically important infrastructure projects abroad since 2015-16.

 

The Union Cabinet has recently approved Extension of Concessional Financing Scheme (CFS) to support Indian Entities bidding for strategically important infrastructure projects abroad.

Report Error

View Answer Report Error Discuss

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

3 2923