[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Placement Questions & Answers :: Virtusa

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

Tags:

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

Tags:

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

Tags:

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

Tags:

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

Tags:

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

Tags:

Virtusa 

39. select ID, GPA from student grades order by GPA______. In order to give only 10 rank on the whole we should use:

Answer: Upto 10

Explanation:

Upto 10

Workspace

Tags:

Virtusa 

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

Tags:

Virtusa