I applied online. The process took 2 weeks. I interviewed at CGI (Halifax, NS) in Mar 2017
Interview
First, I was contacted by technical recruiter and she arranged for an interview. The interview was code test followed by interview. The interviewer sent me webex link, and after joining he gave me control to his system. A use case was written and I was asked to write code for it. The use case is as follows.
There is a list of Employee objects and Phone is an instance variable object inside Employee.
1) When we are printing the employee object, Phone needs to be printed in a specific format
2) Sort the employee objects inside the list based on joining date descending order
3) If we pass list of employee objects and name of employee to a method, it should return the employee object if it has that name.
After this coding test is completed they asked technical questions.
Interview questions [1]
Question 1
Write a code in which a method receives list and string and returns true if the string exists in list and false if it do not exist.
What is scriplet and what is expression?
What is the internal logic behind hashMap execution? Does hashmap size affects the performance of hashmap? This question is asked in almost all interviews.
What is atomicity?
Is count++ operation thread safe? Why?
What is the difference between Callable and Runnable?
What is the difference between IOC and dependency injection?
Is dependency injection is the concept only used in Spring?
what is the difference between final, finally and finalize?
If we declare arrayList as final, can we remove elements from arrayList?
How did you handled spring security in your project?
What is a WSDL and different parts of WSDL?
What are the advantages of REST over SOAP?
Why should we implement Cloneable interface if we have to clone an object, though clone method comes from Object class?
How is a variable shared between multiple threads?
What is a thread deadlock? How do we avoid it?
What is Hibernate Unidirectional and Bidirectional?
What is the method to be overridden if we are implementing MessageDrivenBean?
What are the advantages of using Generics?
2 rounds of Technical interview 1 HR-MR
Questions asked
JAVA
1.What is Extrenalization
2.Difference between final,finally and finalize
3.Method overloading
4.What is Serialization
5.Methods required for Serialization
6.Ternary operator
7.Thread life cycle
8.Marker interface
9.static keyword
Spring boot
1.Dependency injection and types
2.Spring Actuators
3. difference POST vs PUT
4.Monolithic vs mS difference
5.Spring boot features
1) Coding + MCQ test - java, spring , kafka , java8
2) technical 1 - deep into java basics , spring , springboot , microservices
3) technical 2 - client round - code along with all questions
4) Managerial Round - scenario based
Interview questions [1]
Question 1
java basics, spring , springboot , microservices , kafka , kafka streams related questions
Horrible experience. A lot of theory .. They asked every single possible question. Starting from OOP definition, and all the calssique questions about Java, Spring, spring boot , sql ... etc