1. If a class Student has an indexer, then which of the following is the correct way to declare this indexer to make the C#.NET code snippet given below work successfully? Student s = new Student(); s[1, 2] = 35;





Write Comment

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

Comments

Tags
Show Similar Question And Answers
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->Anil can do a work in 12 days. Basheer can do it in 15 days. Chandran can do the same work in 20 days. If they all work together, the number of days need to complete the work is :....
QA->As per Co-operative societies rule ‘Net profit’ means net profit as certified by :....
QA->Which state of India became the first in the country to make voting in local bodies elections compulsory, empowering the election commission to declare a non-voter as defaulter and liable to punishment?....
MCQ->If a class Student has an indexer, then which of the following is the correct way to declare this indexer to make the C#.NET code snippet given below work successfully? Student s = new Student(); s[1, 2] = 35;....
MCQ-> Read the following passage and solve the questions based on it.In an. Engineering College, five students from five different cities were elected as Secretaries by the students to perform different student activities. Each student studies in a different branch of engineering. Additionally, the following information is provided:(i) Abhishek does not stay in the Aravalli hostel where the student from Nagpur stays. (ii) The student, whose name is not Abhishek and does not study in Metallurgy, stays in Satpura hostel. He is the only student among the five to stay at Satpura hostel (iii) Hardeep neither belongs to Jodhpur, nor does he study Mechanical Engineering. (iv) The student-in-charge of Cultural activity stays in the Aravalli hostel where Civil Engineering student does not stay. (v) Sanjoy and thistudent, who studies Metallurgy, both stay in the same hostel. (vi) The student who belongs to Allahabad does not stay with the student-in-charge of the Sports activity staying at Aravalli hostel. (vii) Sanjoy is not the student-in-charge of the Cultural activity. (viii) Ravi, the student-in-charge of Mess activity, stays at Satpura hostel. (ix) The student from Patna and the student, who studies Mechanical Engineering, both stay at Aravalli hostel. They are the only two among the five students to stay at this hostel. (x) The student, who stays at Satpura hostel, studies Computer Science. (xi) Hemant, who does not belong to Kochi, studies Chemical Engineering. He is not the General Secretary of the Student Body. (xii) Sanjoy does not belong to Allahabad. (xiii) The student from Kochi and the student-in-charge of Placement activity, both stay at the Vindhya hostel.Which of the following statement(s) is (are) incorrect? I. The Chemical Engineering student and the student-in-charge of Cultural activity, both stay in the same hostel. II. The student in-charge of Placement activity is studying Metallurgy. III. The student who belongs to Nagpur is the student-in-charge of Sports activity. IV. Ravi belongs to Jodhpur.....
MCQ-> India is rushing headlong toward economic success and modernisation, counting on high- tech industries such as information technology and biotechnology to propel the nation toprosperity. India’s recent announcement that it would no longer produce unlicensed inexpensive generic pharmaceuticals bowed to the realities of the World TradeOrganisation while at the same time challenging the domestic drug industry to compete with the multinational firms. Unfortunately, its weak higher education sector constitutes the Achilles’ Heel of this strategy. Its systematic disinvestment in higher education inrecent years has yielded neither world-class research nor very many highly trained scholars, scientists, or managers to sustain high-tech development. India’s main competitors especially China but also Singapore, Taiwan, and South Korea — are investing in large and differentiated higher education systems. They are providingaccess to large number of students at the bottom of the academic system while at the same time building some research-based universities that are able to compete with theworld’s best institutions. The recent London Times Higher Education Supplement ranking of the world’s top 200 universities included three in China, three in Hong Kong,three in South Korea, one in Taiwan, and one in India (an Indian Institute of Technology at number 41.— the specific campus was not specified). These countries are positioningthemselves for leadership in the knowledge-based economies of the coming era. There was a time when countries could achieve economic success with cheap labour andlow-tech manufacturing. Low wages still help, but contemporary large-scale development requires a sophisticated and at least partly knowledge-based economy.India has chosen that path, but will find a major stumbling block in its university system. India has significant advantages in the 21st century knowledge race. It has a large high ereducation sector — the third largest in the world in student numbers, after China andthe United States. It uses English as a primary language of higher education and research. It has a long academic tradition. Academic freedom is respected. There are asmall number of high quality institutions, departments, and centres that can form the basis of quality sector in higher education. The fact that the States, rather than the Central Government, exercise major responsibility for higher education creates a rather cumbersome structure, but the system allows for a variety of policies and approaches. Yet the weaknesses far outweigh the strengths. India educates approximately 10 per cent of its young people in higher education compared with more than half in the major industrialised countries and 15 per cent in China. Almost all of the world’s academic systems resemble a pyramid, with a small high quality tier at the top and a massive sector at the bottom. India has a tiny top tier. None of its universities occupies a solid position at the top. A few of the best universities have some excellent departments and centres, and there is a small number of outstanding undergraduate colleges. The University Grants Commission’s recent major support of five universities to build on their recognised strength is a step toward recognising a differentiated academic system and fostering excellence. At present, the world-class institutions are mainly limited to the Indian Institutes of Technology (IITs), the Indian Institutes of Management (IIMs) and perhaps a few others such as the All India Institute of Medical Sciences and the Tata Institute of Fundamental Research. These institutions, combined, enroll well under 1 percent of the student population. India’s colleges and universities, with just a few exceptions, have become large, under-funded, ungovernable institutions. At many of them, politics has intruded into campus life, influencing academic appointments and decisions across levels. Under-investment in libraries, information technology, laboratories, and classrooms makes it very difficult to provide top-quality instruction or engage in cutting-edge research.The rise in the number of part-time teachers and the freeze on new full-time appointments in many places have affected morale in the academic profession. The lackof accountability means that teaching and research performance is seldom measured. The system provides few incentives to perform. Bureaucratic inertia hampers change.Student unrest and occasional faculty agitation disrupt operations. Nevertheless, with a semblance of normality, faculty administrators are. able to provide teaching, coordinate examinations, and award degrees. Even the small top tier of higher education faces serious problems. Many IIT graduates,well trained in technology, have chosen not to contribute their skills to the burgeoning technology sector in India. Perhaps half leave the country immediately upon graduation to pursue advanced study abroad — and most do not return. A stunning 86 per cent of students in science and technology fields from India who obtain degrees in the United States do not return home immediately following their study. Another significant group, of about 30 per cent, decides to earn MBAs in India because local salaries are higher.—and are lost to science and technology.A corps of dedicated and able teachers work at the IlTs and IIMs, but the lure of jobs abroad and in the private sector make it increasingly difficult to lure the best and brightest to the academic profession.Few in India are thinking creatively about higher education. There is no field of higher education research. Those in government as well as academic leaders seem content to do the “same old thing.” Academic institutions and systems have become large and complex. They need good data, careful analysis, and creative ideas. In China, more than two-dozen higher education research centers, and several government agencies are involved in higher education policy.India has survived with an increasingly mediocre higher education system for decades.Now as India strives to compete in a globalized economy in areas that require highly trained professionals, the quality of higher education becomes increasingly important.India cannot build internationally recognized research-oriented universities overnight,but the country has the key elements in place to begin and sustain the process. India will need to create a dozen or more universities that can compete internationally to fully participate in the new world economy. Without these universities, India is destined to remain a scientific backwater.Which of the following ‘statement(s) is/are correct in the context of the given passage ? I. India has the third largest higher education sector in the world in student numbers. II. India is moving rapidly toward economic success and modernisation through high tech industries such as information technology and bitechonology to make the nation to prosperity. III. India’s systematic disinvestment in higher education in recent years has yielded world class research and many world class trained scholars, scientists to sustain high-tech development.....
MCQ->Which of the following statements are correct about the C#.NET code snippet given below? namespace IndiabixConsoleApplication ( class Sample { private enum color : int { red, green, blue } public void fun() { Console.WriteLine(color.red); } } class Program { static void Main(string[ ] args) { // Use enum color here } } } To define a variable of type enum color in Main(), we should use the statement, color c; . enum color being private it cannot be used in Main(). We must declare enum color as public to be able to use it outside the class Sample. To define a variable of type enum color in Main(), we should use the statement, Sample.color c; . We must declare private enum color outside the class to be able to use it in Main().....
MCQ-> A distinction should be made between work and occupation. Work implies necessity; it is something that must be done as contributing to the means of life in general and to one.s own subsistence in particular. Occupation absorbs time and energy so long as we choose to give them; it demands constant initiative, and it is its own reward. For the average person the element of necessity in work is valuable, for he is saved the mental stress involved in devising outlets for his energy. Work has for him obvious utility, and it bring the satisfaction of tangible rewards. Where as occupation is an end in itself, and we therefore demand that it shall be agreeable, work is usually the means to other ends . ends which present themselves to the mind as sufficiently important to compensate for any disagreeableness in the means. There are forms of work, of course, which since external compulsion is reduced to a minimum, are hardly to be differentiated from occupation. The artist, the imaginative writer, the scientist, the social worker, for instance, find their pleasure in the constant spontaneous exercise o creative energy and the essential reward of their work is in the doing of it. In all work performed by a suitable agent there must be a pleasurable element, and the greater the amount of pleasure that can be associated with work, the better. But for most people the pleasure of occupation needs the addition of the necessity provided in work. It is better for them to follow a path of employment marked out for them than to have to find their own.When, therefore, we look ahead to the situation likely to be produced by the continued rapid extension of machine production, we should think not so much about providing occupation for leisure as about limiting the amount of leisure to that which can be profitably usedWe shall have to put the emphasis on the work . providing rather than the goods. providing aspect of the economic process. In the earlier and more ruthless days of capitalism the duty of the economic system to provide work was overlooked The purpose of competitive enterprise was to realize a profit. When profit ceased or was curtailed, production also ceased or was curtailed Thus the workers, who were regarded as units of labour forming part of the costs of production, were taken on when required and dismissed when not required They hardly thought of demanding work as a right. And so long as British manufacturers had their eyes mainly on the markets awaiting them abroad, they could conveniently neglect the fact that since workers are also consumers, unemployment at home means loss of trade. Moral considerations did not yet find a substitute in ordinary business prudence. The labour movements arose largely as a revolt against the conception of workers as commodities to be bought and sold without regard to their needs as human beings. In a socialist system it is assumed that they will be treated with genuine consideration, for, the making of profit not being essential, central planning will not only adjust the factors of production to the best advantage but will secure regularity of employment. But has the socialist thought about what he would do if owing to technological advance, the amount of human labour were catastrophically reduced? So far as I know, he has no plan beyond drastically lining the hours of work, and sharing out as much work as there may be. And, of course, he would grant monetary relief to those who were actually unemployed But has he considered what would be the moral effect of life imagined as possible in the highly mechanized state of future? Has he thought of the possibility of bands of unemployed and under-employed workers marching on the capital to demand not income (which they will have but work?Future, according to the passage, may find the workers
 ....
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