1. Which of the following statements are true about the C#.NET code snippet given below? String s1, s2; s1 = "Hi"; s2 = "Hi"; String objects cannot be created without using new. Only one object will get created. s1 and s2 both will refer to the same object. Two objects will get created, one pointed to by s1 and another pointed to by s2. s1 and s2 are references to the same object.





Write Comment

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

Comments

Tags
Show Similar Question And Answers
QA->Consider a Program Graph (PG) with statements as nodes and control as edges. Which of the following is not true for any PG?....
QA->…………….means the annual financial statements and other statements prescribed under Rule 65 of Kerala Panchayat Raj (Accounts) Rules, 2011?....
QA->In Object Oriented Software Design, which of the following is not true?....
QA->Method of cultivating plants without using soil but by using nutrient solution?....
QA->As per Co-operative societies rule ‘Net profit’ means net profit as certified by :....
MCQ->Which of the following statements are true about the C#.NET code snippet given below? String s1, s2; s1 = "Hi"; s2 = "Hi"; String objects cannot be created without using new. Only one object will get created. s1 and s2 both will refer to the same object. Two objects will get created, one pointed to by s1 and another pointed to by s2. s1 and s2 are references to the same object.....
MCQ->Which two statements are true about wrapper or String classes? If x and y refer to instances of different wrapper classes, then the fragment x.equals(y) will cause a compiler failure. If x and y refer to instances of different wrapper classes, then x == y can sometimes be true. If x and y are String references and if x.equals(y) is true, then x == y is true. If x, y, and z refer to instances of wrapper classes and x.equals(y) is true, and y.equals(z) is true, then z.equals(x) will always be true. If x and y are String references and x == y is true, then y.equals(x) will be true.....
MCQ-> Before the internet, one of the most rapid changes to the global economy and trade was wrought by something so blatantly useful that it is hard to imagine a struggle to get it adopted: the shipping container. In the early 1960s, before the standard container became ubiquitous, freight costs were I0 per cent of the value of US imports, about the same barrier to trade as the average official government import tariff. Yet in a journey that went halfway round the world, half of those costs could be incurred in two ten-mile movements through the ports at either end. The predominant ‘break-bulk’ method, where each shipment was individually split up into loads that could be handled by a team of dockers, was vastly complex and labour-intensive. Ships could take weeks or months to load, as a huge variety of cargoes of different weights, shapes and sizes had to be stacked together by hand. Indeed, one of the most unreliable aspects of such a labour-intensive process was the labour. Ports, like mines, were frequently seething pits of industrial unrest. Irregular work on one side combined with what was often a tight-knit, well - organized labour community on the other.In 1956, loading break-bulk cargo cost $5.83 per ton. The entrepreneurial genius who saw the possibilities for standardized container shipping, Malcolm McLean, floated his first containerized ship in that year and claimed to be able to shift cargo for 15.8 cents a ton. Boxes of the same size that could be loaded by crane and neatly stacked were much faster to load. Moreover, carrying cargo in a standard container would allow it to be shifted between truck, train and ship without having to be repacked each time.But between McLean’s container and the standardization of the global market were an array of formidable obstacles. They began at home in the US with the official Interstate Commerce Commission, which could prevent price competition by setting rates for freight haulage by route and commodity, and the powerful International Longshoremen's Association (ILA) labour union. More broadly, the biggest hurdle was achieving what economists call ‘network effects’: the benefit of a standard technology rises exponentially as more people use it. To dominate world trade, containers had to be easily interchangeable between different shipping lines, ports, trucks and railcars. And to maximize efficiency, they all needed to be the same size. The adoption of a network technology often involves overcoming the resistance of those who are heavily invested in the old system. And while the efficiency gains are clear to see, there are very obvious losers as well as winners. For containerization, perhaps the most spectacular example was the demise of New York City as a port.In the early I950s, New York handled a third of US seaborne trade in manufactured goods. But it was woefully inefficient, even with existing break-bulk technology: 283 piers, 98 of which were able to handle ocean-going ships, jutted out into the river from Brooklyn and Manhattan. Trucks bound‘ for the docks had to fiive through the crowded, narrow streets of Manhattan, wait for an hour or two before even entering a pier, and then undergo a laborious two-stage process in which the goods foot were fithr unloaded into a transit shed and then loaded onto a ship. ‘Public loader’ work gangs held exclusive rights to load and unload on a particular pier, a power in effect granted by the ILA, which enforced its monopoly with sabotage and violence against than competitors. The ILA fought ferociously against containerization, correctly foreseeing that it would destroy their privileged position as bandits controlling the mountain pass. On this occasion, bypassing them simply involved going across the river. A container port was built in New Jersey, where a 1500-foot wharf allowed ships to dock parallel to shore and containers to be lified on and off by crane. Between 1963 - 4 and 1975 - 6, the number of days worked by longshoremen in Manhattan went from 1.4 million to 127,041.Containers rapidly captured the transatlantic market, and then the growing trade with Asia. The effect of containerization is hard to see immediately in freight rates, since the oil price hikes of the 1970s kept them high, but the speed with which shippers adopted; containerization made it clear it brought big benefits of efficiency and cost. The extraordinary growth of the Asian tiger economies of Singapore, Taiwan, Korea and Hong Kong, which based their development strategy on exports, was greatly helped by the container trade that quickly built up between the US and east Asia. Ocean-borne exports from South Korea were 2.9 million tons in 1969 and 6 million in 1973, and its exports to the US tripled.But the new technology did not get adopted all on its own. It needed a couple of pushes from government - both, as it happens, largely to do with the military. As far as the ships were concerned, the same link between the merchant and military navy that had inspired the Navigation Acts in seventeenth-century England endured into twentieth-century America. The government's first helping hand was to give a spur to the system by adopting it to transport military cargo. The US armed forces, seeing the efficiency of the system, started contracting McLean’s company Pan-Atlantic, later renamed Sea-land, to carry equipment to the quarter of a million American soldiers stationed in Western Europe. One of the few benefits of America's misadventure in Vietnam was a rapid expansion of containerization. Because war involves massive movements of men and material, it is often armies that pioneer new techniques in supply chains.The government’s other role was in banging heads together sufficiently to get all companies to accept the same size container. Standard sizes were essential to deliver the economies of scale that came from interchangeability - which, as far as the military was concerned, was vital if the ships had to be commandeered in case war broke out. This was a significant problem to overcome, not least because all the companies that had started using the container had settled on different sizes. Pan- Atlantic used 35- foot containers, because that was the maximum size allowed on the highways in its home base in New Jersey. Another of the big shipping companies, Matson Navigation, used a 24-foot container since its biggest trade was in canned pineapple from Hawaii, and a container bigger than that would have been too heavy for a crane to lift. Grace Line, which largely traded with Latin America, used a foot container that was easier to truck around winding mountain roads.Establishing a US standard and then getting it adopted internationally took more than a decade. Indeed, not only did the US Maritime Administration have to mediate in these rivalries but also to fight its own turf battles with the American Standards Association, an agency set up by the private sector. The matter was settled by using the power of federal money: the Federal Maritime Board (FMB), which handed out to public subsidies for shipbuilding, decreed that only the 8 x 8-foot containers in the lengths of l0, 20, 30 or 40 feet would be eligible for handouts.Identify the correct statement:
 ....
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-> The story begins as the European pioneers crossed the Alleghenies and started to settle in the Midwest. The land they found was covered with forests. With incredible efforts they felled the trees, pulled the stumps and planted their crops in the rich, loamy soil. When they finally reached the western edge of the place we now call Indiana, the forest stopped and ahead lay a thousand miles of the great grass prairie. The Europeans were puzzled by this new environment. Some even called it the “Great Desert”. It seemed untillable. The earth was often very wet and it was covered with centuries of tangled and matted grasses. With their cast iron plows, the settlers found that the prairie sod could not be cut and the wet earth stuck to their plowshares. Even a team of the best oxen bogged down after a few years of tugging. The iron plow was a useless tool to farm the prairie soil. The pioneers were stymied for nearly two decades. Their western march was hefted and they filled in the eastern regions of the Midwest.In 1837, a blacksmith in the town of Grand Detour, Illinois, invented a new tool. His name was John Deere and the tool was a plow made of steel. It was sharp enough to cut through matted grasses and smooth enough to cast off the mud. It was a simple too, the “sod buster” that opened the great prairies to agricultural development.Sauk Country, Wisconsin is the part of that prairie where I have a home. It is named after the Sauk Indians. In i673 Father Marquette was the first European to lay his eyes upon their land. He found a village laid out in regular patterns on a plain beside the Wisconsin River. He called the place Prairie du Sac) The village was surrounded by fields that had provided maize, beans and squash for the Sauk people for generations reaching back into the unrecorded time.When the European settlers arrived at the Sauk prairie in 1837, the government forced the native Sank people west of the Mississippi River. The settlers came with John Deere’s new invention and used the tool to open the area to a new kind of agriculture. They ignored the traditional ways of the Sank Indians and used their sod-busting tool for planting wheat. Initially, the soil was generous and the nurturing thrived. However each year the soil lost more of its nurturing power. It was only thirty years after the Europeans arrived with their new technology that the land was depleted, Wheat farming became uneconomic and tens of thousands of farmers left Wisconsin seeking new land with sod to bust.It took the Europeans and their new technology just one generation to make their homeland into a desert. The Sank Indians who knew how to sustain themselves on the Sauk prairie land were banished to another kind of desert called a reservation. And they even forgot about the techniques and tools that had sustained them on the prairie for generations unrecorded. And that is how it was that three deserts were created — Wisconsin, the reservation and the memories of a people. A century later, the land of the Sauks is now populated by the children of a second wave of European tanners who learned to replenish the soil through the regenerative powers of dairying, ground cover crops and animal manures. These third and fourth generation farmers and townspeople do not realise, however, that a new settler is coming soon with an invention as powerful as John Deere’s plow.The new technology is called ‘bereavement counselling’. It is a tool forged at the great state university, an innovative technique to meet the needs of those experiencing the death of a loved one, tool that an “process” the grief of the people who now live on the Prairie of the Sauk. As one can imagine the final days of the village of the Sauk Indians before the arrival of the settlers with John Deere’s plow, one can also imagine these final days before the arrival of the first bereavement counsellor at Prairie du Sac) In these final days, the farmers arid the townspeople mourn at the death of a mother, brother, son or friend. The bereaved is joined by neighbours and kin. They meet grief together in lamentation, prayer and song. They call upon the words of the clergy and surround themselves in community.It is in these ways that they grieve and then go on with life. Through their mourning they are assured of the bonds between them and renewed in the knowledge that this death is a part of the Prairie of the Sauk. Their grief is common property, an anguish from which the community draws strength and gives the bereaved the courage to move ahead.It is into this prairie community that the bereavement counsellor arrives with the new grief technology. The counsellor calls the invention a service and assures the prairie folk of its effectiveness and superiority by invoking the name of the great university while displaying a diploma and certificate. At first, we can imagine that the local people will be puzzled by the bereavement counsellor’s claim, However, the counsellor will tell a few of them that the new technique is merely o assist the bereaved’s community at the time of death. To some other prairie folk who are isolated or forgotten, the counsellor will approach the Country Board and advocate the right to treatment for these unfortunate souls. This right will be guaranteed by the Board’s decision to reimburse those too poor tc pay for counselling services. There will be others, schooled to believe in the innovative new tools certified by universities and medical centres, who will seek out the bereavement counsellor by force of habit. And one of these people will tell a bereaved neighbour who is unschooled that unless his grief is processed by a counsellor, he will probably have major psychological problems in later life. Several people will begin to use the bereavement counsellor because, since the Country Board now taxes them to insure access to the technology, they will feel that to fail to be counselled is to waste their money, and to be denied a benefit, or even a right.Finally, one day, the aged father of a Sauk woman will die. And the next door neighbour will not drop by because he doesn’t want to interrupt the bereavement counsellor. The woman’s kin will stay home because they will have learned that only the bereavement counsellor knows how to process grief the proper way. The local clergy will seek technical assistance from the bereavement counsellor to learn the connect form of service to deal with guilt and grief. And the grieving daughter will know that it is the bereavement counsellor who really cares for her because only the bereavement counsellor comes when death visits this family on the Prairie of the Sauk.It will be only one generation between the bereavement counsellor arrives and the community of mourners disappears. The counsellor’s new tool will cut through the social fabric, throwing aside kinship, care, neighbourly obligations and communality ways cc coming together and going on. Like John Deere’s plow, the tools of bereavement counselling will create a desert we a community once flourished, And finally, even the bereavement counsellor will see the impossibility of restoring hope in clients once they are genuinely alone with nothing but a service for consolation. In the inevitable failure of the service, the bereavement counsellor will find the deserts even in herself.Which one of the following best describes the approach of the author?
 ....
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