[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.

Virtusa Aptitude Test Papers

205.69K

Tot. Mock Test: 3


Total Qs: 120+

NA
SHSTTON
52
Solv. Corr.
97
Solv. In. Corr.
149
Attempted
0 M:0 S
Avg. Time

11 / 120

Select the incorrect statement: "Software engineers should


Anot knowingly accept work that is outside your competence."

Bnot use your technical skills to misuse other people's computers."

Cbe dependent on their colleagues."

Dmaintain integrity and independence in their professional judgment."

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
175
Solv. Corr.
65
Solv. In. Corr.
240
Attempted
0 M:0 S
Avg. Time

12 / 120

Choose the correct option.

SQL data definition commands make up a(n) ________ .


ADDL

BDML

CHTML

DXML

Answer: Option A

Explanation:

Oracle SQL Do support XML to be inserted into the DB table. The Datatype for XML is XMLType.
We use extract() and existsNode() like functions to access the XML data into DB.

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
169
Solv. Corr.
69
Solv. In. Corr.
238
Attempted
0 M:0 S
Avg. Time

13 / 120

Choose the correct option.

Which of the following is valid SQL for an Index?


ACREATE INDEX ID;

BCHANGE INDEX ID;

CADD INDEX ID;

DREMOVE INDEX ID;

Answer: Option A

Explanation:

Index is created to make the searches (select query) faster. But to use the index we need to write the SQL select statement using the column on which we created the Index.
Example: Create index indx1 on emp (empno). To use the benefits, we have to write select * from emp where empno > 0;

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
135
Solv. Corr.
60
Solv. In. Corr.
195
Attempted
15 M:54 S
Avg. Time

14 / 120

Choose the correct option.

Which of the following is a technique for hiding the internal implementation details of an object?


AEncapsulation

BPolymorphism

CInheritance

DAll of the above.

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
49
Solv. Corr.
138
Solv. In. Corr.
187
Attempted
0 M:0 S
Avg. Time

15 / 120

Which statement is true?


AAn abstract class can be extended by an interface.

BAn interface CANNOT be extended by another interface.

CAn interface can be extended by an abstract class.

DAn abstract class can be extended by a concrete class.

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
122
Solv. Corr.
153
Solv. In. Corr.
275
Attempted
0 M:6 S
Avg. Time

16 / 120

Choose the correct option.

In which three cases would you use the USING clause? (Choose three.)


AThe tables to be joined have columns of the same name and different data types.

BThe tables to be joined have multiple NULL columns.

CThe tables to be joined have columns with the same name and compatible data types.

DYou want to use a NATURAL join, but you want to restrict the number of columns in the join condition.

EA, C & D

Answer: Option E

Explanation:

Here is no explanation for this answer

ShortCut By :: Pratik

A

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
239
Solv. Corr.
93
Solv. In. Corr.
332
Attempted
0 M:0 S
Avg. Time

17 / 120

Choose the correct option.

A step by step instruction used to solve a problem is know as


ASequential structure

BA List

CA plan

DAn Algorithm

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
109
Solv. Corr.
320
Solv. In. Corr.
429
Attempted
1 M:2 S
Avg. Time

18 / 120

What will happen when you attempt to compile and run the following code?
public class MyField{
String s;
public static void main(String argv[]){
        MyField m = new MyField();
        m.amethod();
        }
void amethod(){
        System.out.println(s);
        }
}

ACompile time error s has not been initialised

BRuntime error s has not been initialised

CBlank output

DOutput of null

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
450
Solv. Corr.
122
Solv. In. Corr.
572
Attempted
0 M:6 S
Avg. Time

19 / 120

What will be the output of the below code segement:
String[] elements = {"Java","is","platform","independent"};
String result = (elements.length > 0) ? elements[0]:null;
System.out.printf(result);

Aindependent

Bjava

Cis

Dplatform

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
435
Solv. Corr.
123
Solv. In. Corr.
558
Attempted
0 M:40 S
Avg. Time

20 / 120

What will be the output of the below code segement:
public class SwitchTest {
public static void main(String argv[]) {
SwitchTest ms=new SwitchTest();
ms.display();
}
public void display() {
        int k=10;
        switch(k){
            
            default:
            System.out.println("This is the default output");
            break;
            case 10:
            System.out.println("ten");
            break;
            case 20:
            System.out.println("twenty");
            break;
        }
    }
}

Aten

Btwenty

Cten twenty

DNone

Answer: Option A

Explanation:

Here is no explanation for this answer

Submit Your Solution


Here is the list of questions asked in Aptitude Test for Virtusa Virtusa Aptitude Test Papers. Practice Virtusa Written Test Papers with Solutions and take Q4Interview Virtusa Online Test Questions to crack Virtusa written round test. Overall the level of the Virtusa Online Assessment Test is moderate. Only those candidates who clear the written exam will qualify for the next round, so practic all the questions here and take all the free tests before going for final selection process of Virtusa