Skip to content

43H1-BOI/Java-Language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topics Covered

1.[ ] Basics 2.[ ] Operators , Precedence and Associativity 3.[ ] Pattern Printing 4.[ ] Conditional Statements 5.[ ] Loops 6.[ ] Array 7.[ ] String and StringBuilder 8.[ ] Functions And Methods 8.[ ] OOPS Concepts 9.[ ] Randoms 10. [ ] Core Java 11. [ ] Data Structure and Algorithms


Basics

  1. Print Hello World
  2. Sum of 2 Numbers
  3. Data Types in Java
  4. Taking Input from User

Operators, Precedence and Associativity

  1. Operators in Java
  2. Precedence
  3. Associativity

Pattern Printing

  1. Hollow Rectangle.
  2. Right angle triangle with a number.

Conditional Statements

  1. Write a Java program to input week number(1-7) and print day of week name using switch case.
  2. Write a Java program that takes a year from the user and print whether that year is a leap year or not.
  3. To Check Whether a Number is Positive or Negative.
  4. Program to Solve Quadratic Equation.
  5. Program to Check Tax Eligibility

Loops

  1. Write a program that reads a set of integers, and then prints the sum of the even and odd integers.
  2. Write a Program to find Factorial of any Numbers
  3. Program to Print Multiplication Table of Number
  4. Program to Print Reverse Multiplication Table of Number
  5. Sum of n Even Integer

Arrays

  1. Average of Elements of Array.
  2. Performing Binary Search
  3. Program to Create a Copy of Array.
  4. DSA TrappingWater Incomplete
  5. Kadane Algorithm (-ve = 0 else add)
  6. To Find Maximum and Minimum Element of Array.
  7. Number of Element Greater than Giver Number.
  8. Program to Find Sub Pairs of Array
  9. To Find Reverse of an Array
  10. To Rotate Array to it's Right n times
  11. Best Time to Buy and Sell Stocks
  12. To Find Max Sum of Sub Array using Brute Force Method
  13. To Find Max Sum of Sub Array using Prefix Array Method
  14. Program to Find Sub Pairs of a Array
  15. To Find Target Sum (Double)
  16. To Find Target Sum (Triple)

Sorting

  1. Bubble Sort
  2. Insertion Sort
  3. Selection Sort
  4. Sort() Method

2D Array

  1. Find Element in Matrix
  2. Basic Functions of Matrix
  3. Max and Min Element of Matrix
  4. To Print Spiral Matrix

String and StringBuilder

  1. To Reverse a String
  2. String Builder and It's Methods
  3. String Methods
  4. SubStrings

Functions And Methods

  1. Write a Java method to compute the average of three numbers..
  2. Write a method named isEven that accepts an int argument. The method should return true if the argument is even, or false otherwise. Also write a program to test your method.
  3. Write a Java program to check if a number is a palindrome in Java? ( 121 is a palindrome, 321 is not) A number is called a palindrome if the number is equal to the reverse of a number e.g., 121 is a palindrome because the reverse of 121 is 121 itself. On the other hand, 321 is not a palindrome because the reverse of 321 is 123, which is not equal to 321.
  4. Search about(Google) & use the following methods of the Math class in Java:
  • a. Math.min( )
  • b. Math.max( )
  • c. Math.sqrt( )
  • d. Math.pow( )
  • e.Math.avg( )
  • f. Math.abs( )
    Free reading resource (https://www.javatpoint.com/java-math) Please feel free to look for more resources/websites on your own.
  1. Write a Java method to compute the sum of the digits in an integer. (Hint : Approach this question in the following way : a. Take a variable sum = 0 b. Find the last digit of the number c. Add it to the sum d. Repeat a & b until the number becomes 0 )

OOPS Concepts

Randoms

Core Java

Data Structure and Algorithm

About

This is My Java Progress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages