Posts

How to Apply Algorithmic Design and Data Structure Techniques in Developing Structured Programs

Image
       An algorithm is a step-by-step procedure, which defines a set of instructions to be executed in a certain order to get the desired output. Output. Algorithms are generally created independent of underlying languages, i.e., an algorithm can be implemented in more than one programming language. From the data structure point of view, the following are some important categories of algorithms.  Search − Algorithm to search an item in a data structure.  Sort − Algorithm to sort items in a certain order. Insert − Algorithm to insert an item in a data structure. Update − Algorithm to update an existing item in a data structure.  Delete − Algorithm to delete an existing item from a data structure. Characteristics of an Algorithm Not all procedures can be called an algorithm. Algorithm. An algorithm should have the following characteristics. – Unambiguous − The algorithm Algorithm should be clear and unambiguous. Unambiguous. Each step (or phase) and th...
Image
       Design principles are generalized pieces of advice or proven good coding practices used as rules of thumb when making design choices.  They're a similar concept to design patterns, the main difference being that design principles are more abstract and generalized. They are high-level pieces of advice, often applied to many different programming languages or even other paradigms.      When installing anything onto your personal computer, it is as simple as going to google.com and searching for whatever you want to download. For example, if you are trying to download Java, The first two results will take to java.com to download.  Ensure that you choose the appropriate link for the operating system you are running (i.e.,  Windows, Unix/Linux, Mac OS) and following the prompts will complete the installation of  Java. Using Java, like any programming language, it takes time to learn. A simple method that can  be u...