i
Cognizant
Filter interviews by
Python does not have pointers like C/C++, but it uses references to manage memory and object access.
In Python, variables are references to objects, not the objects themselves.
Example: If 'a = [1, 2, 3]' and 'b = a', both 'a' and 'b' refer to the same list.
Modifying 'b' will also change 'a': 'b.append(4)' makes 'a' become [1, 2, 3, 4].
Immutable types (like integers and strings) behave differently; they create new o...
A data program in Python processes, analyzes, and visualizes data using libraries and tools for insights and decision-making.
Data programs often utilize libraries like Pandas for data manipulation.
Example: Using Pandas to read a CSV file: `df = pd.read_csv('data.csv')`.
Data visualization can be done using Matplotlib or Seaborn.
Example: Creating a simple plot: `plt.plot(df['x'], df['y'])`.
Data programs may include ...
A one-line function is a function written in a single line of code, typically used for simple operations.
One-line functions are concise and easy to read, often used for simple tasks like mathematical operations or string manipulation.
They are commonly used in lambda functions in Python.
Example: lambda x: x**2
Use SQL JOIN to combine rows from two tables based on a related column between them.
Use JOIN keyword in SQL to combine rows from two tables based on a related column
Types of JOINs include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
Example: SELECT * FROM table1 JOIN table2 ON table1.column = table2.column
What people are saying about Cognizant
Use SQL query with DISTINCT keyword to remove duplicates from the table.
Use SELECT DISTINCT column_name FROM table_name to retrieve unique values from a specific column.
Use DELETE FROM table_name WHERE column_name IN (SELECT column_name FROM table_name GROUP BY column_name HAVING COUNT(*) > 1) to remove duplicates from the table.
Polymorphism in OOPs refers to the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to represent different data types.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: In Python, the '+' operator can ...
I appeared for an interview in Feb 2025, where I was asked the following questions.
Python does not have pointers like C/C++, but it uses references to manage memory and object access.
In Python, variables are references to objects, not the objects themselves.
Example: If 'a = [1, 2, 3]' and 'b = a', both 'a' and 'b' refer to the same list.
Modifying 'b' will also change 'a': 'b.append(4)' makes 'a' become [1, 2, 3, 4].
Immutable types (like integers and strings) behave differently; they create new object...
I applied via Recruitment Consulltant and was interviewed in Aug 2023.ย There was 1 interview round.
A one-line function is a function written in a single line of code, typically used for simple operations.
One-line functions are concise and easy to read, often used for simple tasks like mathematical operations or string manipulation.
They are commonly used in lambda functions in Python.
Example: lambda x: x**2
Polymorphism in OOPs refers to the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to represent different data types.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: In Python, the '+' operator can be us...
Use SQL JOIN to combine rows from two tables based on a related column between them.
Use JOIN keyword in SQL to combine rows from two tables based on a related column
Types of JOINs include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
Example: SELECT * FROM table1 JOIN table2 ON table1.column = table2.column
I applied via Recruitment Consulltant and was interviewed in Oct 2023.ย There were 2 interview rounds.
I applied via Company Website and was interviewed in May 2022.ย There were 3 interview rounds.
Self indutroduction and my personal questions and technical support question
I applied via Campus Placement and was interviewed before Aug 2020.ย There were 3 interview rounds.
A bit is the smallest unit of data in computing, representing a binary value of 0 or 1.
A bit can represent two states: off (0) or on (1).
Bits are the building blocks of all digital data, including text, images, and sound.
In binary code, a sequence of bits can represent numbers, letters, and commands.
For example, the letter 'A' is represented as 01000001 in binary, which is 65 in decimal.
A bit is the smallest unit of digital information. It can have a value of either 0 or 1.
A bit is a binary digit, represented as either 0 or 1.
It is the basic unit of information used in computing and digital communications.
A group of 8 bits is called a byte.
The size of a bit is dependent on the architecture of the computer system.
C is a programming language and does not have a fixed number of bits.
C is a high-level programming language that can be compiled to run on different architectures with varying bit sizes.
The number of bits in C depends on the hardware architecture it is compiled for.
For example, C code compiled for a 32-bit architecture will have 32-bit integers, while code compiled for a 64-bit architecture will have 64-bit integers.
I applied via Recruitment Consultant and was interviewed before Oct 2020.ย There was 1 interview round.
I applied via Campus Placement and was interviewed in Apr 2020.ย There were 4 interview rounds.
I applied via Recruitment Consultant and was interviewed before Oct 2020.ย There were 4 interview rounds.
I applied via Naukri.com and was interviewed before May 2020.ย There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2020.ย There were 3 interview rounds.
based on 6 interview experiences
Difficulty level
Duration
based on 6 reviews
Rating in categories
Associate
71.1k
salaries
| โน5.3 L/yr - โน12.6 L/yr |
Programmer Analyst
56.1k
salaries
| โน3.5 L/yr - โน8 L/yr |
Senior Associate
55.9k
salaries
| โน10.1 L/yr - โน23.8 L/yr |
Senior Processing Executive
30.1k
salaries
| โน2.5 L/yr - โน6.5 L/yr |
Technical Lead
18.6k
salaries
| โน6 L/yr - โน21.7 L/yr |
TCS
Infosys
Wipro
Accenture