Amazon
Star Coolers And Condensers Interview Questions and Answers
Q1. what happen between, when you enter a URL into a browser address bar and hit enter to actually page gets loaded ?
When entering a URL and hitting enter, the browser performs DNS lookup, establishes a TCP connection, sends an HTTP request, receives the response, and renders the page.
Browser performs DNS lookup to resolve the domain name to an IP address
Browser establishes a TCP connection with the server
Browser sends an HTTP request to the server
Server processes the request and sends back an HTTP response
Browser receives the response and starts rendering the page
Q2. how will you check that each page of amazon.com is having its logo or not.he also asked me to write code for this also
To check if each page of amazon.com has its logo, we can use web scraping techniques and verify the presence of the logo image.
Use a web scraping library like BeautifulSoup or Selenium to extract the HTML content of each page.
Search for the logo image tag or element using its HTML attributes or XPath.
Verify if the logo image is present on each page by checking if the search result is not empty.
Repeat the process for all the pages of amazon.com.
Optionally, you can also check i...read more
Q3. what are the basic features you will add into your own test framework
A test framework should have features like test case management, test data management, reporting, and integration with CI/CD tools.
Test case management: Ability to create, organize, and execute test cases.
Test data management: Ability to manage test data and generate test data sets.
Reporting: Ability to generate detailed test reports with metrics and logs.
Integration with CI/CD tools: Ability to integrate with tools like Jenkins for continuous integration and delivery.
Paralle...read more
Q4. Have you worked on any automation framework or not?
Yes, I have worked on automation frameworks.
I have experience in developing and maintaining automation frameworks using tools like Selenium, TestNG, and Cucumber.
I have also worked on customizing existing frameworks to meet specific project requirements.
I am familiar with both data-driven and keyword-driven frameworks.
I have integrated automation frameworks with CI/CD pipelines for continuous testing.
One example of a project where I worked on an automation framework was for a...read more
Q5. Given a singly linked list, write a recursive method to reverse every 3 nodes in the list. He asked me to inform if I have seen the question
Reverse every 3 nodes in a singly linked list using recursion.
Create a recursive method that takes the head of the linked list as input.
If the head is null or there are less than 3 nodes remaining, return the head.
Reverse the first 3 nodes by swapping their pointers.
Recursively call the method on the next 3 nodes and update the pointers accordingly.
Return the new head of the reversed linked list.
Q6. Maximum Subsequent distinct & contiguous sub array in a character array
Find the maximum subsequent distinct and contiguous subarray in a character array.
Use a sliding window approach to iterate through the array.
Keep track of the distinct characters in the current subarray.
Update the maximum length and subarray as necessary.
Q7. Make a stack using 2 given queue
Create a stack using 2 given queues.
Push elements into one queue until it is full.
When the first queue is full, push new elements into the second queue.
To pop an element, remove all elements from the non-empty queue except the last one.
Switch the non-empty queue to the other one when it becomes empty.
Q8. Current Technology i am working in
I am currently working with Java and Selenium for test automation.
Using Java programming language for writing test scripts
Using Selenium WebDriver for automating web applications
Integrating with CI/CD tools like Jenkins for continuous testing
Working with frameworks like TestNG for test management
Using tools like Maven for project management
Q9. First and last occurrence of an element in an array
Find the first and last occurrence of a specific element in an array of strings.
Iterate through the array and keep track of the index of the first and last occurrence of the element.
Return the index of the first and last occurrence of the element.
More about working at Amazon
Top Sdet Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month