Write a function Occurrences() in a language of your choice
that takes in two strings. The first is a search string,
and the second is a sentence. For example, running the
function:

Running Occurrences ("o", "Red Gate Software - Ingeniously
Simple Tools")

will output: Occurrences of 'o': 4

Occurrences ("at", "The cat sat on the mat")

will output: Occurrences of 'at': 3



Sample Question 2:

2)Below is Notepad's File/Save dialog.

a) If you were asked to test this dialog, how would you go
about it?

b) List various inputs you might place into the "File name"
text field to test it.






No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Testing AllOther Interview Questions

What is the most difficult problem you’ve found during testing?

0 Answers  


what is the actual time to stop testing a product.

2 Answers  


What is the pdca cycle and where testing fits in?

0 Answers  


What are the main constrains of SCSI in storage networking?

0 Answers  


Is automated testing better than manual testing. If so, why

2 Answers   Wipro,






What is meant by Protocol testing

2 Answers  


which is the best institute for testing in hyd?

14 Answers  


What is Extreme Programming (XP)?

2 Answers   HP, Thought Works,


hi can u say real time issues in load runner?

0 Answers  


Your company is about to evaluate its own performance. What type of audit is it conducting? 1. First-party 2. Second-party 3. Third-party 4. Intrinsic 5. Extrinsic

1 Answers  


What is your primary role in your project?

0 Answers   ABC,


What is Test Data Collection?

1 Answers   TCS,


Categories