Skip to main content

Newbies Guide to Structured Programs

 Applying Algorithmic Design and Data Structure Techniques



Algorithms are like step-by-step procedures or instructions that tell your computer how to solve a specific problem. This could be compared to baking in the kitchen. The user is given a set of variables or steps and it is up to them to follow them. There are many types of algorithms that can be utilized to successfully solve a problem. For instance, there are divide and conquer algorithms, recursive algorithms, search algorithms, sort algorithms, and much more. These are important to ensure a program can effectively and efficiently produce the correct outcomes. Data structure is the collection of data that allows the means to store and organize data in a computer. Some examples of data structures are arrays, stacks, queues, linked list, and many more. These different types of data structures help to access, modify, and process data within the program effectively. 

Which Algorithm and Data Structure is Better?

Choosing the correct type of algorithm and data structure depends on the type of problem being solved and the field of application. It is important to factor in the size and complexity of the algorithm. For example, a small array (list) of numbers can use a simple search algorithm as to where a large amount of numbers could require a database. Therefore, no algorithm or structure design is better than others, it is just important to use the correct one for the right application. If I was tasked with applying an algorithmic design and data structure technique, the first thing  I would do is develop a design strategy. Breaking down each part of the program with the correct data structures like arrays, and then I would develop the algorithm like loops or recursion to efficiently solve the problem and output the correct solution. Overall, it is crucial to nail down the correct strategy needed and then to carefully design and develop the needed algorithm and structure to solve the problem. 
 

Comments

Popular posts from this blog

Travelling Through a Network

  Thomas Wilson Packets move through networks from one computer to another. These tools are extremely useful when troubleshooting network configurations and if a network is talking or not. They move from devices like switches and routers until they reach the final destination. Packets usually move in specific order to their final destination. A ping and tracert command are different because the ping verifies that a host is reachable or not and the tracert command shows the detail of each stop at the routers and the time it takes to reach each router. When pinging each site, I noticed that the other countries website TTL is greater than google. This makes sense because the TTL is the determined "hop" time between servers before being dropped. When performing a tracert command, it shows each stop to the host's IP and the time it takes to get between each. Each tracert command gets longer in time to each host as it goes down the list. I noticed that google had 16 total stops...

OS theory Final- CPT.304 TPW

  An (OS) operating system is a powerful program that manages all of the software and hardware on a computer. There are often many computer programs running at the same time, some visual and some in the background, and they must access the CPU, memory, and storage to function correctly. There are several types of operating systems, but they all share a similar goal in efficiently and successfully operating the computer system. The major functions of the operating system include process management, device management, file management, communication and networking, security, and resource allocation. Some of the features that work with these functions are multitasking, multithreading, virtual memory, graphical user interface, IO devices, and computing.  When these functions and features of the OS are collaborating and working seamlessly together, it creates a magnificent operating system and allows the user to have a successful experience with the computer.   Operating...

Review Of Mobile/Web Application

Thomas Wilson Review of Boat Trader:   I have bought and sold multiple boats in my life using boat trader. The boat trader application is an excellent tool to filter and find distinctive style boats in a certain area. These boats can be offered by a dealership or a private seller. The biggest benefit of using boat trader is selecting a specific state or mileage away from a specific location that one is looking to purchase or sell from. There are many excellent features when it comes to this application but there are a couple of recommendations, I could give that I personally think would make it easier and more user friendly.    Usability:   The usability of the boat trader application is excellent overall. The initial home page of the site allows the user to select a drop down to either find, sell, or select services and research boats. If the user selects to "find" boats for sale, then it is directed to the next page where there are numerous filters that can be sele...