KEMBAR78
Java TCS IPA Revision | PDF
0% found this document useful (0 votes)
184 views2 pages

Java TCS IPA Revision

The document outlines key Java fundamentals to revise, including data types, operators, control statements, loops, arrays, OOP concepts, collections, and exception handling. It also lists common coding questions frequently asked in TCS IPA interviews, which focus on string manipulation, class creation, sorting, and basic algorithms. The questions are designed to assess logical thinking and understanding of Java programming principles.

Uploaded by

dharshanth
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)
184 views2 pages

Java TCS IPA Revision

The document outlines key Java fundamentals to revise, including data types, operators, control statements, loops, arrays, OOP concepts, collections, and exception handling. It also lists common coding questions frequently asked in TCS IPA interviews, which focus on string manipulation, class creation, sorting, and basic algorithms. The questions are designed to assess logical thinking and understanding of Java programming principles.

Uploaded by

dharshanth
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
You are on page 1/ 2

Java Revision + TCS IPA Coding Prep

1. Java Fundamentals

Topics to Revise from Scratch:

- Data Types (int, float, char, String, boolean)

- Operators (Arithmetic, Relational, Logical)

- Input using Scanner (import java.util.Scanner)

- Conditional Statements (if, if-else, switch)

- Loops (for, while, do-while)

- Arrays (1D and 2D arrays)

- Strings (methods: length, charAt, substring, etc.)

- Object-Oriented Programming (OOP):

* Class & Object

* Constructor

* Inheritance

* Method Overloading & Overriding

* Abstraction & Interfaces

- Collections (ArrayList, HashMap)

- Exception Handling (try, catch, finally)

2. Common TCS IPA Java Coding Questions

Sample Problems Frequently Asked:

1. Count vowels and consonants in a string.

2. Reverse the words in a sentence.

3. Read N integers and print the sum of even numbers.


4. Create a class Player with name, score, and country. Sort based on score.

5. Find the second largest number in an array.

6. Remove duplicates from a list of strings.

7. Create class Medicine with brand name, price. Sort by price.

8. Check if a string is palindrome.

9. Read date input and convert format.

10. Find average marks of students stored in an array.

These questions often test logic, OOP understanding, and usage of Scanner, arrays, and string

methods.

You might also like