Globant
10+ Flowserve Interview Questions and Answers
Q1. Where would you use flask and where would you use django
Flask is lightweight and good for small projects, while Django is more robust and suitable for larger projects.
Flask is good for small projects with simple requirements
Django is more suitable for larger projects with complex requirements
Flask is lightweight and flexible, allowing for more customization
Django has a lot of built-in features and is more opinionated
Flask is better for RESTful APIs and microservices
Django is better for full-stack web applications
Examples of Flask ...read more
Q2. Deep Copy vs Shallow Copy, Object Prototyping
Deep Copy creates a new object with a new memory address while Shallow Copy creates a new reference to the same memory address.
Deep Copy duplicates the object and its properties while Shallow Copy only duplicates the object reference.
Object Prototyping is a way to create new objects based on existing objects.
Prototyping allows for inheritance and the ability to add or override properties and methods.
Q3. Different Datatypes in python
Python has several built-in datatypes including int, float, bool, str, list, tuple, set, and dict.
int - represents integers
float - represents floating-point numbers
bool - represents boolean values True and False
str - represents strings
list - represents ordered sequences of values
tuple - represents ordered, immutable sequences of values
set - represents unordered collections of unique values
dict - represents unordered collections of key-value pairs
Q4. Difference between flask and Django
Flask is a micro web framework while Django is a full-stack web framework.
Flask is lightweight and flexible, allowing developers to choose their own libraries and tools.
Django is a batteries-included framework with built-in ORM, admin interface, and authentication system.
Flask is ideal for small to medium-sized projects, while Django is better suited for larger, more complex projects.
Flask has a smaller learning curve and is easier to get started with, while Django has a stee...read more
Q5. Difference between range and xrange
range and xrange are used to generate a sequence of numbers in Python.
range returns a list of numbers while xrange returns an iterator object.
range is memory-intensive while xrange is memory-efficient.
range is used in Python 3 while xrange is used in Python 2.
range can take three arguments: start, stop, and step while xrange can take two arguments: start and stop.
Q6. What are generators
Generators are functions that can be paused and resumed, allowing for lazy evaluation of data.
Generators use the yield keyword to pause execution and return a value.
They can be used to generate an infinite sequence of values.
Generators are memory efficient as they only generate values when needed.
They are commonly used in data processing and asynchronous programming.
Q7. What are decorators
Decorators are functions that modify the behavior of other functions or classes without changing their source code.
Decorators are denoted by the @ symbol in Python.
They can be used to add functionality to a function or class, such as logging or timing.
Decorators can also be used to modify the behavior of a function or class, such as adding caching or memoization.
Decorators can be chained together to apply multiple modifications to a function or class.
Q8. What are topics in kafka
Topics in Kafka are logical channels for data storage and communication.
Topics are categories or feeds to which records are published by producers.
Consumers subscribe to topics to receive records and process them.
Each topic is split into partitions for scalability and parallel processing.
Topics can have multiple partitions to distribute load and increase throughput.
Example: 'orders', 'payments', 'logs'
Q9. Describe oops concepts, function pointer
OOPs concepts are the principles of object-oriented programming. Function pointers are pointers that point to functions.
OOPs concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation is the process of hiding implementation details and exposing only necessary information.
Inheritance is the process of creating new classes from existing ones.
Polymorphism is the ability of objects to take on multiple forms.
Abstraction is the process of creating a si...read more
Q10. what is Javascripts and basics
JavaScript is a programming language used for creating interactive web pages and web applications.
JavaScript is a client-side scripting language.
It is used for adding interactivity to web pages.
JavaScript can manipulate HTML elements, handle events, and make HTTP requests.
It supports object-oriented programming and functional programming paradigms.
Common JavaScript frameworks include React, Angular, and Vue.js.
Q11. what is Nodejs and basics
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Node.js is used for server-side scripting and building scalable network applications.
It allows running JavaScript code outside of a web browser.
Node.js uses an event-driven, non-blocking I/O model for efficiency and scalability.
It has a rich ecosystem of modules and packages available through npm (Node Package Manager).
Q12. Explain Android activity and fragment
Android activity is a single screen with a user interface, while fragment is a modular section of an activity.
Activity represents a single screen with a user interface.
Fragments are modular sections of an activity that contribute to the overall user interface.
Activities can contain multiple fragments, allowing for more flexible and reusable UI designs.
Fragments can be added, removed, or replaced within an activity at runtime.
Communication between fragments is typically done t...read more
Q13. Write Trigger Logic
Writing trigger logic involves defining actions to be taken when a certain event occurs in a database.
Identify the event that will trigger the logic
Define the actions to be taken when the event occurs
Consider any conditions or constraints that need to be met for the trigger to fire
Q14. Write Batch Class
A Batch Class is used in Salesforce to process records in batches.
Batch classes are used to process large amounts of data in Salesforce.
They are implemented by implementing the Database.Batchable interface.
Batch classes have three main methods: start, execute, and finish.
Example: public class MyBatchClass implements Database.Batchable
{ // implementation }
Q15. Write LWC Component
LWC Component for Senior Software Engineer interview
Create a new Lightning Web Component using Salesforce CLI
Define HTML template, JavaScript controller, and CSS styling
Implement functionality using Apex controllers and Lightning Data Service
Use @wire to fetch data from Salesforce backend
Leverage Salesforce Lightning Design System for UI components
Interview Process at Flowserve
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month