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

Technical Interview Questions and Answers :: Virtusa

206.26K

Tot. Mock Test: 3


Total Qs: 221+

  •  Select All
  •  SQL
  •  C++
  •  .NET
  •  Oracle PLSQL
  •  Informatica
  •  WebMethod
  •  DBMS
  •  Soft. Engineering
  •  Data Structure
  •  Networking
  •  C
  •  Operating System
  •  HR Question in TR
  •  Java

    51 / 221

    What are inner-joins and outer-joins?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    52 / 221

    What is Round Robin?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    53 / 221

    What is multiprocessing?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    54 / 221

    Define application frameworks.
    Answer:

    A more ambitious approach to the support of design and reuse is to provide code that establishes a common framework into which the application builder fits application – specific code as building blocks. Such an approach is often called as application frameworks.

    Please Login First :

    55 / 221

    What are the uses of application frameworks?
    Answer:

    i. A framework to be of significant use, it must provide more structure and much more services than this simple example do.
    ii. A framework will also be supported by a library that provides classes that are useful for the application programmer when specifying the action classes.

    Please Login First :

    56 / 221

    What is wrapper?
    Answer:

    An interface class that controls access to another class or adjusts its interface and is sometimes called as wrapper.

    Please Login First :

    57 / 221

    How to create final class in c++
    Answer:

    No Discussion on this question yet!

    Please Login First :

    58 / 221

    Difference between final, finally and finalize?
    Answer:

    Final:




    1. Final is a keyword.

    2. Final is used to apply restrictions on class, method, and variable. The final class can't be inherited, final method can't be overridden and final variable value can't be changed.



    Final Example:



    class FinalExample{



    public static void main(String[] args){



    final int x=100;



    x=200;//Compile Time Error



    }}



    Finally:




    1. Finally is a block.

    2. The finally block always executes when the try block exits. This ensures that the final block is executed even if an unexpected exception occurs. But finally is useful for more than just exception handling - it allows the programmer to avoid having cleanup code accidentally bypassed by a return, continue, or break. Putting cleanup code in a final block is always a good practice, even when no exceptions are anticipated.



    Finally Example:



    class FinallyExample{



    public static void main(String[] args){



    try{



    int x=300;



    }catch(Exception e){System.out.println(e);}



    finally{System.out.println("finally block is executed");}



    } } 



    Finalize:




    1. Finalize is a method.

    2. Finalize is used to perform cleanup processing just before an object is a garbage collected. The runtime system calls its finalize() method. You can write system resources release code in finalize() method before getting garbage collected.



    Finalize Example:



    class FinalizeExample{



    public void finalize(){System.out.println("finalize called");}



    public static void main(String[] args){



    FinalizeExample f1=new FinalizeExample();



    FinalizeExample f2=new FinalizeExample();



    f1=null;



    f2=null;



    System.gc();



    }}

    Please Login First :

    59 / 221

    What is the difference between final variable and constant in Java?
    Answer:

    .Final variable

    Please Login First :

    60 / 221

    Write a query to display all the names starts with L.
    Answer:

    No Discussion on this question yet!

    Please Login First :


Most Frequent Qs.