Questions

Q:

Which Airport ranked first in Customer Satisfaction Index Survey in India ?

A) Udaipur Airport B) Raipur Airport
C) Amritsar Airport D) Dehradun Airport
 
Answer & Explanation Answer: B) Raipur Airport

Explanation:

Raipur’s Swami Vivekananda Airport was ranked first in Customer Satisfaction Index (CSI) Survey among 49 airports in the country. It has achieved 4.84 score on a five point scale index. It was followed by Udaipur (2nd), Amritsar (3rd) and Dehradun (4th) airports which have scored 4.75, 4.74 and 4.73 respectively. This is third consecutive time in the past two years, Raipur airport has received this recognition.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

11 4099
Q:

Which interrupts is not level-sensitive in 8085?

Answer

TST 7.5 is a raising edge-triggering interrupt.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

2 4097
Q:

Number of moles of solute present in 1 litre of solution is

A) Normality B) Molarity
C) Molality D) Formality
 
Answer & Explanation Answer: B) Molarity

Explanation:

Moles of solute present in 1 litre or 1000ml of solution is called molarity

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

5 4097
Q:

Which letter indicates systolic pressure?

A) i B) b
C) c D) a
 
Answer & Explanation Answer: D) a

Explanation:

a -  at the peak of changes in blood pressure indicates the systiolic pressure.

Report Error

View Answer Report Error Discuss

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

7 4096
Q:

The book “The Other One Percent: Indians in America” has been authored by whom?

A) Lionel Messi B) Balaji Vittal
C) Sanjoy Chakravorty D) Joe Harris
 
Answer & Explanation Answer: C) Sanjoy Chakravorty

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: CAT
Job Role: Bank PO

6 4096
Q:

Streptomycin was invented by

A) Fleming B) Marie Curie
C) Walksman D) None of these
 
Answer & Explanation Answer: C) Walksman

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

1 4095
Q:

How would you use qsort() function to sort an array of structures?

Answer

#include "string.h"


#include "stdlib.h"


struct stud


{


       int rollno;


       int marks;


       char name[30];


};


int sort_m (struct stud *, struct stud *);


int sort_name (struct stud *, struct stud *);


int sort_marks (struct stud *, struct stud *);


 


main()


{


static struct stud ss[] = {


                                            { 15, 96, "Akshay" },


                                            { 2, 97, "Madhuri" },


                                            { 8, 85, "Aishvarya" },


                                            { 10, 80, "Sushmita" }


                                   };


int x,w;


clrscr();


w = sizeof (struct stud);


 


printf ('\nIn order of roll numbers:");


qsort (ss, 4, w, sort_rn);


for(x=0; x<4;x++)


     printf ("\n%d%s%d", ss[x].rollno, ss[x].name,ss[x].marks);


 


printf("\n\nIn order of names:");


qsort(ss, 4, sort_name);


 


for (x=0; x<4;x++)


      printf("\n%d%s%d",ss[x].rollno, ss[x].name,ss[x].marks);


printf("\n\nIn order of marks:");


qsort(ss,4,w,sort_marks);


 


for (x=0;x<4;x++)


      printf ("\n%d%s%d",ss[x].rollno,ss[x].name,ss[x].marks);


}


int sort_rn (struct stud *t1, struct stud *t2)


{


     return (t1->rollno-t2->rollno);


}


 


int sort_name (struct stud *t1, struct stud *t2)


{


     return (strcmp(t1->name,t2->name));


}


int sort_marks (struct stud *t1, struct stud *t2)


{


     return (t2->marks-t1->marks);


}


 


 


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 4095
Q:

Write a c program to find out sum of diagonal element of a matrix.

Answer

#include<stdio.h>

int main(){

  int a[10][10],i,j,sum=0,m,n;

  printf("\nEnter the row and column of matrix: ");
  scanf("%d %d",&m,&n);

  printf("\nEnter the elements of matrix: ");
  for(i=0;i<m;i++)
      for(j=0;j<n;j++)
           scanf("%d",&a[i][j]);
  printf("\nThe matrix is\n");

  for(i=0;i<m;i++){
      printf("\n");
      for(j=0;j<m;j++){
      printf("%d\t",a[i][j]);
      }
 }
 for(i=0;i<m;i++){
     for(j=0;j<n;j++){
          if(i==j)
              sum=sum+a[i][j];
     }
 }
 printf("\n\nSum of the diagonal elements of a matrix is: %d",sum);

 return 0;
}

Sample output:

Enter the row and column of matrix: 3 3
Enter the elements of matrix:
2
3
5
6
7
9
2
6
7
The matrix is
2       3       5
6       7       9
2       6       7
Sum of the diagonal elements of a matrix is: 16

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 4095