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

Which process removes carbon dioxide from the atmosphere?

A) Combustion B) Photosynthesis
C) Respiration D) All of the above
 
Answer & Explanation Answer: B) Photosynthesis

Explanation:

Photosynthesis process removes carbon dioxide from the atmosphere. Green plants remove carbon dioxide from the atmosphere by photosynthesis. 

The level of carbon dioxide in the atmosphere is maintained by several processes, including photosynthesis, respiration and combustion. 

Report Error

View Answer Report Error Discuss

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

2 2440
Q:

Which 6 banking entities of India became history on 1 April 2017 as they were merged with State Bank of India ?

Answer

Five associate banks of SBI – State Bank of Bikaner and Jaipur (SBBJ), State Bank of Hyderabad (SBH), State Bank of Mysore (SBM), State Bank of Patiala (SBP) and State Bank of Travancore (SBT), besides Bharatiya Mahila Bank (BMB) became part of the State Bank of India (SBI) on 1 April 2017. This merger catapulted SBI to among the top 50 banks in the world.


– With this six-way mega merger, the merged entity (SBI) will have a deposit base of more than Rs. 26 lakh crore and advances level of Rs. 18.50 lakh crore. It will have a total customer base of 37 crore with a branch network of around 24,000 and nearly 59,000 ATMs across the country.


– The government had in February 2017 approved the merger of these five associate banks with SBI. Later in March 2017, the Cabinet approved merger of BMB as well.


– SBI first merged State Bank of Saurashtra with itself in 2008. Two years later, State Bank of Indore was merged with it.

Report Error

View answer Workspace Report Error Discuss

Subject: General Awareness Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

3 2440
Q:

Who is the Richest investor as per March 2013?

Answer

Warren Edward Buffett(USA), chairman of Berkshire Hathaway, is the world's richest investor, estimated to be worth $53.5 billion as of march 2013.

Report Error

View answer Workspace Report Error Discuss

1 2440
Q:

A theocracy is ruled by religious leaders who

A) claim to act with divine authority B) believe that rule by religious law is wrong
C) believe that a communist government leads best D) claim divine authority sways government
 
Answer & Explanation Answer: A) claim to act with divine authority

Explanation:

A government ruled by religiuos leaders is Theocracy. A theocracy is ruled by religious leaders who claim to act with divine authority.

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

Who can participate in the proceedings of both the houses without even being a member ?

A) Solicitor General B) Attorney General
C) Comptroller & Auditor General D) All of the above
 
Answer & Explanation Answer: B) Attorney General

Explanation:

Attorney General can participate in the proceedings of both the houses without even being a member.

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

How many times Atal Bihari Vajpayee was a Member of Parliament?

A) 8 B) 10
C) 12 D) 14
 
Answer & Explanation Answer: C) 12

Explanation:

Atal Bihari Vajpayee was a Member of Parliament for 12 times i.e, 10 times for lok sabha and 2 times for rajya sabha.

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

What valley is the site of the Earth's highest-ever recorded temperature, 134°F?

Answer

Death Valley

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

2 2439