0% found this document useful (0 votes)
45 views5 pages

Java and SQL Interview Questions Guide

The document consists of a comprehensive list of interview questions and coding tasks related to programming, databases, and personal experiences. It covers topics such as Java programming, SQL queries, data structures, and project discussions. Additionally, it includes HR-related questions about relocation, shift preferences, and adaptability to new technologies.

Uploaded by

tejaguggilam1234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views5 pages

Java and SQL Interview Questions Guide

The document consists of a comprehensive list of interview questions and coding tasks related to programming, databases, and personal experiences. It covers topics such as Java programming, SQL queries, data structures, and project discussions. Additionally, it includes HR-related questions about relocation, shift preferences, and adaptability to new technologies.

Uploaded by

tejaguggilam1234
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1. Introduce Yourself! 2.

Write java Program to decompress the string


2. What language you are comfortable with! from "a2b3c4" to "aabbbCCCC". to
3. Character frequency program in a string, both 3. Explain difference between array list and
brutte force and optimal? linked list
4. Any sorting technique like bubble sort 4. Explain difference between IN and EXIST
program! keywords in SQL?
5. Explain about your major project! 5. Explain ACID Properties in DBMS?
6. Explain concept of ReactJS! 6. How do you handle your team of 4 members if
7. Would you like to work on weekends when one of them is not working properly?
deadline is tight? 7. Are you willing to relocate?
8. Internship experience at Tasklabs, codebase… 8. Are you Ok with Shifts?
(based on previous question’s answer). 9. Do you have any questions?
9. OOPs in Java! 10. Explain your Project and also the
10. Major project’s role and how we used technologies you used. What is your role in the
frameworks and ReactJS. Project?
11. DBMS concept and basic theoretical
questions. 1. Introduce yourself.
2. Why Java!
1. Introduce yourself 3. What is known as platform Independent
2. A coding question on string reverse. 4. Explain about JVM
3. A coding question on stacks. 5. Tell me about oops concepts with Examples.
4. A coding question on queues. 6. Write a Java program to find least positive
5. Collection framework structure in Java. missing number in a Given Array.
6. Difference between ArrayList & Arrays, 7. Explain the Types of Joins in SQL.
LinkedList. 8. Write a query to retrieve the name from
7. Scheduling algorithms in OS. tablename table where the name Contains
8. A question on percentages (Aptitude). Kumar.
9. Explain about your final project. 9. Explain about Types of overloading.
10. Promises in JS. 10. Explain the concept of overriding.
11. OOPs in Java, differences. 11. How can we prevent from method
12. DBMS – Normalization. overloading and method overriding.
12. How to destroy object in Java.
1. Introduce yourself?
13. What happens if we assign a null to the 12. polymorphism types
Object. 13. what are the skills that you are proficient
14. Explain about your Project. rather than cognizant java cluster
15. Tell me about the Types of Commands in 14. Databases proficient rather than sql.
SQL 15. Are you willing to relocate overall India.
16. What do you mean by Collection framework. 16. Are you able to work in any shift
17. Java Code on Search operations (Binary 17. Normalization types. (1NF, 2NF, 3NF,
Search). BCNF)
18. Are you willing to relocate
19. Are you able to work in any Shifts. 1. Introduce yourself?
20. Do you Work in any domain. 2. Are anyone forcing you to take the
interview?
1. Tell me about yourself 3. Are you willing to relocate?
2. Write a java code to find vowels count 4. Are you Comfortable with any shift?
and consonants count (capital and small 5. Write a program to Count number of
letters) Vowels in given String?
3. Write a java code to find each word 6. Change the program to Check Vowel is
occurance count P present or not?
4. Write a java code to replace Vowels with 7. Can you Optimize the program?
special character. 8. How do you Solve Noll Pointer Exception?
5. a→$ i → & the symbol should be 9. Can we use primitive data types with
replaced with the count of each vowels. If ArrayList?
"a" occurred once it is replaced one $ and 10. Why do we use Wrapper class?
if second time $$ and so on 11. What are Interfaces?
6. Method overriding and method 12. Why do we use [Link].*?
overloading 13. Did you Paid any money for taking
7. Realtime scenario meth for using classes Interview?
and objects.
8. Java follows which notations? 1. Introduce yourself
9. Explain about the projects. 2. Java features
10. How you say you are adaptable 3. Difference between Array and ArrayList
11. Requirement of python in cognizant do 4. Garbage Collection in java
you shift to python Or not ? 5. Data types
6. Errors and Exception 2. Explain about your internship?
7. Code : 3. Internship projects?
1 4.10-15 mins questions Regarding My projects?
101 5. My Role & Responsibilities in Project?
0101 6. How you distributed work to your team
10101 members?
8. Rate yourself in SQL 7. write basic Html structure?
9. Different Commands [Link] questions
10. Compare WHERE and HAVING ➢ drop vs truncate
11. Triggers and Cursors ➢ Aggreate functions
12. Constraints, Joins ➢ join vs union
13. Diff between CHAR and VARCHAR ➢ where vs having
14. AGGREGATE functions ➢ group by
15. Diff blw HTML and HTML5 ➢ syntaxs
16. Are you ok with any shift? 9. core Java
17. Are you ok with any Location? ➢ Explain Encapsulation with Example
18. Are you ok with any Technologies? ➢ Inheritance with Example
➢ Polymorphism
1. Tell me about your final year project? ➢ difference b/w overloading overriding,
2. write program to remove duplicates from ➢ Interfaces, Java 8, streams
array ? 10. Java program: reverse string without
3. Tell me about finalize keyword? built-in functions
4. what do you know about Constructor?
5. what is meant by final method? 1) Introduce yourself
6. Do you know about DBMS? 2) What projects have you done as a FSD intern
7. Explain ACID properties? 3) How do you manage to work with both
8. Tell me about joins in SQL? frontend and backend.
9. Explain left join with example? 4) why [Link]?
10. what is the use of Constructor? 5) which frameworks are best for frontend?
11. About are you ok to shift location? 6) How to connect with databases?
12. Can you able to work in any technology? 7) why did you use React?
8) why not django/ flask?
[Link] me about yourself? 9) How did you connect the server (backend)?
10) sql query to print number of boys, girls in a 16. Program: Print the Second Largest
class. dement in an Array
11) sql query to print the students who has 17. Program :- Binary Search
attendance below 60%, print separately for boys SQL
and girls. 18. Explain types of Joins
12) Bubble sort program in java 19. clauses in SQL
13) Are you willing to relocate? 20. Types of Index in SQL
14) Are you comfortable working in any shifts? SQL Queries
15) How adaptive you are to new technologies? 21. Create a table , Insert values
16) Any questions for me? 22. Some operation by using SQL clauses
11) Salary expectations? (where, order by):
18) Final year project overview.
19) ML internship project in brief HTML, CSS, JS
20) NLP basics. 23. Tell me about Semantic Elements
Java 24. ID vs clous in CSS
1. Explain about your main project 25. Basic JS Question.
2. How do you integrate API (Project based)
3. Tell me about Abstraction, Inheritance HR Questions
4. Tell me about Interface 26. Are you ready to Relocate
5. write code about Something by using 27. Doill you work on Any Languages
Interface 28. will you work on Any shifts..
6. Call by value VS Call by Reference SQL
7. what is Constructor 1. Sorting in Java
8. Types of Constructor 2. Select the people who are working in HR dept
9. why Constructor , what happens if 3. Increase the salary by 44%. who are working
Constructor not there in SQL.
10. Constructor overloading
11. Practical implementation of Constructor HR Questions, HR Sept.
12. objects ( def ) 4. Are you willing to relocate ?
13. what is an Interface 5. willing to Night shifts ?
14. what is clauses 6. Any queries ?
15. Jvm, JDX, TRE
1. What are your interests?
2. Do anyone force you to join cognizant? 10) Tell me about MERN STACK Technologies
3. Are you comfortable with any shift? and Implementation Process?
4. Are you comfortable with any location? 11) Are you ready to relocate?
5. Are you comfortable with any cluster? 12) Explain the DML commands.
6. Write a java code to check the presence of 13) I will contact HR with you?
vowels in your name?

1. Tell me about yourself.


2. Program to swap two variables without using
third variable.
3. Program to check a String is palindrome or
not.
4 Can you explain the code for palindrome.
5. Are you willing to relocate?
6. If selected will you be able to work in any
domain
7. Are you ok with Night shifts!

1) Introduce yourself
2) Tell Me about your projects?
3) Which programming Languages do you know?
4) Tell & Me about your recent Internship that
you have done and your participation in the
project work?
5) Java Code: Create an Array and replace the
array position by the highest number in the
Array list.
6) Explain your code
7) Tell me about Hash Mapping Data structures
8) why we use Indexing in the Sq1
9) why we use update command in the ser and
what’s the use

You might also like