31. Aggregation (encapsulation) relationships are represented in the UML notation by:
Answer: lines with a hollow diamond at one end
Explanation:lines with a hollow diamond at one end
Workspace
Virtusa
32. A programmer is designing a class to encapsulate the information about an inventory item.
A JavaBeans component is needed to do this.
The InventoryItem class has private instance variables to store the item information :
private int itemId;
Which method signature follows the JavaBeans naming standards for modifying the itemId instance variable ?
Answer: setItemId(int itemId)
Explanation:Here is no explanation for this answer
Workspace
Virtusa
33. Which of the following is true for Use case model?
Answer: Include use cases are mandatory, exclude use cases are optional
Explanation:Include use cases are mandatory, exclude use cases are optional
Workspace
Virtusa
34. Which of the following are the valid relationships in Use Case Diagram
Answer: All of the mentioned
Explanation:All of the mentioned
Workspace
Virtusa
35. Which of the following is the original purpose of SQL?
Answer: All of the above.
Explanation:All of the above.
Workspace
Virtusa
36. The wildcard in a WHERE clause is useful when?
Answer: An exact match is not possible in a SELECT statement.
Explanation:Wildcards are basically for pattern matching.
Select * from emp where ename like = 'A%'; - Lists all emps with starting
Likewise % (For ignoring any number of characters) and _(Only one character).
Workspace
Virtusa
37. A view is which of the following?
Answer: A virtual table that can be accessed via SQL commands
Explanation:A view is a virtual table always created on a table, that does not hold any data, rather on every select the data is been fetched from the base table.
All operations on view (Only DMLs) will be reflecting on the base table. Only DML operations are allowed on Views.
Workspace
Virtusa
38. In the UML notation a class can be represented by :
Answer: A rectangular box with the name of the class in the box
Explanation:A rectangular box with the name of the class in the box
Workspace
Virtusa
39. select ID, GPA from student grades order by GPA______. In order to give only 10 rank on the whole we should use:
40. ITG stands for
Answer: independent test group
Explanation:The role of an independent test group (ITG) is to remove the inherent problems associated with letting the builder test the thing that has been built.
Workspace
Virtusa