Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by TCS Team. If you also belong to the team, you can get access from here

TCS Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

TCS Python Software Developer Interview Questions and Answers

Updated 3 Mar 2025

22 Interview questions

A Python Software Developer was asked 3mo ago
Q. What is the difference between the append and extend methods in Python?
Ans. 

Append adds a single element to the end of a list, while extend adds multiple elements from an iterable.

  • Append adds one element at a time to the end of a list

  • Extend adds multiple elements from an iterable (e.g. list, tuple) to the end of a list

  • Append can be used to add a single element like a number or a string

  • Extend is used to add multiple elements like another list or tuple

  • Example: list1 = [1, 2, 3], list2 = [4,...

🔥 Asked by recruiter 6 times
A Python Software Developer was asked 11mo ago
Q. What is Python?
Ans. 

Python is a high-level, interpreted programming language known for its simplicity and readability.

  • Python is dynamically typed and garbage-collected.

  • It supports multiple programming paradigms like procedural, object-oriented, and functional programming.

  • Python has a large standard library and a vibrant community of developers.

  • Example: print('Hello, World!')

Python Software Developer Interview Questions Asked at Other Companies

Q1. What is the purpose of using the super keyword, Inheritance in Py ... read more
asked in Infosys
Q2. Can you write a Python program to determine whether two given wor ... read more
Q3. Have you implemented any context manager in your application?
Q4. Difference between static and instance methods in python? Explain ... read more
Q5. What is byte code. What is filter function in python used for.
🔥 Asked by recruiter 2 times
A Python Software Developer was asked 11mo ago
Q. What are the differences between lists and tuples in Python?
Ans. 

Lists are mutable, tuples are immutable in Python.

  • Lists are enclosed in square brackets [], tuples in parentheses ().

  • Lists can be modified (add, remove, change elements), tuples cannot be modified once created.

  • Lists are used for collections of similar items, tuples for fixed collections of dissimilar items.

  • Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)

🔥 Asked by recruiter 9 times
A Python Software Developer was asked 11mo ago
Q. What is an array?
Ans. 

An array is a data structure that stores a collection of elements, each identified by at least one array index or key.

  • Arrays can store elements of the same data type or mixed data types.

  • Elements in an array are accessed by their index, starting from 0.

  • Arrays in Python are created using square brackets, e.g. my_array = ['apple', 'banana', 'cherry'].

What people are saying about TCS

View All
a senior associate
2w
Tata's lost its touch? TCS ain't what it used to be :-(
Tata is not the same after Sir Ratan Tata! TCS used to really look after its employees, even when they were on the bench. Now, things have changed and it's disappointing.
FeedCard Image
Got a question about TCS?
Ask anonymously on communities.
A Python Software Developer was asked 11mo ago
Q. Write a Python program to reverse a six-digit number.
Ans. 

Reversing a six digit number using Python

  • Convert the number to a string to easily manipulate each digit

  • Use string slicing to reverse the order of the digits

  • Convert the reversed string back to an integer for the final result

A Python Software Developer was asked 12mo ago
Q. What do you mean by SQL Correlated Subqueries?
Ans. 

SQL correlated subqueries are subqueries that reference columns from the outer query.

  • Correlated subqueries are executed for each row processed by the outer query.

  • They are used to filter results based on values from the outer query.

  • Example: SELECT * FROM table1 WHERE column1 = (SELECT MAX(column2) FROM table2 WHERE table2.id = table1.id)

A Python Software Developer was asked 12mo ago
Q. What are interrupts?
Ans. 

Interrupts are signals sent to the CPU to temporarily suspend the current program and handle a specific event or request.

  • Interrupts allow the CPU to respond to events in real-time without wasting processing power.

  • They can be generated by hardware devices, software programs, or the CPU itself.

  • Examples include keyboard input, timer expiration, and hardware errors.

Are these interview questions helpful?
A Python Software Developer was asked
Q. How can we create a list in Python?
Ans. 

A list in Python can be created by enclosing elements in square brackets []

  • Use square brackets [] to enclose elements

  • Separate elements with commas

  • Elements can be of any data type

  • Example: my_list = [1, 'apple', True, 3.14]

A Python Software Developer was asked
Q. What is loc and iloc in Pandas?
Ans. 

loc and iloc are methods in Pandas used for selecting rows and columns by label or integer position.

  • loc is used for selecting rows and columns by label

  • iloc is used for selecting rows and columns by integer position

  • Example: df.loc[2, 'column_name'] selects the value at row 2 and column 'column_name'

A Python Software Developer was asked
Q. What is the Pandas framework?
Ans. 

Pandas is a powerful open-source data manipulation and analysis library for Python.

  • Pandas provides data structures like DataFrame and Series for efficient data manipulation.

  • It offers tools for reading and writing data in various formats such as CSV, Excel, SQL databases.

  • Pandas allows for data cleaning, reshaping, merging, and grouping operations.

  • It integrates well with other libraries like NumPy and Matplotlib for...

TCS Python Software Developer Interview Experiences

17 interviews found

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Coding Test 

String,lists,dict and coding knowledge

Interview Preparation Tips

Interview preparation tips for other job seekers - reverse a string without using in built functions
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I appeared for an interview in Feb 2025.

Round 1 - Technical 

(2 Questions)

  • Q1. Tell me difference between append and extend
  • Ans. 

    Append adds a single element to the end of a list, while extend adds multiple elements from an iterable.

    • Append adds one element at a time to the end of a list

    • Extend adds multiple elements from an iterable (e.g. list, tuple) to the end of a list

    • Append can be used to add a single element like a number or a string

    • Extend is used to add multiple elements like another list or tuple

    • Example: list1 = [1, 2, 3], list2 = [4, 5], ...

  • Answered by AI
  • Q2. List and tuple
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(1 Question)

  • Q1. Explain about python frameworks
  • Ans. 

    Python frameworks are pre-built libraries that provide a structure for developing web applications.

    • Frameworks like Django, Flask, and Pyramid help streamline development by providing common functionalities like routing, templating, and database access.

    • Django is a high-level framework that follows the MVC pattern and includes an ORM for database interactions.

    • Flask is a lightweight framework that is easy to set up and al...

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(4 Questions)

  • Q1. What is array ?
  • Ans. 

    An array is a data structure that stores a collection of elements, each identified by at least one array index or key.

    • Arrays can store elements of the same data type or mixed data types.

    • Elements in an array are accessed by their index, starting from 0.

    • Arrays in Python are created using square brackets, e.g. my_array = ['apple', 'banana', 'cherry'].

  • Answered by AI
  • Q2. Write reversing six digit number using python
  • Ans. 

    Reversing a six digit number using Python

    • Convert the number to a string to easily manipulate each digit

    • Use string slicing to reverse the order of the digits

    • Convert the reversed string back to an integer for the final result

  • Answered by AI
  • Q3. What is python ?
  • Ans. 

    Python is a high-level, interpreted programming language known for its simplicity and readability.

    • Python is dynamically typed and garbage-collected.

    • It supports multiple programming paradigms like procedural, object-oriented, and functional programming.

    • Python has a large standard library and a vibrant community of developers.

    • Example: print('Hello, World!')

  • Answered by AI
  • Q4. Different between list and tuples
  • Ans. 

    Lists are mutable, tuples are immutable in Python.

    • Lists are enclosed in square brackets [], tuples in parentheses ().

    • Lists can be modified (add, remove, change elements), tuples cannot be modified once created.

    • Lists are used for collections of similar items, tuples for fixed collections of dissimilar items.

    • Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)

  • Answered by AI

Skills evaluated in this interview

Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Jul 2024.

Round 1 - Coding Test 

Programming test in basic

Round 2 - Coding Test 

Code implementation in live

Round 3 - Assignment 

Project questions asked

Interview Preparation Tips

Interview preparation tips for other job seekers - Freshers in python programming language
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
-
Result
Selected Selected
Round 1 - Coding Test 

A=10
B=10
C=A+B
Print("c=",c)

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Self intro and questions about project
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Recruitment Consulltant and was interviewed in Dec 2023. There were 3 interview rounds.

Round 1 - Aptitude Test 

Round 1- 20 Ques (Foundation)
Round 2- 15 Ques (Advanced-contains both Quants and Logical

Round 2 - Coding Test 

3-4 questions are asked

Round 3 - HR 

(2 Questions)

  • Q1. What are interrupts?
  • Ans. 

    Interrupts are signals sent to the CPU to temporarily suspend the current program and handle a specific event or request.

    • Interrupts allow the CPU to respond to events in real-time without wasting processing power.

    • They can be generated by hardware devices, software programs, or the CPU itself.

    • Examples include keyboard input, timer expiration, and hardware errors.

  • Answered by AI
  • Q2. What do you mean by SQL Correlated Subqueries?
  • Ans. 

    SQL correlated subqueries are subqueries that reference columns from the outer query.

    • Correlated subqueries are executed for each row processed by the outer query.

    • They are used to filter results based on values from the outer query.

    • Example: SELECT * FROM table1 WHERE column1 = (SELECT MAX(column2) FROM table2 WHERE table2.id = table1.id)

  • Answered by AI

Interview Preparation Tips

Topics to prepare for TCS Python Software Developer interview:
  • C
  • Python
  • Java
  • C++
Interview preparation tips for other job seekers - It is the best company

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Generator in Python
  • Ans. 

    Generators in Python are functions that allow you to iterate over a sequence of items without storing them all in memory.

    • Generators use the 'yield' keyword to return values one at a time

    • They are memory efficient as they generate values on the fly

    • Can be used in for loops, list comprehensions, and other iterable contexts

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Jan 2024. There was 1 interview round.

Round 1 - HR 

(4 Questions)

  • Q1. PYTHON CODE DICIMAL CODE
  • Q2. NUMPY ARRAY CODE PYTHON
  • Q3. PYTHON LIST CODE APPEND LIST
  • Q4. PYTHON FUCTIONS

TCS Interview FAQs

How many rounds are there in TCS Python Software Developer interview?
TCS interview process usually has 2 rounds. The most common rounds in the TCS interview process are Technical, Coding Test and HR.
How to prepare for TCS Python Software Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at TCS. The most common topics and skills that interviewers at TCS expect are Python, Django, AWS, Flask and SQL.
What are the top questions asked in TCS Python Software Developer interview?

Some of the top questions asked at the TCS Python Software Developer interview -

  1. Swap two numbers without swap function and without using 3rd varia...read more
  2. What do you mean by SQL Correlated Subqueri...read more
  3. What is threading? and how to achieve this in python. What is generator functio...read more
What are the most common questions asked in TCS Python Software Developer HR round?

The most common HR questions asked in TCS Python Software Developer interview are -

  1. What are your strengths and weakness...read more
  2. Tell me about yourse...read more
How long is the TCS Python Software Developer interview process?

The duration of TCS Python Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 19 interview experiences

Difficulty level

Easy 44%
Moderate 56%

Duration

Less than 2 weeks 63%
2-4 weeks 13%
4-6 weeks 13%
More than 8 weeks 13%
View more
TCS Python Software Developer Salary
based on 410 salaries
₹2.5 L/yr - ₹10.7 L/yr
8% less than the average Python Software Developer Salary in India
View more details

TCS Python Software Developer Reviews and Ratings

based on 38 reviews

3.6/5

Rating in categories

3.2

Skill development

3.9

Work-life balance

2.5

Salary

4.5

Job security

3.8

Company culture

2.6

Promotions

3.2

Work satisfaction

Explore 38 Reviews and Ratings
System Engineer
1.1L salaries
unlock blur

₹1 L/yr - ₹9 L/yr

IT Analyst
65.6k salaries
unlock blur

₹5.1 L/yr - ₹16.8 L/yr

AST Consultant
53.4k salaries
unlock blur

₹8 L/yr - ₹25 L/yr

Assistant System Engineer
33.2k salaries
unlock blur

₹2.6 L/yr - ₹6.4 L/yr

Associate Consultant
32.8k salaries
unlock blur

₹9 L/yr - ₹33.6 L/yr

Explore more salaries
Compare TCS with

Amazon

4.0
Compare

Wipro

3.7
Compare

Infosys

3.6
Compare

Accenture

3.8
Compare
write
Share an Interview