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 Recovery Scenario

0 Answers   Wells Fargo,


What is Multipath I/O?s

0 Answers  


What is functional specification?

0 Answers  


Please Check out and Answer the Questions in Networking section. It's argent.

0 Answers  


What are the native operators of Datastage? (ETL Tool)

1 Answers   Cognizant,






is there any open source testing tool to perform whitebox testing and black box testing which supports c++ in linux.plz ans

1 Answers   CTS, Infosys, Satyam, Sonata, Wipro,


What is SDLC and STLC? In analysis phase of SDLC, what exactly the testers will do?

0 Answers   Cap Gemini,


Explain test procedure?

0 Answers  


How will you conduct risk analysis?

0 Answers  


Which types are testing are important for web testing?

0 Answers  


What is scenario-based testing?

0 Answers  


Hi can anyone pls let me know, how many test case can be written to this C question (Unit testing) *funame (Int x, Long b) { x=b; x < 5 } Note: - Return type is boolean - Input type is unsigned char

0 Answers   Infotech,


Categories