i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Avg aptitude questions
2 easy coding questions
I applied via Recruitment Consulltant and was interviewed in Jun 2023. There were 2 interview rounds.
I applied via Recruitment Consulltant and was interviewed in May 2022. There were 2 interview rounds.
Tuple is immutable and ordered while list is mutable and ordered.
Tuple uses () while list uses []
Tuple is faster than list for accessing elements
Tuple can be used as keys in dictionaries while list cannot
Tuple can be used in string formatting while list cannot
A decorator is a design pattern in Python that allows modifying the behavior of a function or class without changing its source code.
Decorators are functions that take another function as an argument and return a new function.
They are used to add functionality to an existing function or class.
They can be used to modify the behavior of a function, such as adding logging or timing functionality.
They can also be used to e...
One recursion problem is to find the factorial of a number.
The base case is when the number is 0 or 1.
The recursive case is to multiply the number with the factorial of (number-1).
Example: factorial(5) = 5 * factorial(4) = 5 * 4 * factorial(3) = ... = 5 * 4 * 3 * 2 * 1 = 120.
Find second highest number from list without using inbuilt functions
Sort the list in descending order
Return the second element of the sorted list
What people are saying about Cognizant
Python is used in reality due to its simplicity, versatility, and wide range of applications.
Python is easy to learn and read, making it a popular choice for beginners.
It has a large standard library and many third-party modules, allowing for rapid development.
Python is used in web development, data analysis, machine learning, scientific computing, and more.
It is cross-platform and can run on various operating systems.
...
Cognizant interview questions for designations
I applied via Naukri.com and was interviewed in Apr 2022. There were 3 interview rounds.
Get interview-ready with Top Cognizant Interview Questions
I applied via Naukri.com and was interviewed in Mar 2021. There were 3 interview rounds.
Yes, I have worked on various python projects including web development, data analysis and automation.
Developed a web application using Django framework
Automated data extraction and analysis using pandas library
Created a chatbot using Python and Dialogflow API
Implemented machine learning algorithms for predictive analysis
Integrated Python scripts with other technologies like AWS and Docker
Variables are names given to memory locations while objects are instances of a class with attributes and methods.
Variables are used to store values while objects are used to represent real-world entities.
Variables can be reassigned to different values while objects have a fixed identity.
Variables are created when they are assigned a value while objects are created using constructors.
Variables can be of different data t...
Yes, init method is a special method in Python classes used to initialize objects.
The init method is called automatically when an object is created from a class.
It is used to set initial values for object attributes.
The init method always takes the 'self' parameter as the first argument.
Example: def __init__(self, name, age): self.name = name; self.age = age
The init method can also be used to perform any other setup or
Inheritance is a way to create a new class by inheriting properties and methods from an existing class.
It allows code reusability and saves time.
Types of inheritance are single, multiple, multilevel, and hierarchical.
Single inheritance involves inheriting properties and methods from a single parent class.
Multiple inheritance involves inheriting properties and methods from multiple parent classes.
Multilevel inheritance ...
Pickling is a way to serialize Python objects, while non-pickling refers to objects that cannot be pickled.
Pickling is used to convert Python objects into a byte stream that can be stored or transmitted.
Non-pickling objects are those that cannot be serialized using the pickle module.
Examples of non-pickling objects include file objects, network sockets, and database connections.
To make an object picklable, it must be a...
I have made various ML models including regression, classification, and clustering models.
I have made regression models such as linear regression and polynomial regression to predict numerical values.
I have made classification models such as logistic regression, decision trees, and random forests to classify data into different categories.
I have made clustering models such as K-means clustering to group similar data po...
The logic of the program is to reverse a given string word by word without using any built-in function.
Split the string into an array of words using whitespace as the delimiter.
Iterate through the array of words in reverse order.
Append each word to a new string, separated by a space.
I applied via LinkedIn and was interviewed in Feb 2022. There was 1 interview round.
I applied via campus placement at Bangalore Institute Of Technology (BIT) and was interviewed in Jun 2021. There were 4 interview rounds.
I rate myself as an experienced Python developer with strong skills in various Python libraries and frameworks.
I have worked on various Python projects and have a good understanding of the language syntax and concepts.
I am proficient in using popular Python libraries such as NumPy, Pandas, and Matplotlib for data analysis and visualization.
I have experience in developing web applications using Python frameworks such as...
based on 10 reviews
Rating in categories
Associate
72.7k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
Programmer Analyst
55.4k
salaries
| ₹2.4 L/yr - ₹9.7 L/yr |
Senior Associate
48.3k
salaries
| ₹9 L/yr - ₹27 L/yr |
Senior Processing Executive
28.6k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹24 L/yr |
TCS
Infosys
Wipro
Accenture