Questions

Q:

With reference to the first battle of freedom in 1857, who was related to Jhansi ?

A) Chandra Shekhar Azad B) Rani Lakshmi Bai
C) Mangal Pandey D) Bhagat Singh
 
Answer & Explanation Answer: B) Rani Lakshmi Bai

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: AIEEE , Bank Exams
Job Role: Bank Clerk , Bank PO

18 4126
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 4126
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 4125
Q:

What is the capital of Hungary?

A) Budapest B) Reykjavik
C) Santo Domingo D) None
 
Answer & Explanation Answer: A) Budapest

Explanation:

Budapest is the capital of Hungary

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

13 4124
Q:

The shortest air route from Moscow to San Francisco is

A) Over the Atlantic Ocean B) Over the Pacific via Siberia
C) Over the North Pole D) Through the latitude which passes through them
 
Answer & Explanation Answer: A) Over the Atlantic Ocean

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

5 4123
Q:

Define what is Six Sigma?

Answer



Six sigma is a data-driven technique and way for eliminating defects in any progress from product to service and from manufacturing to transactional.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Manufacturing

6 4122
Q:

What does NPP stand for

A) Nonprofit Partnership B) National Population Policy
C) Nobel Peace Prize D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Some more NPP Acronym stands for 

NPP New Patriotic Party

NPP Nuclear Power Plant

NPP Notice of Privacy Practices

NPP Non-Physician Practitioner

NPP New Progressive Party

NPP National Patriotic Party

NPP Notice of Proposed Procurement

NPP Neighbourhood Police Post (Singapore)

NPP Non-Paged Pool (memory)

NPP Nurse Practitioner in Psychiatry.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 4122
Q:

The First step of Bacterial Replication is

A) Pinching of the plasma membrane B) Separation of daughter cells
C) Attachment of the DNA to the plasma membrane D) DNA Replication
 
Answer & Explanation Answer: D) DNA Replication

Explanation:

The First step of Bacterial Replication is DNA Replication.

DNA must be copied in order to proceed.

Report Error

View Answer Report Error Discuss

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

3 4121