Tata Digital
10+ Shakti Instruments Interview Questions and Answers
Q1. what is daemon Thread? what is data Class? Garbage Collector? Activity Lifecycle? what is Fragment? what took you used for App Debugging ? how to revert changes pushed in GIT? write down example of Data class i...
read moreQuestions related to Android development concepts and practices.
Daemon thread is a low priority thread that runs in the background.
Data class is a class that is used to hold data and provides default implementations of common methods like equals, hashCode, and toString.
Garbage collector is a mechanism that automatically frees up memory by removing objects that are no longer in use.
Activity lifecycle refers to the various states an activity can be in, such as onCreate, onStart...read more
Q2. Print prime numbers between 100 to 1,00,000
Print prime numbers between 100 to 1,00,000
Start with a loop from 100 to 100000
Check if the current number is prime or not
If prime, print the number
Q3. How to detect loop in linked list?
To detect loop in linked list, use Floyd's cycle-finding algorithm.
Create two pointers, slow and fast, and initialize both to the head of the linked list.
Move slow pointer by one node and fast pointer by two nodes.
If there is a loop, the two pointers will eventually meet.
If there is no loop, the fast pointer will reach the end of the linked list.
Time complexity: O(n), Space complexity: O(1)
Q4. Difference between Lag & Lead with an example
Lag is a delay in a process, while lead is an acceleration or advancement.
Lag refers to a delay in a process or activity, where there is a gap between the desired outcome and the actual outcome.
Lead refers to an acceleration or advancement in a process, where the desired outcome is achieved before the actual outcome.
For example, in project management, lag time is the delay between the completion of one task and the start of another, while lead time is the time taken to comple...read more
Q5. Example explaining Rank,Dense_Rank,Row_Number
Rank, Dense_Rank, and Row_Number are functions used in SQL to assign a ranking to rows in a result set.
Rank assigns a unique rank to each row based on the specified column values.
Dense_Rank assigns a unique rank to each row without any gaps, even if there are ties.
Row_Number assigns a unique sequential integer to each row in the result set.
Example: If we have a table of students with their scores, Rank would assign ranks based on scores, Dense_Rank would assign ranks without ...read more
Q6. Can you work in fast paced environment with constantly changing requirements?
Yes, I have experience working in fast-paced environments with constantly changing requirements.
I am adaptable and can quickly adjust to changing priorities
I am comfortable with ambiguity and can work under pressure
I have experience working on projects with tight deadlines and changing requirements, such as software development projects
I am proactive in communicating with stakeholders to ensure everyone is on the same page
Q7. What is IPC and RPC?
IPC stands for Inter-Process Communication and RPC stands for Remote Procedure Call.
IPC is a mechanism that allows communication between processes running on the same or different devices.
RPC is a protocol that enables one program to request a service from another program on a remote machine.
IPC can be achieved through shared memory, message passing, and pipes.
RPC uses a client-server model and can be implemented using various protocols such as HTTP, TCP, and UDP.
Both IPC and...read more
Q8. What is DSA and implement any one data structure you like?
DSA stands for Data Structures and Algorithms. One commonly used data structure is an array.
DSA is essential for solving complex problems efficiently.
Data structures like arrays, linked lists, trees, graphs, etc., are used to store and manipulate data.
Algorithms are used to perform operations on these data structures.
Implementing an array involves creating a fixed-size collection of elements of the same type.
Example: Implementing an array in C++ - int arr[5];
Q9. Git pull vs pull request?
Git pull is used to fetch and merge changes from a remote repository, while pull request is a way to propose changes to a repository.
Git pull is used to update a local repository with changes from a remote repository.
Pull request is a way to propose changes to a repository by creating a branch, making changes, and requesting the changes to be merged into the main branch.
Git pull is a command used in the terminal, while pull request is a feature on Git hosting platforms like G...read more
Q10. How do you build a recommendation system?
A recommendation system can be built using collaborative filtering, content-based filtering, or hybrid approaches.
Collect and preprocess data on user preferences and item attributes
Implement collaborative filtering by recommending items based on user behavior and preferences
Utilize content-based filtering by recommending items similar to those previously liked by the user
Consider hybrid approaches that combine collaborative and content-based filtering for improved accuracy
Q11. explain subnet in networking
A subnet is a smaller network within a larger network, created by dividing the IP address range of the larger network.
Subnets help in organizing and managing network resources efficiently.
They allow for better security by isolating different parts of the network.
Subnets can be created by dividing an IP address range into smaller ranges.
For example, a company may have different subnets for different departments like HR, IT, and Finance.
Q12. Explain 4 concept of OOPS
OOPS concepts include Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
Q13. Explain Your system architecture?
Our system architecture is a microservices-based architecture that allows for scalability and flexibility.
We use Docker containers to deploy and manage our microservices.
We have a centralized API gateway that routes requests to the appropriate microservice.
We use a message broker to handle asynchronous communication between microservices.
We have a centralized logging and monitoring system to track system performance and identify issues.
We use a combination of relational and N...read more
Q14. Design a supply chain fir large applicances
Designing a supply chain for large appliances involves managing logistics, inventory, and transportation.
Identify suppliers and manufacturers
Establish inventory management system
Develop transportation and delivery network
Implement quality control measures
Ensure compliance with regulations and safety standards
Q15. E-commerce platform and its working
E-commerce platform is a website or application where businesses sell products or services online.
E-commerce platforms allow businesses to create online stores to showcase and sell their products.
Customers can browse products, add them to cart, and make payments online through secure payment gateways.
Popular e-commerce platforms include Shopify, WooCommerce, Magento, and BigCommerce.
Q16. Design Survey Monkey
Design a survey platform like Survey Monkey
Allow users to create custom surveys with various question types
Provide options for users to distribute surveys via email, social media, or website links
Include analytics tools to track responses and generate reports
Ensure user-friendly interface for both survey creators and respondents
Top HR Questions asked in Shakti Instruments
Interview Process at Shakti Instruments
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month