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

Rearrange the parts of the sentence in correct order.
 
Gender inequality has
 
P :it reduces economic growth
Q :development goals as
R :adverse impact on

A) RPQ  B) RQP
C) PRQ D) QPR
 
Answer & Explanation Answer: B) RQP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2420
Q:

Pharaohs : Egypt

Answer

Pharaoh is the common title of the monarchs of ancient Egypt.


 


The Pharaoh in ancient Egypt was the political and religious leader of the people and held the titles 'Lord of the Two Lands' and 'High Priest of Every Temple'.

Report Error

View answer Workspace Report Error Discuss

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

8 2419
Q:

The preamble to the constitution does not specify providing for

A) economic equity B) domestic tranquility
C) common defense D) justice
 
Answer & Explanation Answer: A) economic equity

Explanation:

The preamble to the constitution does not specify providing for economic equity.

Report Error

View Answer Report Error Discuss

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

6 2418
Q:

What is the tallest waterfall in the world?

Answer

Angel Falls

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

1 2418
Q:

Who become the brand ambassador of the Swast Immunised India campaign?

A) Kareena Kapoor B) Deepika Padukone
C) Ranveer Singh D) Shilpa Shetty
 
Answer & Explanation Answer: A) Kareena Kapoor

Explanation:

The brand ambassador of the Swast Immunised India campaign is Kareena Kapoor Khan.

Report Error

View Answer Report Error Discuss

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

1 2417
Q:

From where do most producers get energy?

A) plants B) sun
C) water D) All of the above
 
Answer & Explanation Answer: B) sun

Explanation:

Most producers use sun light for making their energy in the process of photosynthesis. The energy they prepared is sugar and glucose. 

Report Error

View Answer Report Error Discuss

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

3 2417