Thursday, February 9, 2017

Entry 5 - Tracking Serial Killers to Tracing Diseases (and Sharks?)

 
Definitions:
Detectives in serial killer cases use technology to narrow the geographic area they should focus on. Studies conducted in the field of criminology have determined that serial killers, like epidemics, generally work according to patterns. One of the most significant ways in which detectives are able to take advantage of these patterns in their investigations is related to the geographic locations of significant events: where a victim was last seen or where their bodies were found. To use this information, they develop a “geographic profile” of the kills. In combination with the geographic profile, the technology depends on two facts to determine an accurate region: serial killers target close to home, but serial killers don’t hunt too close to home. A scientist in the UK applied this same software to disease epidemics. He found that the same techniques used to determine the area in which a serial killer is likely to live would also produce an accurate area for the epicenter of an epidemic. Using this software will allow for targeted interventions to help curtail epidemics which should be more effective and more cost effective. The very same geographic profiling software was the basis for a scientific study on great white sharks off of the coast of Australia. Scientists noted geographic locations of breaches that sharks made while hunting seals in order to determine where off of the coast the sharks were centralized while waiting for an opportunity to strike.

Relation to Computing: 
Tracking serial killers, tracing epidemics, and identifying shark hunting grounds are all very closely related to computing. Software was developed that predicts accurately the geographic area that a specific serial killer lives in, and the same software has been used to determine the epicenter of epidemics as well as identify the hunting zone of sharks effectively. This shows not only the power of computing to catch criminals and save lives, but also the power of computing to facilitate new ideas and learning. In addition it shows the ability of computing to take otherwise static data and analyze it in a way that makes it significantly more useful. Lastly, it shows the degree to which computing enables creative usage and application of software to new or different problems.

Sources:

Martin, R. A., D. K. Rossmo, and N. Hammerschlag. "Hunting Patterns And              Geographic Profiling Of White Shark Predation." Journal Of Zoology 279.2          (2009): 111-118. Academic Search Complete. Web. 9 Feb. 2017.
Moran, Lee. "How Detectives Investigating Serial Killers Use the          Same Tricks as Scientists Tracking an Epidemic." Daily Mail.          DMG Media, 27 May 2011. Web. 9 Feb. 2017.

Entry 4 - Programming Paradigms

Programming Paradigms

Definitions:
“A programming paradigm is a style or a ‘way’ of programming.”
Major paradigms include:
Imperative: commands result directly in control flow
Imperative programs show the exact operations, and control flow is programmed exactly Structured: programs are developed with nested loops and if then statements to orchestrate command flow
The structured paradigm is a subset of imperative. It uses nesting of loops and conditionals and does not include use of a goto
Object Oriented: languages like java are object oriented, and as such they operate by sending messages to objects which have a state and behavior
Object oriented languages allow programmers to use a series of objects with local memory and set of operations
Declarative: programs state desired output, not how to achieve it
This kind of programming states results, and the interpreter figures out how to get to the desired end result.
Functional: functional programming calls functions instead of assigning variables to accomplish control flow
This means that in loops and conditionals, the control expression doesn’t include variables. Rather it includes a single or a series of functions that are being called in order to decide whether or not to run a piece of code.
(Many other paradigms exist, from object oriented to reflective)

Relation to computing:

A paradigm is a style of programming. Some languages lend themselves more towards one paradigm than others and some languages support paradigms that others do not. Programming paradigms are not mutually exclusive. This means that a particular piece of code can take advantage of multiple paradigms at the same time, and that the presence of one style does not imply a lack of other styles. Paradigms show the variety of programming languages in what they support and how they are designed, and they also allow programmers to decide what styles they wish to take advantage of among those supported by the programming language they are using.

Sources: 
Toal, Ray. "Programming Paradigms." Computer Science. Loyola Marymount University,            2015. Web. 9 Feb. 2017.