White BOX Test Engineer
White BOX Test Engineer Interview Questions and Answers
Q1. Puzzle : There is a pond in which there is x kg ice on 1st November, it becomes 2x on 2nd November then 4x,8x,16x,32x and so on.Like this whole pond is filled with ice on last day i.e. 30th November. On which d...
read morePuzzle: On which day in November was the pond filled with half the ice?
The amount of ice in the pond doubles each day in November
The pond is filled with ice on the last day of November
To find the day when the pond was half-filled, work backwards from the last day
Q2. Design a clock in which if you want to know about time in any region of this world, you can know .Hardware given is such that it has already built calculation device inside it. Long Discussion on various approa...
read moreDesign a clock to know time in any region of the world with built-in calculation device.
Create a clock with a world map and time zones marked on it.
Use the built-in calculation device to calculate the time difference between the user's location and the desired location.
Display the time in the desired location on the clock face.
Allow the user to input the desired location using a keypad or touchscreen.
Include a database of time zones and their offsets for accurate calculations...read more
Q3. famous Puzzles a) Measuring 4 liter water from 3 and 5 liter. b) 3 bulbs 3 switches, here is the link -----.php/puzzles/3-switches-3-bulbs/After this Next 2 rounds are video conferencing(V.C.) rounds as Hiring ...
read moreFamous puzzles including measuring 4 liters from 3 and 5 liters and 3 bulbs and 3 switches.
Measuring 4 liters puzzle involves filling 5 liter jug and transferring to 3 liter jug to get 4 liters
3 bulbs and 3 switches puzzle involves turning on one switch, waiting a few minutes, turning it off, and turning on another switch
These puzzles test problem-solving skills and creativity
Q4. Puzzle: you have 100 coins on table, 60 heads and 40 tails. With your eyes closed, how can you separate the coins into 2 groups such that each group has same number of tails
Separate 100 coins with 60 heads and 40 tails into 2 groups with equal number of tails.
Separate 40 coins and put them in one group
Put the remaining 60 coins in the other group
Since both groups have 40 tails, the remaining coins must have 20 tails each
Q5. Write a C function to convert array {1,3,5,7,2,4,6,8} to {1,2,3,4,5,6,7,8}.Then make it generalize. Various Test cases of it.Many C/C++ concept were discussed on this round like friend function, Inheritance etc
C function to sort an array in ascending order
Use bubble sort algorithm to sort the array
Create a function that takes array and its size as input
Test cases: empty array, array with one element, array with duplicates
Generalize the function by making it work for any array of integers
Q6. Write a various test cases for checking the functionality of Adobe reader while saving it .Long discussion on it
Test cases for Adobe Reader's save functionality
Verify that the file is saved with the correct name and extension
Check that the saved file can be opened and read without errors
Test saving files with different sizes and formats
Verify that the save dialog box appears when saving a file
Check that the save operation can be cancelled without any issues
Test saving files to different locations and verify that they are saved correctly
Verify that the save operation does not overwrite ...read more
Share interview questions and help millions of jobseekers 🌟
Q7. Test Cases of Mobile for rural area for hardware as well as software point of view. Long discussion on this
Test cases for mobile hardware and software in rural areas
Test hardware durability in extreme weather conditions
Test software compatibility with low network connectivity
Test battery life in areas with limited access to electricity
Test user interface for ease of use for non-tech savvy users
Test audio and visual features for clarity in noisy environments
Q8. Write a C code for converting a string from a2b2c5 to aabbccccc. Then make it generalize. Various Test cases of it
Convert a string from a2b2c5 to aabbccccc using C code and make it generalize.
Use a loop to iterate through the string and check for digits.
Create a new string and append the characters based on the digit count.
Handle edge cases like single characters and non-digit characters.
Test cases: 'a2b2c5' -> 'aabbccccc', 'a1b1c1' -> 'abc', 'a10b10c10' -> 'aaaaaaaaaabbbbbbbbbbcccccccccc'
White BOX Test Engineer Jobs
0Q9. Write a C/C++ function for removing extra spaces in given sentence
C/C++ function to remove extra spaces in a sentence
Use a loop to iterate through each character in the sentence
If a space is encountered, check if the next character is also a space
If yes, remove the extra space and shift the remaining characters to the left
Return the modified sentence
Q10. Find a 3 digit Number abc such that abc=a!+b!+c!
A 3 digit number abc is to be found such that abc=a!+b!+c!
The maximum value of a!+b!+c! for a 3 digit number is 9!+9!+9!= 2,177,280
Therefore, we can start by checking all numbers from 100 to 999
Calculate the factorials of each digit and check if their sum equals the number itself
The only solution is 145, as 1!+4!+5!=145
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month