Posts

CPT 307 Newbie to Newbie Part Two

 Hello Class,   ·           Explain to another newbie how to apply algorithmic design and data structure techniques in developing structured programs. Not all programs are created the same.  Some programs may take much longer to complete a given task than other programs.  If a program will be dealing with large amounts of data, how that data is organized or structured, and how it is accessed, can make a big difference.  The main considerations are time complexity and space complexity. Time complexity is the biggest concern.  Time, here, does not refer to time as we’re used to.  Instead, it refers to the number of operations needed.  The operations are generally compare, swap, fetch from memory, and send to memory.  Each operation takes only a very small amount of time, however, the number of operations necessary grow exponentially (referred to as the big O).  As lists get larger, the number...

CPT307 Newbie to Newbie Blog Part One

Image
 Hello Class, There are many advantages to object-oriented programming (OOP).  Four of the advantages are laid out in The Java Tutorials by Oracle.  They are modularity ; information-hiding , code reuse , and pluggability (2022). Modularity means that the code can be written in smaller sections.  Those sections can then be tested and debugged independently.  Once working, those sections can be shared among projects with programmers knowing exactly what they will get from each section. Information-hiding can serve to protect an object from unwanted changes.  This can serve to prevent the wrong values from being assigned to objects that will cause problems later. Code reuse , there is no need to reinvent the wheel.  Once an object is working, it can be endlessly reused in many new projects. Pluggability , which allows for the sharing of objects as described above.  It also means that if an object isn’t working as desired, it can be debug...

CPT304 Operating Systems Theory & Design Concept Map

Image
 Concept Map This is the combined concept map.  Please see the first blog at https://logicsurfers.blogspot.com/2023/01/cpt304-operating-system-theory-design.html  for a breakdown and discussion of this concept map. %3CmxGraphModel%3E%3Croot%3E%3CmxCell%20id%3D%220%22%2F%3E%3CmxCell%20id%3D%221%22%20parent%3D%220%22%2F%3E%3CmxCell%20id%3D%222%22%20style%3D%22edgeStyle%3DorthogonalEdgeStyle%3Brounded%3D0%3BorthogonalLoop%3D1%3BjettySize%3Dauto%3Bhtml%3D1%3BexitX%3D0.25%3BexitY%3D0%3BexitDx%3D0%3BexitDy%3D0%3BentryX%3D1%3BentryY%3D0.5%3BentryDx%3D0%3BentryDy%3D0%3B%22%20edge%3D%221%22%20source%3D%228%22%20target%3D%2238%22%20parent%3D%221%22%3E%3CmxGeometry%20relative%3D%221%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%223%22%20style%3D%22edgeStyle%3DorthogonalEdgeStyle%3Brounded%3D0%3BorthogonalLoop%3D1%3BjettySize%3Dauto%3Bhtml%3D1%3BexitX%3D0.75%3BexitY%3D0%3BexitDx%3D0%3BexitDy%3D0%3BentryX%3D0%3BentryY%3D0.5%3BentryDx%3D0%3BentryDy%3D0%3B%22%20edg...