Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.
Generators are functions that allow you to iterate over a sequence of values without creating a full list in memory.
Generators use the yield keyword to return values one at a time
They are memory efficient as they do not store the entire sequence in memory
They can be used to generate an infinite sequence of values
Example: def countdown(n): while n > 0: yield n n -= 1
Example: for i in countdown(5): print(i)
Decorators are functions that modify the behavior of other functions without changing their source code.
Decorators are denoted by '@' symbol in Python
They can be used to add functionality to existing functions
They can be used to modify the behavior of existing functions
They can be used to restrict access to certain functions
They can be used to time the execution of functions
Top trending discussions
based on 2 reviews
Rating in categories
Test Engineer
276
salaries
| ₹1.9 L/yr - ₹5.8 L/yr |
Trainee Test Engineer
135
salaries
| ₹1.9 L/yr - ₹3.5 L/yr |
Senior Test Engineer
119
salaries
| ₹3.1 L/yr - ₹6.7 L/yr |
Technical Support Representative
66
salaries
| ₹2.3 L/yr - ₹4.7 L/yr |
Technical Support Executive
44
salaries
| ₹2.5 L/yr - ₹4.5 L/yr |
Keywords Studios
Sutherland Global Services
HGS
Quatrro