1. Which of the following statements are correct about the this reference? this reference can be modified in the instance member function of a class. Static functions of a class never receive the this reference. Instance member functions of a class always receive a this reference. this reference continues to exist even after control returns from an instance member function. While calling an instance member function we are not required to pass the this reference explicitly.






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->A static member function can have access to:....
QA->…………….means the annual financial statements and other statements prescribed under Rule 65 of Kerala Panchayat Raj (Accounts) Rules, 2011?....
QA->A computer with a 32 bit wide data bus implements its memory using 8 K x 8 static RAM chips. The smallest memory that this computer can have is:....
QA->Government purchase policy generally permits a price performance up to 15% or even up to ……….. % or even higher in special circumstances for indigenous products over imported stores.....
MCQ->Which of the following statements are correct about the this reference? this reference can be modified in the instance member function of a class. Static functions of a class never receive the this reference. Instance member functions of a class always receive a this reference. this reference continues to exist even after control returns from an instance member function. While calling an instance member function we are not required to pass the this reference explicitly.....
MCQ-> The controversy over genetically modified food continues unabated in the West. Genetic modification (GM) is the science by which the genetic material of a plant is altered, perhaps to make it more resistant to pests or killer weeds, or to enhance its nutritional value. Many food biotechnologists claim that GM will be a major contribution of science to mankind in the 21st century. On the other hand, large numbers of opponents, mainly in Europe, claim that the benefits of GM are a myth propagated by multinational corporations to increase their profits, that they pose a health hazard, and have therefore called for government to ban the sale of genetically-modified food.The anti-GM campaign has been quite effective in Europe, with several European Union member countries imposing a virtual ban for five years over genetically-modified food imports. Since the genetically-modified food industry is particularly strong in the United States of America, the controversy also constitutes another chapter in the US-Europe skirmishes which have become particularly acerbic after the US invasion of Iraq.To a large extent, the GM controversy has been ignored in the Indian media, although Indian biotechnologists have been quite active in GM research. Several groups of Indian biotechnologists have been working on various issues connected with crops grown in India. One concrete achievement which has recently figured in the news is that of a team led by the former vice-chancellor of Jawaharlal Nehru university, Asis Datta — it has successfully added an extra gene to potatoes to enhance the protein content of the tuber by at least 30 percent. It is quite likely that the GM controversy will soon hit the headlines in India since a spokesperson of the Indian Central government has recently announced that the government may use the protato in its midday meal programme for schools as early as next year.Why should “scientific progress”, with huge potential benefits to the poor and malnourished, be so controversial? The anti-GM lobby contends that pernicious propaganda has vastly exaggerated the benefits of GM and completely evaded the costs which will have to be incurred if the genetically-modified food industry is allowed to grow unchecked. In particular, they allude to different types of costs.This group contends that the most important potential cost is that the widespread distribution and growth of genetically-modified food will enable the corporate world (alias the multinational corporations – MNCs) to completely capture the food chain. A “small” group of biotech companies will patent the transferred genes as well as the technology associated with them. They will then buy up the competing seed merchants and seed-breeding centers, thereby controlling the production of food at every possible level. Independent farmers, big and small, will be completely wiped out of the food industry. At best, they will be reduced to the status of being subcontractors.This line of argument goes on to claim that the control of the food chain will be disastrous for the poor since the MNCs, guided by the profit motive, will only focus on the high-value food items demanded by the affluent. Thus, in the long run, the production of basic staples which constitute the food basket of the poor will taper off. However, this vastly overestimates the power of the MNCs. Even if the research promoted by them does focus on the high-value food items, much of biotechnology research is also funded by governments in both developing and developed countries. Indeed, the protato is a by-product of this type of research. If the protato passes the field trials, there is no reason to believe that it cannot be marketed in the global potato market. And this type of success story can be repeated with other basic food items.The second type of cost associated with the genetically modified food industry is environmental damage. The most common type of “genetic engineering” involved gene modification in plants designed to make them resistant to applications of weed-killers. This then enables farmers to use massive dosages of weedkillers so as to destroy or wipe out all competing varieties of plants in their field. However, some weeds through genetically-modified pollen contamination may acquire resistance to a variety of weed-killers. The only way to destroy these weeds is through the use of ever-stronger herbicides which are poisonous and linger on in the environment.The author doubts the anti-GM lobby’s contention that MNC control of the food chain will be disastrous for the poor because
 ....
MCQ->Which of the following statements are correct about static functions? Static functions can access only static data. Static functions cannot call instance functions. It is necessary to initialize static data. Instance functions can call static functions and access static data. this reference is passed to static functions.....
MCQ-> Venkat, a stockbroker, invested a part of his money in the stock of four companies --- A, B, C and D. Each of these companies belonged to different industries, viz., Cement, Information Technology (IT), Auto, and Steel, in no particular order. At the time of investment, the price of each stock was Rs.100. Venkat purchased only one stock of each of these companies. He was expecting returns of 20%, 10%, 30%, and 40% from the stock of companies A, B, C and D, respectively. Returns are defined as the change in the value of the stock after one year, expressed as a percentage of the initial value. During the year, two of these companies announced extraordinarily good results. One of these two companies belonged to the Cement or the IT industry, while the other one belonged to either the Steel or the Auto industry. As a result, the returns on the stocks of these two companies were higher than the initially expected returns. For the company belonging to the Cement or the IT industry with extraordinarily good results, the returns were twice that of the initially expected returns. For the company belonging to the Steel or the Auto industry, the returns on announcement of extraordinarily good results were only one and a half times that of the initially expected returns. For the remaining two companies, which did not announce extraordinarily good results, the returns realized during the year were the same as initially expected.What is the minimum average return Venkat would have earned during the year?
 ....
MCQ-> Analyse the following passage and provide appropriate answers for the follow. Popper claimed, scientific beliefs are universal in character, and have to be so if they are to serve us in explanation and prediction. For the universality of a scientific belief implies that, no matter how many instances we have found positive, there will always be an indefinite number of unexamined instances which may or may not also be positive. We have no good reason for supposing that any of these unexamined instances will be positive, or will be negative, so we must refrain from drawing any conclusions. On the other hand, a single negative instance is sufficient to prove that the belief is false, for such an instance is logically incompatible with the universal truth of the belief. Provided, therefore, that the instance is accepted as negative we must conclude that the scientific belief is false. In short, we can sometimes deduce that a universal scientific belief is false but we can never induce that a universal scientific belief is true. It is sometimes argued that this 'asymmetry' between verification and falsification is not nearly as pronounced as Popper declared it to be. Thus, there is no inconsistency in holding that a universal scientific belief is false despite any number of positive instances; and there is no inconsistency either in holding that a universal scientific belief is true despite the evidence of a negative instance. For the belief that an instance is negative is itself a scientific belief and may be falsified by experimental evidence which we accept and which is inconsistent with it. When, for example, we draw a right-angled triangle on the surface of a sphere using parts of three great circles for its sides, and discover that for this triangle Pythagoras' Theorem does not hold, we may decide that this apparently negative instance is not really negative because it is not a genuine instance at all. Triangles drawn on the surfaces of spheres are not the sort of triangles which fall within the scope of Pythagoras' Theorem. Falsification, that is to say, is no more capable of yielding conclusive rejections of scientific belief than verification is of yielding conclusive acceptances of scientific beliefs. The asymmetry between falsification and verification, therefore, has less logical significance than Popper supposed. We should, though, resist this reasoning. Falsifications may not be conclusive, for the acceptances on which rejections are based are always provisional acceptances. But, nevertheless, it remains the case that, in falsification, if we accept falsifying claims then, to remain consistent, we must reject falsified claims. On the other hand, although verifications are also not conclusive, our acceptance or rejection of verifying instances has no implications concerning the acceptance or rejection of verified claims. Falsifying claims sometimes give us a good reason for rejecting a scientific belief, namely when the claims are accepted. But verifying claims, even when accepted, give us no good and appropriate reason for accepting any scientific belief, because any such reason would have to be inductive to be appropriate and there are no good inductive reasons.According to Popper, the statement "Scientific beliefs are universal in character" implies that....
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