Jumat, 15 Maret 2013

FUNDAMENTAL ALGORITHMS


Ringkasan ke 2
EXCHANGING THE VALUES OF TWO VARIABLES

exchanging the values of two variables
problem
given two variables, a and b, exchange the values assigned to them.
algorithm development

the problem of interchanging the values associated with two variables involves a very fundamental menchanism that occurs in many sorting and data manipulation algorithms. To define the problem more clearly we will examine a specific example.
Algorithm Development

The problem of interchanging the values associated two variables involves a very fundamental mechanism that occurs in many sorting and data manipulation algorithms.

Algorithms Description


1.    Save the original value of a in t.
2.   Assign to a the original value of b.
3.   Assign to b the original value of a that is stored in t.


Pascal Implementation

Procedure exchange  (var a,b : integer);
Var t : integer;
begin {save the original value of a then exchange  a and b}
{assert : a=a0^b=b0}
t:=a;
a:=b;
b:=t;
{assert : a=a0^b=a0}
end

Notes of Design

1.    The use of an intermediate temorary variable allows the exchange of two variables to proceed correctly.
2.   This example emphasizes that at any stage in a computation a variable always assumes the value dictated by the most recent assigment made to that variable.
3.   Working through the mechanism with a particular example can be a useful way of detecting design faults.
4.   A more common application of exchange involves two array elements.

Applications

Sorting algoritms.

Reasons to Major in Computer Science

 Ringkasan 1

Almost everything we do is affected by the computation. Today's generation of college
students, dubbed the Millennials, is not surprised by this statement. They have
grow up with computers, the Internet, instant communication, and electronic
entertainment. They embrace new technology and hope to do fantastic things.
A person who is part of the computer industry can choose from a variety of
areas where problems are interesting and challenging many need to be solved.
In addition to all the work and communication business that might first come to
thoughts, people with a degree in computer science to work on the problem of
all spectrum of life
Computer science as a discipline covers a range of topics from theory
and a foundation for the development of cutting-edge algorithms. Computer work
Scientists are trained to do can be organized into three categories:
• Design and implement software that is useful.
• Designing new ways to use computers.
• Developing an effective way to solve the problem komputas

Suitable examples include Computer
Software engineer, Computer Systems Analysts, Mathematicians, Computer
Programmers, Web Designers and Developers, Secondary and Postsecondary
Master, Statistics, Medical Records and Health Information Technicians,
Atmospheric scientists, market and survey researchers, economists, Radiation
Therapist, Urban and Regional planners, Surveyors and Mapping Technician,
Scientists and conservation forestry, Travel Agencies, Private Detective and
Investigators, Geoscientists, psychologists, and Interpreter Translator.
Strong employment growth combined with a limited supply of qualified workers will
yield excellent job prospects. Those who have the practical experience and the
bachelor's degree in most computer engineering or computer science should have
the best opportunities. Employers will continue to seek computer professionals with
strong programming, systems analysis, interpersonal, and business skills.
Information systems (IS) field focuses on integrating technology into business
and other companies to manage their information in an efficient and safe manner.
Information Technology
An Information Technology (IT) program prepares students to meet the computer
Technology needs of business, government healthcare, schools and other organizations.
Software Engineering
Software engineering (SE) is the discipline of developing and maintaining a large
software system.
Mixed Disciplinary Majors
This technology opens the door to the field of study that combines different scientific or
engineering field with computing.
Bioinformatics is the use of computer science to store, analyze, and
store biological data and to assist in solving biological problems usually
at the molecular level.
Artificial Intelligence (AI) is the implementation and study of systems that
can demonstrate autonomous intelligence or behavior. AI exciting research from
many fields including computer science, psychology, philosophy, linguistics,
neuroscience, logic, and economics.
Computer Forensics is a branch of forensic science pertaining to legal evidence
which can be found in computers and digital storage devices.
Cryptology (or cryptography) is the practice and study of hiding information
and involves mathematics, computer science, and engineering.
Mechatronics is the combination of mechanical engineering, electronic engineering,
and engineering software for the design of advanced hybrid systems.
Employers will continue to seek computer professionals with
strong programming, systems analysis, interpersonal, and business skills.

Senin, 11 Maret 2013

the sleeping giant is waking up

janganlah kau membiasakan kebiasaan yang di lakukan oleh orang biasa, tapi biasakanlah kebiasaan yang dilakukan oleh orang yang luar biasa ^.^
born rich, life wild.

by Afzi Novendra Amin :)