Cognizant interview experience Real time questions & tips from candidates to crack your interview

Programmer Analyst

Cognizant
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, OOPS, DBMS, Operating System
Tip
Tip

Tip 1 : Practice Data Structures and Algorithms
Tip 2 : Know everything related to your project
Tip 3 : Prepare subjects like dbms,oops,os

Application process
Where: Campus
Eligibility: 6.0 CGPA
Resume Tip
Resume tip

Tip 1 : Have some projects on resume.
Tip 2 : Mention only those things on which you have confidence

Interview rounds

01
Round
Medium
Online Coding Interview
Duration160 minutes
Interview date19 Aug 2021
Coding problem1

MCQs(20 minutes): (aptitude, logical reasoning, English, programming and CS subjects (OS, DBMS))
Coding/programming (40 minutes): 2 easy but lengthy codes
Coding/programming (60 minutes): 2 moderate but lengthy codes
SQL Query commands (40 minutes): 2 query have multiple tables

1. DBMS Questions

Given multiples table we have to find the name ,Region and type of account of person having max salary

Problem approach

Tip 1 : choose the table wisely
Tip 2 : It is only about the join operation 

02
Round
Medium
Video Call
Duration45 minutes
Interview date31 Aug 2021
Coding problem2

Timming -10:30 am
First the interview asked about the brief introduction about my both projects and asked me to share the screen and show
one of the project and few questions regarding how you implemented that part and how did you got the that idea
Asked me some questions from javascript
then in dsa he asked me to give the approach of prime number
and last spiral print in matrix (implementation)

1. Find prime numbers

Easy
15m average time
80% success
0/40
Asked in companies
AdobeSalesforceDeutsche Bank

You are given a positive integer ‘N’. Your task is to print all prime numbers less than or equal to N.

Note: A prime number is a natural number that is divisible only by 1 and itself. Example - 2, 3, 17, etc.

You can assume that the value of N will always be greater than 1. So, the answer will always exist.

Problem approach

I use a for loop to iterate the numbers from 1 to N
Then check for each number to be a prime number. If it is a prime number,stores in a vector
and in the optimisation I told that I would only be traversing the odd numbers
Run a loop from 3 to square root of n.
Then I was going to start with the sieve method but then he moved on with the next question

Try solving now

2. Spiral Matrix

Easy
0/40
Asked in companies
OYOJP MorganAdobe

You are given a N x M matrix of integers, return the spiral path of the matrix

Example Of Spiral Path

Spiral Path

Problem approach

I take 4 pointers start_row, end_row, Start_col, end_col and intialise with the respective values
start_row=0,end_row=r-1,start_col-0,end_col=c-1
Print the first row using for loop and updated the start_row value by 1
then print the end col using for loop and end_col--
print the end row using for loop and end_row--
print end col using for loop and start_col++

Try solving now
03
Round
Easy
HR Round
Duration15 minutes
Interview date3 Sep 2022
Coding problem1

Basic Hr questions

1. Basic HR Questions

Intro 

Long term and short term goal

What are your hobbies?
 

Problem approach

Tip 1 : Know about the company in which you are applying

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

To make an AI less repetitive in a long paragraph, you should increase:

Choose another skill to practice
Similar interview experiences
company logo
Programmer Analyst
3 rounds | 4 problems
Interviewed by Cognizant
842 views
0 comments
0 upvotes
company logo
Programmer Analyst
3 rounds | 4 problems
Interviewed by Cognizant
963 views
0 comments
0 upvotes
company logo
Programmer Analyst
2 rounds | 4 problems
Interviewed by Cognizant
868 views
1 comments
0 upvotes
company logo
Programmer Analyst
3 rounds | 8 problems
Interviewed by Cognizant
951 views
0 comments
0 upvotes