S) How to take a count of vowel present in a string ?

 Solution:

Redefine Format 

record 

string(1) data; 

end 

 

FBE 

data member [ vector "A","a","E","e","I","i","O","o","U","u" ] 

 

Sort 

Key –Data 

 

Rollup 

 

Key –Data 

 

out :: rollup(in) = 

begin 

  out.data :: in.data; 

  out.cc :: count(in.data); 

end; 

 

 

  

Comments

Popular posts from this blog

T) For data parallelism, we can use partition components. For component parallelism, we can use replicate component. Like this which component(s) can we use for pipeline parallelism?

T) When to use sort within groups ?

T) Explain about on .abi-unc files in abinitio ?