**1. How many times in a day, are the hands of a clock in a straight line but opposite in direction?**

A. 20

B. 22

C. 24

D. 48

**B. 22**

**2. Q is as much younger than R as he is older than T. If the sum of the ages of R and T is 50 years, what is definitely the difference between R and Q’s age?**

A. 1 year

B. 2 years

C. 25 years

D. Data inadequate

**D. Data inadequate**

**3. David started a software business by investing Rs. 50,000. After six months, Julia joined her with a capital of Rs. 80,000. After 3 years, they earned a profit of Rs. 24,500. What was David’s share in the profit?**

A. Rs. 9,423

B. Rs. 10,250

C. Rs. 12,500

D. Rs. 10,500

**D. Rs. 10,500**

**4. A bag contains 2 red, 3 green, and 2 blue balls. Two balls are drawn at random. What is the probability that none of the balls drawn is blue?**

A. 10/21

B. 11/21

C. 2/7

D. 5/7

**A. 10/21**

**5. A boatman goes 2 km against the current of the stream in 1 hour and goes 1 km along with the current in 10 minutes. How long will it take to go 5 km in stationary water?**

A. 40 minutes

B. 1 hour

C. 1 hr 15 min

D. 1 hr 30 min

**C. 1 hr 15 min**

**6. 8 liters are drawn from a cask full of wine and is then filled with water. This operation is performed three more times. The ratio of the quantity of wine now left in cask to that of water is 16 : 65. How much wine did the cask hold originally?**

A. 18 liters

B. 24 liters

C. 32 liters

D. 42 liters

**B. 24 liters**

**7. A jogger running at 9 kmph alongside a railway track in 240 meters ahead of the engine of a 120 meters long train running at 45 kmph in the same direction. In how much time will the train pass the jogger?**

A. 3.6 sec

B. 18 sec

C. 36 sec

D. 72 sec

**C. 36 sec**

**8. Two goods train each 500 m long, are running in opposite directions on parallel tracks. Their speeds are 45 km/hr and 30 km/hr respectively. Find the time taken by the slower train to pass the driver of the faster one.**

A. 12 sec

B. 24 sec

C. 48 sec

D. 60 sec

**B. 24 sec**

**9. Two pipes can fill a tank in 20 and 24 minutes respectively and a waste pipe can empty 3 gallons per minute. All three pipes working together can fill the tank in 15 minutes. The capacity of the tank is:**

A. 60 gallons

B. 100 gallons

C. 120 gallons

D. 180 gallons

**C. 120 gallons**

**10. A train 240 m long passes a pole in 24 seconds. How long will it take to pass a platform 650 m long?**

A. 65 sec

B. 89 sec

C. 100 sec

D. 150 sec

**B. 89 sec**

**11. A wheel that has 6 cogs meshes with a larger wheel or 14 cogs. When the smaller wheel has made 21 revolutions, then the number of revolutions made by the larger wheel is:**

A. 4

B. 9

C. 12

D. 49

**B. 9**

**12. 10 women can complete a work in 7 days and 10 children take 14 days to complete the work. How many days will 5 women and 10 children take to complete the work?**

A. 3

B. 5

C. 7

D. Cannot be determined

**C. 7**

**13. Three partners shared the profit in a business in the ratio 5: 7: 8. They had partnered for 14 months, 8 months and 7 months respectively. What was the ratio of their investments?**

A. 5: 7: 8

B. 20: 49: 64

C. 38: 28: 21

D. None of these

**B. 20: 49: 64**

**14. A starts a business with Rs. 3500 and after 5 months, B joins with A as his partner. After a year, the profit is divided in the ratio 2 : 3. What is B’s contribution to the capital?**

A. Rs. 7500

B. Rs. 8000

C. Rs. 8500

D. Rs. 9000

**D. Rs. 9000**

**15. The captain of a cricket team of 11 members is 26 years old and the wicketkeeper is 3 years older. If the ages of these two are excluded, the average age of the remaining players is one year less than the average age of the whole team. What is the average age of the team?**

A.23 years

B.24 years

C.25 years

D.None of these

**A.23 years**

**16. The present ages of three persons in proportions 4: 7: 9. Eight years ago, the sum of their ages was 56. Find their present ages (in years).**

A. 8, 20, 28

B. 16, 28, 36

C. 20, 35, 45

D. None of these

**B. 16, 28, 36**

**17. The least number which when divided by 5, 6, 7 and 8 leaves a remainder 3, but when divided by 9 leaves no remainder, is:**

A. 1677

B. 1683

C. 2523

D. 3363

**B. 1683**

**18. 617 + 6.017 + 0.617 + 6.0017 = ?**

A.6.2963

B.62.965

C.629.6357

D.None of these

**C.629.6357**

**19. The true discount on a bill due 9 months hence at 16% per annum is Rs. 189. The amount of the bill is:**

A. Rs. 1386

B. Rs. 1764

C. Rs. 1575

D. Rs. 2268

**B. Rs. 1764**

**20. Find the odd man out.**

** 41, 43, 47, 53, 61, 71, 73, 81**

A. 61

B. 71

C. 73

D. 81

**D. 81**

**21. From a group of 7 men and 6 women, five persons are to be selected to form a committee so that at least 3 men are there on the committee. In how many ways can it be done?**

A. 564

B. 645

C. 735

D. 756

**D. 756**

**22. 66 cubic centimeters of silver is drawn into a wire 1 mm in diameter. The length of the wire in meters will be:**

A. 84

B. 90

C. 168

D. 336

**A. 84**

**23. The cost price of an Rs. 100 stock at 4 discount, when brokerage is 1:4% is:**

A. Rs. 95.75

B. Rs. 96

C. Rs. 96.25

D. Rs. 104.25

**C. Rs. 96.25**

**24. Direction:**

** Each question is given below consists of a question followed by three statements. You have to study the question and the statements and decide which of the statement(s) is/are necessary to answer the question.**

What is the principal sum?

I. The sum amounts to Rs. 690 in 3 years at S.I.

II. The sum amounts to Rs. 750 in 5 years at S.I.

III. The rate of interest is 5% p.a.

A. I and III only

B.II and III only

C. I and II only

D. I and III only, or II and III only

E.Any two of the three

E.Any two of the three

**25. Direction:**

Each of the questions given below consists of a question followed by three statements. You have to study the question and the statements and decide which of the statement(s) is/are necessary to answer the question.

What is the speed of the boat in still water?

I. The speed downstream is 12 kmph.

II. The speed upstream is 4 kmph.

III. In a to and fro journey between two points, the average speed of the boat was 6 kmph.

A.I and II only

B.All I, II and III

C.III, and either I or II

D.Any two of the three

E.None of these

**D.Any two of the three**

**26. Mr. Thomas invested an amount of Rs. 13,900 divided into two different schemes A and B at the simple interest rate of 14% p.a. and 11% p.a. respectively. If the total amount of simple interest earned in 2 years be Rs. 3508, what was the amount invested in Scheme B?**

A. Rs. 6400

B. Rs. 6500

C. Rs. 7200

D. Rs. 7500

**A. Rs. 6400**

**27. The product of two numbers is 9375 and the quotient, when the larger one is divided by the smaller, is 15. The sum of the numbers is:**

A. 380

B. 395

C. 400

D. 425

C. 400

28. Some articles were bought at 6 articles for Rs. 5 and sold at 5 articles for Rs. 6. The gain percent is:

A. 30%

B. 35%

C. 44%

**C. 44%**

**29. The greatest number of four digits which is divisible by 15, 25, 40 and 75 is:**

A. 9000

B. 9400

C. 9600

D. 9800

**C. 9600**

**30. Present ages of John and Dina are in the ratio of 5: 4 respectively. Three years hence, the ratio of their ages will become 11: 9 respectively. What is Dina’s present age in years?**

A.24

B.27

C.40

D.Cannot be determined

**A.24**

**31. If 6th March 2005 is Monday, what was the day of the week on 6th March 2004?**

A. Sunday

B. Saturday

C. Tuesday

D. Wednesday

**A. Sunday**

**32. Find out the wrong number in the given sequence of numbers.**

** 22, 33, 66, 99, 121, 279, 594**

A. 33

B. 121

C. 279

D. 594

**C. 279**

**33. In what ratio must a grocer mix two varieties of pulses costing Rs. 15 and Rs. 20 per kg respectively so as to get a mixture worth Rs. 16.50 kg?**

A. 3: 7

B. 5: 7

C. 7 : 3

D. 7: 5

**C. 7 : 3**

**34. Market value of a 10.5% stock, in which an income of Rs. 756 is derived by investing Rs. 9000, brokerage being 1:4%, is:**

A. Rs. 108.25

B. Rs. 112.20

C. Rs. 124.75

D. Rs. 125.25

**C. Rs. 124.75**

**35. AB and C can do a piece of work in 20, 30 and 60 days respectively. In how many days can A do the work if he is assisted by B and C on every third day?**

A. 12 days

B. 15 days

C. 16 days

D. 18 days

**B. 15 days**

**36. In a race of 200 m, A can beat B by 31 m and C by 18 m. In a race of 350 m, C will beat B by:**

A. 22.75 m

B. 25 m

C. 19.5 m

**B. 25 m**

**37. Robert is traveling on his cycle and has calculated to reach point A at 2 P.M. if he travels at 10 kmph, he will reach there at 12 noon if he travels at 15 kmph. At what speed must he travel to reach A at 1 P.M.?**

A. 8 kmph

B. 11 kmph

C. 12 kmph

D. 14 kmph

**C. 12 kmph**

**38. A man rows to a place 48 km distant and comes back in 14 hours. He finds that he can row 4 km with the stream at the same time as 3 km against the stream. The rate of the stream is:**

A. 1 km/hr

B. 1.5 km/hr

C. 2 km/hr

D. 2.5 km/hr

**A. 1 km/hr**

**39. Six years ago, the ratio of the ages of David and John was 6: 5. Four years hence, the ratio of their ages will be 11: 10. What is John’s age at present?**

A. 16 years

B. 18 years

C. 20 years

D. Cannot be determined

**A. 16 years**

**40. A fires 5 shots to B’s 3 but A kills only once in 3 shots while B kills once in 2 shots. When B has missed 27 times, A has killed:**

A. 30 birds

B. 60 birds

C. 72 birds

D. 90 birds

**A. 30 birds**

**41. The difference between the length and breadth of a rectangle is 23 m. If its perimeter is 206 m, then its area is:**

A. 1520 m2

B. 2420 m2

C. 2480 m2

D. 2520 m2

**D. 2520 m2**

**42. What was the day of the week on 28th May 2006?**

A.Thursday

B.Friday

C.Saturday

D.Sunday

**D.Sunday**

**43. In how many ways can a group of 5 men and 2 women be made out of a total of 7 men and 3 women?**

A. 63

B. 90

C. 126

D. 45

E. 135

**A. 63**

**44. Find out the wrong number in the given sequence of numbers.**

** 8, 13, 21, 32, 47, 63, 83**

A.47

B.63

C.32

D.83

**A.47**

**45. Insert the missing number.**

** 1, 4, 9, 16, 25, 36, 49, (….)**

A. 54

B. 56

C. 64

D. 81

**C. 64**

**46. The sum of two number is 25 and their difference is 13. Find the product.**

A. 104

B. 114

C. 315

D. 325

**B. 114**

**47. A is two years older than B who is twice as old as C. If the total of the ages of A, B, and C be 27, then how old is B?**

A. 7

B. 8

C. 9

D. 10

E. 11

**D. 10**

**48. Speed of a boat in standing water is 9 kmph and the speed of the stream is 1.5 kmph. A man rows to a place at a distance of 105 km and comes back to the starting point. The total time taken by him is:**

A. 16 hours

B. 18 hours

C. 20 hours

D. 24 hours

**D. 24 hours**

**49. A sum fetched a total simple interest of Rs. 4016.25 at the rate of 9 p.c.p.a. in 5 years. What is the sum?**

A. Rs. 4462.50

B. Rs. 8032.50

C. Rs. 8900

D. Rs. 8925

E. None of these

**D. Rs. 8925**

**50. A person takes a loan of Rs. 200 at 5% simple interest. He returns Rs. 100 at the end of 1 year. In order to clear his dues at the end of 2 years, he would pay:**

A. Rs. 105

B. Rs. 110

C. Rs. 115

D. Rs. 115.50

**C. Rs. 115**

**51. Find out the wrong number in the given sequence of numbers.**

** 56, 72, 90, 110, 132, 150**

A.72

B.110

C.132

D.150

**D.150**

**52. Insert the missing number.**

** 8, 24, 12, 36, 18, 54, (….)**

A.27

B.108

C.68

D.72

**A.27**

**53. In a two-digit, if it is known that it’s unit’s digit exceeds its ten’s digit by 2 and that the product of the given number and the sum of its digits is equal to 144, then the number is:**

A.24

B.26

C.42

D.46

**A.24**

**54. A man standing at a point P is watching the top of a tower, which makes an angle of elevation of 30 Degree with the man’s eye. The man walks some distance towards the tower to watch its top and the angle of the elevation becomes 60 Degree. What is the distance between the base of the tower and the point P?**

A. 43 units

B. 8 units

C. 12 units

D. Data inadequate

**D. Data inadequate**

**55. A library has an average of 510 visitors on Sundays and 240 on other days. The average number of visitors per day in a month of 30 days beginning with a Sunday is:**

A. 250

B. 276

C. 280

D. 285

**D. 285**

**56. The average monthly income of P and Q is Rs. 5050. The average monthly income of Q and R is Rs. 6250 and the average monthly income of P and R are Rs. 5200. The monthly income of P is:**

A. 3500

B. 4000

C. 4050

D. 5000

**B. 4000**

**57. Insert the missing number.**

** 8, 7, 11, 12, 14, 17, 17, 22, (….)**

A. 27

B. 20

C. 22

D. 24

**B. 20**

**58. Banker’s discount of a certain sum of money is Rs. 72 and the true discount on the same sum for the same time are Rs. 60. The sum due is:**

A. Rs. 360

B. Rs. 432

C. Rs. 540

D. Rs. 1080

**A. Rs. 360**

**59. A man wants to sell his scooter. There are two offers, one at Rs. 12,000 cash and the other credit of Rs. 12,880 to be paid after 8 months, money being at 18% per annum. Which is the better offer?**

A. Rs. 12,000 in cash

B. s. 12,880 at credit

C. Both are equally good

D. [NIL]

**A. Rs. 12,000 in cash**

**60. The ratio between the length and the breadth of a rectangular park is 3: 2. If a man cycling along the boundary of the park at the speed of 12 km/hr completes one round in 8 minutes, then the area of the park (in sq. m) is:**

A. 15360

B. 153600

C. 30720

D. 307200

**B. 153600**

**61. If log10 2 = 0.3010, the value of log 10 80 is:**

A. 1.6020

B. 1.9030

C. 3.9030

D. None of these

**B. 1.9030**

**62. If log 27 = 1.431, then the value of log 9 is:**

A. 0.934

B. 0.945

C. 0.954

D. 0.958

**C. 0.954**

**63. A takes twice as much time as B or thrice as much time as C to finish a piece of work. Working together, they can finish the work in 2 days. B can do the work alone in:**

A.4 days

B.6 days

C.8 days

D.12 days

**B.6 days**

**64. An industrial loom weaves 0.128 meters of cloth every second. Approximately, how many seconds will it take for the loom to weave 25 meters of cloth?**

A. 178

B. 195

C. 204

D. 488

**B. 195**

**65. A trader mixes 26 kg of rice at Rs. 20 per kg with 30 kg of rice or other variety at Rs. 36 per kg and sells the mixture at Rs. 30 per kg. His profit percent is:**

A. No profit, no loss

B. 5%

C. 8%

D. 10%

E. None of these

**B. 5%**

**66. In an election between two candidates, one got 55% of the total valid votes, 20% of the votes were invalid. If the total number of votes was 7500, the number of valid votes that the other candidate got, was:**

A. 2700

B. 2900

C. 3000

D. 3100

**A. 2700**

**67. Julia’s father was 38 years of age when she was born while her mother was 36 years old when her brother four years younger to her was born. What is the difference between the ages of her parents?**

A. 2 years

B. 4 years

C. 6 years

D. 8 years

**C. 6 years**

**68. Find a positive number which when increased by 17 is equal to 60 times the reciprocal of the number.**

A.3

B.10

C.17

D.20

**A.3**

**69. Direction:**

Each of the questions given below consists of a question followed by three statements. You have to study the question and the statements and decide which of the statement(s) is/are necessary to answer the question.

In a cricket team, the average age of eleven players in 28 years. What is the age of the captain?

I. The captain is eleven years older than the youngest player.

II. The average age of 10 players, other than the captain is 27.3 years.

III. Leaving aside the captain and the youngest player, the average ages of three groups of three players each are 25 years, 28 years and 30 years respectively.

A. Any two of the three

B. All I, II and III

C. II only or I and III only

D. II and III only

E. None of these

**C. II only or I and III only**

**70. In a regular week, there are 5 working days and for each day, the working hours are 8. A man gets Rs. 2.40 per hour for regular work and Rs. 3.20 per hours for overtime. If he earns Rs. 432 in 4 weeks, then how many hours does he work for?**

A.160

B.175

C.180

D.195

**B.175**

*APTITUDE Questions pdf free download::*

**71. Find out the wrong number in the given sequence of numbers.**

** 582, 605, 588, 611, 634, 617, 600**

A.634

B.611

C.605

D.600

**A.634**

**72. Find out the wrong number in the given sequence of numbers.**

** 36, 54, 18, 27, 9, 18.5, 4.5**

A. 4.5

B. 18.5

C. 54

D. 18

**B. 18.5**

**73. A man buys a watch for Rs. 1950 in cash and sells it for Rs. 2200 at a credit of 1 year. If the rate of interest is 10% per annum, the man:**

A. gains Rs. 55

B. gains Rs. 50

C. loses Rs. 30

D. gains Rs. 30

**B. gains Rs. 50**

**74. Find the odd man out.**

** 10, 25, 45, 54, 60, 75, 80**

A. 10

B. 45

C. 54

D. 75

**C. 54**

**75. A man walked diagonally across a square lot. Approximately, what was the percent saved by not walking along the edges?**

A. 20

B. 24

C. 30

D. 33

**C. 30**

**76. A man took a loan from a bank at a rate of 12% p.a. simple interest. After 3 years he had to pay Rs. 5400 interest only for the period. The principal amount borrowed by him was:**

A. Rs. 2000

B. Rs. 10,000

C. Rs. 15,000

D. Rs. 20,000

**C. Rs. 15,000**

**77. One pipe can fill a tank three times as fast as another pipe. If together the two pipes can fill the tank in 36 minutes, then the slower pipe alone will be able to fill the tank in:**

A. 81 min.

B. 108 min.

C. 144 min.

D. 192 min.

**C. 144 min.**

**78. A motorboat, whose speed in 15 km/hr in still water goes 30 km downstream and comes back in a total of 4 hours 30 minutes. The speed of the stream (in km/hr) is:**

A. 4

B. 5

C. 6

D. 10

**B. 5**

**79. If 20% of a = b, then b% of 20 is the same as:**

A. 4% of a

B. 5% of a

C. 20% of a

D. None of these

**A. 4% of a**

**80. 3 pumps, working 8 hours a day, can empty a tank in 2 days. How many hours a day must 4 pumps work to empty the tank in 1 day?**

A. 9

B. 10

C. 11

D. 12

**D. 12**

**81. What is Jack’s present age?**

I. Five years ago, Jack’s age was double that of his son’s age at that time.

II. Present ages of Arun and his son are in the ratio of 11: 6 respectively.

III. Five years hence, the respective ratio of Jack’s age and his son’s age will become 12: 7.

A. Only I and II

B. Only II and III

C. Only I and III

D. Any two of the three

E. None of these

**D. Any two of the three**

**82. The least perfect square, which is divisible by each of 21, 36 and 66 is:**

A. 213444

B. 214344

C. 214434

D. 231444

**A. 213444**

**83. .009:? = .01**

A) .0009

B) .09

C) .9

D) 9

**C) .9**

**84. Which of the following fraction is the largest?**

A. 7:8

B. 13:16

C. 31:40

D. 63:80

**A. 7:8**

**85. Find the greatest number that will divide 43, 91 and 183 so as to leave the same remainder in each case.**

A. 4

B. 7

C. 9

D. 13

**A. 4**

**86. The following is an extract from a fault log, write down any potential problems or omissions with this?**

Potential Problems/Omissions

.. No date on the log as to when raised

.. No keywords (i.e. screen) so that searches can be performed preventing duplication of fault logs

.. No status of the log (opened/fixed/closed/cleared etc.)

.. No owner of the log. .. Has priority – but no severity (i.e. risk to the customer)

.. No version number of the system being tested – it is very likely that the testers are on a different version to development and that it was a fault but has been inadvertently fixed on this latest software

.. Query the priority of this log (should it be a 3?)

.. No actual error message on the log – this may give some clue to the developer about the nature of the fault

.. Response seems to be leading to dialogue – if we are not careful this fault will never be fixed! The tester should talk to the developer rather than sending another message via the fault log.

.. The response by the developer points to another part of the system (security) – this may be an indication of developers trying to quickly close the issue without performing sufficient investigation. It could, however, be because the tester has not spent enough time documenting the problem.

**87. An ATM has been specified to work in the following way?**

An ATM has been specified to work in the following way:

Enter a card and if the card is invalid reject the card and exit system. If it is a valid card then enter a PIN number. Check to see if the PIN is invalid

– if it then displays a message ‘invalid pin number, please re-enter’. If 3 attempts are made with an invalid pin then the machine keeps the card. If it is a valid PIN then the user can select one of the following transactions:

• Cash Withdrawal without receipt

• Cash Withdrawal with receipt

• Balance Inquiry

• Statement request

• Cancel

What tests would you produce to test this application? State any assumptions when testing

Answer:

1. Invalid Card – reject card and exit

2. Valid Card and Invalid PIN – error message ‘invalid pin…’ (then enter the valid pin)

3. Valid Card and Invalid PIN – error message ‘invalid pin…’ (then enter another 2 invalid Pins)

4. Valid Card, Valid Pin & Cancel (correct length pin)

5. Valid Card, Valid Pin in a large number – but the pin number contains more than the maximum number – should error

6. Valid Card, Valid Pin & Cash Withdraw without receipt

7. Valid Card, Valid Pin & Cash Withdraw with receipt

8. Valid Card, Valid Pin & Balance inquiry

9. Valid Card, Valid Pin & Statement Request

Is This Answer Correct? 3 Yes 0 No

88. Choose which program you would re-test and state your reasons?

Scenario:

You are testing 2 programs and have 3 weeks to test them both. Having run all of your tests on both programs you finish testing within 2 weeks. You need to decide which of the 2 programs you would re-visit and run further tests against. Choose which program you would re-test (can choose only one!) – and state your reasons:

Program A

Programmer:

A Complexity Level: 2

Lines of Code: 2000

Number of tests: 100

Number of bugs found: 10

1 high severity, 3 medium & 6 low)

Program B

Programmer:

B Complexity Level: 2

Lines of Code: 2000

Number of tests: 100

Number of bugs found: 50 (10 high severity, 25 medium & 15 low)

Answer:

Key points:

1. Different programmers wrote A and B

2. The complexity level of the programs are the same

3. Size of the programs are the same

4. Tester is the same for testing A and B

5. Number of tests run on both programs is the same

6. Number of bugs is higher in program B

Program B seems to have far more faults, therefore, we would be inclined to spend the further week testing Program B, as there is likely to be more bugs to find. We may also not be very confident at this point with Program B, therefore, we need to see our confidence increased.

**89. How would you prioritize your tests (list 5)?**

• ask the customer to prioritize the requirements

• ask the customer to prioritize the tests

• what is most critical to the customer’s business

• test where a failure would be most severe

• test where failures would be most visible

• test where failures are most likely

• areas changed most often

• areas with most problems in the past

• most complex areas, or technically critical

Is This Answer Correct? 3 Yes 0 No

**90. Describe what you understand about the term “Static Testing” and list 3 static testing techniques?**

Static Testing is non-execution of the code. Techniques include; reviews, inspections, walkthroughs, individual techniques such as desk checking, data-stepping, and proofreading. There is also static analysis (data flow and control flow analysis)

**91. Write a set of test cases to adequately test this telephone system?**

A hotel telephone system can perform 3 functions:

• Call another hotel room by entering a room number (201 to 500)

• Call an external line by entering a 9, followed by the number

• Call various hotel services

• 0 = Operator

• 7 = Room Service

• 8 = Reception

Write a set of test cases to adequately test this telephone system

Positive/Valid Tests

Input Expected Result

———————-

0 Operator

201 Room 201 (valid boundary)

405 Room 405 (valid partition)

500 Room 500 (valid boundary)

7 Room Service

8 Reception

9 Outside line

Negative/In-valid Tests

Input Expected Result

————————–

1 Error

6 Error

200 Error (invalid boundary)

501 Error (invalid boundary)

550 Error (invalid partition)

Any other button Error

Destructive Tests

What if I accidentally hit multiple buttons?

What if I entered an 0800 number without first

getting an outside line (operator should answer)

**92. Why do you consider testing to be necessary?**

.. There are faults in the software

.. Failures in live operation can be expensive

.. Sometimes a ‘legal’ or contractual requirement

.. To asses the quality of the software

.. To preserve the quality of the software

.. To help achieve quality software (by finding and removing the faults)

**93. How would you test these requirements?**

18. How would you test these requirements:

a) The system must be user-friendly

b) The system must be easy to install

c) The following response times are to be achieved with the new system:

• Initial loading of the web application must be achieved within 3 seconds

• Updating the information on the web page must be no more than 5 seconds

Answer:

How would you approach these requirements:

a) The system must be user-friendly

What do we mean by ‘user-friendly’? Questions to ask:

.. Friendly to whom?

.. Who are the users?

Test approaches:

.. Talk to the users

.. Document assumptions

.. Compile test scenarios for people who have not seen the system

b) The system must be easy to install

What do we mean by ‘easy? Questions to ask:

.. For whom?.

Is there any installation documentation to follow?

**94. Name 2 standards that refer to testing?**

Any of the following:

BS 7925-1 (Glossary of testing terms), BS7925-2 (Component Testing), ISO9000 and ISO9001 (Quality standards), IEEE829 (Test Documentation), IEEE1028 (Reviews), IEEE1044 (Incidents)

**95. List 3 test tool categories and describe what each can do?**

.. Test Design Tools

.. Test Data Preparation Tools

.. Regression Testing tools

.. Debug Tools

.. Dynamic Analysis Tools

.. Coverage Measurement Tools

.. Static Analysis Tools

.. Performance Testing Tools

.. Test Management Tools

.. Network monitoring tools

.. Test Harness or Simulation tools

The importance of this question is to see if the candidate has any knowledge about tools. We do not want the names of tools but want to know if the candidate can distinguish between the types of tool.

**96. Do you consider testing tools to be valuable during the testing process – why/why not?**

Testing tools are very important to assist the tester in their work. Using tools can also potentially make the tester more efficient in their work – they are able to run more tests (using regression testing for example). Or they can quickly compare 3 reports (comparison tool).

The tools in themselves, however, do not make good testers and also should not be considered if the test process is in ‘chaos’.

**97. You have planned to run 600 tests on your own …. What would you do?**

Scenario: You have planned to run 600 tests on your own. Each test will take approximately 10 minutes to run. Your manager has told you that you must complete these tests within one week. What would you do?

Answer:

Assuming there are 7hours per working day. This task would take you: 600×10 = 6000 minutes = 100 hours = 14.286 days

There are a number of options that could be considered:

.. Work overtime (this should not be considered as a first resort)

.. Ask for more staff to help (again this may not be the best approach, particularly if you need to spend time training and mentoring the new staff)

WE SHOULD:

.. Re-prioritise our tests and run the most important tests first

.. Assuming that not all the 600 tests would have been run within this time, the risk assessment needs to be made as to the consequences of not running the extra tests.

.. After this initial week and the system is implemented there is no reason why the extra tests could not be run (assuming that you are given the time)

**98. Explain what you understand by the terms: Regression Testing and Re-Testing?**

Regression Testing:

Running tests to ensure that the software has not regressed in any way as a result of changes to the software and/or environment. Regression testing is running passed tests again to ensure that they still pass. Re-Testing

This is running a test again that had found a fault to check that the fault has been fixed correctly. Re-testing is running a failed test again to ensure that it now passes.

**99. Describe the stages of testing and what the objectives are at each stage?**

Component Testing

The lowest level of testing, detail, finding faults, performed by the developers

Component Integration

Combining components, testing interfaces, performed by developers, various types of integration (top-down, functional, bottom-up and big bang). Business scenarios and non-functional aspects if possible.

System Testing (functional and non-function)

Testing the system as a whole. Testing requirements and business processes. Also testing non-functional aspects such as Performance, usability, etc.

System Integration

Testing the system with other systems and networks

Acceptance Testing Testing by users/customers to gain confidence that the system is going to support the business as well as meet their requirements.

**100. You have two sets of tests to run on the new version of the software?**

Scenario:

You have two sets of tests to run on the new version of the software.

Test Set 1: a test set to provide confidence that software has not regressed from the previous version.

Test Set 2: a detailed test set to investigate potential faults in the new release of the software.

Having run test set 1 you discover a number of faults in the new version of software – what do you do?

First, we should investigate the faults – is it because we had run our tests wrongly, or that we were running the tests on the wrong environment? Assuming that it is because the software has regressed – then we must establish the nature of the faults and severity of the faults. It is probably inefficient to run any further tests at this stage. We should work with development in getting a new version of the software with the faults fixed and re-tested before running the test set 2.

**101. You have raised a fault, but Development is unable to reproduce it. What should your next step be?**

You have raised a fault, but Development is unable to reproduce it. What should your next step be? (Give answer and state why)

a) Let development sign off the bug as not reproducible.br> b) Sign off the bug yourself as not reproducible.br> c) Tell development the bug definitely exists and you will not pass it unless fixed. br> d) Re-test and upon confirmation provide more detailed information to Development, talking them through each stage if necessary.

The answer is (d) – it might be our environment or it could have been fixed by some other fault fix in the new version.

**102. In testing the above application you identify what you believe to be a fault?**

In testing the above application you identify what you believe to be a fault – instead of printing the message concerning the type of triangle in a separate dialog box the application is printing the message in the space between the 3 text fields and the OK button. What should your next step be (answer and state why)?

a) Continue testing to the end of the script, and then report the bug.

b) Stop testing, report the bug immediately, then continue alternative scripts

c) Stop testing, report the bug and await a fix.

d) Continue testing and report the bug later, along with those found in other scripts

**103. How would you define a good test?**

A good test is one that can potentially find a fault in the system. If this test does not find a fault then it will give us a certain amount of confidence. Tests must also be efficient – we should not have tests which all do the same thing.

**104. Do you consider positive or negative testing to be most important or trying to break the system – and why?**

They are as important as each other. However, testers need to have a different mindset to developers and therefore should actively look for potential faults. If we only concentrate on positive tests (show that the system does what it should do) then we will potentially experience problems when the system goes live. If we only concentrate on negative tests (showing the system doesn’t do what it shouldn’t) then again we could potentially miss significant faults. However, if we look primarily at breaking the system then we may find lots of faults (the what if scenarios) but we may not establish if the system is going to meet the user’s needs and requirements. A balance is needed with all three approaches.

**105. In running a test you find the actual result does not match the expected result? What would you do?**

The tester should first establish whether the reason is because of a test fault (i.e. they have made a mistake) or whether it is an environment fault. If neither of these is true then they should then check to see whether this fault has already been raised. If not then either raise the fault or more preferable – talk to the development group to check the fault out.

**106. What would you do if you were asked to test a system which is unfamiliar to you has out-of-date or inadequate documentation?**

Talk to users, developers, and analysts to understand what the system is supposed to do. Document this understanding and get it reviewed and use this as a substitute for the Requirements/Design documentation. Talk with testers who have tested the system previously Read whatever is available and clarify assumptions

**107. You have run all your tests and they all pass. Is this good news or bad news?**

It depends on how good your tests were and what they were testing. To have justified confidence in the software we must have confidence in our tests, data, and environment.

**108. What statement do you consider to be most important and why?**

a) Testing has the primary intent of showing the system meets the user’s needs.

b) Testing has the primary intent of finding faults.