Posts

Week 5 Final Project - Theory Concept Map

Image
The major functions of an Operating System (OS) are process management, memory management,  storage management, input/output (I/O) control and management, and protection and security.  Process   management executes instructions sequentially until complete. This function relies on the  CPU,   memory I/O and files to carry out its assignment. Additionally, it allows for creating system  process  and  provides the mechanisms for synchronization and communication. All data passes through memory management before and after it is processed. The same holds true for instructions for them to execute. This function manages which portion of the memory is utilized and how by allocation and deallocation. The storage management provides a uniform way for storing data that passes through the OS. This function also converts physical storage into local storage, like files. The management of files consist of creating, deleting, and mapping. I/O subs...

Newbie to Newbie

Image
  An algorithm is a set of rules or instructions that calculates operations and functions for computers to solve problems. Data structures are also, known as abstract data types that organize and store data in a format that enables it to be access and modified in an efficient way. Throughout this article I will share with you multiple types of algorithms and data structure designs. All of which have both their pros and their cons.   In addition, I will outline how to use these techniques to develop a structured program. Let’s get started. When determining the most appropriate algorithm to use in developing a structured program you should consider the time complexity. The time complexity is the relationship between the growth of an input size and the growth of the operations executed. The Big O Notation will classify the algorithm based on run time and space requirements. Examples of Algorithms: Binary Search: The binary search is an algorithm that finds a value within a...

Object-Oriented Programming and Java

Image
Object-Oriented Programming is a paradigm based on the concept of taking real world objects and representing them in coding. OOP is used widely among various programming languages. The concept of this programming style uses classes and objects. These objects can be broken down using various attributes like functions – methods or attributes – properties. OOP consists of abstraction, encapsulation, inheritance, and polymorphism.   Combined these make up the four pillars of object-oriented programming. Abstraction: Only showing the user the necessary details for accessing an object Encapsulation: Restricts the access of properties or methods of an object, by hiding data Inheritance: Allows the reusability of code of an existing class Polymorphism: Helps the user determine what function to run while it is running Here are some examples of Object – Oriented Programming languages that have the concept of classes: ·        C++ ·        ...