Questions

Q:

How would you find the length of each string in the following Program?

main()

{

    char *str[] = { "Frogs", "Do", "Not" , "Die" , "They" , "Croak!"};

    printf ("%d%d", sizeof (str), sizeof (str[0]));

}

Answer

main()


{


   char *str[] = { "Frogs", "Do", "Not", "Die." , "They", "Croak!" };


   int i;


         for ( i = 0;i<=5;i++)


         printf ("\n%s%d", str[i], strlen( str[i]));


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2148
Q:

Project Risk Management - Processes

Describe the Inputs, Tools and Techniques , Outputs included in the Qualitative Risk Analysis?

Answer

I. Inputs



  • Organizational process assets

  • Project scope statement 

  • Risk management plan

  • Risk register


II.  Tools and Techniques



  • Risk probability and impact assesment

  • Probability and impact matrix

  • Risk data quality assessment

  • Risk categorization 

  • Risk Urgency assessment


III. Outputs



  • Risk register (updates)

Report Error

View answer Workspace Report Error Discuss

0 2148
Q:

Around twelfth century, Sufi Silsilas began to ciystgdlize in different parts of the Islamic world to signify

1.continuous link between the master and disciple

2. unbroken spiritual genealogy to the Prophet Muhammad

3. the transmission of spiritual power and blessings to devotees

Select the correct answer using the code given below.

A) 1 and 2 only B) 2 only
C) 1 and 3 only D) 1, 2 and 3
 
Answer & Explanation Answer: D) 1, 2 and 3

Explanation:

Sufi silsilas began to crystallise in different parts of the Islamic world around the twelfth century. The word silsila literally means a chain, signifying a continuouslink between master and disciple, stretching as an unbroken spiritual genealogy to the Prophet Muhammad. It was through this channel that spiritual power and blessings were transmitted to devotees. Special rituals of initiation were developed in which initiates took an oath of allegiance, wore a patched garment, and shaved their hair. Thus, all statements are correct.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 2147
Q:

How to clear Computer Motherboard CMOS password?

Answer

To clear the CMOS password you just remove the CMOS Battery or else you can also use a jumper settings.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 2147
Q:

Of which country was the religion 'Shintoism'?

A) Japan B) China
C) Arabs D) Turkey
 
Answer & Explanation Answer: A) Japan

Explanation:

The old religion of Japan is known as Shiltoism. This religion consists mainly of the worship of the forces of nature.

Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2147
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

To heave a sigh of relief

A) To ecome very tired with routine or boring work B) To suddenly feel very happy because something unpleasant has not happened or has ended
C) To Feel extremely sad over someone else's misfortune D) To Feel silent anger over real or perceived injustice
 
Answer & Explanation Answer: B) To suddenly feel very happy because something unpleasant has not happened or has ended

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2147
Q:

In the following question, a sentence has been given in Active/Passive voice. Out of the four alternatives suggested, select the one which best expresses the same sentence in Passive/Active voice.

 

Grandmother is knitting a sweater for you.

A) A sweater is being knit by grandmother for you. B) A sweater will be knit by grandmother for you.
C) Grandmother is knitting for you a sweater. D) Knitting of a sweater has been done by grandmother for you.
 
Answer & Explanation Answer: A) A sweater is being knit by grandmother for you.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT , GRE , TOEFL

0 2147
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.

It's nothing short of a revolution in how we eat, and it's getting closer every day. Yes, a lot of people are obese, and yes, the definition of "healthy eating" seems to change all the time. But in labs and research centres around the world, scientists are racing to match our genes and our taste buds, creating the perfect diet for each of us, a diet that will fight disease, increase longevity, boost physical and mental performance, and taste great to boot. As food scientist J.Bruce German says, "The foods we like the most will be the most healthy for us."

Is that going to be a great day, or what?

All this will come to pass, thanks to genomics, the science that maps and describes an individual's genetic code. In the future, personalized DNA chips will allow us to assess our own inherited predispositions for certain diseases, then adjust our diets accordingly. So, if you're at risk for heart disease, you won't just go on a generic low-fat diet. You'll eat foods with just the right amount and type of fat that's best for you. You'll even be able to track your metabolism day-to-day to determine what foods you should eat at any given time, for any given activity. "Since people differ in their genetics and metabolism, one diet won't fit all," says German. As complex as all this sounds, it could turn out to be relatively simple.

What does J. Bruce German say?

A) The food we like is not healthy for us B) The food we like is the healthiest one for us
C) The most healthy food should be liked by us D) Food scientists like healthy food
 
Answer & Explanation Answer: B) The food we like is the healthiest one for us

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2146