Beruflich Dokumente
Kultur Dokumente
COMPANY PROFILE
Founded in 1998, Induslogic is a leading software development services providerheadquartered in the Northern Virginia area with a development center in NewDelhi, India. In contrast to many companies in the same sector, Induslogic isthe first US company with a wholly owned subsidiary in India. The company wasfounded to address growing enterprise software businesses' needs to reduce thetime and expense required to develop and maintain software solutions. Theprimary differentiators of Induslogic are - an exclusive focus on commercialgrade enterprise software, an unmatched quality of engineers (almost exclusivelyrecruiting Indian Institute of Technology graduates), the use of industrystandard tools and methodology, and a complete guarantee on work.
SetOne
Question 1. What is the output of the following code when compiled and run?Select two correct answers.
System.out.println(y+","+x+","+z); //line 3
A. Prints 0,1,1
w w w .E xa m Fe ar .c om
C. Prints 0,0,1
The garbage collection thread cannot outlive the last user thread.
The finalize() method is invoked at most once by the JVM for any given object.
The finalize() method may resurrect the object upon which it has been invoked.
Question 3. What is the output of the following code when compiled and run?Select one correct answer.
import java.io.*;
try{
w w w .E xa m Fe ar .c om
myref.test();
}catch(IOException ioe){}
System.out.println("In Question05");
System.out.println("In Question05Sub");
A. Prints:
In Question05Sub
B. Prints:
In Question05
C. Prints:
In Question05
w w w .E xa m Fe ar .c om
In Question05Sub
D. Prints:
In Question05Sub
In Question05
Question 4. Select two correct statements about the code given below?
class A{}
interface E{}
E e = (E)a; //line 4
B b = (B)e; //line 5
w w w .E xa m Fe ar .c om
Question 5. How many objects are eligible for garbage collection immediatelyafter line 1? Select one correct answer.
q08.doSomething(); //line 1
Thread.sleep(20000);
for(int i=0;i
w w w .E xa m Fe ar .c om
Question 6. What is the output of the following code when compiled and run?Select one correct answer.
try {
int i = (int)(Math.random()*10);
if(i<=5)
System.out.println("i = "+i);
else
w w w .E xa m Fe ar .c om
System.err.println(e.getMessage()+" (i="+i+")");
Compilation error.
Output is i = 2
Question 7. What is the output of the following code when compiled and run?Select one correct answer.
new Question10().doSomething();
w w w .E xa m Fe ar .c om
int i=5;
for(int j=0;j<=i;j++){
System.out.print(" "+j);
});
t.start();
Prints 0 1 2 3 4
Compilation error.
No output.
Prints 0 1 2 3 4 5
Question 8. What is the output of the following code when compiled and run?Select one correct answer.
w w w .E xa m Fe ar .c om
addSomeStuff(buf1);
System.out.println(buf1.toString());
StringBuffer b = buf.replace(6,10,"orld");
System.out.println(b.delete(0,1).toString());
A. Prints
Hello World
Hello World
B. Prints
Hello orld
Hello orld
C. Prints
Hello orld
w w w .E xa m Fe ar .c om
ello orld
D. Prints
ello orld
ello orld
E. Compilation error.
Question 9. What is the output of the following code when compiled and run?Select two correct answers. (Note: when an instance of a Vector is printed, itscontent appear between square brackets [])
import java.util.*;
col.add(new Integer(1));
col.add(new Integer("2"));
col.add(col.elementAt(1));
col.setElementAt(col.elementAt(2),0);
System.out.println(col);
w w w .E xa m Fe ar .c om
SetTwo
I m going share some q. which I remember?.
w w w .E xa m Fe ar .c om
b).avl tree
c)?.
Tech . Interview
w w w .E xa m Fe ar .c om
My interview was held at 8.:30 of night .there were two person in interviewpanel. it was approx 45 min. along .
As my area of interest is programming , I told him programming in c-language ,concepts of data structure and concepts of oops, I convincingly said that sir Im vry comfort with programming.. they asked me algo. of merge sort.. reallyfriend this was the topic which I left because I find it little bit crucial butI made algo which resemble program by my own logic .
I said them that sir I m unable to write standard algo. but I implement themerge sort concept by my own logic, I convenced my whole algo and they impressedby it .
Further they asked abt. avl tree and their rotation ,they give a problem relateto rotation of avl tree and said to peform appropriate rotation to get heightbalance tree.
Further they asked about binary search and give me array to apply binarysearch.f
I really forget that I said them sir I forget . they asked is it true, I saidyes sir scanf function return something but I m not recalling , in addiotion Isaid about print function and their return value.
At last they asked a puzzle and I successfully solved it the puzzle is:- thereis three basket , one hold apple , other hold orange and third one hold appleorange both. we don?t know in which basket wat is , basket are wrongly labeledmeans wat is label of basket , basket doesn?t fall in that situation. we areallowed to pick only one fruit from each basket and judge that wat fruit baskethold.
really friends this was vry interactive session. inetialy I was nervous butlater I respond vry freely. sometimes I felt that this was not technicalinterview , this is technical discussion to that person, they are vry friendly.at last they asked u have any question. I asked :-
1. Sir,there is any need to learn and to know abt the company before joiningcompany
they said: we have three month training prog. so u think u have any need tolearn
w w w .E xa m Fe ar .c om
I said:no sir
HR interview
this was tahen by hr mam and it was abt 15 min. long. she asked me abt myeducational background , family background, my strength and weakness,careeeobjective.
further she asked :honestly said if u r not this field thn in field u might.
I replied: I want to travel whole world , I want to understand the people, theirthinking , their behaviour, their culture.
I gave a little smile and replied: no problem mam, I work out on my weakness andtry to remove them.
I picke name of my batch mate who was also appearing in the interview.
w w w .E xa m Fe ar .c om
so friend prepare abt ur technical knowledge , they were seeking only atechnical and logical brain person while they were less emphasizing oncommunication.
At 11:30 of night result was declared and I was among the selected candidate......
w w w .E xa m Fe ar .c om