I was asked in HSBC interview following questions:

1. A string was given " techincal seminar on cobol language"
Interviewer asked me to calculate the number of vowels in
this string.

Answer Posted / sridevi mj

We can use the built in function: % SCAN .
We compare the text given with the vowel set.
Get the poitions and then get to know how manvy vowels are
there.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the tcp in the cisc?

603


How can you access esds files from cics?

601


Explain the difference between a return with transid and xctl? For example program. A is issuing return with transid to program b. Program a. Is isssuing xctl to program b?

617


Explain the function of the load command?

609


What is the eib?

597






what is eib, how is can be used?

664


Explain how can you accomplish breakpoint in intertest?

591


How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?

5939


What is the eib parameter?

627


Define the term mro (multi region operation)?

583


what are the differences between temporary storage queue (tsq) and transient data quene (tdq)?

690


How to establish dynamic cursor position on a map?

593


What is the term bms in cics?

695


how do you fire a batch job from a cics txn ?

617


which cics command must be issued by the application program in order to gain access to the common work area (cwa)?

679