Thinkitive Technologies
10+ Vedhanthi Technologies 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.
Q7. What is the difference between stack and tree
Stack is a linear data structure while tree is a hierarchical data structure.
Stack is a collection of elements with LIFO (Last In First Out) order.
Tree is a collection of nodes with parent-child relationship.
Stack has only one entry and exit point while tree can have multiple entry and exit points.
Stack is used for backtracking, undo operations, etc. while tree is used for representing hierarchical data like file systems, organization charts, etc.
Q8. What is split functions
Split functions are used to divide a string into multiple parts based on a specified delimiter.
Split functions are commonly used in programming languages like Python, JavaScript, and Java.
The split function takes a string and splits it into an array of substrings based on a specified delimiter.
For example, in Python, the split function can be used like this: 'hello world'.split(' ') will return ['hello', 'world'].
Q9. Do you know which language is use for frontend technology
The language used for frontend technology is typically HTML, CSS, and JavaScript.
HTML is used for structuring web pages
CSS is used for styling the web pages
JavaScript is used for adding interactivity to the web pages
Q10. Difference between overload and override
Overload is when a class has multiple methods with the same name but different parameters. Override is when a subclass provides a specific implementation of a method that is already defined in its superclass.
Overload occurs within the same class, while override occurs between a superclass and its subclass.
Overload is resolved at compile time based on the method signature, while override is resolved at runtime based on the object type.
Example of overload: public void print(int...read more
Q11. What are the threads
Threads are a sequence of instructions that can be executed independently by a program.
Threads are lightweight processes that share the same memory space as the parent process.
They allow for concurrent execution of multiple tasks within a single program.
Threads can communicate with each other through shared memory or message passing.
Examples of multi-threaded programs include web servers, video games, and operating systems.
Q12. For Basic Android Questions, sort the array and print 2nd largest number
Q13. Find repitation of the letters in a string
Count the repetition of letters in a string
Iterate through the string and count the occurrences of each letter
Store the counts in a dictionary or array
Return the counts for each letter
Q14. What you know about the sales
Sales is the process of selling products or services to customers in exchange for money.
Sales involves identifying potential customers and convincing them to purchase a product or service.
It includes building relationships with customers, understanding their needs, and providing solutions.
Sales also involves negotiating prices, closing deals, and following up with customers for repeat business.
Sales can be done through various channels such as direct sales, online sales, or t...read more
Q15. Overloading and overriding difference
Overloading is having multiple methods in the same class with the same name but different parameters. Overriding is having a method in a subclass with the same name and parameters as a method in the superclass.
Overloading involves multiple methods with the same name but different parameters.
Overriding involves a method in a subclass with the same name and parameters as a method in the superclass.
Overloading is resolved at compile time based on the method signature.
Overriding ...read more
Q16. Reverse a string
Reverse a given string
Create an empty string to store the reversed string
Iterate through the original string from end to start and append each character to the new string
Return the reversed string
Interview Process at Vedhanthi Technologies
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month