Upload Button Icon Add office photos

Filter interviews by

Testpress Python Software Developer Interview Questions and Answers

Updated 9 Dec 2024

Testpress Python Software Developer Interview Experiences

1 interview found

Python Software Developer Interview Questions & Answers

user image Vijayaragu Jeyaguru

posted on 9 Dec 2024

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

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

Round 1 - Technical 

(2 Questions)

  • Q1. Below in the box
  • Q2. Answer also in that box

Interview Preparation Tips

Interview preparation tips for other job seekers - Given an array arr[] consisting of N positive integers representing the ratings of N children, the task is to find the minimum number of candies required for distributing to N children such that every child gets at least one candy and the children having the higher rating get more candies than its neighbours.

Examples:

Input: arr[] = {1, 0, 2}
Output: 5
Explanation:
Consider the distribution of candies as {2, 1, 2} that satisfy the given conditions. Therefore, the sum of candies is 2 + 1 + 2 = 5, which is the minimum required candies.
Input: arr[] = {1, 2, 2}
Output: 4
Approach: The given problem can be solved by using the Greedy Approach. Follow the steps below to solve the problem:
Initialize an array, say ans[] to store the amount of candies assigned to every child, and initialize it with 1 to every array element ans[].
Traverse the given array
arr[] and if the value of arr[i + 1] is greater than arr[i], then update the value of ans[i + 1] as ans[i] + 1.
Traverse the given array from the back
and perform the following steps:
If the value of arr[i] is greater than arr[i + 1] and the value of ans[i] is less than or equal to ans[i + 1], then update the value of ans[i] as ans[i + 1] + 1.
After completing the above steps,
print the sum of array
ans[] as the resultant sum of candies.
Below is the implementation of the above approach:

Interview questions from similar companies

Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I was interviewed in Dec 2024.

Round 1 - One-on-one 

(5 Questions)

  • Q1. Introduction about me any question
  • Ans. 

    I am chandana i am bca graduated

  • Answered Anonymously
  • Q2. About job bases
  • Ans. 

    How to developed a skill to improve over skills

  • Answered Anonymously
  • Q3. Salary based question
  • Ans. 

    I am fresher to 2 to 4

  • Answered Anonymously
  • Q4. How to completed
  • Q5. Job description

Interview Preparation Tips

Interview preparation tips for other job seekers - No i am fresher to search the job
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - One-on-one 

(2 Questions)

  • Q1. What is a Python program that can be used to determine the best price for selling stocks?
  • Q2. Can you write a Python program to determine whether two given words are anagrams of each other without using built-in functions?

Interview Preparation Tips

Interview preparation tips for other job seekers - Engage in these types of practices before attending the Infosys interview.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Create new list from the provided list but the order should be shuffled and no duplicate element should be removed
  • Ans. 

    Create a new list with shuffled order and no duplicate elements.

    • Use the random.shuffle() function to shuffle the list

    • Use a set to keep track of elements already added to the new list to avoid duplicates

    • Convert the set back to a list to maintain the order of elements

  • Answered by AI
  • Q2. Architecture of existing application
  • Ans. 

    The existing application follows a microservices architecture with separate components for different functionalities.

    • The application is divided into multiple services that communicate with each other through APIs.

    • Each service is responsible for a specific task or functionality, promoting modularity and scalability.

    • Examples of microservices in the architecture include user authentication service, payment processing serv

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Why do you want to join
  • Ans. 

    I am passionate about Python development and excited about the innovative projects your company is working on.

    • Passionate about Python development

    • Excited about innovative projects at company

    • Seeking growth and learning opportunities

  • Answered by AI
  • Q2. Where do you see yourself in 5 years
  • Ans. 

    In 5 years, I see myself as a senior Python developer leading a team of developers on innovative projects.

    • Continuing to enhance my Python skills and staying updated on new technologies

    • Taking on more leadership responsibilities and mentoring junior developers

    • Contributing to the success of the company through my technical expertise

  • Answered by AI

Skills evaluated in this interview

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

(2 Questions)

  • Q1. What is http? rest api?
  • Ans. 

    HTTP is a protocol used for transferring data over the internet. REST API is a set of rules for building web services.

    • HTTP stands for Hypertext Transfer Protocol, used for communication between web servers and clients

    • REST API (Representational State Transfer) is a set of rules for building web services that adhere to the principles of REST

    • RESTful APIs use standard HTTP methods like GET, POST, PUT, DELETE to perform CRU...

  • Answered by AI
  • Q2. What is time complexity?
  • Ans. 

    Time complexity refers to the amount of time an algorithm takes to run as a function of the input size.

    • It measures how the runtime of an algorithm grows as the input size increases.

    • Common time complexities include O(1) constant time, O(log n) logarithmic time, O(n) linear time, O(n^2) quadratic time, and O(2^n) exponential time.

    • Understanding time complexity helps in analyzing and optimizing algorithms for efficiency.

    • Ex...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Telephonic interview with questions on python oops, threading, sql indexing etc.

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - Coding Test 

30mins on diff python and flask

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

(2 Questions)

  • Q1. Data structures
  • Q2. Object orientation

Interview Preparation Tips

Interview preparation tips for other job seekers - Good
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
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed in Aug 2023. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. What is a one-line function?
  • Ans. 

    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

  • Answered by AI
  • Q2. What is polymorphism in OOps?
  • Ans. 

    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...

  • Answered by AI
  • Q3. Remove duplicates from the table.
  • Ans. 

    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.

  • Answered by AI
  • Q4. Join two tables?
  • Ans. 

    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

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Python Software Developer interview:
  • Python
  • OOPS
  • SQL-Join
  • SQL-windows
  • Lamdafunction
  • ClasssIObjects

Skills evaluated in this interview

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

Easy and medium leetcode problem

Testpress Interview FAQs

How many rounds are there in Testpress Python Software Developer interview?
Testpress interview process usually has 1 rounds. The most common rounds in the Testpress interview process are Technical.
What are the top questions asked in Testpress Python Software Developer interview?

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

  1. Answer also in that ...read more
  2. Below in the ...read more

Tell us how to improve this page.

Testpress Python Software Developer Interview Process

based on 1 interview

Interview experience

4
  
Good
View more
Business Development Manager
6 salaries
unlock blur

₹5 L/yr - ₹10 L/yr

Software Developer
5 salaries
unlock blur

₹4 L/yr - ₹4.6 L/yr

Full Stack Developer
5 salaries
unlock blur

₹3.5 L/yr - ₹10 L/yr

Software Engineer
4 salaries
unlock blur

₹6 L/yr - ₹11.4 L/yr

Content Editor
4 salaries
unlock blur

₹1.5 L/yr - ₹4 L/yr

Explore more salaries
Compare Testpress with

Unacademy

3.0
Compare

upGrad

3.7
Compare

Toppr

3.4
Compare

MeritNation

3.6
Compare
Did you find this page helpful?
Yes No
write
Share an Interview