The placement season is almost a month away for most of you and I am sure there is enough hullabaloo around – what to study, which material to refer, how to start and many more. Therefore, we thought to make it easier for you by introducing a blog series to help you with interview questions, especially the programming part.
Over the years I have observed that there are certain programs which have remained favorite among most of the interviewers. There is no hidden secret for these questions to be on the top list but for the simple reason that they help interviewers test your basic problem-solving ability. This means if you have not answered them correctly there is definitely no chance to succeed.
Hence, here is the list of top 10 Java programs you should know and understand completely and be able to explain thoroughly to the interviewer.
- Finding if a number is prime
- Factorial program using recursion
- Sorting integers in an array using bubble sort
- Finding the student with highest marks in a class
- Vehicle Class Hierarchy
- Room Class Composition
- Copy files from one directory to another using Threads (request for program)
- Simple Student Maintenance like Create, Read, Update and Delete Student using File Database (request for program)
- Student Ranking using by total marks then by maths, then by age
- Simple Calculator Applet (request for program)
These questions enable interviewer to evaluate following about you during any job interview,
- Basic level of coding
- Logical thought process
- Problem-solving ability
So it’s very important to be well versed with the above programming questions before you plan to attend any interviews. Though you can choose any language to solve these problems unless asked, Java is the most common language in which programmers speak. Every programmer actively works on Java once in their lifetime and it’s always easy for a seamless transition to any other language from here.
So if you are preparing to sit for an interview anytime soon, you can brush up these questions at earliest and thank me later.
What next? Well, I am going to talk about Core Java interview questions in my next blog, so stay connected.
If you have any specific questions in mind related to interviews, feel free to write me at firstname.lastname@example.org and I shall help you at the earliest.