New
Know More
New
Know More
New
Know More
View All Preparation Packages

Cognizant

No of Coding Questions
Coding Questions :
No. of MCQ Questions
MCQ Questions :
No. of Mock Tests
Mock Test :
Arrow leading towards next section of Landing Page

About Cognizant 

Cognizant is a leading global technology firm headquartered in Teaneck, New Jersey, USA. With a focus on business consulting, information technology, and outsourcing, the company helps businesses stay ahead in a rapidly changing world by modernizing their technology, improving processes, and enhancing customer experiences. With recognition in the NASDAQ-100, S&P 500, Forbes Global 2000, and Fortune 500, Cognizant is a highly successful and fast-growing organization.

Cognizant offers a range of services including information technology, information security, consulting, ITO, and BPO. The company's operations are divided into three areas - digital business, digital operations, and digital systems and technology - all with the aim of transforming the world through technology. Whether it's by revolutionizing the companies that society relies on or providing the tools for individuals to achieve their potential, Cognizant is dedicated to enhancing the way the world works.

‍If you're planning to sit for Cognizant's placement exam, there are a few best practices and advice you can follow to increase your chances of success. One of the most important things to do is to get familiar with the exam pattern and syllabus. Make sure to study the placement exam practice questions to get a sense of what kind of questions you can expect.

Another crucial aspect is to register for the placement exam in advance and be aware of the registration process. Make sure you have all the necessary documents ready and double-check the deadlines to avoid missing out on the opportunity.

It's also essential to know how to crack the placement exam, which involves having a solid understanding of the concepts and applying them correctly. You can refer to various study materials available online or seek guidance from experienced professionals to get a better understanding of the exam.

However, it's important to note that cheating is never the right way to approach the placement exam. Not only is it unethical, but it can also have serious consequences, including being disqualified from future opportunities. Instead, focus on practicing and preparing to the best of your abilities.

Eligibility Criteria for Cognizant

To be eligible for the Cognizant selection process, an applicant must meet the following requirements:

  • Obtain a minimum of 60% marks in both 10th and 12th (or diploma) exams.
  • Achieve a minimum of 60% marks in their graduation degree.
  • There should be a gap of no more than one year between completing HSC (12th) and the start of the selection process, or between semesters of graduation.
  • Hold a graduation or post-graduation degree in BE, BTech, ME, MTech, or MCA.
  • Be free of any pending backlogs at the time of the selection process.

Exam Pattern for Cognizant

  • Quantitative Aptitude: 24 questions, 35 minutes time allotted
  • Logical Reasoning: 25 questions, 35 minutes time allotted
  • Verbal Ability: 1 question, 30 minutes time allotted
  • Code Debugging: 7 questions, 20 minutes time allotted
  • Coding Round 1: 2 questions, 40 minutes time allotted
  • Coding Round 2: 2 questions, 80 minutes time allotted

Cognizant Syllabus

Quantitative Aptitude

  • Divisibility
  • HCF and LCM
  • Numbers
  • Decimal fractions
  • Time, Speed, and Distance
  • Inverse
  • Power
  • Profit and Loss
  • Simple and Compound Interest
  • Logarithms
  • Permutation and Combinations
  • Probability

Logical Reasoning

  • Analogy Pattern Recognition
  • Classification Pattern Recognition
  • Coding Pattern Recognition
  • Number Series Pattern Recognition
  • Coding deductive logic
  • Data Sufficiency
  • Directional Sense
  • Logical Word Sequence
  • Objective Reasoning
  • Selection decision tables
  • Puzzles
  • Data Arrangement

Verbal Ability

  • Synonyms
  • Antonyms
  • Contextual Vocabulary
  • Error Identification
  • Reading Comprehension
  • Sentence Improvement and Construction
Arrow leading towards next section of Landing Page

Cognizant Selection Process

Cognizant is a great place to start your career with its supportive company culture and growth opportunities. It hires both fresh graduates and experienced professionals through college placements, walk-ins, mega placement drives, career website, HR consulting firms, and employee referral programs. This year, Cognizant is recruiting for four positions: GENC, GENC ELEVATE, GENC PRO, and GENC NEXT.

The interview process at Cognizant consists of three rounds: an aptitude test/skill-based assessment test, a technical interview, and an HR interview. For the GENC profile, candidates will take an online aptitude test that includes questions on quantitative ability, logical reasoning, and English comprehension. Candidates applying for GENC NEXT, GENC PRO, and GENC ELEVATE will take a skill-based assessment test that includes MCQ and coding challenges related to programming constructs, data structures, algorithms, database/SQL, and web UI.

In the technical interview round, candidates should be well-versed in computer science fundamentals and have knowledge of at least one programming language such as C++, Java, or Python. The interviewer will also assess problem-solving skills and awareness of recent technological developments. In the HR interview round, the panel will ask questions about the candidate's personality, education, work experience, internships, and other topics, as well as about the company's products, values, and structure.

To ace the HR interview, it is important to be confident and prepared. Practice answering popular HR interview questions and have answers ready for questions about internships, projects, volunteer work, and extracurricular activities. Showing confident body language can also make a big difference.

Arrow leading towards next section of Landing Page

Popular Questions

#Popular Question1

Write a c program to print alphabet triangle.

#Coding Question1 

Write a code to print numbers from 0 to 100 in C++ without using loop and recursion.


#Solution:

```sh

#include <iostream>

using namespace std;

template<int n>

class PrintZeroToN

{

public:

static void display()

{

PrintZeroToN<n-1>::display();  // this should not be mistaken for recursion

cout << n << endl;

}

};

template<>

class PrintZeroToN<0>

{

public:

static void display()

{

cout << 0 << endl;

}

};

int main()

{

const int n = 100;

PrintZeroToN<n>::display();

return 0;

}

```

#Coding Question2 

Write the code to add two numbers without using arithmetic operators.

#Solution:

```sh

// C Program for adding two numbers

// without the use of arithmetic operators

#include<stdio.h>

int Addition(int a, int b)

{

// Iterate until no carry 

while (b != 0)

{

// carry now stores common

//set bits of a and b

unsigned carry = a & b; 

a = a ^ b;

// Carry to be shifted by one so that on adding

// it to a, we get the required sum

b = carry << 1;

}

return a;

}

```

#Popular Question2

Write a c program to convert number in characters.

#Coding Question3

How will you print the address of a variable without using a pointer?

#Solution:

```sh

#include <stdio.h>

int main(void)

{

// declaring the variables 

int x;

float y;

char z;

printf("Address of x: %p\n", &x);

printf("Address of y: %p\n", &y);

printf("Address of z: %p\n", &z);

return 0;

}

```

#Popular Question3

Write a c program to convert decimal number to binary.

#Coding Question4

Write the code to find the length of a string without using the string functions.


#Solution

```sh

#include <iostream>

using namespace std;

int main()

{

char str[100];

int len = 0;

cout << "Enter a string: ";

cin >> str;

while(str[len] != '\0')

{

len++;

}

cout << "Length of the given string is: " << len;

cout << endl;

return 0;

}

```

#Coding Question5

Write a C Program to find GCD of N Numbers

#Solution

```sh

 #include<stdio.h>

int main()

{

printf("\n\n\t\tStudytonight - Best place to learn\n\n\n");

int x, y =- 1;

printf("Enter numbers. To exit enter 0\n");

while(1)    // infinite loop to take input

{

scanf("%d", &x);

if(x < 1)

break;

else if(y ==- 1)    // only 1 number entered, its GCD is itself

y = x;

else if(x < y)

y = gcd(x, y);

else

y = gcd(y, x);

}

printf("\n\n\nGCD of all the entered number is: %d", y);

printf("\n\n\t\t\tCoding is Fun !\n\n\n");

return 0;

}

// GCD of 2 numbers is calculated at a time

int gcd(int a, int b) 

{

int i;

/*

a is the smallest of the two numbers 

of which GCD is to be calculated

*/

for(i = a; i >= 1; i--) 

{

// Greatest number that divides both the numbers

if(a%i == 0 && b%i == 0) 

break;  // exits the loop

}

return i;

}

```

Previously Asked Question

#Popular Question1

Write a c program to print alphabet triangle.

#Coding Question1 

Write a code to print numbers from 0 to 100 in C++ without using loop and recursion.


#Solution:

```sh

#include <iostream>

using namespace std;

template<int n>

class PrintZeroToN

{

public:

static void display()

{

PrintZeroToN<n-1>::display();  // this should not be mistaken for recursion

cout << n << endl;

}

};

template<>

class PrintZeroToN<0>

{

public:

static void display()

{

cout << 0 << endl;

}

};

int main()

{

const int n = 100;

PrintZeroToN<n>::display();

return 0;

}

```

#Coding Question2 

Write the code to add two numbers without using arithmetic operators.

#Solution:

```sh

// C Program for adding two numbers

// without the use of arithmetic operators

#include<stdio.h>

int Addition(int a, int b)

{

// Iterate until no carry 

while (b != 0)

{

// carry now stores common

//set bits of a and b

unsigned carry = a & b; 

a = a ^ b;

// Carry to be shifted by one so that on adding

// it to a, we get the required sum

b = carry << 1;

}

return a;

}

```

#Popular Question2

Write a c program to convert number in characters.

#Coding Question3

How will you print the address of a variable without using a pointer?

#Solution:

```sh

#include <stdio.h>

int main(void)

{

// declaring the variables 

int x;

float y;

char z;

printf("Address of x: %p\n", &x);

printf("Address of y: %p\n", &y);

printf("Address of z: %p\n", &z);

return 0;

}

```

#Popular Question3

Write a c program to convert decimal number to binary.

#Coding Question4

Write the code to find the length of a string without using the string functions.


#Solution

```sh

#include <iostream>

using namespace std;

int main()

{

char str[100];

int len = 0;

cout << "Enter a string: ";

cin >> str;

while(str[len] != '\0')

{

len++;

}

cout << "Length of the given string is: " << len;

cout << endl;

return 0;

}

```

#Coding Question5

Write a C Program to find GCD of N Numbers

#Solution

```sh

 #include<stdio.h>

int main()

{

printf("\n\n\t\tStudytonight - Best place to learn\n\n\n");

int x, y =- 1;

printf("Enter numbers. To exit enter 0\n");

while(1)    // infinite loop to take input

{

scanf("%d", &x);

if(x < 1)

break;

else if(y ==- 1)    // only 1 number entered, its GCD is itself

y = x;

else if(x < y)

y = gcd(x, y);

else

y = gcd(y, x);

}

printf("\n\n\nGCD of all the entered number is: %d", y);

printf("\n\n\t\t\tCoding is Fun !\n\n\n");

return 0;

}

// GCD of 2 numbers is calculated at a time

int gcd(int a, int b) 

{

int i;

/*

a is the smallest of the two numbers 

of which GCD is to be calculated

*/

for(i = a; i >= 1; i--) 

{

// Greatest number that divides both the numbers

if(a%i == 0 && b%i == 0) 

break;  // exits the loop

}

return i;

}

```

Testimonials

Jayaram Majeti

Placed in
Cognizant
-
6.75 LPA

I joined Edust because the platform has wide range of practice questions. Also, there was mentors support throughout the day to help students when they get stuck. All the mentors were very friendly and helpful, the chat support feature of Edyst is best.

Sai Sasikanth Rokkam

Placed in
Deloitte
-
7.6 LPA

I wanted video lectures along with the coding assessments and that is exactly what Edyst offered me. I also got the roadmap towards getting a good placement job, I can't thanks Edyst enough for my success.

Rahil Sayed

Placed in
FIS Global
-
8.6 LPA

I really like the Company specific practice questions they turn out to be super helpfulduring my interview, I didn't face any difficulty, the variety and range of practice questions (especially on arrays) got me my dream job. Also, the online live session were very interactive and helped me in revision and solving doubts. Thank you Edyst.

Manikanta Javvadi

Placed in
Phenom People
-
15 LPA

Daily coding challenge and the doubt session helped me in staying consistent. Also, the leadership board kept me motivated. Edyst gave me the best guiding materials for all the cohorts I joined. I like everything done by Edyst for my success.

Sai Lokesh

Placed in
Wipro
-
6.5 LPA

Initially, I had 0 experience in coding as I'm a mechanical student; then I came across Edyst, which took me from 0 to 1 in coding. Edyst helped me to understand things better and easier. The sessions were excellent and very helpful. The best part of their courses was the assignments; they were accommodating, and the mentors were too kind to help me even at midnight.

Abhishek Surya

Placed in
Wipro
-
6.5 LPA

I liked the assessment facility offered by Edyst, using this feature I prepared for all the competitive companies where Computer Science graduates get placement. As a CS background student Edyst platform helped me a lot to furnish my coding skills. It helped me to perform upto my true potential during my placement exams.

Arrow leading towards next section of Landing Page

Coding Interview Round Sample Questions 

Here are some examples of coding interview questions that may be asked (entry-level candidates with little or no professional experience):

#Popular Question1

Write a c program to print alphabet triangle.

#Coding Question1 

Write a code to print numbers from 0 to 100 in C++ without using loop and recursion.


#Solution:

```sh

#include <iostream>

using namespace std;

template<int n>

class PrintZeroToN

{

public:

static void display()

{

PrintZeroToN<n-1>::display();  // this should not be mistaken for recursion

cout << n << endl;

}

};

template<>

class PrintZeroToN<0>

{

public:

static void display()

{

cout << 0 << endl;

}

};

int main()

{

const int n = 100;

PrintZeroToN<n>::display();

return 0;

}

```

#Coding Question2 

Write the code to add two numbers without using arithmetic operators.

#Solution:

```sh

// C Program for adding two numbers

// without the use of arithmetic operators

#include<stdio.h>

int Addition(int a, int b)

{

// Iterate until no carry 

while (b != 0)

{

// carry now stores common

//set bits of a and b

unsigned carry = a & b; 

a = a ^ b;

// Carry to be shifted by one so that on adding

// it to a, we get the required sum

b = carry << 1;

}

return a;

}

```

#Popular Question2

Write a c program to convert number in characters.

#Coding Question3

How will you print the address of a variable without using a pointer?

#Solution:

```sh

#include <stdio.h>

int main(void)

{

// declaring the variables 

int x;

float y;

char z;

printf("Address of x: %p\n", &x);

printf("Address of y: %p\n", &y);

printf("Address of z: %p\n", &z);

return 0;

}

```

#Popular Question3

Write a c program to convert decimal number to binary.

#Coding Question4

Write the code to find the length of a string without using the string functions.


#Solution

```sh

#include <iostream>

using namespace std;

int main()

{

char str[100];

int len = 0;

cout << "Enter a string: ";

cin >> str;

while(str[len] != '\0')

{

len++;

}

cout << "Length of the given string is: " << len;

cout << endl;

return 0;

}

```

#Coding Question5

Write a C Program to find GCD of N Numbers

#Solution

```sh

 #include<stdio.h>

int main()

{

printf("\n\n\t\tStudytonight - Best place to learn\n\n\n");

int x, y =- 1;

printf("Enter numbers. To exit enter 0\n");

while(1)    // infinite loop to take input

{

scanf("%d", &x);

if(x < 1)

break;

else if(y ==- 1)    // only 1 number entered, its GCD is itself

y = x;

else if(x < y)

y = gcd(x, y);

else

y = gcd(y, x);

}

printf("\n\n\nGCD of all the entered number is: %d", y);

printf("\n\n\t\t\tCoding is Fun !\n\n\n");

return 0;

}

// GCD of 2 numbers is calculated at a time

int gcd(int a, int b) 

{

int i;

/*

a is the smallest of the two numbers 

of which GCD is to be calculated

*/

for(i = a; i >= 1; i--) 

{

// Greatest number that divides both the numbers

if(a%i == 0 && b%i == 0) 

break;  // exits the loop

}

return i;

}

```

Dropdown Icon
Dropdown Icon

#Coding Question2 

Write the code to add two numbers without using arithmetic operators.

#Solution:

```sh

// C Program for adding two numbers

// without the use of arithmetic operators

#include<stdio.h>

int Addition(int a, int b)

{

// Iterate until no carry 

while (b != 0)

{

// carry now stores common

//set bits of a and b

unsigned carry = a & b; 

a = a ^ b;

// Carry to be shifted by one so that on adding

// it to a, we get the required sum

b = carry << 1;

}

return a;

}

```

Dropdown Icon

#Coding Question3

How will you print the address of a variable without using a pointer?

#Solution:

```sh

#include <stdio.h>

int main(void)

{

// declaring the variables 

int x;

float y;

char z;

printf("Address of x: %p\n", &x);

printf("Address of y: %p\n", &y);

printf("Address of z: %p\n", &z);

return 0;

}

```

Dropdown Icon

#Coding Question1 

Write a code to print numbers from 0 to 100 in C++ without using loop and recursion.


#Solution:

```sh

#include <iostream>

using namespace std;

template<int n>

class PrintZeroToN

{

public:

static void display()

{

PrintZeroToN<n-1>::display();  // this should not be mistaken for recursion

cout << n << endl;

}

};

template<>

class PrintZeroToN<0>

{

public:

static void display()

{

cout << 0 << endl;

}

};

int main()

{

const int n = 100;

PrintZeroToN<n>::display();

return 0;

}

```

Dropdown Icon

#Coding Question5

Write a C Program to find GCD of N Numbers

#Solution

```sh

 #include<stdio.h>

int main()

{

printf("\n\n\t\tStudytonight - Best place to learn\n\n\n");

int x, y =- 1;

printf("Enter numbers. To exit enter 0\n");

while(1)    // infinite loop to take input

{

scanf("%d", &x);

if(x < 1)

break;

else if(y ==- 1)    // only 1 number entered, its GCD is itself

y = x;

else if(x < y)

y = gcd(x, y);

else

y = gcd(y, x);

}

printf("\n\n\nGCD of all the entered number is: %d", y);

printf("\n\n\t\t\tCoding is Fun !\n\n\n");

return 0;

}

// GCD of 2 numbers is calculated at a time

int gcd(int a, int b) 

{

int i;

/*

a is the smallest of the two numbers 

of which GCD is to be calculated

*/

for(i = a; i >= 1; i--) 

{

// Greatest number that divides both the numbers

if(a%i == 0 && b%i == 0) 

break;  // exits the loop

}

return i;

}

```

Dropdown Icon

#Coding Question4

Write the code to find the length of a string without using the string functions.


#Solution

```sh

#include <iostream>

using namespace std;

int main()

{

char str[100];

int len = 0;

cout << "Enter a string: ";

cin >> str;

while(str[len] != '\0')

{

len++;

}

cout << "Length of the given string is: " << len;

cout << endl;

return 0;

}

```

Dropdown Icon
Dropdown Icon

#Popular Question1

Write a c program to print alphabet triangle.

Dropdown Icon

#Popular Question2

Write a c program to convert number in characters.

Dropdown Icon

#Popular Question3

Write a c program to convert decimal number to binary.

Dropdown Icon
Dropdown Icon
Dropdown Icon
Dropdown Icon
Dropdown Icon
Dropdown Icon
Dropdown Icon
Dropdown Icon

Technical Interview Round Sample Questions 

Here are some examples of technical interview questions that may be asked (entry-level candidates with little or no professional experience):
Are you comfortable working in a team?
Dropdown Icon
Assuming you are employed, how long do you anticipate working for us?
Dropdown Icon
Coding Question
Dropdown Icon
Coding Question
Dropdown Icon
Coding Question
Dropdown Icon
Coding Question
Dropdown Icon
Coding Question
Dropdown Icon
How does Dynamic Loading help in better memory space utilization?
Dropdown Icon
Popular Question
Dropdown Icon
Popular Question
Dropdown Icon
Popular Question
Dropdown Icon
Tell a story about how you dealt with a stressful situation.
Dropdown Icon
Tell us a little bit about yourself
Dropdown Icon
What is Trapdoor in OS?
Dropdown Icon
What is plumbing/piping in Linux or Unix?
Dropdown Icon
What is the Hamming Code?
Dropdown Icon
What is the fill factor in SQL? What is its default value?
Dropdown Icon
Your knowledge of cognizant
Dropdown Icon

HR Interview Round Sample Questions

Here are some examples of technical interview questions that may be asked (entry-level candidates with little or no professional experience):
Are you comfortable working in a team?
Dropdown Icon
Assuming you are employed, how long do you anticipate working for us?
Dropdown Icon
Coding Question
Dropdown Icon
Coding Question
Dropdown Icon
Coding Question
Dropdown Icon
Coding Question
Dropdown Icon
Coding Question
Dropdown Icon
How does Dynamic Loading help in better memory space utilization?
Dropdown Icon
Popular Question
Dropdown Icon
Popular Question
Dropdown Icon
Popular Question
Dropdown Icon
Tell a story about how you dealt with a stressful situation.
Dropdown Icon
Tell us a little bit about yourself
Dropdown Icon
What is Trapdoor in OS?
Dropdown Icon
What is plumbing/piping in Linux or Unix?
Dropdown Icon
What is the Hamming Code?
Dropdown Icon
What is the fill factor in SQL? What is its default value?
Dropdown Icon
Your knowledge of cognizant
Dropdown Icon