i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Python has a rich set of libraries for various purposes.
Python standard library provides modules for file I/O, regular expressions, networking, and more.
Third-party libraries like NumPy, Pandas, Matplotlib, and Scikit-learn are widely used for data analysis and machine learning.
Python also has libraries for web development, game development, GUI programming, and more.
Libraries can be installed using pip, the package ma...
What people are saying about Cognizant
I applied via Campus Placement and was interviewed before Jul 2022. There were 3 interview rounds.
General aptitude includes logical reasoning, numericals and English
They start with your brief introduction followed by asking questions related to your resume and they will ask what are coding languages you know.
Cognizant interview questions for designations
I applied via Campus Placement and was interviewed in Nov 2020. There were 3 interview rounds.
I am comfortable in multiple programming languages including Python, Java, and C++.
Python
Java
C++
Recursion is a process in which a function calls itself as a subroutine.
Recursion is used to solve problems that can be broken down into smaller, simpler problems.
It involves a base case and a recursive case.
Examples include factorial, Fibonacci sequence, and binary search.
Recursion can be memory-intensive and may cause stack overflow if not implemented properly.
Recursion is a process in which a function calls itself as a subroutine.
Recursion can be used to solve problems that can be broken down into smaller sub-problems of the same type.
It is important to have a base case to prevent infinite recursion.
Examples of recursive functions include factorial, Fibonacci sequence, and binary search.
Recursion can also be used to traverse data structures such as trees and graphs.
Infix notation is a mathematical notation where operators are placed between operands.
Infix notation is the most commonly used notation in mathematics.
In infix notation, operators are placed between operands.
Infix notation is used in programming languages like C, Java, and Python.
Examples of infix notation include 2 + 3, 4 * 5, and 6 / 2.
Prefix notation is a way of writing mathematical expressions where the operator comes before the operands.
Also known as Polish notation
Example: + 2 3 is equivalent to 2 + 3
Useful in computer science for evaluating expressions
Requires less parentheses than infix notation
Converting infix expression to prefix notation.
Reverse the infix expression
Replace '(' with ')' and vice versa
Apply postfix to the modified infix expression
Reverse the postfix expression to get prefix expression
Arrays are contiguous blocks of memory while linked lists are nodes linked by pointers.
Arrays have fixed size while linked lists can grow dynamically.
Insertion and deletion are faster in linked lists than in arrays.
Arrays have direct access to elements while linked lists need to traverse from the beginning.
Arrays are better for random access while linked lists are better for sequential access.
Examples of arrays: int[] ...
The OSI model has 7 layers that define how data is transmitted over a network.
The layers are: Physical, Data Link, Network, Transport, Session, Presentation, and Application.
Each layer has a specific function and communicates with the layers above and below it.
For example, the Physical layer deals with the physical transmission of data, while the Application layer deals with user interfaces and applications.
The OSI mod...
TCP/IP model is a networking protocol that defines how data is transmitted over the internet.
TCP/IP model has four layers: application, transport, internet, and network access.
Each layer has its own set of protocols and functions.
TCP/IP model is used for communication between devices on the internet.
Examples of protocols used in TCP/IP model include HTTP, FTP, TCP, and IP.
Operator overloading is the ability to redefine operators for custom classes.
Allows operators to be used with custom classes
Enables the use of familiar operators with custom classes
Can improve code readability and reduce complexity
Example: overloading the + operator for a custom Vector class to add two vectors
Get interview-ready with Top Cognizant Interview Questions
I applied via Company Website and was interviewed in Feb 2021. There was 1 interview round.
Program to find the maximum value from an array of strings.
Convert the array elements to integers using parseInt()
Use Math.max() to find the maximum value
Handle empty arrays
Arrays are fixed in size and hold elements of the same data type, while lists are dynamic and can hold elements of different data types.
Arrays are declared with a fixed size, while lists can grow or shrink dynamically.
Arrays can only hold elements of the same data type, while lists can hold elements of different data types.
Arrays are accessed using an index, while lists are accessed using an iterator.
Example: int[] arr
I applied via Other and was interviewed in Feb 2021. There were 3 interview rounds.
I applied via campus placement at STES Smt Kashibai Navale College of Engineering, Pune and was interviewed in Oct 2020. There were 3 interview rounds.
The duration of Cognizant GenC interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 55 interviews
4 Interview rounds
based on 11 reviews
Rating in categories
Associate
72.3k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
Programmer Analyst
55.6k
salaries
| ₹2.4 L/yr - ₹9.6 L/yr |
Senior Associate
48.6k
salaries
| ₹9 L/yr - ₹27.4 L/yr |
Senior Processing Executive
28.9k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹24.9 L/yr |
TCS
Infosys
Wipro
Accenture