Questions

Q:

Who wrote the line: ' A thing of beauty is a joy for ever '

A) P.B.Shelley B) William Wordsworth
C) John Keats D) Robert Browning
 
Answer & Explanation Answer: C) John Keats

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

1 2505
Q:

Improve the following code using typedef.

struct node

{

      int data1;  float data2;

       struct node *left;

       struct node *right;

};

struct node *ptr;

ptr = (struct node *) malloc (sizeof (struct node) ); 

Answer

typedef struct node * treeptr


typedef struct node


{


         int data1;


         float data2;


         treeptr *left;


         treeptr *right;


}treenode;


treeptr ptr;


ptr = ( treeptr ) malloc ( sizeof ( treenode ) );

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2505
Q:

Which of the statements given below are correct?

A) Julio Granda won the 2017 World Senior Chess Championship.

B) Tan Zhongyi won the 2017 World Junior Chess Championship.

C) Russia hosted the Golf 2017 Players Championship.

 

A) Only A B) Only C
C) Both B and C D) None of these
 
Answer & Explanation Answer: A) Only A

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 2505
Q:

Who is the first women chief minister in India ? 

A) Sheila Dikshit B) Nandini Satpathy
C) Uma Bharati D) Sucheta Kriplani
 
Answer & Explanation Answer: D) Sucheta Kriplani

Explanation:

Sucheta Kriplani was an Indian freedom fighter and politician. She was India's first woman Chief Minister, serving as the head of the Uttar Pradesh government from 1963 to 1967.

Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: AIEEE , Bank Exams

5 2505
Q:

Where was India's first F1 circuit built?

A) Jaipur B) Coimbatore
C) Noida D) Chennai
 
Answer & Explanation Answer: C) Noida

Explanation:

Fi circuit refers to Formula One, is the highest class of open-wheeled auto racing defined by FIA, motorsport's world governing body.

 

The Buddh International Circuit is an Indian motor racing circuit in Greater Noida, Uttar Pradesh was India's first F1 circuit.

Report Error

View Answer Report Error Discuss

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

5 2505
Q:

By what name is the combined water stream of Ganga and Brahmaputra known?

 

A) Padma   B) Jamuna
C) Meghna D) Tsangpo
 
Answer & Explanation Answer: C) Meghna

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 2504
Q:

The function of nitrogen in air is 

A) to make air a moderate supporter of combustion B) to maintain the density of air constant
C) to prevent the hydrogen in air from exploding D) to reduce the poisonous nature of ozone in air
 
Answer & Explanation Answer: A) to make air a moderate supporter of combustion

Explanation:

If air contained all oxygen and no nitrogen, everything would have burnt off

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

2 2504
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 2504