Programmer Trainee Interview Questions

2,759 programmer trainee interview questions shared by candidates

Tell me about yourself. Explain a little bit about anyone project mentioned in the resume. [ I explained about my desktop application project ] What is function overloading and can we pass primitive type and similar wrapper class to implement function overloading [ He also gave me a snippet and asked its output ] Difference between function overloading and function overriding Why do we use keyword static in java? What do you mean by autoboxing [ I haven’t heard this term so he explained to me about it with proper examples ] What is abstraction and how to achieve it? What is the difference between abstract class & Interface? What is a Functional Interface? Difference between final, finally and finalize What are the different types of exceptions in java? [ Checked & Unchecked ] What happens when we put a return statement in a try block, Will the final block be executed or not? He asked me whether i know about collections then I said common data structures and algorithms I know but not in too deep. What is HashMAP and difference between HashSet & Hashmap
avatar

Programmer Analyst Trainee

Interviewed at Cognizant

3.6
Apr 15, 2022

Tell me about yourself. Explain a little bit about anyone project mentioned in the resume. [ I explained about my desktop application project ] What is function overloading and can we pass primitive type and similar wrapper class to implement function overloading [ He also gave me a snippet and asked its output ] Difference between function overloading and function overriding Why do we use keyword static in java? What do you mean by autoboxing [ I haven’t heard this term so he explained to me about it with proper examples ] What is abstraction and how to achieve it? What is the difference between abstract class & Interface? What is a Functional Interface? Difference between final, finally and finalize What are the different types of exceptions in java? [ Checked & Unchecked ] What happens when we put a return statement in a try block, Will the final block be executed or not? He asked me whether i know about collections then I said common data structures and algorithms I know but not in too deep. What is HashMAP and difference between HashSet & Hashmap

Introduction and Personal Questions 1. Introduce yourself. 2. Who is your favorite cricketer? 3. Do you have your resume in hand? Project and Technical Questions 1. Tell me about your project. 2. What is JRE? 3. What is JDK? 4. Can you overload the main method? 5. Explain the main method. 6. What is method overloading? 7. What is the HTML layout? 8. What is a web servlet? 9. Do you know Tomcat and Apache? 10. What is IAS? 11. How do you store data in the backend? 12. What is testing? 13. What model did you use in your project? 14. What is runtime polymorphism? 15. What is Maven? 16. What is the page object model? 17. What is design pattern? 18. Explain any design pattern (specifically Singleton pattern). 19. Do you know SOLID principles? 20. Explain Liskov's Substitution Principle. Coding Questions 1. Overload the main method. 2. Sort a string in ascending order. 3. Print a string word by word. 4. Check if a number is divisible by 5 within a given range. 5. Reverse a string. 6. Find the greatest of three numbers. SQL Queries 1. Write a query to display department name and count of departments. 2. Write a query to count the number of records in a column. Additional Questions 1. Apart from academics, have you learned any skills (e.g., ML, AI)? 2. Do you know any language apart from Java? 3. Do you know memory allocation in Python? 4. Are you willing to relocate? 5. Would you be interested in onsite opportunities?
avatar

Programmer Analyst Trainee (PAT)

Interviewed at Cognizant

3.6
Nov 12, 2024

Introduction and Personal Questions 1. Introduce yourself. 2. Who is your favorite cricketer? 3. Do you have your resume in hand? Project and Technical Questions 1. Tell me about your project. 2. What is JRE? 3. What is JDK? 4. Can you overload the main method? 5. Explain the main method. 6. What is method overloading? 7. What is the HTML layout? 8. What is a web servlet? 9. Do you know Tomcat and Apache? 10. What is IAS? 11. How do you store data in the backend? 12. What is testing? 13. What model did you use in your project? 14. What is runtime polymorphism? 15. What is Maven? 16. What is the page object model? 17. What is design pattern? 18. Explain any design pattern (specifically Singleton pattern). 19. Do you know SOLID principles? 20. Explain Liskov's Substitution Principle. Coding Questions 1. Overload the main method. 2. Sort a string in ascending order. 3. Print a string word by word. 4. Check if a number is divisible by 5 within a given range. 5. Reverse a string. 6. Find the greatest of three numbers. SQL Queries 1. Write a query to display department name and count of departments. 2. Write a query to count the number of records in a column. Additional Questions 1. Apart from academics, have you learned any skills (e.g., ML, AI)? 2. Do you know any language apart from Java? 3. Do you know memory allocation in Python? 4. Are you willing to relocate? 5. Would you be interested in onsite opportunities?

Viewing 1811 - 1820 interview questions

Glassdoor has 2,759 interview questions and reports from Programmer trainee interviews. Prepare for your interview. Get hired. Love your job.