1. Which of the following is the correct way of applying the custom attribute called Tested which receives two-arguments - name of the tester and the testgrade? Custom attribute cannot be applied to an assembly. [assembly: Tested("Sachin", testgrade.Good)] [Tested("Virat", testgrade.Excellent)] class customer { / .... / } Custom attribute cannot be applied to a method. Custom attribute cannot be applied to a class.






Write Comment

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

Comments

Tags
Show Similar Question And Answers
QA->In which area of the file the arguments for and against any measure can be taken?....
QA->There are 50 students in a class. In a class test 22 students get 25 marks each, 18 students get 30 marks each. Each of the remaining gets 16 marks. The average mark of the whole class is :....
QA->In a class of 20 students the average age is 16 years.If the age of the class teacher is added to that of students,the average age of the class becomes 17 years.What is the age of the teacher?....
QA->A car which runs along a straight level road at a speed of 36km/hour is brought to rest in 2 seconds by applying the brakes. The stopping distance is :....
QA->Which Mughal painter according to Abul Fazl was excellent in drawing of features?....
MCQ->Which of the following is the correct way of applying the custom attribute called Tested which receives two-arguments - name of the tester and the testgrade? Custom attribute cannot be applied to an assembly. [assembly: Tested("Sachin", testgrade.Good)] [Tested("Virat", testgrade.Excellent)] class customer { / .... / } Custom attribute cannot be applied to a method. Custom attribute cannot be applied to a class.....
MCQ-> Read the following passage based on an Interview to answer the given questions based on it. Certain words are printed in bold to help you locate them while answering some of the questions.A spate of farmer suicides linked to harassment by recovery agents employed by micro finance institutions (MFLs) in Andhra Pradesh spurned the state government to bring in regulation to protect consumer interests. But, while the Bill has brought into sharp focus the need for consumer protection, it tries to micro-manage MFI operations and in the process it could scuttle some of the crucial bene ts that MFIs bring to farmers, says the author of Micro nance India, State Of The Sec-for Report 2010. In an interview he points out that prudent regulation can ensure the original goal of the MFIs - social uplift of the poor. Do you feel the AP Bill to regulate Mils is well thought out? Does it ensure fairness to the borrowers and the long-term health of the sector? The AP Bill has brought into sharp focus the need for customer protection in four critical areas. First is pricing. Second is lender's liability whether the lender can give too much loan without assessing the customer's ability to pay. Third is the structure of loan repayment - whether you can ask money on a weekly basis from people who don't produce weekly incomes. Fourth is the practices that attend to how you deal with defaults. But the Act should have looked at the positive bene ts that institutions could bring in, and where they need to be regulated in the interests of the customers. It should have brought only those features in. Say, you want the recovery practices to be consistent with what the customers can really manage. If the customer is aggrieved and complains that somebody is harassing him, then those complaints should be investigated by the District Rural Development Authority. Instead what the Bill says is that MF1s cannot go to the customer's premises to ask for recovery and that all transactions will be done in the Panchayat of ce. With great dif culty, MFIs brought services to the door of people. It is such a relief for the customers not to be spending time out going to banks or Panchayat of ces, which could be 10 km away in some cases. A facility which has brought some relief to people is being shut. Moreover, you are practically telling the MFI where it should do business and how it should do it. Social responsibilities were inbuilt when the MIrls were rst conceived. If kills go for profit with loose regulations, how are they different from moneylenders? Even among moneylenders there are very good people who take care of the customer's circumstance, and there are really bad ones. A large number of the MF1s are good and there are some who are coercive because of the kind of prices and processes they have adopted. But Moneylenders never got this organised. They did not have such a large footprint. An MFI brought in organisation, it mobilized the equity, it brought in commercial funding. It invested in systems. It appointed a large number of people. But some of them exacted a much higher price than they should have. They wanted to break even very fast and greed did take over in some cases.Are the for-profit 'Ms the only ones harassing people for recoveries? Some not-for-profit out ts have also adopted the same kind of recovery methods. That may be because you have to show that you are very ef cient in your recovery methods and that your portfolio is of a very high quality if you want to get commercial funding from a bank. In fact, among for-profits there are many who have sensible recovery practices. Some have fortnightly recovery, some have monthly recovery. So we have differing practices. We just describe a few dominant ones and assume every for-profit MFI operates like that. How can you introduce regulations to ensure social upliftment in a sector that is moving towards for-profit models? I am not really concerned whether someone wants to make a profit or not The bottom-line for me is customer protection. The rst area is fair practices. Are you telling your customers how the loan is structured ? Are you being transparent about your performance? There should also be a lender's liability attached to what you do. Suppose you lend excessively to a customer without assessing their ability to service the loan, you have to take the hit. Then there's the question of limiting returns. You can say that an MFI cannot have a return on assets more than X, a return on equity of more than Y. Then suppose there is a privately promoted MFI, there should be a regulation to ensure the MFI cannot access equity markets till a certain amount of time. MFIs went to markets perhaps because of the need to grow too big too fast. The government thought they were making profit off the poor, and that's an indirect reason why they decided to clamp down on MF1s. If you say an MFI won't go to capital market, then it will keep political compulsions under rein.Which of the following best explains "structure of loan repayment" in this context of the rst question asked to the author ?....
MCQ->Which two statements are true for any concrete class implementing the java.lang.Runnable interface? You can extend the Runnable interface as long as you override the public run() method. The class must contain a method called run() from which all code for that thread will be initiated. The class must contain an empty public void method named run(). The class must contain a public void method named runnable(). The class definition must include the words implements Threads and contain a method called run(). The mandatory method must be public, with a return type of void, must be called run(), and cannot take any arguments.....
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:....
MCQ-> The persistent patterns in the way nations fight reflect their cultural and historical traditions and deeply rooted attitudes that collectively make up their strategic culture. These patterns provide insights that go beyond what can be learnt just by comparing armaments and divisions. In the Vietnam War, the strategic tradition of the United States called for forcing the enemy to fight a massed battle in an open area, where superior American weapons would prevail. The United States was trying to re-fight World War II in the jungles of Southeast Asia, against an enemy with no intention of doing so. Some British military historians describe the Asian way of war as one of indirect attacks, avoiding frontal attacks meant to overpower an opponent. This traces back to Asian history and geography: the great distances and harsh terrain have often made it difficult to execute the sort of open-field clashes allowed by the flat terrain and relatively compact size of Europe. A very different strategic tradition arose in Asia. The bow and arrow were metaphors for an Eastern way of war. By its nature, the arrow is an indirect weapon. Fired from a distance of hundreds of yards, it does not necessitate immediate physical contact with the enemy. Thus, it can be fired from hidden positions. When fired from behind a ridge, the barrage seems to come out of nowhere, taking the enemy by surprise. The tradition of this kind of fighting is captured in the classical strategic writings of the East. The 2,000 years' worth of Chinese writings on war constitutes the most subtle writings on the subject in any language. Not until Clausewitz, did the West produce a strategic theorist to match the sophistication of Sun-tzu, whose Art of War was written 2,300 years earlier. In Sun-tzu and other Chinese writings, the highest achievement of arms is to defeat an adversary without fighting. He wrote: "To win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the supreme excellence." Actual combat is just one among many means towards the goal of subduing an adversary. War contains too many surprises to be a first resort. It can lead to ruinous losses, as has been seen time and again. It can have the unwanted effect of inspiring heroic efforts in an enemy, as the United States learned in Vietnam, and as the Japanese found out after Pearl Harbor. Aware of the uncertainties of a military campaign, Sun-tzu advocated war only after the most thorough preparations. Even then it should be quick and clean. Ideally, the army is just an instrument to deal the final blow to an enemy already weakened by isolation, poor morale, and disunity. Ever since Sun-tzu, the Chinese have been seen as masters of subtlety who take measured actions to manipulate an adversary without his knowledge. The dividing line between war and peace can be obscure. Low-level violence often is the backdrop to a larger strategic campaign. The unwitting victim, focused on the day-to-day events, never realizes what's happening to him until it's too late. History holds many examples. The Viet Cong lured French and U.S. infantry deep into the jungle, weakening their morale over several years. The mobile army of the United States was designed to fight on the plains of Europe, where it could quickly move unhindered from one spot to the next. The jungle did more than make quick movement impossible; broken down into smaller units and scattered in isolated bases, US forces were deprived of the feeling of support and protection that ordinarily comes from being part of a big army. The isolation of U.S. troops in Vietnam was not just a logistical detail, something that could be overcome by, for instance, bringing in reinforcements by helicopter. In a big army reinforcements are readily available. It was Napoleon who realized the extraordinary effects on morale that come from being part of a larger formation. Just the knowledge of it lowers the soldier's fear and increases his aggressiveness. In the jungle and on isolated bases, this feeling was removed. The thick vegetation slowed down the reinforcements and made it difficult to find stranded units. Soldiers felt they were on their own. More important, by altering the way the war was fought, the Viet Cong stripped the United States of its belief in the inevitability of victory, as it had done to the French before them. Morale was high when these armies first went to Vietnam. Only after many years of debilitating and demoralizing fighting did Hanoi launch its decisive attacks, at Dienbienphu in 1954 and against Saigon in 1975. It should be recalled that in the final push to victory the North Vietnamese abandoned their jungle guerrilla tactics completely, committing their entire army of twenty divisions to pushing the South Vietnamese into collapse. This final battle, with the enemy's army all in one place, was the one that the United States had desperately wanted to fight in 1965. When it did come out into the open in 1975, Washington had already withdrawn its forces and there was no possibility of re-intervention. The Japanese early in World War II used a modern form of the indirect attack, one that relied on stealth and surprise for its effect. At Pearl Harbor, in the Philippines, and in Southeast Asia, stealth and surprise were attained by sailing under radio silence so that the navy's movements could not be tracked. Moving troops aboard ships into Southeast Asia made it appear that the Japanese army was also "invisible." Attacks against Hawaii and Singapore seemed, to the American and British defenders, to come from nowhere. In Indonesia and the Philippines the Japanese attack was even faster than the German blitz against France in the West. The greatest military surprises in American history have all been in Asia. Surely there is something going on here beyond the purely technical difficulties of detecting enemy movements. Pearl Harbor, the Chinese intervention in Korea, and the Tet offensive in Vietnam all came out of a tradition of surprise and stealth. U.S. technical intelligence – the location of enemy units and their movements was greatly improved after each surprise, but with no noticeable improvement in the American ability to foresee or prepare what would happen next. There is a cultural divide here, not just a technical one. Even when it was possible to track an army with intelligence satellites, as when Iraq invaded Kuwait or when Syria and Egypt attacked Israel, surprise was achieved. The United States was stunned by Iraq's attack on Kuwait even though it had satellite pictures of Iraqi troops massing at the border. The exception that proves the point that cultural differences obscure the West's understanding of Asian behavior was the Soviet Union's 1979 invasion of Afghanistan. This was fully anticipated and understood in advance. There was no surprise because the United States understood Moscow's worldview and thinking. It could anticipate Soviet action almost as well as the Soviets themselves, because the Soviet Union was really a Western country. The difference between the Eastern and the Western way of war is striking. The West's great strategic writer, Clausewitz, linked war to politics, as did Sun-tzu. Both were opponents of militarism, of turning war over to the generals. But there all similarity ends. Clausewitz wrote that the way to achieve a larger political purpose is through destruction of the enemy's army. After observing Napoleon conquer Europe by smashing enemy armies to bits, Clausewitz made his famous remark in On War (1932) that combat is the continuation of politics by violent means. Morale and unity are important, but they should be harnessed for the ultimate battle. If the Eastern way of war is embodied by the stealthy archer, the metaphorical Western counterpart is the swordsman charging forward, seeking a decisive showdown, eager to administer the blow that will obliterate the enemy once and for all. In this view, war proceeds along a fixed course and occupies a finite extent of time, like a play in three acts with a beginning, a middle, and an end. The end, the final scene, decides the issue for good. When things don't work out quite this way, the Western military mind feels tremendous frustration. Sun-tzu's great disciples, Mao Zedong and Ho Chi Minh, are respected in Asia for their clever use of indirection and deception to achieve an advantage over stronger adversaries. But in the West their approach is seen as underhanded and devious. To the American strategic mind, the Viet Cong guerrilla did not fight fairly. He should have come out into the open and fought like a man, instead of hiding in the jungle and sneaking around like a cat in the night. According to the author, the main reason for the U.S. losing the Vietnam war was
 ....
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