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

Programmer Analyst Trainee

Cognizant
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: DS, DBMS, MYSQL, Programming, Aptitude, C/C++/Java
Tip
Tip

Tip 1 : Understand concepts (Read theory thorowly)
Tip 2 : Practice more and more previously asked question
Tip 3 : Be confident while giving interview

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

Tip 1 : Include projects which you can explain better.
Tip 2 : Whatever you mentioned in resume you should be able to explain

Interview rounds

01
Round
Easy
Online Coding Interview
Duration120 minutes
Interview date1 Sep 2019
Coding problem1

It was online test
Aptitude-: Technical + Quantitative + Communication test, skills checked are problem solving ability, programming basic concepts.

1. All Prime Numbers less than or equal to N

Moderate
10m average time
90% success
0/80
Asked in companies
OptumAdobeTata Consultancy Services (TCS)

You are given a positive integer 'N'. Your task is to return all the prime numbers less than or equal to the 'N'.

Note:

1) A prime number is a number that has only two factors: 1 and the number itself.

2) 1 is not a prime number.
Try solving now
02
Round
Easy
Face to Face
Duration30 minutes
Interview date26 Sep 2019
Coding problem3

DBMS,SQL,Programming

1. Second largest element in the array

Easy
15m average time
80% success
0/40
Asked in companies
AdobeTata Consultancy Services (TCS)Samsung

You have been given an array/list 'ARR' of integers. Your task is to find the second largest element present in the 'ARR'.

Note:
a) Duplicate elements may be present.

b) If no such element is present return -1.
Example:
Input: Given a sequence of five numbers 2, 4, 5, 6, 8.

Output:  6

Explanation:
In the given sequence of numbers, number 8 is the largest element, followed by number 6 which is the second-largest element. Hence we return number 6 which is the second-largest element in the sequence.
Try solving now

2. Diamond of Stars

Moderate
0/80
Asked in companies
CognizantTata Consultancy Services (TCS)MediaTek
Note: N is always odd.


Pattern for N = 5


The dots represent spaces.



Try solving now

3. Operating System

  • Explain Deadlocks
  • Explain semaphore/processes
03
Round
Easy
Face to Face
Duration30 minutes
Interview date26 Sep 2019
Coding problem1

SQL/DBMS

1. DBMS

  1. SQL query to find second highest salary from a given table.
  2. What is primary key?
  3. What is foreign key?
  4. Explain normalisation
Problem approach

Tip 1 : Go through SQL
Tip 2 : Learn basic concepts of DBMS

04
Round
Easy
HR Round
Duration30 minutes
Interview date26 Sep 2019
Coding problem1

General introduction

1. Basic HR Questions

  1. Tell me about yourself
  2. What are your expectations working with cognizant?
  3. What are your strengths?
Problem approach

Tip 1 : Be confident
Tip 2 : Be honest
 

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 Trainee
2 rounds | 3 problems
Interviewed by Cognizant
1408 views
0 comments
0 upvotes
company logo
Programmer Analyst Trainee
4 rounds | 5 problems
Interviewed by Cognizant
0 views
0 comments
0 upvotes
company logo
Programmer Analyst Trainee
3 rounds | 7 problems
Interviewed by Cognizant
925 views
0 comments
0 upvotes
company logo
Programmer Analyst Trainee
3 rounds | 8 problems
Interviewed by Cognizant
772 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Programmer Analyst Trainee
3 rounds | 4 problems
Interviewed by Newgen Software
811 views
0 comments
0 upvotes