Given the definition of a Fibonacci sequence, write a function to give the n-th term of the sequence.
Consultant Test Interview Questions
32,039 consultant test interview questions shared by candidates
How can u measure the temperature outside when you stay inside?
Count no. of words in a string
Reverse the string
int Solve(string str); Given the signature above, implement the simplest method that returns the results of the following arguments: 1. “3+5” (8) 2. “10+2-8” (4) 3. “5+10*3” (35) 4. “3+5--6" (14)
Print the binary tree in zig-zag order.
searching for patterns in strings; how to destroy your functions with different testing cases;
finad all plaindromes ina string.
implement sqrt
1. Started with questions about the organisation, so go through their website to be well informed. 2. Basic Technical questions with regards to Testing : What is testing ? , Pros and Cons of hiring a Test Engineer, What is Unit testing? , Agile Test environment ? 3. Logic Based Questions : 1. There are 7 balls of which there is one ball that is heavier than the other 6. There is a scale that tips towards the heavier side. In how many minimum number of weighs can you find the heaviest ball ? (Answer provided below) 2. There are 4 divers in a cave. The time they take to traverse the cave one way is A = 10mins, B=5mins, C=2mins and D=1min. There is one canister with Oxygen with two attached masks. Scenario 1 : Considering unlimited oxygen in the Canister how can you get all the divers out of the cave in 10 mins time before the cave is submerged in water. Even if the divers are on the mask they still escape, don't drown. Scenario 2. The Oxygen in the Canister lasts only for 18mins, so how will you get all the divers out of the cave safely. 4. Technical problem which involved testing a system which forms different types of triangles (Equilateral, Isosceles and Scalene). Test with Negative numbers, decimals, and different scenarios. Basically, the thought process was being judged.
Viewing 481 - 490 interview questions