Subjective Test Paper Set II
Subjective Test Paper Set II
Direction-Q.no 1-Q.no 4: Subjective type Questions, you can write these answers in following
languages: C#, C++, Java and C. Do not use any in-built functions like Date-Diff, Split, and
Reverse etc.
1. Write a function to find out the 2nd highest number from an Array
(Marks-5)
(Marks-5)
3. Write a program for finding out the occurrences of repeated word from a sentence.
For example, “We save the most critical, non-renewable resource of all - time - for all who
depend on our output in day to day transactions, by eliminating errors and omissions in the
work product we are responsible for.”, this sentence has the following repeated words:
We – occur – 2 times
( Marks-5)
a. For example: