Questions

Q:

What has a mouth but never smiles?

Answer

A bottle has a mouth from which we used to drink water or any juice. But it cannot smile.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: TOEFL , GRE , GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

13 4138
Q:

Seagate is manufacturer of

A) harddisk B) earth moving equipment
C) picture tube D) banking software
 
Answer & Explanation Answer: A) harddisk

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

14 4137
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 4137
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 4137
Q:

How do you detect a sequence of "1101" arriving serially from a signal line?

Answer

A SIPO and AND gate circuit can detect this sequence.The output of SIPO is connected to a four input AND gate ,the third SIPO output should be connected through a NOT gate.When the 1101 sequence is loaded in to the SIPO the AND output goes HIGH otherwise keeps LOW.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 4136
Q:

A lady who remains unmarried

A_lady_who_remains_unmarried1553081869.jpg image

A) Bachelore B) Prissy
C) Spinster D) Anthrope
 
Answer & Explanation Answer: C) Spinster

Explanation:

A lady who remains unmarried never have a child or divorsed is called as Spinster.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

0 4135
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 4133
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 4133