Questions

Q:

A boy sitting in a train moving with a uniform velocity drops a coin outside. A man standing outside the train will find the trajectory of the coin to be

A) a parabola B) a circle
C) a horizontal straight line D) a vertical straight line
 
Answer & Explanation Answer: A) a parabola

Explanation:

Parabola, because when the coin is dropped at a particular point, it has the same velocity as the running train. So by Newton's first law, it continues its motion horizontally with that velocity. But then, it is also pulled down by earth's gravity continuously. In this situation its horizontal motion gives way to the parabolic motion until it reaches the ground.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

2 4139
Q:

Which is smallest state by area of India ?

Answer

Goa

Report Error

View answer Workspace Report Error Discuss

18 4138
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 4138
Q:

Subject matters experts (SMEs) are resources that are imperative to the succes of a project. Many times, project managers are not experts in the areas they are managing and frequently must rely upon other's expertise. In which scope - management process are SMEs first used?

A) Scope planning B) Scope definition
C) Initiation D) Scope verification
 
Answer & Explanation Answer: C) Initiation

Explanation:

Initiation is the first step in the scope management process, and expert judgment is one of the techniques routinely utilized. Answers A, B, and D are incorrect because they would come after the initiation process.

Report Error

View Answer Report Error Discuss

Filed Under: PMP Certification

0 4137
Q:

Solids have definite shapes.This is because

A) the forces of cohesion of the molecules within are very much less in them B) the forces of cohesion are very large
C) the forces of adhesion are large D) the forces of adhesion are less
 
Answer & Explanation Answer: B) the forces of cohesion are very large

Explanation:

Cohesion refers to attraction between molecules of the same kind while adhesion refers to attraction between different kinds of molecules

Report Error

View Answer Report Error Discuss

Filed Under: Physics

3 4136
Q:

Proteins differ from one another because

A) The peptide bonds linking amino acids differ from protein to protein B) Each protein contains its own unique sequence of sugar molecules
C) The number of nucleotides found in each protein varies from molecule to molecule D) The sequence of amino acids in the polypeptide chain differs from protein to protein
 
Answer & Explanation Answer: D) The sequence of amino acids in the polypeptide chain differs from protein to protein

Explanation:
Report Error

View Answer Report Error Discuss

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

0 4136
Q:

'Roaring Forties' are 

A) waterfalls in canada B) cyclonic winds
C) the turbulent years in world History from 1940 to 1944 D) westerly winds blowing through out the year over the oceans of the Southern Hemisphere between 40 degrees and 60 degrees south
 
Answer & Explanation Answer: D) westerly winds blowing through out the year over the oceans of the Southern Hemisphere between 40 degrees and 60 degrees south

Explanation:

The absence of a landmass within these latitudes in the southern hemisphere eliminate friction and lends force to these winds and hence derives the name

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

0 4134
Q:

Hormones are chemicals secreted and regulated by the endocrine system.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

True. Hormones are chemicals secreted and regulated by the endocrine system.

Report Error

View Answer Workspace Report Error Discuss

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

4 4133