Questions

Q:

For accurate scientific work, temperatures are often measured by

A) mercury thermometers B) alcohol thermometers
C) platinum resistance thermometers D) thermoelectric thermometers
 
Answer & Explanation Answer: C) platinum resistance thermometers

Explanation:

The resistance of metallic conductors e.g, platinum, increases with rise of  temperature . The increase in temperature results in a decrease of current which can be recorded in a galvanometer if the conductor is included in an electrical circuit. Thus the temperature can be known; platinum resistance thermometer is used generally for accurate scientific work. When two dissimilar metals are joined at the ends, and these ends are subjected to a difference of temperature, a current flows through the metals. Greater the difference of temperature , greater the current. So the curent strength can form the basis for measuring the difference in temperature. And when one of these temperatures is known, we can calculate the other.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

1 4065
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 4064
Q:

What is the formula for ranking keyword-targeted ads on the Search Network?

Answer

(Maximum Cost Per Click) x (Quality Score)

Report Error

View answer Workspace Report Error Discuss

12 4063
Q:

The clipboard

A) is a Cache memory B) is a feature that stores user information
C) is used to temporarily store, items that has been cut or copied D) is a feature that saves file temporarily
 
Answer & Explanation Answer: C) is used to temporarily store, items that has been cut or copied

Explanation:

A clipboard is a temporary storage area for items that the user wants to cut or copy from one place to another.

 

For example, in a word processor application, the user might want to cut text from one part of a document and paste it in another part of the document or somewhere else, it is temporarily stored in clipboard.

Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration

4 4063
Q:

How many grand slam tournaments are held in tennis every year?

A) 2 B) 4
C) 5 D) 6
 
Answer & Explanation Answer: B) 4

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

12 4061
Q:

Which river has no mention in Rigaveda

A) Sindhu B) Saraswati
C) Yamuna D) Periyar
 
Answer & Explanation Answer: D) Periyar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

2 4060
Q:

Rabindranath Tagore was awarded Noble Prize for his literary work named

A) Geetanjali B) Rajtarangini
C) Chokher Bali D) None of these
 
Answer & Explanation Answer: A) Geetanjali

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

2 4060
Q:

Who accuses Gulliver of Treason?

A) Balmuff B) Limtoc
C) Lalcon D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

In Blefescu, Limtoc the general, Lalcon the chamberlain, and Balmuff the grand justiciary accuse Gulliver of treason.

Report Error

View Answer Report Error Discuss

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

5 4055