Posts

Showing posts from April, 2020

Speedy Algorithmic Design and Data Structure Breakdown - For Noobs

Image
Data structure is a particular way of storing and organizing data so that it can be used efficiently. Arrays, trees, linked lists, stacks, graphs, etc. are all data structures and each of them allows us to perform different operations on data .No matter which programming language you use for programming, it is important to learn algorithm design techniques in data structures in order to be able to build scalable systems. An algorithm is a sequence of steps for accomplishing a task   and an algorithm typically uses a number of steps proportional to the size of the input (Lysecky et al., 2015, sect. 1.1) The principle of data structure is widely used in several domains of computer science. With the advancement in computer electronics, processing speed and memory are no longer constraints for the computer system. “Still, for massive data processing, the efficient program plays a significant role in generating instant results. Therefore, it is significant that th...

Operating Systems Theory & Design : Java / NetBEANS

Image
    I knew for this project I would need to create 2 classes. One that ran the inputs and printed data and another that would set values for return and initialize things. I began first with my networkEquipment.java file which I started by creating a public class utilizing a Comparable interface. This would be in use to create a total ordering on the objects of each class object or element. I needed to create a constructor to initialize each value or element. From here I established a method for retrieving and updating values of each variable using the same "Setters & Getters" from previous work. Next, I created string for return values ordering them in: name, gain, cost, and ROI. From here I simply utilized a Collections interface with sort or order the results. This would use the int values and order them based on the comparTo results from greatest to least. For my Main class file, I already planned on referencing LinkedList to the value established for networkEquipment....