Posts

Showing posts from September, 2020

Basic Java Programming

Image
Today you are going to learn about basics in java programming!   I will tell you  on how I learned basic java programming and syntax while doing my activity in our subject ITC C202 Data Structures and Algorithm.  Now the first thing you will probably gonna look at will be at the problem on hand.  Next thing is that you analyze it and try to find the design that will provide the solution for the given problem. Given problems A department store gives discounts to all its shoes for sale.  Prompt the user to input the cash price (the price of the shoes) of a shoe and the percent discount (discount range is from 10% - 50% only) and output the discount and the discounted price. Use the appropriate data type.

Introduction to Data Structures and Algorithms

Basic Terms in DSA Data type - a well-defined collection or category of data with a well-defined set of operations on it.                       -A data type consists of                                   a.)  domain(Set of values)                                  b.) set of operations Data Structures – are a way of organizing and storing data so that they can be accessed and worked efficiently.  They define the relationship between the data, and the operations that can be performed on the data   Algorithms – a step-by-step procedure, which defines a set of instructions to be executed in a certain order to get the desired output. For us developers we need to Analyze algorithms more and know about their behavio...