Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
Practice Tech Mahindra Essay Topics

Virtusa Placement Questions & Answers :: Virtusa

130.51K

Tot. Mock Test: 3


Total Qs: 120+

NA
SHSTTON
34
Solv. Corr.
63
Solv. In. Corr.
97
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
118
Solv. Corr.
42
Solv. In. Corr.
160
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
106
Solv. Corr.
51
Solv. In. Corr.
157
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
77
Solv. Corr.
38
Solv. In. Corr.
115
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
28
Solv. Corr.
83
Solv. In. Corr.
111
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
73
Solv. Corr.
71
Solv. In. Corr.
144
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

Submit Your Solution

Tags: Virtusa

NA
SHSTTON
171
Solv. Corr.
67
Solv. In. Corr.
238
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
64
Solv. Corr.
166
Solv. In. Corr.
230
Attempted
2 M:0 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
229
Solv. Corr.
56
Solv. In. Corr.
285
Attempted
0 M:0 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
221
Solv. Corr.
54
Solv. In. Corr.
275
Attempted
0 M:39 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