Skip to content

PeterYegorov/My-Java-Experience

Repository files navigation

My-Java-Experience

Reasons I learn Java

Java is a widely used programming language among all IT professionals.

Android OS runs on Java. Java is a powerful language, with extensive support on almost every kind of computer.

7 step approach to solving any programming problem

  1. Work an instance yourself

  2. Write down what you did

  3. Write down specific patterns of what you did - Generalize

  4. Write an algorithm

  5. Write code

  6. Test code

  7. Debug failed cases

Working with shapes

There I have developed a class PerimeterAssignmentRunner. It contains multiple methods.

  1. getPerimeter calculates the perimeter of the given Shape (A class of points).
  2. getNumPoints Returns the number of points in a shape.
  3. getAverageLength, getLargestSide, and getLargestX allow to find additional information about the shape.
  4. getLargestPerimeterMultipleFiles Returns the largest perimeter when multiple shapes (files) are given.
  5. getFileWithLargestPerimeter Returns the filename with the largest perimeter of a shape.

Finding youtube links

In this small project, I developed a simple parser that prints all Youtube links from a web page.

Finding genes in the DNA

Simplified DNA concepts

The DNA can be represented as a string of Nucleotides (A, G, T, C). 3 Nucleotides form a Codon. A gene starts with ATG - a Start Codon. A gene can end with one of these 3 stop codons: TAA, TGA, TAG.

CSV files

Learning outcomes of this project:

Use the open-source Apache Commons CSV package in your own Java programs;

Access data from one or many CSV files using Java;

Convert strings into numbers;

Understand how to use “null” in Java programs (when you want to represent “nothing”);

Devise an algorithm (and implement in Java) to answer questions about CSV data;

Analyze CSV data across multiple CSV files (for example, find maximums, minimums, averages, and other simple statistical results).

About

My Java Projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages