GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Subex Systems
Go To First  |  Previous Question  |  Next Question 
 Subex Systems  |  Question 4 of 5    Print  
Hello,

i have to attend subes written test on java. plz help
regrding question patterns in subex technologies.
Bangalore

thank you
dev

  
Total Answers and Comments: 3 Last Update: June 16, 2007     Asked by: Devreddy 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 16, 2006 23:17:00   #1  
lucky        

RE: Hello,i have to attend subes written t...

They asked 3 question and answered only one.

1. Write a program to print the divisor.

Ex- 12-------------2 3 4

2. Write a program to print the Vowel from the String

Ex-mutable----------u a e


 
Is this answer useful? Yes | No
December 18, 2006 03:15:09   #2  
Lucky        

RE: Hello,i have to attend subes written t...

Hi

In Accordance with my previous mail I am copying the code for two Java programs which were asked at Subex They asked three questions and out of those 3 we have to answer any one the questions with solution are:

1. Write a program to print the divisor.

Ex- 12-------------2 3 4

import java.io.*;

class divisor

{

public static void main(String arg[])

{

try{

BufferedReader br new BufferedReader(new InputStreamReader(System.in));

System.out.println( Please Enter the No. );

int a Integer.parseInt(br.readLine());

for(int i 2;i<a;i++)

{

int b a i;

if(b 0)

{

System.out.print(i+ );

}

}

}catch(Exception e){}

}

}

2. Write a program to print the Vowel from the String

Ex-mutable----------u a e

mport java.io.*;

class vowel

{

public static void main(String arg[])

{

try{

BufferedReader br new BufferedReader(new InputStreamReader(System.in));

System.out.println( Please Enter the String );

String s br.readLine();

for(int i 0;i<s.length();i++)

{

char c s.charAt(i);

if(c 'a'||c 'e'||c 'i'||c 'o'||c 'u')

{

System.out.print(c+ );

}

}

}catch(Exception e){}

}

}


 
Is this answer useful? Yes | No
June 16, 2007 08:56:07   #3  
narayanna        

RE: Hello,i have to attend subes written t...

Hi I have attended interview on June 16 (With 2 years exp)

Total : 30 mins
Only 2 Java Questions (You have to answer for 1 question)

1) Java dates

a) Create a function which will accept a date string - Do Validation for given date
b) Add days with date
c) Substract days with date
d) Find difference in number of day between 2 dates

2) List function

a) Write a program for list add function
b) Write a progarm for list find
c) Write a progarm for list remove
d) Write a progarm for list sort

All the best


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Related Categories
Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape