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 are different SCSI command phases?

0 Answers  


I faced this question in the interview "What is the reason for leaving the previous job?" I answered "Career Growth as well as financial growth" Is this a right answer?

2 Answers   Focus,


What is infeasible path?

0 Answers  


What is high order tests?

0 Answers  


what is the strength of ur company?

8 Answers   MBT, TN,


Hi, Pls tell me what is system use case with a example nd who prepares it.Pls anyone help me.

2 Answers  


what is modular framework?

0 Answers   HCL,


what is differnete between bug report@bugtracking

1 Answers   TCS,


why we go for winrunner and when we go for winrunner ?

2 Answers   CyberSoft,


how to test Browswer Compatability Testing ?

2 Answers  


What is test plan and explain its contents?

2 Answers   TCS,


What is the minimum criteria for white box?

1 Answers   TCS,


Categories