Showing posts with label General. Show all posts
Showing posts with label General. Show all posts

Saturday, 18 May 2013

Technical Interview at TCS

Below is my technical interview at TCS where I was the first one to get selected among 55 students chosen from our college.

H: interviewer
I:myself


H: Ok tell me about urself ?
I: Besides all the information given in my curriculum vitae , I am consistent as u can see from academics marks . I can converse well with people . I can work better in a team . The fundamental principle of my life is that “Successful peop;e have the ability to read between the lines” . I like to do things in an innovative way .
H(interrupting me): Ok , tell me the last thing u have done innovatively , anything even outside academics ?
I:Sir , one day one of my friends texted me a msg “ Hay , Have u done my work ?” and after so much of scrolling down it was written “99% of the people will call u on reading the first line .Fortunately u r not among them .”
Now what common people will do ? They will just look at the msh , laugh and keep the mobile in the pocket . But I did something different.
I texted her “Ur work is over but there is some problem .” After so much of scrolling I wrote the same thing as was written by her i.e “99% of the ….” . !!!!!!!!!!!
H:In what u r expert subjects(OS and CN) or languages ?
I: Sir , languages and especially JAVA .
H:Ok Tell me what is polymorphism ?
I: It is the use of same thing for different purposes . There r two types of it . 1- Compile time (method overloading) 2-Run time (method over riding ).
H: Can u give me any real world example of polymorphism ?
I: Sir If in a class we have one add method taking two integer arguments , we can overload this add method which takes two float values .
H(interrupting me ): No No , I want real world eg . outside java
I: sorry sir , I don’t know .
H: Which books u referred ?
I: Complete Reference and Head First
H: It is given in Complete Ref
I:Sorry Sir , I don’t remember.
H:Write a code snippet describing use of Inheritance and Polymorphism ?
I:
Class A{
int add(int a,int b)
{
Return (a+b);
}
// overloading
Float add(float a, float b)
{
Return(a+b);
}
}
Class B extends A{
// over riding
int add(int a, int b){
return(a++ + b ++);
}
} // class B ends
H: U gave seminar on JDBC . Tell me how u represented .
I: Sir , first I explained why there was need for JDBC . Before JDBC , ODBC( open database connectivity ) by Microsoft was used . But ODBC drivers were written in platform dependent lang. like C, C++ etc . Also ODBC drivers need to be installed on the client . JDBC drivers(type 3 and type 4) are in java so platform independent .
H(interrupting me):ok ok , tell me how will u establish connection with DBMS in JDBC ?
I:DriverManager class has getConnection(String url ) method. When we call this method with proper url , it returns an Object of type Connection(an interface).
General format of url is :
Jdbc:subprotocol:subname
For eg: jdbc:odbc:www.hostname:port no/DSN
H: How can we find the hostname ?
I: Sir , We can find it using InetAddress class of java.net package .
H: Ya , that’s one solution . But I want non Java solution .
I: Sorry Sir , I don’t know .
H: What is Java bean ?
I:Java Bean is a java class following some conventional rules and which can be reused . We can create reusable components using java Beans .
H: Give me difference between Java class and java bean
I: Java Beans will hava getters and setters method for each property (fields).
H: Explain me how ?
I:
General Format :
Public T getN();
Public void setN(T);
Where T- Type
N-Name of property
H: If I tell u to work in PHP will u be able to do ?
I: Yes , sure
H: How much time will u take ?
I: One month
H(was surprised): One Month !!!!
I: OK,20 days
He smiled.
H: Ur interest is Android Mobile Application Development . From where u obtained the resources ?
I: code.google.com , android.developers.com , and wrox publication book on Android
H:ok , u can leave
I: Ok , It was pleasure meeting u .
H: me too .
I: Sir , I attended ur seminar on Cloud Computing which u gave two months back in our college .It was very interesting .
H: I was abt to ask that . But forgot . Ok Now I don’t want to ask . U can go.

Wednesday, 15 May 2013

How to find project definitions for Final Semester Project ?


 One of the wrong notions which have entered in the minds of all the students today is that they want to EARN but don’t want to LEARN. The fact is that the former depends on the latter.
                Majority of the students don’t know how to start working on a project. That’s the reason for me writing this article. So here are few tips for you to learn.
1-      How to find project definitions
          To find project definitions you need to go for a “shod h-yatra” the term which the GTU uses . “Shodh” mean to search. Now where to search and how to search? The students can visit different companies and may request them to show what type of projects are going on in the companies. This may give you an idea about what type of projects are actually in demand in the market currently. Don’t worry about the technology used. Any Technology can be learn t in a month provided you have all the fundamentals cleared. For example if you want to learn Android Mobile Application Development then you must know JAVA. Else it will be difficult for you or rather time consuming to learn it. But knowledge of JAVA is expected from you as it is a compulsory subject in 5th semester Computer/IT. But majority of students don’t know java even though they may have got good grades in the GTU java exam .It is because they know only the theory but how that theory is applied to real word project/software is not known to them. So one of the main reasons is that our approach towards education is theoretical and not practical. That is the reason why even the toppers of GTU exam don’t have enough confidence of developing a working application. Anyway my purpose here is to guide you not to find faults with the system. So majority of the students always go on searching for training in companies. The reason is that their fundamentals are not cleared in the classroom itself. Otherwise there would have been no need to go to the companies because you have ”Google”(Just search the best practices for software making and you will get hundreds of websites guiding you . search for current software problems and you have thousands of them . search in various free lensing websites you get so many project definitions). Let me tell you this company people are business people so they will not train you unless it is very much beneficial to them. So students are unnecessarily being exploited due to their lack of knowledge.

2-      Watch for simple things

Just have a look around you . See all the processes happening in your day to day life. Ask yourself “How can I use my computer/software knowledge to make mine and other’s life better ?” and I am damn sure you will get hundreds of definitions. For ex . in today's newspaper I read that one of the persons has developed an Android Mobile app which will calculate the rent you need to pay to the “rikshawala”. Just start the application before sitting in and auto end it when you reach the destination and you will get the price you need to pay to the “autowala”. Going on an auto is a day to day thing but the person saw the opportunity that he can use his software knowledge even here. One of the students has developed an android application which will message the family members of the person if a person has met with an accident. All latest  mobiles have accelerometer which measures the thrusts the mobile experience. Naturally when a person has an accident he/she falls on the ground or vehicle with great thrust and application measures it and informs the family members of that person with the GPS location of where the accident took place. So no need to go and search for definitions everywhere. Just relax and ask yourself the above question. Don’t worry whether you will be able to make it or not. Just have confidence on yourself and start learning all the technology and tools required to complete your dream project.    

Aspire Institute