1. Specifying a key ensures that no two objects belonging to a class have the same value for the key attribute(s).



Write Comment

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

Comments

Tags
Show Similar Question And Answers
QA->In a database design, if every non-key attribute is functionally dependent on the primary key, then the relation will be in :....
QA->An attribute or set of attributes within one relation that matches the candidate key of some (possibly the same. relation:....
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->The two phase locking protocol ensures:....
MCQ->Which of the following statements are correct about objects of a user-defined class called Sample? All objects of Sample class will always have exactly same data. Objects of Sample class may have same or different data. Whether objects of Sample class will have same or different data depends upon a Project Setting made in Visual Studio.NET. Conceptually, each object of Sample class will have instance data and instance member functions of the Sample class. All objects of Sample class will share one copy of member functions.....
MCQ->Specifying a key ensures that no two objects belonging to a class have the same value for the key attribute(s).....
MCQ->Which of the following statements are correct about inspecting an attribute in C#.NET? An attribute can be inspected at link-time. An attribute can be inspected at compile-time. An attribute can be inspected at run-time. An attribute can be inspected at design-time.....
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-> The English alphabet is divided into five groups. Each group starts with the vowel and the consonants immediately following that vowel and the consonants immediately following that vowel are included in that group. Thus, the letters A, B, C, D will be in the first group, the letters E, F, G, H will be in the second group and so on. The value of the first group is fixed as 10, the second group as 20 and so on. The value of the last group is fixed as 50. In a group, the value of each letter will be the value of that group. To calculate the value of a word, you should give the same value of each of the letters as the value of the group to which a particular letter belongs and then add all the letters of the word: If all the letters in the word belong to one group only, then the value of that word will be equal to the product of the number of letters in the word and the value of the group to which the letters belong. However, if the letters of the words belong to different groups, then first write the value of all the letters. The value of the word would be equal to the sum of the value of the first letter and double the sum of the values of the remaining letters.For Example : The value of word ‘CAB’ will be equal to 10 + 10 + 10 = 30, because all the three letters (the first letter and the remaining two) belong to the first group and so the value of each letter is 10. The value of letter BUT = $$10 + 2 \times 40 + 2 \times 50 = 190$$ because the value of first letter B is 10, the value of T = 2 $$\times$$ 40 (T belongs to the fourth group) and the value of U = 2 $$\times$$ 50 (U belongs to the fifth group). Now calculate the value of each word given in questions 161 to 165 :AGE
 ....
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