Posts

Using algorithmic design and data-structure techniques in structured programming 101

Image
  As I begin this blog, I realize I’m still a newcomer to algorithms and data structures. Every computer depends on these fundamentals, and understanding them helps you determine what a system needs. Before you start designing, you must choose an appropriate data structure and a suitable algorithm. Data structures are ways to organize and store information in a computer so operations can be done efficiently. Common examples include: Arrays: collections of same-type items stored in consecutive memory locations. Linked lists: sequences of items connected in a linear chain. Stacks: last-in, first-out (LIFO) structures where the most recently added item is removed first. An algorithm is a defined procedure or set of rules for a computer to perform calculations or solve problems. Frequent algorithm design strategies include divide and conquer, approached from both top-down and bottom-up perspectives. Top-down design decomposes a problem into smaller modules. ...

First time working with java

Image
  When you want to install something on your personal computer, you just need to visit google.com and search for what you want to download. For instance, if you want to get Java, the top search results will direct you to java.com for the download . Make sure to pick the correct download link for your operating system (such as Windows, Unix/Linux, or Mac OS) and follow the instructions to finish installing Java. Learning to use Java, like any programming language, requires practice. A helpful way to start is by watching YouTube tutorials that cover the basics and gradually move to more advanced topics. One useful playlist is: https://www.youtube.com/watch?v=2dZiMBwX_5Q&list=PL_c9BZzLwBRKIMP_xNTJxi9lIgQhE51rF The second video in this series shows you how to download an IDE (Integrated Development Environment) and write your first program, "Hello World." Java is an object-oriented programming (OOP) language, which means it works with objects and classes. A class can b...