1. Consider the same sequence of three instructions ‘and the same initial state mentioned above. Three more instructions are added at the end of the above sequence to have A contain 4 litres of water. In this total sequence of six instructions, the fourth one is DRAIN (A). This is the only DRAIN instruction in the entire sequence. At the end of the execution of the above sequence, how much water (in litres) is contained in C?





Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->A school has only three classes comprised of 40, 50 and 60 students respectively. In these classes, 10%, 20% and 10% students respectively passed in the examinations. What is the percentage of students passed in the examination from the entire school?....
QA->When execution of public work does not need much skill, what mode shall be given priority?....
QA->The difference between the total present value of a stream of cash flow of a given rate of discount and the initial capital outlay is known as :....
QA->A program Graph has ‘start’ and ‘end’ nodes. The total number of paths from start to end is equivalent to the -----------set of test data required to test the software.....
QA->In a Program Graph, ‘X’ is an if-then-else node. If the number of paths from start node to X is ‘p’ number of paths from if part to end node is ‘q’ and from else part to end node is ’r’, the total number of possible paths through X is :....
MCQ->Consider the same sequence of three instructions ‘and the same initial state mentioned above. Three more instructions are added at the end of the above sequence to have A contain 4 litres of water. In this total sequence of six instructions, the fourth one is DRAIN (A). This is the only DRAIN instruction in the entire sequence. At the end of the execution of the above sequence, how much water (in litres) is contained in C?....
MCQ-> The second plan to have to examine is that of giving to each person what she deserves. Many people, especially those who are comfortably off, think this is what happens at present: that the industrious and sober and thrifty are never in want, and that poverty is due to idleness, improvidence, drinking, betting, dishonesty, and bad character generally. They can point to the fact that a labour whose character is bad finds it more difficult to get employment than one whose character is good; that a farmer or country gentleman who gambles and bets heavily, and mortgages his land to live wastefully and extravagantly, is soon reduced to poverty; and that a man of business who is lazy and does not attend to it becomes bankrupt. But this proves nothing that you cannot eat your cake and have it too; it does not prove that your share of the cake was a fair one. It shows that certain vices make us rich. People who are hard, grasping, selfish, cruel, and always ready to take advantage of their neighbours, become very rich if they are clever enough not to overreach themselves. On the other hand, people who are generous, public spirited, friendly, and not always thinking of the main chance, stay poor when they are born poor unless they have extraordinary talents. Also as things are today, some are born poor and others are born with silver spoons in their mouths: that is to say, they are divided into rich and poor before they are old enough to have any character at all. The notion that our present system distributes wealth according to merit, even roughly, may be dismissed at once as ridiculous. Everyone can see that it generally has the contrary effect; it makes a few idle people very rich, and a great many hardworking people very poor.On this, intelligent Lady, your first thought may be that if wealth is not distributed according to merit, it ought to be; and that we should at once set to work to alter our laws so that in future the good people shall be rich in proportion to their goodness and the bad people poor in proportion to their badness. There are several objections to this; but the very first one settles the question for good and all. It is, that the proposal is impossible and impractical. How are you going to measure anyone's merit in money? Choose any pair of human beings you like, male or female, and see whether you can decide how much each of them should have on her or his merits. If you live in the country, take the village blacksmith and the village clergyman, or the village washerwoman and the village schoolmistress, to begin with. At present, the clergyman often gets less pay than the blacksmith; it is only in some villages he gets more. But never mind what they get at present: you are trying whether you can set up a new order of things in which each will get what he deserves. You need not fix a sum of money for them: all you have to do is to settle the proportion between them. Is the blacksmith to have as much as the clergyman? Or twice as much as the clergyman? Or half as much as the clergyman? Or how much more or less? It is no use saying that one ought to have more the other less; you must be prepared to say exactly how much more or less in calculable proportion.Well, think it out. The clergyman has had a college education; but that is not any merit on his part: he owns it to his father; so you cannot allow him anything for that. But through it he is able to read the New Testament in Greek; so that he can do something the blacksmith cannot do. On the other hand, the blacksmith can make a horse-shoe, which the parson cannot. How many verses of the Greek Testament are worth one horse-shoe? You have only to ask the silly question to see that nobody can answer it.Since measuring their merits is no use, why not try to measure their faults? Suppose the blacksmith swears a good deal, and gets drunk occasionally! Everybody in the village knows this; but the parson has to keep his faults to himself. His wife knows them; but she will not tell you what they are if she knows that you intend to cut off some of his pay for them. You know that as he is only a mortal human being, he must have some faults; but you cannot find them out. However, suppose he has some faults he is a snob; that he cares more for sport and fashionable society than for religion! Does that make him as bad as the blacksmith, or twice as bad, or twice and quarter as bad, or only half as bad? In other words, if the blacksmith is to have a shilling, is the parson to have six pence, or five pence and one-third, or two shillings? Clearly these are fools' questions: the moment they bring us down from moral generalities to business particulars it becomes plain to every sensible person that no relation can be established between human qualities, good or bad, and sums of money, large or small.It may seem scandalous that a prize-fighter, for hitting another prize-fighter so hard at Wembley that he fell down and could not rise within ten seconds, received the same sum that was paid to the Archbishop of Canterbury for acting as Primate of the Church of England for nine months; but none of those who cry out against the scandal can express any better in money the difference between the two. Not one of the persons who think that the prize-fighter should get less than the Archbishop can say how much less. What the prize- fighter got for his six or seven months' boxing would pay a judge's salary for two years; and we all agree that nothing could be more ridiculous, and that any system of distributing wealth which leads to such absurdities must be wrong. But to suppose that it could be changed by any possible calculation that an ounce of archbishop of three ounces of judge is worth a pound of prize-fighter would be sillier still. You can find out how many candles are worth a pound of butter in the market on any particular day; but when you try to estimate the worth of human souls the utmost you can say is that they are all of equal value before the throne of God:And that will not help you in the least to settle how much money they should have. You must simply give it up, and admit that distributing money according to merit is beyond mortal measurement and judgement.Which of the following is not a vice attributed to the poor by the rich?
 ....
MCQ-> Please read the three reports (newspaper articles) on ranking of different players and products in smart phones industry and answer the questions that follow. Report 1: (Feb, 2013) Apple nabs crown as current top US mobile phone vendor Apple’s reign may not be long, as Samsung is poised to overtake Apple in April, 2013. For the first time since Apple entered the mobile phone market in 2007, it has been ranked the top mobile phone vendor in the US. For the latter quarter of 2012, sales of its iPhone accounted for 34 percent of all mobile phone sales in the US - including feature phones - according to the latest data from Strategy Analytics. While the iPhone has consistently been ranked the top smartphone sold in the US, market research firm NPD noted that feature phone sales have fallen off a cliff recently, to the point where 8 out of every 10 mobile phones sold in the US are now smartphones. That ratio is up considerably from the end of 2011, when smartphones had just cracked the 50 percent mark. Given this fact it’s no surprise that Apple, which only sells smartphones, has been able to reach the top of the overall mobile phone market domestically. For the fourth quarter of 2012, Apple ranked number one with 34 percent of the US mobile market, up from 25.6 percent year over year. Samsung grew similarly, up to 32.3 percent from 26.9 percent - but not enough to keep from slipping to second place. LG dropped to 9 percent from 13.7 percent, holding its third place spot. It should be noted that Samsung and LG both sell a variety of feature phones in addition to smartphones. Looking only at smartphones, the ranking is a little different according to NPD. Apple holds the top spot with 39 percent of the US smartphone market, while Samsung again sits at number two with 30 percent. Motorola manages to rank third with 7 percent, while HTC dropped to fourth with 6 percent. In the US smartphone market, LG is fifth with 6 percent. Note how the percentages aren’t all that different from overall mobile phone market share - for all intents and purposes, the smartphone market is the mobile phone market in the US going forward. Still, Samsung was the top mobile phone vendor overall for 2012, and Strategy Analytics expects Samsung to be back on top soon. “Samsung had been the number one mobile phone vendor in the US since 2008, and it will surely be keen to recapture that title in 2013 by launching improved new models such as the rumored Galaxy S4”. And while Apple is the top vendor overall among smartphones, its iOS platform is still second to the Android platform overall. Samsung is the largest vendor selling Android-based smartphones, but Motorola, HTC, LG, and others also sell Android devices, giving the platform a clear advantage over iOS both domestically and globally. Report 2: Reader’s Response (2013, Feb) I don’t actually believe the numbers for Samsung. Ever since the debacle in early 2011, when Lenovo called into question the numbers Samsung was touting for tablet shipments, stating that Samsung had only sold 20,000 of the 1.5 million tablets they shipped into the US the last quarter of 2010, Samsung (who had no response to Lenovo) has refused to supply quarterly sales numbers for smartphones or tablets. That’s an indication that their sales aren’t what analysts are saying. We can look to several things to help understand why. In the lawsuit between Apple and Samsung here last year, both were required to supply real sales numbers for devices under contention. The phones listed turned out to have sales between one third and one half of what had been guessed by IDC and others. Tablet sales were even worse. Of the 1.5 million tablets supposedly shipped to the US during that time, only 38,000 were sold. Then we have the usage numbers. Samsung tablets have only a 1.5% usage rate, where the iPad has over 90%. Not as much a difference with the phones but it’s still overwhelmingly in favor of iPhone. The problem is that with Apple’s sales, we have actual numbers to go by. The companies who estimate can calibrate what they do after those numbers come out. But with Samsung and many others, they can’t ever calibrate their methods, as there are no confirming numbers released from the firms. A few quarters ago, as a result, we saw iSupply estimate Samsung’s smartphone sales for the quarter at 32 million, with estimates from others all over the place up to 50 million. Each time some other company reported a higher number for that same quarter, the press dutifully used that higher number as THE ONE. But none of them was the one. Without accurate self-reporting of actual sales to the end users, none of these market share charts are worth a damn! Report 3: Contradictory survey (Feb, 2013) iPhone5 Ranks Fifth In U.S. Customer Satisfaction Survey inShare. The iPhone5 ranks fifth in customer satisfaction according to the results of a recent survey from OnDevice Research, a mobile device research group. In the poll, they asked 320,000 smartphone and tablet users from six different countries, how satisfied they were with their devices. According to 93,825 people from the US, Motorola Atrix HD is the most satisfying and Motorola’s Droid Razr took second spot. HTC Corp (TPE : 2498)’s Rezound 4G and Samsung Galaxy Note 2 took third and fourth spots, while Apple’s iPhone5 landed in fifth spot. It appears that Apple may be lagging in consumer interest. OnDevice Research, Sarah Quinn explained, “Although Apple created one of the most revolutionary devices of the past decade, other manufactures have caught up, with some Android powered devices now commanding higher levels of user satisfaction.” Despite the lower rankings, things aren’t looking too bad for Apple Inc. (NASDAQ:AAPL) elsewhere. In the United Kingdom, they ranked second place, right after HTC One X. Interesting enough, Apple did take top spot for overall satisfaction of mobile device, whereas Google Inc. (NASDAQ:GOOG) ranked second. Motorola Mobility Holdings Inc. (NYSE:NOK) took third, fourth, and fifth places respectively, while Sony Ericsson trailed behind at sixth place. The survey sampled mobile device users in the following countries: United States, United Kingdom, France, Germany, Japan, and Indonesia. Although OnDevice didn’t share the full list of devices mentioned in the survey, it does show some insight to what customers want. Unfortunately, there were still many questions regarding the survey that were left unanswered. Everyone wants to know why Google Inc. (NASDAQ:GOOG) was on the list when they are not an actual smartphone maker and why was Samsung Electronics Co., Ltd. (LON:BC94) on the bottom of the satisfaction list when the brand is leading elsewhere. Source: 92.825 US mobile users, July 2012 - January 2013 Fortunately, those questions were answered by OnDevice Research’s representative. He explained that the survey was conducted on mobile web where the survey software could detect the taker’s device and since user’s rate their satisfaction levels on a 1 to 10 scale, thanks to the Nexus device, Google was included.If you analyze the three reports above, which of the following statements would be the best inference?
 ....
MCQ-> Studies of the factors governing reading development in young children have achieved a remarkable degree of consensus over the past two decades. The consensus concerns the causal role of ‘phonological skills in young children’s reading progress. Children who have good phonological skills, or good ‘phonological awareness’ become good readers and good spellers. Children with poor phonological skills progress more poorly. In particular, those who have a specific phonological deficit are likely to be classified as dyslexic by the time that they are 9 or 10 years old.Phonological skills in young children can be measured at a number of different levels. The term phonological awareness is a global one, and refers to a deficit in recognising smaller units of sound within spoken words. Development work has shown that this deficit can be at the level of syllables, of onsets and rimes, or phonemes. For example, a 4-year old child might have difficulty in recognising that a word like valentine has three syllables, suggesting a lack of syllabic awareness. A five-year-old might have difficulty in recognizing that the odd work out in the set of words fan, cat, hat, mat is fan. This task requires an awareness of the sub-syllabic units of the onset and the rime. The onset corresponds to any initial consonants in a syllable words, and the rime corresponds to the vowel and to any following consonants. Rimes correspond to rhyme in single-syllable words, and so the rime in fan differs from the rime in cat, hat and mat. In longer words, rime and rhyme may differ. The onsets in val:en:tine are /v/ and /t/, and the rimes correspond to the selling patterns ‘al’, ‘en’ and’ ine’.A six-year-old might have difficulty in recognising that plea and pray begin with the same initial sound. This is a phonemic judgement. Although the initial phoneme /p/ is shared between the two words, in plea it is part of the onset ‘pl’ and in pray it is part if the onset ‘pr’. Until children can segment the onset (or the rime), such phonemic judgements are difficult for them to make. In fact, a recent survey of different developmental studies has shown that the different levels of phonological awareness appear to emerge sequentially. The awareness of syllables, onsets, and rimes appears to merge at around the ages of 3 and 4, long before most children go to school. The awareness of phonemes, on the other hand, usually emerges at around the age of 5 or 6, when children have been taught to read for about a year. An awareness of onsets and rimes thus appears to be a precursor of reading, whereas an awareness of phonemes at every serial position in a word only appears to develop as reading is taught. The onset-rime and phonemic levels of phonological structure, however, are not distinct. Many onsets in English are single phonemes, and so are some rimes (e.g. sea, go, zoo).The early availability of onsets and rimes is supported by studies that have compared the development of phonological awareness of onsets, rimes, and phonemes in the same subjects using the same phonological awareness tasks. For example, a study by Treiman and Zudowski used a same/different judgement task based on the beginning or the end sounds of words. In the beginning sound task, the words either began with the same onset, as in plea and plank, or shared only the initial phoneme, as in plea and pray. In the end-sound task, the words either shared the entire rime, as in spit and wit, or shared only the final phoneme, as in rat and wit. Treiman and Zudowski showed that four- and five-year-old children found the onset-rime version of the same/different task significantly easier than the version based on phonemes. Only the sixyear- olds, who had been learning to read for about a year, were able to perform both versions of the tasks with an equal level of success.From the following statements, pick out the true statement according to the passage.
 ....
MCQ-> The broad scientific understanding today is that our planet is experiencing a warming trend over and above natural and normal variations that is almost certainly due to human activities associated with large-scale manufacturing. The process began in the late 1700s with the Industrial Revolution, when manual labor, horsepower, and water power began to be replaced by or enhanced by machines. This revolution, over time, shifted Britain, Europe, and eventually North America from largely agricultural and trading societies to manufacturing ones, relying on machinery and engines rather than tools and animals.The Industrial Revolution was at heart a revolution in the use of energy and power. Its beginning is usually dated to the advent of the steam engine, which was based on the conversion of chemical energy in wood or coal to thermal energy and then to mechanical work primarily the powering of industrial machinery and steam locomotives. Coal eventually supplanted wood because, pound for pound, coal contains twice as much energy as wood (measured in BTUs, or British thermal units, per pound) and because its use helped to save what was left of the world's temperate forests. Coal was used to produce heat that went directly into industrial processes, including metallurgy, and to warm buildings, as well as to power steam engines. When crude oil came along in the mid- 1800s, still a couple of decades before electricity, it was burned, in the form of kerosene, in lamps to make light replacing whale oil. It was also used to provide heat for buildings and in manufacturing processes, and as a fuel for engines used in industry and propulsion.In short, one can say that the main forms in which humans need and use energy are for light, heat, mechanical work and motive power, and electricity which can be used to provide any of the other three, as well as to do things that none of those three can do, such as electronic communications and information processing. Since the Industrial Revolution, all these energy functions have been powered primarily, but not exclusively, by fossil fuels that emit carbon dioxide (CO2), To put it another way, the Industrial Revolution gave a whole new prominence to what Rochelle Lefkowitz, president of Pro-Media Communications and an energy buff, calls "fuels from hell" - coal, oil, and natural gas. All these fuels from hell come from underground, are exhaustible, and emit CO2 and other pollutants when they are burned for transportation, heating, and industrial use. These fuels are in contrast to what Lefkowitz calls "fuels from heaven" -wind, hydroelectric, tidal, biomass, and solar power. These all come from above ground, are endlessly renewable, and produce no harmful emissions.Meanwhile, industrialization promoted urbanization, and urbanization eventually gave birth to suburbanization. This trend, which was repeated across America, nurtured the development of the American car culture, the building of a national highway system, and a mushrooming of suburbs around American cities, which rewove the fabric of American life. Many other developed and developing countries followed the American model, with all its upsides and downsides. The result is that today we have suburbs and ribbons of highways that run in, out, and around not only America s major cities, but China's, India's, and South America's as well. And as these urban areas attract more people, the sprawl extends in every direction.All the coal, oil, and natural gas inputs for this new economic model seemed relatively cheap, relatively inexhaustible, and relatively harmless-or at least relatively easy to clean up afterward. So there wasn't much to stop the juggernaut of more people and more development and more concrete and more buildings and more cars and more coal, oil, and gas needed to build and power them. Summing it all up, Andy Karsner, the Department of Energy's assistant secretary for energy efficiency and renewable energy, once said to me: "We built a really inefficient environment with the greatest efficiency ever known to man."Beginning in the second half of the twentieth century, a scientific understanding began to emerge that an excessive accumulation of largely invisible pollutants-called greenhouse gases - was affecting the climate. The buildup of these greenhouse gases had been under way since the start of the Industrial Revolution in a place we could not see and in a form we could not touch or smell. These greenhouse gases, primarily carbon dioxide emitted from human industrial, residential, and transportation sources, were not piling up along roadsides or in rivers, in cans or empty bottles, but, rather, above our heads, in the earth's atmosphere. If the earth's atmosphere was like a blanket that helped to regulate the planet's temperature, the CO2 buildup was having the effect of thickening that blanket and making the globe warmer.Those bags of CO2 from our cars float up and stay in the atmosphere, along with bags of CO2 from power plants burning coal, oil, and gas, and bags of CO2 released from the burning and clearing of forests, which releases all the carbon stored in trees, plants, and soil. In fact, many people don't realize that deforestation in places like Indonesia and Brazil is responsible for more CO2 than all the world's cars, trucks, planes, ships, and trains combined - that is, about 20 percent of all global emissions. And when we're not tossing bags of carbon dioxide into the atmosphere, we're throwing up other greenhouse gases, like methane (CH4) released from rice farming, petroleum drilling, coal mining, animal defecation, solid waste landfill sites, and yes, even from cattle belching. Cattle belching? That's right-the striking thing about greenhouse gases is the diversity of sources that emit them. A herd of cattle belching can be worse than a highway full of Hummers. Livestock gas is very high in methane, which, like CO2, is colorless and odorless. And like CO2, methane is one of those greenhouse gases that, once released into the atmosphere, also absorb heat radiating from the earth's surface. "Molecule for molecule, methane's heat-trapping power in the atmosphere is twenty-one times stronger than carbon dioxide, the most abundant greenhouse gas.." reported Science World (January 21, 2002). “With 1.3 billion cows belching almost constantly around the world (100 million in the United States alone), it's no surprise that methane released by livestock is one of the chief global sources of the gas, according to the U.S. Environmental Protection Agency ... 'It's part of their normal digestion process,' says Tom Wirth of the EPA. 'When they chew their cud, they regurgitate [spit up] some food to rechew it, and all this gas comes out.' The average cow expels 600 liters of methane a day, climate researchers report." What is the precise scientific relationship between these expanded greenhouse gas emissions and global warming? Experts at the Pew Center on Climate Change offer a handy summary in their report "Climate Change 101. " Global average temperatures, notes the Pew study, "have experienced natural shifts throughout human history. For example; the climate of the Northern Hemisphere varied from a relatively warm period between the eleventh and fifteenth centuries to a period of cooler temperatures between the seventeenth century and the middle of the nineteenth century. However, scientists studying the rapid rise in global temperatures during the late twentieth century say that natural variability cannot account for what is happening now." The new factor is the human factor-our vastly increased emissions of carbon dioxide and other greenhouse gases from the burning of fossil fuels such as coal and oil as well as from deforestation, large-scale cattle-grazing, agriculture, and industrialization.“Scientists refer to what has been happening in the earth’s atmosphere over the past century as the ‘enhanced greenhouse effect’”, notes the Pew study. By pumping man- made greenhouse gases into the atmosphere, humans are altering the process by which naturally occurring greenhouse gases, because of their unique molecular structure, trap the sun’s heat near the earth’s surface before that heat radiates back into space."The greenhouse effect keeps the earth warm and habitable; without it, the earth's surface would be about 60 degrees Fahrenheit colder on average. Since the average temperature of the earth is about 45 degrees Fahrenheit, the natural greenhouse effect is clearly a good thing. But the enhanced greenhouse effect means even more of the sun's heat is trapped, causing global temperatures to rise. Among the many scientific studies providing clear evidence that an enhanced greenhouse effect is under way was a 2005 report from NASA's Goddard Institute for Space Studies. Using satellites, data from buoys, and computer models to study the earth's oceans, scientists concluded that more energy is being absorbed from the sun than is emitted back to space, throwing the earth's energy out of balance and warming the globe."Which of the following statements is correct? (I) Greenhouse gases are responsible for global warming. They should be eliminated to save the planet (II) CO2 is the most dangerous of the greenhouse gases. Reduction in the release of CO2 would surely bring down the temperature (III) The greenhouse effect could be traced back to the industrial revolution. But the current development and the patterns of life have enhanced their emissions (IV) Deforestation has been one of the biggest factors contributing to the emission of greenhouse gases Choose the correct option:....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions