Thinkitive Technologies
Plummy Fashions Interview Questions and Answers
Q1. What is ternary operant in python
Ternary operator in Python is a conditional expression that evaluates to a value based on a condition.
Ternary operator is written as 'value_if_true if condition else value_if_false'
It is a shorthand way of writing an if-else statement in a single line
Example: x = 10 if a > b else 20
Q2. What is single page application
Single page application is a web application that loads a single HTML page and dynamically updates the content as the user interacts with the app.
SPA uses AJAX and HTML5 to create fluid and responsive user experience.
It eliminates the need for page reloading during use, making it faster and more efficient.
Examples include Gmail, Facebook, and Google Maps.
Q3. What is state management
State management is the process of managing the state of an application, including data flow, user interface updates, and user interactions.
State management involves storing and updating the state of an application to ensure data consistency.
It helps in managing user interface updates based on changes in the application state.
State management is crucial for handling user interactions and maintaining a seamless user experience.
Examples of state management tools include Redux, ...read more
Q4. Second largest number in an array
Find the second largest number in an array of strings.
Convert the strings to numbers for comparison.
Sort the array in descending order.
Return the second element in the sorted array.
Q5. What is oops in python
Object-oriented programming (OOP) is a programming paradigm based on the concept of objects, which can contain data and code.
OOP allows for organizing code into reusable components called classes.
In Python, classes are defined using the 'class' keyword.
Classes can have attributes (variables) and methods (functions).
Inheritance allows classes to inherit attributes and methods from other classes.
Polymorphism allows objects of different classes to be treated as objects of a comm...read more
Q6. pairs with given sum
Find pairs in an array that sum up to a given target value.
Use a hash set to store the difference between the target value and each element in the array.
Iterate through the array and check if the current element's complement exists in the hash set.
Return the pairs that sum up to the target value.
Interview Process at Plummy Fashions
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month