Posts

Algorithmic Design and Data Structure Techniques

While developing a structured program, it is essential to understand the differences and importance of algorithm design and data structure techniques.  Algorithms are instructions for manipulating the data, while a data structure is a way to organize data effectively ( Algorithms design techniques,  2020). When deciding what algorithms and data structures will be better, this ultimately depends on the analysis of your problem and the basic operations needed to support the execution. For example, designing a search feature for an application is highly beneficial to use a searching algorithm versus a sorting algorithm. When selecting a searching algorithm, there are many to choose from; for example, you can choose whether a linear or a binary search approach best meets your application's needs (Lysecky, 2015). Let's pose a situation where we create an application that needs to search a list of ice creams; because of the low complexity, I would choose a linear search.  Refe...

Week 1 Interactive Assignment

Image
Hello! This week we went over installing Java and printing "Hello My Name Is ...". However, since I currently use Visual Studio Code, I needed to download the Java Development Kit (JDK) on my local environment. I utilized the Visual Studio Code website- https://code.visualstudio.com/docs/java/java-tutorial to help download the right kit for my operating system. I also followed the steps in this link  The Java Tutorials: Trail: Getting Started  and followed the instructions to create a source file. Once in my program, I made corrections to my code to run my name properly. I came across the error- "Exception in thread "main" java.lang.Error: Unresolved compilation problem: Syntax error, insert "}" to complete ClassBody". I searched the error on google and found a Reddit post (https://www.reddit.com/r/javahelp/comments/7z14vu/java_error_insert_to_close_class_body/)  while reading through the comment I was able to solve my problem and successfully pr...