Thursday, 22 October 2020

Java Full Stack Developer at Cognizant - 5 to 10 Yrs experience Interview

 Hello guys, this is Sachin Kalel and  I was recently interviewed @Cognizant.

So here I will share my experience with Cognizant.

Interviewed on 15th  oct 2020.

Process of hiring:

There are total three rounds of interview.

1. 1st round was telephonic  - Technical round.

2. Second round was on Teams meeting - Manager round.

3. Third round was telephonic - HR round.

##First round##

I will explain in details all rounds.

First round:

First round  was technical around 1 hour duration

The who is taking interview was purely technical and having in-depth practical knowledge.

in technical round I remind some of few important question that I will share with you.

So first question it was 

 1] Tell me about your work experience and explain your current project :- I have explained my work experience and explained project and he got little impressed and he told me to lets start technical discussion. So as usual he focused on Collection Framework

2] It was on HashSet and he created two new  employee object having same content and added to hashset and told me size of HashSet :- Basically this questions on understanding of hashCode() and equals() method in java.

3] Third question he told me to open up notepad and given program to write logic:- The program was he given me string as String s ="Sachin" and   told to display each characters how many times occurred in String. 

I have written this logic using HashMap.

I have written this logic 

 HashMap<Character, Integer> hm
            = new HashMap<Character, Integer>();
inputStr="Sachin";

        char[] charArr = inputStr.toCharArray();
          for (char c : charArr) {
            if (hm.containsKey(c)) {
                hm.put(c, hm.get(c) + 1);
            }
            else {
                hm.put(c, 1);
            }
        }
        for (Map.Entry entry : charCountMap.entrySet()) {
            System.out.println(entry.getKey() + " " + entry.getValue());
        }

4] Fourth questions was Spring  Boot rest API flow

5] How to give response in XML in Spring Boot rest API

6] How to create custom annotation

7] Java 8 features 

8] How to query to db in spring boot

9] Hibernate Cache - Second level cache

10] How to query to db using Hibernate.

11] How to implement Security in Rest API 

12] JWT token how to refresh when it expires, do we need to create every time when it expires?

12] How to create immutable class in java and why we need  it.

13] Some questions on design pattern


## Second round - Manager round ##

In first round I have given 95 % accurate answers so got mail that L1 round has been successfully cleared and will schedule L2 round.

In L2 round they basically asked 

1] What is filters

2] Did you worked on Hybris

3] What is Hybris

4] Did you used any code analysis tool

5] Some questions on CI & CD pipeline

6] Some basics question from Angular 2+

Hopefully I have given correct answers so got mail like you have cleared L2 round.


##Third Round##

Got mail and asked for few documents and asked me few questions like 

1] What is current CTC?

2] What is expected CTC?

3] What is notice period?

4] What is your current job location?

5] is your salary negotiable and upto what amount?


To complete this whole process it took around 15 to 20 days .

HR told me to your salary in approval stage.

So need to wait for some time to have offer letter.


This is all about my experience @Congizant.


Thanks guys.




Java Full Stack Developer at Cognizant - 5 to 10 Yrs experience Interview

 Hello guys, this is Sachin Kalel and  I was recently interviewed @Cognizant. So here I will share my experience with Cognizant. Interviewed...