Interview Questions: Type1 :-Testing concepts question of  descriptive type

1)Give 5 reasons why a build can be released with bug

2)Write a bug report for a word processor program which crashes when the
contents of 89th column is been sorted in ascending order.

3)write test 10 cases for program which has a table with 2 fields of NAME
od char type and CLASS of INT type.NAME fields is truncated after 26
charaters and CLASS takes value between 1 to 9 both included.

There are 3 possible opearations program can perform

a)When a new student joins the class the program adds a new field
b)When student leaves the class the field get deleted
c)when student gets promoted then program incremts the class by 1

Write 5 test cases for the scenario.

4)write 10 test cases for a program that takes date in dd/mm/yyyy format
and prints it out with a increment of 1.

for dates (dd) can be given in the range 1<=dd>=30
for months (mm) can be given in the range 1<=mm>=12
for years(yyyy) can be given in the range 1600<=yyyy>=9999

5)Give 5 bugs that could cause a program to crash when it printed the
999999 the pages 1000001th line.

Type2:-

1) Function that prints all possible permutations of a given string.(Recursion)
2) A pdf has 10 pages. Program crashes after printing 5 pages. What can be the possible cause.
3) Test Cases for a Lift.
4) Test Cases for Facebook Comment Feature.
5) What all information do you need to convey when you report a bug.
6) Puzzle: There is a Rectangle (2D). Another Rectangle is removed from it from an arbitrary position. Draw a line to divide the rectangle into 2 separate halves. NO CUTS ALLOWED.
7) What is memory leak?
8)Test Cases for an ATM Machine
9) Test cases for the “Bookmark” or “Add to favorites” feature in a web browser.
11)Function for Post order traversal of a binary tree
12)Function for reversing a doubly linked list.
13)What is virtual memory?
14)Difference between stack and heap in terms of how their application in system memory.
15)Make 4 equal sized triangles using 6 matchsticks.
16)Find the next number in the following series: 5,20,24,6,2,8,___
17)Function to identify the point of intersection of linked lists.
18)In an array natural numbers are stored as follows:
123456789101112131415…………99100101102………99910001001..
Position of the number 10 is 10, 11 is 12 , 12 is 14 and so forth. Write a function to find
the position of any given number.
19)24 similar balls out of which 1 is heavier than others. Given a balance, find the odd one
in minimum number of attempts. (Ans: 3)
20)You have a file that is not opening. (eg, a .doc file of MS Word). Find out what is the
problem? (Whether with the file, application, system etc)
21)Test cases for the “find” feature. (eg in MS Word, web browser or any application).
22)Function to find the largest and second largest number in an unsorted array.

Type3:100 prisoner hat puzzle (famous):

There are 100 prisoners in a jail. Since the jail will be closed, the prisoners are either
released or executed. They are lined up in a single line in the backyard, and the
guardians put a hat every prisoner’s head, colored either black or white. The line is
formed in a way that each prisoner can see the color of the hat of every prisoner in front
of him, but none behind him, and no one can see their own hats. This way the first in
line doesn’t see any, the second sees the first, the third the first two, etc.
Now, starting with the last one in the line, every prisoner has to shout a color, black or
white. If what he says matches his hat’s color, he is released, otherwise he’s shot in the
head. All the other prisoners will hear what he shouted, and they will also hear weather
he was shot or not. There’s no communication between the prisoners, they have no
knowledge of how many black/white hats there are in total, but they can agree on a
strategy before the whole process starts.
What is the best strategy to save the most number of prisoners? How many prisoners
can be saved for sure?

Type4:HR Round

Normal HR questions- why Adobe or company name where you apply, hobbies, family etc.

Note:Register with us to get more updates