Druva
10+ Appknox Interview Questions and Answers
Q1. How will you open a file whos size is double that of RAM on your system.?
Use memory-mapped files or stream the file in chunks.
Use memory-mapped files to access the file in chunks.
Stream the file in chunks using a buffer.
Use compression techniques to reduce the file size before opening.
Q2. Two Python Questions; "aabbccrrra" => "a3b2c2r3"
Count consecutive characters in a string and return the count next to the character.
Iterate through the string and keep track of consecutive characters and their counts.
Use a dictionary to store the characters and their counts.
Return the characters and their counts in the desired format.
Q3. Second Max in the list of repeated integers.
Find the second highest repeated integer in a list.
Iterate through the list and count the frequency of each integer.
Sort the frequencies in descending order and return the second highest frequency.
Handle edge cases like when there is no second highest frequency.
Q4. What you'll use to implement a playlist
A playlist can be implemented using an array of strings to store the list of songs.
Use an array of strings to store the list of songs in the playlist
Implement functions to add, remove, and shuffle songs in the playlist
Consider using a linked list data structure for more efficient insertion and deletion operations
Q5. A code to write for some tasks using linked list
Linked list code for tasks
Create a linked list class
Implement add, remove, and search methods
Use the linked list to perform the tasks
Q6. check whether cycle in linked list.
Check for cycle in a linked list by using two pointers approach.
Use two pointers, one moving at double the speed of the other.
If there is a cycle, the two pointers will eventually meet.
Alternatively, use a hash set to keep track of visited nodes.
Q7. Good practice of ds algo and os
Good practice of data structures, algorithms, and operating systems is essential for software engineers.
Regularly practice coding challenges to improve problem-solving skills
Understand the time and space complexity of algorithms
Learn about different data structures and when to use them
Familiarize yourself with operating system concepts like processes, threads, and memory management
Q8. Difference between black box and white box testing
Black box testing focuses on testing the functionality of a system without knowledge of its internal code, while white box testing involves testing the internal code structure.
Black box testing is based on external expectations and requirements
White box testing is based on internal code structure and logic
Black box testing is more focused on user perspective
White box testing is more focused on developer perspective
Examples: Black box testing - functional testing, acceptance t...read more
Q9. What is docker and how it works?
Docker is a containerization platform that allows developers to package, deploy, and run applications in isolated environments.
Docker uses containerization technology to create isolated environments for applications to run in.
It allows developers to package an application and all its dependencies into a single container.
Containers can be easily deployed and run on any system that supports Docker.
Docker provides a way to manage and scale applications more efficiently.
Examples ...read more
Q10. Why python why not others language?
Python is a popular choice for automation testing due to its simplicity, readability, extensive libraries, and cross-platform compatibility.
Python has a simple and readable syntax, making it easy to write and understand test scripts.
Python has a large number of libraries and frameworks specifically designed for automation testing, such as Selenium and PyTest.
Python is cross-platform compatible, allowing tests to be run on different operating systems.
Python integrates well wit...read more
Q11. design parking lot system
Design a parking lot system
Consider the size and layout of the parking lot
Include features like ticketing system, payment options, and security cameras
Implement a system for tracking available parking spaces
Allow for easy entry and exit for vehicles
Consider implementing a reservation system for premium parking spots
Q12. explaine networking layer model
Networking layer model is a conceptual framework that defines the different layers of communication in a network.
Networking layer model is typically represented by the OSI (Open Systems Interconnection) model or the TCP/IP model.
The OSI model consists of 7 layers: Physical, Data Link, Network, Transport, Session, Presentation, and Application.
Each layer has specific functions and protocols that enable communication between devices in a network.
For example, the Network layer (...read more
Q13. Top View of binary treee
Top view of binary tree is the nodes visible when viewed from the topmost node.
Top view shows the nodes visible from the root node's perspective.
Nodes are printed in the order of their horizontal distance from the root node.
If two nodes have the same horizontal distance, the node that appears first in the level order traversal is printed first.
Q14. Technologies used
I have experience with a variety of technologies including Java, Python, SQL, and JavaScript.
Java
Python
SQL
JavaScript
Q15. test cases for pen
Test cases for a pen to ensure functionality and quality.
Verify that the pen writes smoothly on different types of paper
Check if the pen's ink is waterproof and does not smudge
Test the durability of the pen by dropping it from a certain height
Ensure that the pen's cap can be securely attached and removed
Verify that the pen's clip is strong enough to hold the pen in place
Check if the pen's ink dries quickly to prevent smudging
Q16. Why robot framework?
Robot Framework is a powerful open-source automation framework that offers easy-to-use syntax and supports keyword-driven testing.
Robot Framework provides a simple and readable syntax, making it easy to write and maintain test cases.
It supports keyword-driven testing, allowing for high-level test case design and reusability.
Robot Framework has a rich ecosystem with a wide range of libraries and tools, making it highly extensible.
It supports various test automation approaches,...read more
Q17. REST API design
REST API design involves defining endpoints, methods, request/response formats, authentication, and versioning.
Define clear and consistent endpoint URLs
Use HTTP methods (GET, POST, PUT, DELETE) appropriately
Design request and response formats (JSON, XML)
Implement authentication and authorization mechanisms
Consider versioning for backward compatibility
More about working at Druva
Top HR Questions asked in Appknox
Interview Process at Appknox
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month