Virtusa Aptitude Test Papers
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
12 / 120
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
13 / 120
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
14 / 120
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
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
16 / 120
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 :: PratikA
Submit Your Solution
17 / 120
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
18 / 120
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
19 / 120
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
20 / 120
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