Netpace – Interview Questions


Company Information
As per Rozee.pk

Who we are:
Netpace is an American Management Consulting company head quartered in San Ramon, CA. Netpace has a Development facility in Karachi and a Sales and Marketing office in UAE. We have over ten years of business consulting experience providing complete, technology agnostic solutions. Our Clients are Fortune 100 U.S. companies and our experience spans key industries, business processes, functional areas, technologies, and offshore development.

What we do:
We leverage technology, industry insight, and experience to re-engineer and optimize business processes; Integrate hardware, software, business consulting and IT services to deliver comprehensive solutions; We customize open source solution to maximize interoperability and cost reduction.

Hiring Process

After sending in your resume you will get a call from the HR Department for scheduling your interview. After getting interviewed technically one of the HR persons will also have a discussion about you. He will ask typical HR questions like:

  • Why Do you want to switch? or What brings you to Netpace?
  • What is your current salary and your expectations.
    Tip: Discuss all the details about your current package with the HR guy so that you both have a very good idea about what to expect.

You can ask details about the benefits they offer (not many) and details regarding the work timings etc.

Interview Questions

Lets discuss about the technical interview questions. The process starts with two people (one Senior and one *very* Junior and sometimes another Senior Guy would jump in for a second round of interview) Software Engineer to interview you. The only Tip I have for any interviewees is that just read Java Puzzlers:  Tips, Pitfalls and Corner Cases and Effective Java as all the questions are from these two books. I would say that they just go about on the internet collecting all kinds of corner cases that are documented on internet sites listing Java interview Questions and judge your knowledge based on it.

So heres the list:

  • Please discuss the Basic Tenets of Object Oriented Programming?
  • If a Class has some private instance member variables and only contains getter and setters for them can we call this Information Hiding or not?
  • There is a Class called Engine and two service classes WashService and RoadService.  Engine has two methods start and stop. The service classes simply call the Engine’s start method, does its work i.e., service and calls Engine::stop. A typical code to do that would be:
    public class Engine {
    public void start() {
    // some code for Engine::start
    }
    public void stop() {
    // some code for Engine::stop
    }
    }
    
    public class WashService {
    private Engine engine;
    
    public WashService(Engine engine){
    this.engine = engine;
    }
    public void doService() {
    engine.start();
    // some code related to the service implementation
    engine.stop();
    }
    }
    
    public class RoadService {
    private Engine engine;
    
    public RoadService(Engine engine){
    this.engine = engine;
    }
    public void doService() {
    engine.start();
    // some code related to the service implementation
    engine.stop();
    }
    }
    

    You are asked to  implement an enhancement in this code which is while the engine is in WashService it’s engine.start cannot be called. All this needs to be done in Object Oriented way. When you come up with an answer the next question is to achieve the same thing w/o changing the code in Engine and Service Implementations. And after this too they will keep asking you for another ways to achieve the same (until you come up with the same answer they have in their mind 😉 ) Forgot to mention they will ask you to implement all the solutions you give.

  • Again another code
    public class Test {
    
    public void myMethod(Object obj) {
    System.out.println("Object called.");
    }
    
    public void myMethod(String str) {
    System.out.println("String called.");
    }
    
    public static void main(String[] args) {
    new Test().myMethod(new Object());
    new Test().myMethod("Some String");
    }
    }
    

    What will the output of this code?

    Then the main method is slightly changed to:

    new Test().myMethod(null);
    

    What is the output now?
    Tip: As I said earlier this a typical Java Puzzlers question. So don’t forget to read it.

  • Discuss about Inheritance and what is wrong with multiple Inheritance?
  • Discuss about polymorphism.
  • Discuss the details about method overloading. And what constitutes the method signature? Whether return type is considered part of the method signature or not OR in other sense does return types play any role in method overloading?
  • Yet another code. What is the output and if there are any mistakes than you need to point out the mistakes in the code and how to fix these as well.
    public class A {
    public void method() throws FileNotFoundException {
    }
    }
    
    public class B extends A {
    private void method() throws Exception {
    }
    
    public static void main(String[] args) {
    A a = new B();
    a.method();
    }
    }
    
  • How many implicit objects are there in JSP? And how many have you used?
  • How are custom Tags implemented? What is purpose of SKIP_BODY?
  • You have a JSP page in which yo cannot use any scriptlets. You can’t use any Tags. And you need to print the value of some variable from Session. How can you do it.
    I can’t stop myself for giving out the answer here. Use Custom Tags. Yea, I can see the look on your face but thats whats the answer they had in their mind 🙂 Sorry – but no hard feelings to interviewers.
  • Is there any limit on number of scriptlets that can be used in a JSP?
  • How many web frameworks have you used?
  • Implement the Singleton Design Pattern. They will ask several questions and ask how to handle different cases in the implementation you give.
    Tip: Just read the respective section from Effective Java on Singletons. All the questions are from that section.

Overall Comments

This is a project based company. They work on almost all type of projects ranging from Mobile Application development to Enterprise Java Applications. Most of the work comes from the US side as they have a development team there as well. The US team has Architects which does all the architecture designing.

Overall the company is good. The salary is good enough but being a project oriented company expect a lot of Context Switching. They also seem to be very confident about the salary structure and their retention policies as one of the guys was of the opinion that you won’t find much of Netpace’s resources in the local market because they retain them by either giving more money or most are shifted to US side.

Advertisements
Netpace – Interview Questions

4 thoughts on “Netpace – Interview Questions

    1. Faisal Feroz says:

      I wasn’t interviewed here. The questions and the story is from a informer who want his/her identity to be kept secret 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s