Premium Employer

Infosys

3.6
based on 39.5k Reviews
Filter interviews by

Tata Power Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Write a code if number is series and in ascending order then number 1 is add and continue with another adding number and so on

Ans.

Add 1 to each number in an ascending series

  • Check if the numbers are in ascending order

  • If yes, start with 1 and add it to the first number

  • Continue adding subsequent numbers with increasing values of 1

Add your answer

Q2. What is lambda in python

Ans.

Lambda is a shorthand way of defining anonymous functions in Python.

  • Lambda functions are defined using the keyword 'lambda'.

  • They can take any number of arguments, but can only have one expression.

  • Lambda functions are often used as arguments for higher-order functions.

  • Example: lambda x: x**2 defines a function that squares its input.

Add your answer

Q3. What is data structures

Ans.

Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.

  • Data structures are used to manage and manipulate data in computer programs.

  • They can be implemented using arrays, linked lists, trees, graphs, and other techniques.

  • Examples of data structures include stacks, queues, hash tables, and binary search trees.

  • Choosing the right data structure for a particular problem can greatly improve the efficiency of a program.

Add your answer

Q4. What is tulip in python

Ans.

Tulip is a library for asynchronous programming in Python.

  • Tulip provides a set of high-level APIs for writing concurrent code using coroutines and futures.

  • It is included in Python 3.4 and later versions as the asyncio module.

  • Tulip allows for efficient and scalable I/O operations, making it useful for network programming.

  • Example: Using the asyncio module to create a simple HTTP server that handles multiple requests concurrently.

Add your answer
Discover Tata Power interview dos and don'ts from real experiences

Q5. Define a types of oops

Ans.

There are four types of OOPs: Encapsulation, Inheritance, Polymorphism, and Abstraction.

  • Encapsulation: Hiding the implementation details of an object from the outside world.

  • Inheritance: Creating a new class from an existing class, inheriting all the properties and methods of the parent class.

  • Polymorphism: The ability of an object to take on many forms. It allows objects of different classes to be treated as if they were objects of the same class.

  • Abstraction: The process of hi...read more

Add your answer

Q6. Difference in c and c++

Ans.

C++ is an extension of C with object-oriented programming features.

  • C++ supports classes and objects while C does not.

  • C++ has better support for function overloading and templates.

  • C++ has a standard library that includes many useful functions.

  • C++ allows for both procedural and object-oriented programming.

  • C++ is generally considered to be more complex than C.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Tata Power

based on 5 interviews
1 Interview rounds
Coding Test Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Technical Specialist Interview Questions from Similar Companies

3.5
 • 49 Interview Questions
3.8
 • 13 Interview Questions
3.6
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter