Questions

Q:

Convert the expression ((A + B) * C – (D – E) ^ (F + G)) to equivalent Prefix Notation

Answer

Prefix Notation:


^ - * +ABC - DE + FG

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2448
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 2447
Q:

Who described his policy of unification as one of 'blood and iron'?

A) Bismarck B) Napoleon
C) Mazzini D) Napoleon Bonaparte
 
Answer & Explanation Answer: A) Bismarck

Explanation:

With the failure of the revolution of 1848 to unify Germany, one phase in the struggle for unification came to an end. Now Germany was to be unified not into a democratic country by the efforts of revolutionaries but by the rulers into a militaristic empire. The leader of this policy Bismarck who belonged to a prussian aristocratic family. He wanted to preserve the predominance of the landed aristocrats and the army in the united German state and to achieve the unification of Germany under the leadership of Prussian monarchy. He described his policy of unification as one of 'blood and iron'. The policy of 'blood and iron' meant a policy of war.

Report Error

View Answer Report Error Discuss

Filed Under: World History

2 2447
Q:

St Andreas Fault passes close to the US city of

A) Los Angeles B) New Orleans
C) Hollywood D) San Francisco
 
Answer & Explanation Answer: D) San Francisco

Explanation:

A devastating  series of earthquakes in 1906 ruined the city completely and its presence is a constant remainder of the past and a threat of repetition in future.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

0 2447
Q:

Economics is the study of how society manages its

A) Limited resources & limited wants B) Unlimited wants & unlimited resources
C) Limited wants & unlimited resources D) Limited resources & unlimited wants
 
Answer & Explanation Answer: C) Limited wants & unlimited resources

Explanation:

Economics is the study of how society manages its scarce resources i.e, Limited wants & unlimited resources.

Report Error

View Answer Report Error Discuss

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

3 2447
Q:

In the given question, a statement with a single blank is given. Choose the most effective word from the given options to complete the sentence meaningfully.

One has to be very _______ during the monsoons as the road becomes slippery.

A) Smart B) Cautious
C) Presentable D) Prepared
 
Answer & Explanation Answer: B) Cautious

Explanation:

'Cautious' can be used to make the sentence meaningful which means alert or be careful. The context of the statement is that of the monsoon season being a bit troublesome due to slippery roads which need to be navigated with care. 'Prepared' and 'smart' may appear to be true but we need to choose the most suitable response which in this case is 'cautious'. Hence, 'cautious' is the correct answer.

Report Error

View Answer Report Error Discuss

Filed Under: English

0 2447
Q:

Select the synonym of
to preside

A) to acquiesce B)  to concur
C) to officiate D) to accord
 
Answer & Explanation Answer: C) to officiate

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2447
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 2447