Questions

Q:

The Prestigious 'Ramanujan Mathematics Award' at Eighth National Mathematical Convention on January 28, 2014,  was awarded to

A) Mr. Sushanta Kumar B) Mr. Anand Kumar
C) Mr. Vinod Kumar Singh D) None of the above
 
Answer & Explanation Answer: B) Mr. Anand Kumar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

5 4123
Q:

Managing advertising, sales promotion and public relations :

what is public relations in marketing?

Answer

Public relations includes promotional activities that work to create a strong public image of the company. Public relations activities include helping the public to understand the company and its products. Public relations if done right can reach a large audience without the expensive cost of traditional advertising and marketing.

Report Error

View answer Workspace Report Error Discuss

0 4123
Q:

SNOBOL is mainly used for

A) Text Operation B) String operations
C) List operations D) Numerical operations
 
Answer & Explanation Answer: B) String operations

Explanation:

SNOBOL is a high-level computer programming language used especially in manipulating textual data. It is mainly used for string operations and was developed between 1962 and 1967.

Report Error

View Answer Report Error Discuss

52 4123
Q:

Which of the following cities is the first mono rail inaugurated?

A) Delhi B) Mumbai
C) Kolkata D) Bangalore
 
Answer & Explanation Answer: B) Mumbai

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

4 4122
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 4121
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 4120
Q:

India was partitioned as a consequence of the formula contained in 

A) Cabinet Mission Plan B) Attlee's Declaration
C) June 3 plan or Mountbatten plan D) Both (b) and (c)
 
Answer & Explanation Answer: C) June 3 plan or Mountbatten plan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

2 4119
Q:

Which country is separated from India by the McMohan line ?

A) Bangladesh B) Afghanistan
C) China D) Pakistan
 
Answer & Explanation Answer: C) China

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

1 4119