Questions

Q:

How would you check whether the contents of two structure variables are same or not?

Answer

struct emp


{


     char n[20];


      int age;


};


main()


{


    struct emp e1 = {"Dravid", 23};


   struct emp e2;


   scanf ("%s %d",e2.n, & e2.age);


   if( structcmp (e1,e2) ==0)


        printf ("The structures are equal");


   else


         printf ("The structures are unequal");


}


structcmp ( struct emp x, struct emp y)


{


     if (strcmp (x.n,y.n) ==0)


           if (x.age == y.age)


            return (0);


            return (1);


}


In short, if you nee to compare two structures, you'll have to write your own function to do so which carries out the comparison field by field.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3489
Q:

Classify the Hashing Functions based on the various methods by which the key value is found.

Answer

Direct method,


 Subtraction method,


 Modulo-Division method,


 Digit-Extraction method,


 Mid-Square method,


 Folding method,


Pseudo-random method

Report Error

View answer Workspace Report Error Discuss

Subject: Technology

5 3489
Q:

The International Waste Picker's Day is observed on which date?

 

A) 1 March B) 3 March
C) 5 March D) 7 March
 
Answer & Explanation Answer: A) 1 March

Explanation:

The International Waste Picker's Day is observed on 1st March in memory of the massacre in Colombia in which 11 workers were brutally killed University of Barranquilla.

 

Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: Bank Exams

1 3489
Q:

I am whole but incomplete. I have no eyes, yet I see. You can see, and see right through me. My largest part is one fourth of what I once was.

What am I?

Answer

A Skeleton is what is whole but incomplete, have no eyes, yet can see. We can see, and see right through it. The largest part is one fourth of what it once was i.e body.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 3488
Q:

The first women Prime Minister of India?

A) Sarojini Naidu B) Sonia Gandhi
C) Indira Gandhi D) Laxmi Bai
 
Answer & Explanation Answer: C) Indira Gandhi

Explanation:

The first women Prime Minister of India is Indira Gandhi.

The_first_women_Prime_Minister_of_India1542605399.jpg image

 

Following the death of Indian Prime Minister Lal Bahadur Shastri, Indira Gandhi becomes head of the Congress Party and thus prime minister of India in the year 1966 until her death in 1984.

 

Report Error

View Answer Report Error Discuss

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

2 3487
Q:

You have recently been promoted to a project manager for a clinical testing facility. The team is developing a new product that will cut down on testing interval requirements for a new seizure management medication. After you become involved with the project, you decide to add more research reports, which the customer did not request. This is an example of 

A) Good customer service scope B) Scope creep
C) Due diligence D) Gold Plating
 
Answer & Explanation Answer: D) Gold Plating

Explanation:

Answer A is incorrect because you are providing a service that the customer did not request; therefore, it might not be important to her and unnecessary. Answer B is incorrect because scope creep is generally an expansion of the scope of the project at the customer's request and the customer did not request these reports. Answer C is incorrect because an additional report does not always mean increased diligence with a project.

Report Error

View Answer Report Error Discuss

Filed Under: PMP Certification

0 3485
Q:

A machine powered by rotating blades is a

A) Fumerole B) Turbines
C) Solar panel D) None of the above
 
Answer & Explanation Answer: B) Turbines

Explanation:

Turbines are machines powered by rotating blades.

Report Error

View Answer Report Error Discuss

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

4 3484
Q:

The command center of fluid intake is located in the

A) Hypothalamus B) Adrenal glands
C) Kidneys D) None of the above
 
Answer & Explanation Answer: A) Hypothalamus

Explanation:

The command center of fluid intake is located in the Hypothalamus.

Report Error

View Answer Report Error Discuss

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

3 3484