profile pic # Quality Assurance @ Amazon
Upvote 0 Downvote
Creating a Test Plan Quality Assurance @ Amazon Difficulty Medium

Imagine you are tasked with creating a test plan for a new inventory management system for a company. Describe the steps and key elements you would include in your test plan to ensure comprehensive and effective coverage of the system.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Data for Finding the Second Smallest Number in a Set Quality Assurance @ Amazon Difficulty Medium

Provide test data for a program whose functionality is to find the second smallest number in a set. Include various cases such as typical, edge, and erroneous scenarios to ensure comprehensive testing of the function.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Basic Linux Commands for Managing Background Tasks and More Quality Assurance @ Amazon Difficulty Medium

Explain basic Linux commands, focusing on how to manage background tasks. Include examples to illustrate their usage.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Testing Amazon Shopping Cart and Web App Access Troubleshooting Quality Assurance @ Amazon Difficulty Medium
  1. Provide detailed test cases for an Amazon Shopping Cart. Consider various functionalities and edge cases.
  2. You are hosting a web app on your server that is usually accessible only to a specific set of people. However, on an unusual day, the web app is accessible to everyone. How would you troubleshoot this issue? Describe the steps you would take.
Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Software Testing and Development: Coding Questions Involving Basic Data Structures Quality Assurance @ Amazon Difficulty Medium

Explain and provide examples of software testing and development coding questions that involve basic data structures. Consider questions that cover arrays, linked lists, stacks, and queues. Provide a detailed solution for each example.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Software Testing Life Cycle (STLC) Quality Assurance @ Amazon Difficulty Medium

Briefly explain the Software Testing Life Cycle (STLC). Describe each phase and its significance in the testing process.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Regression Testing Example Quality Assurance @ Amazon Difficulty Medium

You are working as a QA Analyst at Amazon and the company recently added a new feature to the Amazon Pay service that enables cryptocurrency transactions. Explain what regression testing is and how you would design a regression test plan for this new feature to ensure it does not break existing functionalities, particularly focusing on payment processing and account management.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Identifying and Resolving Sales Data Anomalies Quality Assurance @ Amazon Difficulty Medium

You are analyzing sales data and notice that there are anomalies in the data for several key regions over the past quarter. Specifically, the sales figures for certain products are either too high or too low compared to historical data. Describe a step-by-step approach to identify and address these anomalies using SQL and Python.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Understanding Software Testing Quality Assurance @ Amazon Difficulty Easy

What is software testing? Explain its importance in the software development lifecycle (SDLC) and highlight some common types of software testing.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Case Enumeration for PhonePe UPI Quality Assurance @ Amazon Difficulty Medium

Write the test case enumeration for PhonePe UPI.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Simple Python Problem on Slicing Quality Assurance @ Amazon Difficulty Easy

Write a Python function that takes a string and returns a new string that contains only the characters at even indices. Demonstrate the function with an example.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Understanding Functional Testing Quality Assurance @ Amazon Difficulty Easy

What is functional testing? Explain its importance in software development and provide an example of a functional test case.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Understanding the Importance of Testing in SDLC Quality Assurance @ Amazon Difficulty Easy

What is testing? Why is it required in SDLC?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Scenarios for a Banking Application Quality Assurance @ Amazon Difficulty Medium

Test scenario was Banking Application:

  1. Registration page
  2. Login page
  3. Transaction
  4. Ticket raise

types of testing: -> functional and non functional and its differences -> monkey testing -> guerrilla testing -> unit testing -> integration testing -> system testing -> acceptance testing and a lot more.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Automate a Test Using Python Quality Assurance @ Amazon Difficulty Medium

Write a function in any programming language you know to automate a test.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Removing Duplicate Characters from a String Quality Assurance @ Amazon Difficulty Medium

Given a string, write a function in Python to remove all duplicate characters while preserving the original order of characters.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Traversing an Array from Back to Front and Vice Versa Quality Assurance @ Amazon Difficulty Easy

Write a function in Python to traverse an array both from back to front and vice versa. Print the elements in both orders.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Suggestions for Improving Code Efficiency (Big O) Quality Assurance @ Amazon Difficulty Medium

As a software engineer, you are tasked with optimizing a given piece of code to improve its efficiency in terms of Big O notation. Describe at least five general strategies you would employ to enhance the code's performance.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Testing User Login Functionality Quality Assurance @ Amazon Difficulty Medium

You are tasked with testing the login page of an e-commerce website. The login page requires two fields: Email and Password. Describe the test cases you would write to ensure the login functionality works correctly. Consider both functional and non-functional aspects.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Positive, Negative, and Boundary Value Analysis Quality Assurance @ Amazon Difficulty Medium

Explain Positive Value Analysis, Negative Value Analysis, and Boundary Value Analysis with examples. Provide a scenario where these testing techniques would be applied and illustrate the expected outcomes.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Difference Between Compatibility Testing vs Integrity Testing Quality Assurance @ Amazon Difficulty Medium

What is the difference between Compatibility Testing and Integrity Testing in the context of software and data systems? Provide a detailed comparison highlighting the purpose, scope, and techniques used in each type of testing.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Difference Between Database Testing vs. Backend Testing for Amazon Login Page Quality Assurance @ Amazon Difficulty Medium

Explain the difference between database testing and backend testing in the case of the Amazon login page.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Cases for Addition Function Quality Assurance @ Amazon Difficulty Easy

Write test cases for a function which implements the addition of two numbers.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Remove Consecutive Repeated Characters from String Quality Assurance @ Amazon Difficulty Medium

Given a string, remove the consecutively repeated characters. For example - aabbbcabcbb to cabc.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Convert String to Run-Length Encoding Quality Assurance @ Amazon Difficulty Easy

Write a code to convert a string such as aaabbccdaa to a3b2c2d1a2.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Compress a String Using Run-Length Encoding Quality Assurance @ Amazon Difficulty Easy

Compress a string. For example, aaabbbcccccddddd should be converted to a3b3c4d4.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Plan and Test Cases for Flight Travel Company Quality Assurance @ Amazon Difficulty Medium

Given a scenario for a flight travel company write a test plan and test case.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Cases for Shopping Cart Functionality Quality Assurance @ Amazon Difficulty Medium

Write test cases about the shopping cart.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Cases for Elevator System Quality Assurance @ Amazon Difficulty Medium

What are the test cases for an elevator system?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Optimizing Product Recommendation Algorithm Quality Assurance @ Amazon Difficulty Medium

Imagine you are a Data Analyst at Amazon working on improving the product recommendation algorithm. You are given a dataset with user_id, product_id, rating, and timestamp. Your task is to identify the top 5 most popular products (most purchased) in the last 30 days. What steps would you take to solve this problem using Python and SQL?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Finding Occurrence of a Character in a String Quality Assurance @ Amazon Difficulty Easy

Given a string and a character, write a function in Python to count the number of times the character occurs in the string.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Finding the Longest Palindrome in a Sentence Quality Assurance @ Amazon Difficulty Hard

Given a sentence, write a function in Python to find the longest palindromic substring within it. A palindrome is a string that reads the same backward as forward.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Proving That an Issue Is Client-Side and Not Server-Side Quality Assurance @ Amazon Difficulty Medium

As a QA Engineer, you encounter a situation where an issue could be either on the server-side or the client-side of an application. Describe the steps you would take to determine and prove that the issue is on the client side and not on the server side.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
SQL Queries Involving HAVING Clause and Aggregate Functions Quality Assurance @ Amazon Difficulty Medium

Explain the use of the HAVING clause and Aggregate Functions in SQL. Provide examples of SQL queries that demonstrate their usage with a detailed explanation for each.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Key Concepts: Automation Frameworks with Cucumber and JUnit Quality Assurance @ Amazon Difficulty Medium

Explain the concepts of Automation Frameworks with a focus on Cucumber and JUnit. Provide an overview of their functionalities and how they can be used together for effective testing. Include examples of how to set up and use these tools to automate test scenarios.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Differences in Requirement Gathering & Analysis between SDLC and STLC Quality Assurance @ Amazon Difficulty Medium

How is requirement gathering & analysis different in the Software Development Life Cycle (SDLC) and the Software Testing Life Cycle (STLC)?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Handling Data Anomalies in Sales Reports Quality Assurance @ Amazon Difficulty Medium

You are analyzing sales data and notice that there are anomalies in the data for several key regions over the past quarter. Specifically, the sales figures for certain products are either too high or too low compared to historical data. Describe a step-by-step approach to identify and address these anomalies using SQL and Python.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Understanding Integrity Testing in Data Systems Quality Assurance @ Amazon Difficulty Easy

What is Integrity Testing in the context of data systems? Describe its importance and a common approach to perform integrity testing when migrating data from one system to another.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Difference Between Test Data vs Train Data in a Project Quality Assurance @ Amazon Difficulty Easy

What's the difference between test data and train data in your project?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Understanding Performance Testing vs. Functional Testing Quality Assurance @ Amazon Difficulty Medium

What is performance testing? How is it different from functional testing?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Find the Product of the Three Greatest Numbers in an Array Quality Assurance @ Amazon Difficulty Medium

Given an array, locate the three greatest numbers and print their product.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Find the Number of Occurrences of Each Character in a String Quality Assurance @ Amazon Difficulty Easy

Find the number of occurrences of each character in a given string.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Find the Common Prefix in an Array of Strings Quality Assurance @ Amazon Difficulty Medium

Given an array of strings, find the common prefix among them.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Case for Amazon User Shopping Process Quality Assurance @ Amazon Difficulty Medium

Write a test case about Amazon users' shopping process.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Selenium Automation Using XPath Quality Assurance @ Amazon Difficulty Medium

Provide Selenium automation code to locate the element through XPath and validate a given test case.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Designing Tests for Amazon Web Store Review System Quality Assurance @ Amazon Difficulty Hard

A thought question: think up as many tests and contingencies as you can if you were to design the Amazon web store review system from scratch.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Swapping Integers in a List Quality Assurance @ Amazon Difficulty Medium

Write a program that takes a list of integers and a list of pairs of indices as input. The program should swap the elements at the given indices for each pair. Provide an example to illustrate the functionality.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Listing a Matrix in Spiral Order Quality Assurance @ Amazon Difficulty Medium

Write a program that takes a 2D matrix as input and outputs the elements in spiral order. Provide an example to illustrate the functionality.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Parsing a Log File Quality Assurance @ Amazon Difficulty Medium

Write a routine in Python to parse a log file. The routine should extract and display all log entries that match a specific log level (e.g., ERROR, WARNING, INFO). Provide an example of how the routine processes a sample log file and filters entries based on a given log level.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Extracting and Saving Telephone Numbers and Email Addresses Quality Assurance @ Amazon Difficulty Medium

Write a Python program to read through a text file, extract telephone numbers and email addresses, and save them into another file. Provide an example of how the program works, including sample input and the expected output.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Functions in Popular Machine Learning Libraries Quality Assurance @ Amazon Difficulty Medium

State and explain some key functions of popular machine learning libraries such as Scikit-Learn, TensorFlow, and PyTorch. Provide examples of how these functions are used.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Types of Testing in Software Testing Quality Assurance @ Amazon Difficulty Easy

What are the different types of testing involved in software testing?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Group Anagrams - LeetCode Problem Quality Assurance @ Amazon Difficulty Medium

Write a program to group anagrams from a given list of strings. This is a common problem on LeetCode.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Plan and Test Strategy for Automated Parking Kiosk System Quality Assurance @ Amazon Difficulty Hard

Develop a test plan and test strategy for an Automated Parking Kiosk System.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Data Aggregation with SQL Quality Assurance @ Amazon Difficulty Medium

Given a database table Sales with columns Date, Product_ID, and Sales_Amount, write an SQL query to calculate the monthly sales total for each product. Ensure the result is sorted by Product_ID and Month.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Cases for Search Button Functionality Quality Assurance @ Amazon Difficulty Easy

As a QA Engineer, you are tasked with writing test cases for the search button functionality on an e-commerce website. The search feature allows users to search for products using keywords. List and describe at least five test cases you would execute to ensure the search button works correctly.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Finding the Sum of Digits in a Number Quality Assurance @ Amazon Difficulty Easy

Write a function in Python to find the sum of all digits in a given number.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Coding Interview - Nearest Palindrome and Last Two Digits of Product Quality Assurance @ Amazon Difficulty Hard
  1. Given a number, find the nearest palindrome.
  2. Given an array of length n containing numbers between 1 to 99, print the last two digits of the result after multiplying all n numbers in the array.
Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Testing the 'Add Pay Card' Page Quality Assurance @ Amazon Difficulty Medium

As a QA Engineer, you are tasked with testing the 'Add Pay Card' page of an application. Describe the key test cases you would write to ensure that this functionality works correctly.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Checking if a Binary Representation of a Number is a Palindrome Quality Assurance @ Amazon Difficulty Medium

Write a function in Python to check if the binary representation of a given number is a palindrome. A palindrome is a sequence that reads the same backward as forward.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Debugging Issues When Amazon Prime Stops Working on a Laptop Quality Assurance @ Amazon Difficulty Medium

Assume you are watching Amazon Prime on a laptop and all of a sudden it stops working. Describe the steps you would take to debug this issue.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Automating an API to Retrieve Bank and Card Holder Information Based on Credit Card Number Quality Assurance @ Amazon Difficulty Medium

How would you automate an API that retrieves bank and card holder information when given a credit card number as input?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Test Case Enumeration, Removing Consecutive Duplicates, and Finding Sum Series Quality Assurance @ Amazon Difficulty Medium
  1. Write test cases for a video calling app on a mobile device.
  2. Write a program to find consecutive duplicate letters in each word of the sentence and print the sentence without duplicate letters.
  3. Find a series of numbers in an array which gives the sum value as 3.
Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Find the Union of Two Strings Quality Assurance @ Amazon Difficulty Easy

Write a function in Python and Java to find the union of two strings. The union of two strings includes all unique characters present in either of the strings.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Grouping Positive, Zero, and Negative Numbers Quality Assurance @ Amazon Difficulty Medium

Given a list of integers, write a function to group all positive numbers, zeros, and negative numbers together without using any additional data structures like sets or collections. Maintain the original relative order of elements within the same group. For example, if the input list is [4, -1, 0, 3, -2, 0, 1], the output should be [4, 3, 1, 0, 0, -1, -2].

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Finding the Second Largest Value in an Unsorted List Quality Assurance @ Amazon Difficulty Medium

Given an unsorted list of integers, write a function to find the second largest value in the list. You are not allowed to sort the list or use any built-in functions that directly identify the largest or second largest values. For example, if the input list is [3, 1, 4, 1, 5, 9, 2, 6], the output should be 6.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Testing the Search Form on Amazon and Coding for 2nd Greatest Number in an Array Quality Assurance @ Amazon Difficulty Medium
  1. How would you test the search form on Amazon?
  2. Write a simple program in Java to get the second greatest number in an array.
Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Finding a Pair in an Array with the Maximum Product Quality Assurance @ Amazon Difficulty Medium

Write a function in Python to find a pair of numbers in an array such that their product is the maximum possible.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Check if One String is an Anagram of Another Quality Assurance @ Amazon Difficulty Easy

Write a function in Python to check if the first string is an anagram of the second string. An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Function to Print Based on Divisibility Quality Assurance @ Amazon Difficulty Easy

Write a function in any language that will print "AN" if a number is divisible by 8, "ANIM" if divisible by 16, and "ANIMAL" if divisible by 32.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Class Representation of a Deck of Cards with Shuffle and Deal Methods Quality Assurance @ Amazon Difficulty Medium

Write a class representation of a deck of cards (52 cards) in Python and Java that includes shuffle and deal methods.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Reverse a Linked List in Groups of K Quality Assurance @ Amazon Difficulty Medium

Write a function to reverse a linked list in groups of K (any number) in Python and Java.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Reversing Words in a Sentence Quality Assurance @ Amazon Difficulty Medium

Given a string sentence, write a function to reverse the order of words without using any library functions for reversing strings or splitting words. For example, if the input string is 'The quick brown fox', the output should be 'fox brown quick The'.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Testing a Chat Bot Option on a Web Page Quality Assurance @ Amazon Difficulty Medium

As a QA Engineer, you need to test a chat bot option integrated into a web page. Describe the key test cases you would write to ensure that the chat bot functions correctly and provides a good user experience.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Removing Subsequent Duplicate Characters from a String Quality Assurance @ Amazon Difficulty Medium

Given a string in a character array, write a function in Java to remove subsequent duplicate characters until we get a unique set of characters.

Example:

  • Input: apple
    • Expected Output: ale
  • Input: appapple
    • Expected Output: le

The input will be in the form of a character array.

Function Signature:

char[] removeDupes(char[] inputString);
Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Finding the Shortest Path Between Two Points on a 2D Matrix Quality Assurance @ Amazon Difficulty Hard

Write a function to find the shortest path between two points on a 2D matrix. The matrix contains cells that can either be empty (0) or blocked (1). You can move up, down, left, or right but cannot move through blocked cells.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What is Binary Search? Quality Assurance @ Amazon Difficulty Easy

What is binary search?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
What is Binary Search Tree? What is Doubly Circular Linked List? Quality Assurance @ Amazon Difficulty Medium

What is a Binary Search Tree? What is a Doubly Circular Linked List?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Detailed Test Plan for an Amazon File Uploader Project Quality Assurance @ Amazon Difficulty Medium

Imagine Amazon wanted a file uploader project from you. What would the detailed test plan for this project?

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Check if Parentheses are Closed in a String Quality Assurance @ Amazon Difficulty Medium

Write a function in Python and Java to check if parentheses are closed correctly in a given string. The function should support different types of parentheses: (), {}, and [].

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Finding Prime Numbers in a List Quality Assurance @ Amazon Difficulty Medium

Given a list of integers ranging from 1 to 100, write a function to identify and return the prime numbers from the list. For example, if the input list is [10, 15, 23, 50, 7], the output should be [23, 7].

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Handling Non-Reproducible Bugs Quality Assurance @ Amazon Difficulty Medium

As a QA Engineer, you encounter a bug that appears to affect some users, but you are unable to reproduce it. Describe the steps you would take to investigate and resolve this issue.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Various Examples: Closest Palindrome, Array Duplicates, and Rhombus Shape Quality Assurance @ Amazon Difficulty Medium
  1. Write a function to find the closest palindrome number to a given number.
  2. Write a function to determine if an array contains duplicate numbers.
  3. Write a function to print numbers in a rhombus shape:
    1
    121
    12321
    121
    1
    
Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Subtracting One Number from Each Index in an Array Quality Assurance @ Amazon Difficulty Easy

Given an array with numbers from 1 to 5, write a function in Python to subtract one number from each index.

Solution:

Please sign-in to view the solution

Upvote 0 Downvote
Integration Test Cases for WhatsApp Application Quality Assurance @ Amazon Difficulty Medium

As a QA Engineer, you need to write integration test cases for the WhatsApp application. What key scenarios would you include to ensure the application works correctly across different components?

Solution:

Please sign-in to view the solution