Upload Button Icon Add office photos
Premium Employer

i

This company page is being actively managed by Apple Team. If you also belong to the team, you can get access from here

Apple Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

Apple Sdet Interview Questions and Answers

Updated 6 Oct 2024

Apple Sdet Interview Experiences

2 interviews found

Sdet Interview Questions & Answers

user image Anonymous

posted on 6 Oct 2024

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. Find xpath for some elements in Selenium
  • Ans. 

    XPath is a way to locate elements on a web page using their HTML structure.

    • Use Chrome DevTools to inspect elements and generate XPath

    • Avoid using absolute XPath as it can be brittle

    • Use relative XPath with unique attributes for better stability

  • Answered by AI
  • Q2. Java related questions. Why static, abstract, final etc?
  • Q3. Define the automation framework worked on.
  • Ans. 

    I have worked on a keyword-driven automation framework using Selenium and TestNG.

    • Utilized Excel sheets to store test cases and keywords

    • Implemented reusable functions for common actions like clicking, inputting text, etc.

    • Used TestNG for test case management and reporting

    • Integrated with Jenkins for continuous integration

  • Answered by AI

Skills evaluated in this interview

Rate your
company

🤫 100% anonymous

How was your last interview experience?

Share interview

Sdet Interview Questions & Answers

user image Anjali Gupta

posted on 22 Sep 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected
Round 1 - Technical 

(2 Questions)

  • Q1. Types of testing?
  • Ans. 

    Types of testing include unit testing, integration testing, system testing, and acceptance testing.

    • Unit testing: Testing individual components or modules of the software.

    • Integration testing: Testing how multiple components work together.

    • System testing: Testing the entire system as a whole.

    • Acceptance testing: Testing to ensure the software meets the requirements of the end users.

  • Answered by AI
  • Q2. Coding problem - anagram type

Interview Preparation Tips

Interview preparation tips for other job seekers - prepare throughly

Sdet Interview Questions Asked at Other Companies

Q1. Given a M x N 2D array containing random alphabets and a function ... read more
asked in Amazon
Q2. what happen between, when you enter a URL into a browser address ... read more
asked in InMobi
Q3. In a line where words are separated by spaces, , and capitalize f ... read more
Q4. Given a circular linked list containing sorted elements (int valu ... read more
asked in Amazon
Q5. how will you check that each page of amazon.com is having its log ... read more

Interview questions from similar companies

Interview Questionnaire 

9 Questions

  • Q1. First one was to find position of a box in a particular grid(4*4) boxes were numbered 0 to 15.Questions was also to write test cases and check every possibilty
  • Q2. Second question was card shuffling problem
  • Q3. One question was think how the database design of Facebook could be
  • Q4. And there were few more coding questions on data structures
  • Q5. It was basically 1 question round but that had two parts . one designing the algorithm optimally . And writting and covering all possible scenarios and write test cases for them.It was based on deleting el...
  • Q6. This round covered Data structure based prograaming as well OS concepts on multithreading as well
  • Q7. One question was to design data structures to delete pages from a web server which are no longer in existense and have no link on website .That is pages which have expired and no longer in use and has no r...
  • Q8. One question to desgin lift system and waht whould be the design
  • Q9. This was the last round .Questions based on college projects and training project was asked.A question was asked to design an algorithm for a new type of contact search application of mobile phones

Interview Preparation Tips

Round: Test
Experience: 10 Objective type questions mainly from data structures.Questions on structures,union , trees,graphs etc First question was purely coding in most optimized way and taking care of all conditions possible. Second Question was to write test cases for print server job execution getting print jobs from different hostels of a college. Third question was to design a Data structure for a billing system keeping in mind certain conditions and write a program to generate and store the bills.
Total Questions: 10

College Name: NA

Sdet Interview Questions & Answers

Amazon user image Anonymous

posted on 24 May 2015

Interview Questionnaire 

13 Questions

  • Q1. Project Detail & past experience
  • Q2. Current Technology i am working in
  • Ans. 

    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

  • Answered by AI
  • Q3. Maximum Subsequent distinct & contiguous sub array in a character array
  • Ans. 

    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.

  • Answered by AI
  • Q4. Make a stack using 2 given queue
  • Ans. 

    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.

  • Answered by AI
  • Q5. Some Project Experience & Automation Framework Discussion,which i have worked on
  • Q6. There was some situational questions also for Team work
  • Q7. About DNS Server,Router etc
  • Q8. You are given a web page into that simply one browse button and Image Holder is their.Write the Test Cases for this
  • Q9. You are given application like Google Analytics. How will you test this application ?
  • Q10. What are the basic features you will add into your own test framework
  • Ans. 

    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 li...

  • Answered by AI
  • Q11. 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
  • Ans. 

    To check if each page of Amazon.com has its logo, we can use automated testing with Selenium WebDriver.

    • Use Selenium WebDriver to navigate to each page of Amazon.com

    • Locate the logo element on each page using its XPath or CSS selector

    • Verify that the logo element is displayed on each page

  • Answered by AI
  • Q12. Have you worked on any automation framework or not?
  • Ans. 

    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 p...

  • Answered by AI
  • Q13. What happen between, when you enter a URL into a browser address bar and hit enter to actually page gets loaded ?
  • Ans. 

    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 respon

  • Answered by AI

Interview Preparation Tips

Round: HR INTERVIEW
Experience: 1. Let’s start with you introduction

In between introduction he asked me about my some project work experience and How have you done?2. Take a integer as a input and replace all the ‘0’ with ‘5’. For example:

102 - 152

1020 - 1525

(Do not use any array for replacing the '0' to '5') 3. You are given two binary tree and write algorithm to check

Are two Binary Trees mirror image of each other?Amazon Interview for SDET @ Hydrabad Development Center

Round: Case Study Interview
Experience: This round was purely for checking Test Framework and Test Case Knowledge.He has given me some scenario and ask to write test cases for them.

Round: HR Interview
Experience: This round was purely a discussion based on past project experience.Like which project do you think that was most difficult and you had a nice experience.
He asked me each progress point of the project.

College Name: NA

Skills evaluated in this interview

Sdet Interview Questions & Answers

Amazon user image Anonymous

posted on 25 May 2015

Interview Questionnaire 

4 Questions

  • Q1. 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
  • Ans. 

    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.

  • Answered by AI
  • Q2. Long discussion on my internship and about the projects I have worked on
  • Q3. Tell about your criticism
  • Q4. 3 weaknesses currently i am working
  • Ans. 

    1. Time management 2. Public speaking 3. Learning new technologies

    • Struggling with time management, often missing deadlines

    • Nervous when speaking in front of large groups

    • Finding it challenging to keep up with the latest technologies in the field

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: On-line Coding Round on Hacker Rank:

1. Given an array of sorted integers which represent box sizes and an integer representing an item size

    You have to find best fit box for the item (-1 in case of no box found)

  For example:

    Given 10,20,30,40,50,60,70 and 45

      You have to print 50

    Given 10,20,30,40,50,60,70 and 75

      You have to print -1

      Given 10,20,30,40,50,60,70 and 50

    You have to print 50

2. -----/

Round: TECHNICAL INTERVIEW
Experience: 1. Given an array of integers

you have to output sequence a1,a2,a3,a4,a5,a6,a7 such that a1a3a5a7

    For example:

    Given 10,20,30,40,50,60,70

      You have to print 10, 30, 20, 50, 40, 70, 60

At first, I gave answer using sorting. But my interviewer asked me to do this without sorting the input array, and I did it.

2. A simple question on Tree data structure which i don’t remember.

3. Questions related to my project.

Round: TECHNICAL INTERVIEW
Experience: 1. A matrix is given which is sorted row wise and column wise

You have to print the sorted order.

    For example:

    Given

       1 2 3 4 6 8

       2 3 3 4 7 8

       2 3 4 5 7 8

       2 3 4 5 8 8

       3 4 4 6 8 9

       4 5 5 7 8 9

    You have to print sorted order

2. Questions related to my project during my internship.

Round: TECHNICAL INTERVIEW
Experience: 1.What happens when we type amazon.com

Relating to this the interviewer asked me every step in detail including all 7 layers of networks.

Protocols like: HTTP, HTTPS, DHCP, DNS, IMAP, POP, TCP, UDP etc. Their uses and differences.

2. Describe ACID property of a transaction (DBMS).

Round: HR Interview
Experience: 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.I replied : Yes sir, it is the similar question I faced in coding round of Amazon-internship last year.
But he didn’t changed the question.
I solved it with a silly mistake which i corrected when mentioned.

College Name: NA

Skills evaluated in this interview

Sdet Interview Questions & Answers

Amazon user image Anonymous

posted on 25 May 2015

Interview Preparation Tips

College Name: NA

Sdet Interview Questions & Answers

Google user image Anonymous

posted on 8 Jun 2015

Interview Questionnaire 

12 Questions

  • Q1. Efficiently implement 3 stacks in a single array
  • Ans. 

    Implement 3 stacks in a single array efficiently

    • Divide the array into 3 equal parts

    • Use pointers to keep track of top of each stack

    • Implement push and pop operations for each stack

    • Handle stack overflow and underflow cases

  • Answered by AI
  • Q2. Given an array of integers which is circularly sorted, how do you find a given integer
  • Ans. 

    To find a given integer in a circularly sorted array of integers, use binary search with slight modifications.

    • Find the middle element of the array.

    • If the middle element is the target, return its index.

    • If the left half of the array is sorted and the target is within that range, search the left half.

    • If the right half of the array is sorted and the target is within that range, search the right half.

    • If the left half is not...

  • Answered by AI
  • Q3. Write a program to find depth of binary search tree without using recursion
  • Ans. 

    Program to find depth of binary search tree without recursion

    • Use a stack to keep track of nodes and their depths

    • Iteratively traverse the tree and update the maximum depth

    • Return the maximum depth once traversal is complete

  • Answered by AI
  • Q4. Find the maximum rectangle (in terms of area) under a histogram in linear time
  • Ans. 

    Find the maximum rectangle (in terms of area) under a histogram in linear time

    • Use a stack to keep track of the bars in the histogram

    • For each bar, calculate the area of the rectangle it can form

    • Pop the bars from the stack until a smaller bar is encountered

    • Keep track of the maximum area seen so far

    • Return the maximum area

  • Answered by AI
  • Q5. Most phones now have full keyboards. Before there there three letters mapped to a number button. Describe how you would go about implementing spelling and word suggestions as people type
  • Ans. 

    Implement spelling and word suggestions for full keyboard phones

    • Create a dictionary of commonly used words

    • Use algorithms like Trie or Levenshtein distance to suggest words

    • Implement auto-correct feature

  • Answered by AI
  • Q6. Describe recursive mergesort and its runtime. Write an iterative version in C++/Java/Python
  • Ans. 

    Recursive mergesort divides array into halves, sorts them and merges them back. O(nlogn) runtime.

    • Divide array into halves recursively

    • Sort each half recursively using mergesort

    • Merge the sorted halves back together

    • Runtime is O(nlogn)

    • Iterative version can be written using a stack or queue

  • Answered by AI
  • Q7. How would you determine if someone has won a game of tic-tac-toe on a board of any size?
  • Ans. 

    To determine if someone has won a game of tic-tac-toe on a board of any size, we need to check all possible winning combinations.

    • Create a function to check all rows, columns, and diagonals for a winning combination

    • Loop through the board and call the function for each row, column, and diagonal

    • If a winning combination is found, return the player who won

    • If no winning combination is found and the board is full, return 'Tie...

  • Answered by AI
  • Q8. Given an array of numbers, replace each number with the product of all the numbers in the array except the number itself *without* using division
  • Ans. 

    Replace each number in an array with the product of all other numbers without using division.

    • Iterate through the array and calculate the product of all numbers to the left of the current index.

    • Then, iterate through the array again and calculate the product of all numbers to the right of the current index.

    • Multiply the left and right products to get the final product and replace the current index with it.

  • Answered by AI
  • Q9. Create a cache with fast look up that only stores the N most recently accessed items
  • Ans. 

    Create a cache with fast look up that only stores the N most recently accessed items

    • Implement a hash table with doubly linked list to store the items

    • Use a counter to keep track of the most recently accessed items

    • When the cache is full, remove the least recently accessed item

  • Answered by AI
  • Q10. How to design a search engine? If each document contains a set of keywords, and is associated with a numeric attribute, how to build indices?
  • Ans. 

    To design a search engine with keyword-based document indexing and numeric attributes, we need to build appropriate indices.

    • Create an inverted index for each keyword, mapping it to the documents that contain it

    • For numeric attributes, use a B-tree or other appropriate data structure to store the values and their associated documents

    • Combine the indices to allow for complex queries, such as keyword and attribute filters

    • Co...

  • Answered by AI
  • Q11. Given two files that has list of words (one per line), write a program to show the intersection
  • Ans. 

    Program to find intersection of words in two files

    • Read both files and store words in two arrays

    • Loop through one array and check if word exists in other array

    • Print the common words

  • Answered by AI
  • Q12. What kind of data structure would you use to index annagrams of words? e.g. if there exists the word ?top? in the database, the query for ?pot? should list that

Interview Preparation Tips

College Name: NA

Skills evaluated in this interview

Interview Questionnaire 

4 Questions

  • Q1. Given a M x N 2D array containing random alphabets and a function Dict(string word) which returns whether the 'word' is a valid English word. Find all possible valid words you can get from the 2D array, wh...
  • Ans. 

    Given a 2D array of alphabets and a function to check valid English words, find all possible valid words adjacent to each other.

    • Create a recursive function to traverse the 2D array and check for valid words

    • Use memoization to avoid redundant checks

    • Consider edge cases such as words with repeating letters

    • Optimize the algorithm for time and space complexity

  • Answered by AI
  • Q2. Given a circular linked list containing sorted elements (int value). The head of the linked list points to a random node (not necessarily to the smallest or largest element). Problem is top write a code wh...
  • Ans. 

    Insert a node at its correct position in a circular linked list containing sorted elements.

    • Traverse the linked list until the correct position is found

    • Handle the case where the value to be inserted is smaller than the smallest element or larger than the largest element

    • Update the pointers of the neighboring nodes to insert the new node

    • Consider the case where the linked list has only one node

  • Answered by AI
  • Q3. Suppose you are asked to design the Contacts feature for a mobile, what are the features you will enable for the same? Also, how will you test each of those feature?
  • Q4. Describe how does the McDonald's system work, starting from placing the order, transferring of the order to kitchen, billing and the final delivery to customer, in terms of data structures used, informatio...

Interview Preparation Tips

College Name: NA

Skills evaluated in this interview

Sdet Interview Questions & Answers

Amazon user image Anonymous

posted on 26 Nov 2021

I applied via Company Website and was interviewed in Oct 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. There were total 6 rounds: 3 were Technical Coding rounds(Data Structure Based), Expect questions at least LeetCode medium level. 4th round was a Manager Round, he asked mostly managerial questions with so...

Interview Preparation Tips

Interview preparation tips for other job seekers - Complete experience was good. Interviewers were helpful. Be prepared for Bar Raiser round, this was the round where I faced difficulty to answer questions. And don't expect much questions related to automation. Amazon consider there SDETs equivalent to SDEs.

Sdet Interview Questions & Answers

Amazon user image Anonymous

posted on 18 Oct 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
No response
Round 1 - One-on-one 

(1 Question)

  • Q1. First and last occurrence of an element in an array
  • Ans. 

    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.

  • Answered by AI

Skills evaluated in this interview

Contribute & help others!
anonymous
You can choose to be anonymous

Apple Interview FAQs

How many rounds are there in Apple Sdet interview?
Apple interview process usually has 1 rounds. The most common rounds in the Apple interview process are Technical.
What are the top questions asked in Apple Sdet interview?

Some of the top questions asked at the Apple Sdet interview -

  1. Define the automation framework worked ...read more
  2. Find xpath for some elements in Selen...read more
  3. Types of testi...read more

Recently Viewed

LIST OF COMPANIES

Cybage

Overview

JOBS

Idfy

No Jobs

SALARIES

Idfy

SALARIES

Avendus

SALARIES

Cybage

SALARIES

Cybage

INTERVIEWS

eMudhra

No Interviews

LIST OF COMPANIES

Idfy

Overview

SALARIES

Avendus

SALARIES

Idfy

Tell us how to improve this page.

Apple Sdet Interview Process

based on 2 interviews

Interview experience

4
  
Good
View more

Interview Questions from Similar Companies

Amazon Interview Questions
4.1
 • 5k Interviews
Google Interview Questions
4.4
 • 821 Interviews
Samsung Interview Questions
3.9
 • 544 Interviews
Dell Interview Questions
4.0
 • 385 Interviews
HARMAN Interview Questions
3.7
 • 260 Interviews
OPPO Interview Questions
4.0
 • 209 Interviews
LG Electronics Interview Questions
4.0
 • 194 Interviews
Vivo Interview Questions
4.1
 • 193 Interviews
View all
Software Engineer
166 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Ipro
107 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Sales Executive
103 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Developer
94 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Software Engineer
74 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Apple with

Google

4.4
Compare

Amazon

4.1
Compare

Microsoft Corporation

4.0
Compare

Samsung

3.9
Compare
Did you find this page helpful?
Yes No
write
Share an Interview