HUMAN
Strengths
1. Have common sense and bigger knowledge base, thus can percept his
environment better than computer given appropriate means (especially in visual
form).
2. Can think (synthesize) new rules out of the box.
3. Psychologically, human decision is more trusted than computer expert system
decision.
4. Can detect trends, patterns, or anomalies, in visualization data.
5. Good in learning.
Weaknesses
1. Easily tired and bored, thus can only be utilized for a short period of time,
perhaps as oracle only.
2. Cannot do micro manage.
3. Biased and inconsistent.
4. Can make error.
5. Not a perfect decision maker.
6. Actually cannot see anything if the data is presented in awkward manner.
COMPUTER
Strengths
1. Speed: Fast.
2. Reliable.
3. Endurance: Not tired.
4. Unbiased.
5. Consistent.
6. Can try much more combinations than what human is capable of.
Weaknesses
1. Difficult to synthesize new rules (cannot think out of the box).
2. Limited knowledge base.
3. No common sense.
4.
RAM
When someone refers to computer memory, it usually means RAM. RAM was
designed to provide a quick access to series of numbers. To limit access time,
RAM is organized around arrays of electronic components that allow very
quick access to any location in the memory. The main advantage of RAM is
speed (typical RAM bandwidth today is around 5-10 GBytes/s). The
constraints on speed have historically limited the overall size of available
RAM on computers (today typical RAM memory is around 8 GBytes). The
main disadvantage of this form of memory is its volatility : you turn off your
computer and it is gone.
A hard drive
As for the hippocampus, RAM storage was too volatile so engineers came out
with a complimentary form of storage for long term memory in computers :
the Hard Drive or HD. Hard drive have low bandwidth (usually 100 MBytes/s)
but can store much more (computer usually comes with 500 GBytes of hard
drive). This is where all of your data and programs is located.
Human long-term memory is presumably located in the cortex, exactly why
and how is a matter of intense research nowadays. I am sure you have
experienced that recollecting old memories can take quite some time
(sometimes minutes). This process is usually variable as it is when reading
from the hard drive. Hard drive can have very different read/write speed
depending on where the memory is stored.
appears that the RAM is not fast enough to feed these monsters (the order of
magnitude is 24 GBytes/s). Thats what the CACHE was designed for. The
total memory content of the CACHE is very small as we really want this thing
to be dead-fast (by small I mean in the MByte range). The CACHE is a very
little memory space packed at the close proximity of your CPU to limit access
times. There are multiple levels of cache (L1, L2 as depicted on the
associated image but there are more) to provide intermediate levels of
storage to make the CPU work smooth and organized.
Our brain is not clocked at such speeds. A typical neuron emits a new spike
at about 10-40 Hz. While it can go higher, we can say we have a 40 Hz clock
running in our skull. This is why our computer screens are only refreshed at
60 Hz. Why would you go faster, we dont see it
and store it somehow. I have no idea how this separation is done at the
neuronal level but I do know that something very similar exists in computers
and its called memory protection. Memory protection is built-in in any
modern OS. When you write a program that needs some memory for its
behavior, the OS allocates some space to it. It does so with some protection
mechanism to prevent the program from accessing any other memory. This
technique obviously prevent bugs and promote overall stability of your
system. It does seem to me that explicit and implicit memory fullfill the same
purpose : stability of our brain Operating System and protection of
important memories.
Programming Environment
Basic Syntax
Data Types
Variables
Keywords
Basic Operators
Decision Making
Loops
Numbers
Characters
Arrays
Strings
Functions
File I/O
DATA TYPES:
Let's discuss about a very simple but very important concept available in
almost all the programming languages which is called data types. As its
name indicates, a data type represents a type of the data which you can
process using your computer program. It can be numeric, alphanumeric,
decimal, etc.
Lets keep Computer Programming aside for a while and take an easy
example of adding two whole numbers 10 & 20, which can be done simply
as follows
10 + 20
Let's take another problem where we want to add two decimal numbers
10.50 & 20.50, which will be written as follows
10.50 + 20.50
The two examples are straightforward. Now let's take another example
where we want to record student information in a notebook. Here we would
like to record the following information
Name:
Class:
Section:
Age:
Sex:
Now, let's put one student record as per the given requirement
Name: Zara Ali
Class: 6th
Section: J
Age: 13
Sex: F
The first example dealt with whole numbers, the second example added two
decimal numbers, whereas the third example is dealing with a mix of
different data. Let's put it as follows
Student name "Zara Ali" is a sequence of characters which is also
called a string.
Student class "6th" has been represented by a mix of whole number
and a string of two characters. Such a mix is called alphanumeric.
Student section has been represented by a single character which is
'J'.
Student age has been represented by a whole number which is 13.
Student gender has been represented by a single character which is
'F'.
This way, we realized that in our day-to-day life, we deal with different types
of data such as strings, characters, whole numbers (integers), and decimal
numbers (floating point numbers).
Similarly, when we write a computer program to process different types of
data, we need to specify its type clearly; otherwise the computer does not
understand how different operations can be performed on that given data.
Different programming languages use different keywords to specify different
data types. For example, C and Java programming languages use int to
specify integer data, whereas char specifies a character data type.