skip to main |
skip to sidebar
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//ES" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<b:include data='blog' name='all-head-content'/>
<title>
<data:blog.pageTitle/>
</title>
<b:skin><![CDATA[
/*
-----------------------------------------------
Blogger Template Style
Name: Algoritmo no dia-a-dia
Designer: Turma informatica
URL: www.raycreationsindia.com
Date: 1 April 2009
----------------------------------------------- */
/*-- (Hiding the navbar) --*/
#navbar-iframe {
height:0px;
visibility:hidden;
display:none
}
body {
margin:0;
padding-top:0px;
background:#1f1f1f;
font-family:Verdana,Tahoma,sans-serif;
color:#02a4eb;
font-size:13px;
}
img {
border:0;
}
a {
color:#0291d0;
text-decoration:none
}
a:hover {
color:#0172a4;
text-decoration:underline;
}
h1, h2, h3, h4, h5, h6 {
}
blockquote {
padding:20px 20px 20px 20px;
color:#666666;
font-style: normal;
background-color: #f2f2f2;
border: 1px solid #cccccc;
}
.clear {
clear:both;
}
.alignleft {
float:left;
padding:0px 0 0 5px;
margin-top:0px;
}
.alignright {
float:right;
padding:0px 0 0 5px;
}
/* The Wrapper */
#wrapper {
width:100%;
margin:0 auto;
background-repeat:repeat-y;
}
.main-repeat{
width: 970px;
background-image: url(http://www.raycreationsindia.com/blogger-template/bluebubbles/layoutrepeat.jpg);
}
.main-body
{
width: 970px;
background-image: url(http://www.raycreationsindia.com/blogger-template/bluebubbles/contentBG.jpg);
background-repeat: no-repeat;
}
/* The Search */
.search {
height:29px;
padding:0px 25px 0 14px;
float: right;
}
.search form {
background:url();
width:210px;
height:29px;
padding-top:15px;
padding-left:17px;
}
.search input {
float:left;
}
.search input#s {
width:160px;
border:none;
background:#fff;
font-size:16px;
color:#444;
height:20px;
}
.search input#submit {
border:none;
background:#fff;
font-size:16px;
color:#aeaeae;
height:22px;
width:35px;
}
/* The Top */
#top {
float:none;
margin-top:0px;
background-repeat: no-repeat;
}
.blogname {
float:none;
width:970px;
height: 132px;
padding: 40px 0 0 0;
background-image: url(http://images.orkut.com/orkut/photos/OQAAADdvC4x7aBv2zMtPL5syJNQeyNpUyKCJ66vZCFGDZBhdKcTemd5V4rGpi90fCayjaMRFcMTKrgvFGBdX5j611YkAm1T1UNeJp6ALNOR5JurN__rKR8S7M4cx.jpg);
font-family:Century Gothic,Verdana,Tahoma,sans-serif; margin:0px 0 0 0;
}
.blogname h1 {
font-size:40px;
font-weight:normal;
margin:0px 0px 0 40px;
color:#ffffff;
text-decoration: none;
text-align:left;
}
.blogname h1 a:link, .blogname h1 a:visited{
color: #ffffff;
text-decoration: none;
background-color:transparent;
}
.blogname h1 a:hover {
color: #fff;
text-decoration: underline;
background-color:transparent;
}
.blogname h2 {
margin:0px 40px 0 40px;
font-size:14px;
font-weight:normal;
color:#fff;
text-align:left;
}
.content {
padding:0px 10px 0px 15px;
background: transparent;
background-repeat:no-repeat;
}
.content-top
{
width:648px;
height: 19px;
background-color: #ffffff;
background-image:url(http://www.raycreationsindia.com/blogger-template/bluebubbles/post-top.jpg);
}
.content-repeat
{
width:650px;
background-image:url(http://www.raycreationsindia.com/blogger-template/bluebubbles/post-repeat.jpg);
}
/* Menu */
#foxmenucontainer{
height:56px;
background:url(http://www.raycreationsindia.com/blogger-template/bluebubbles/layoutTopRepeat.jpg) ;
display:block;
padding:0px 0 0px 0px;
}
#foxmenu{
position:relative;
display:block;
width: 930px;
height:56px;
padding-left: 40px;
background-image: url(http://images.orkut.com/orkut/photos/OQAAANdj8e05tGdkCNMZpue3HB4-9qxS_Je0w5HHV0oOkn3bHhU2yUFg74Eq5u8m6esS4eTxBOzR8ABv1FAKwQDj77IAm1T1UBAPdZzVIyNhNM1cAg41NSW6pWKV.jpg);
font-size:11px;
font-weight:bold;
font-family:Arial,Verdana,Helvitica,sans-serif;
}
#foxmenu ul{
margin:0px;
padding:10px 20px 0 0;
list-style-type:none;
width:auto;
float:left;
}
#foxmenu ul li{
display:block;
float:left;
margin:0 1px 0 0;
}
#foxmenu ul li a{
display:block;
float:left;
color:#000000;
text-align: center;
text-decoration:none;
padding:10px 20px 0 0;
height: 19px;
}
#foxmenu ul li a:hover{
color:#000000;
text-decoration:underline;
height: 19px;
text-align: center;
}
#foxmenu ul li a.current,#foxmenu ul li a.current:hover{
color:#ff9600;
height: 19px;
}
#content {
float: left;
width: 648px;
height: 100%;
margin: 0px 5px 0px 0;
background-image: url(http://www.raycreationsindia.com/blogger-template/bluebubbles/post-repeat.jpg);
background-repeat:repeat-y;
padding: 0 0 30px;
}
.title{
margin: 0 0;
padding: 0px 0px 0px 5x;
color: #02a4eb;
background:transparent;
}
.post-info{
width: 600px;
height: 23px;
padding: 6px 0 0 0;
text-align: left;
background-color: #f2f2f2;
} .post {
margin: 0px 10px 0 5px;
padding:0px 0px 0px 0px;
height: 100%;
text-align:left-align;
color:#666666;
font: 12px Arial,verdana, sans-serif;
}
.post h2 {
margin: 0 0;
padding: 0px 0px 0px 23px;
background: transparent;
text-align: left;
background-repeat: no-repeat;
background-image: url(http://www.raycreationsindia.com/blogger-template/bluebubbles/postheading.jpg);
padding-bottom: 10px;
font: 23px "Century gothic", Arial, sans-serif;
font-weight:normal;
}
.post h2 a, .post h2 a:link, .post h2 a:visited {
color: #02a4eb;
background-color: transparent;
}
.date {
margin: 0 0;
padding: 4px 0 0px 25px;
margin-left: 5px;
background:transparent ;
background-image: url(http://www.raycreationsindia.com/blogger-template/bluebubbles/post-author.jpg);
background-repeat: no-repeat;
font: normal 12px "arial", Arial, sans-serif;
color: #333333;
}
.postmetadata {
margin: 0 0;
padding: 13px 40px 0px 10px;
height: 25px; font: normal 12px Verdana, Arial, sans-serif;
text-align: right;
color:#333;
}
.post a:link,
.post a:visited {
color: #333;
background-color: transparent;
}
.post a:hover {
color: #808080;
background-color: transparent;
text-decoration: underline;
}
.entry {
margin: 0 0;
padding: 5px 15px;
text-align: left;
}
.cover{
margin: 0 0;
background-repeat:repeat-y;
}
.rightcolumn{
float:right;
width:290px;
}
.rss{
float:left;
}
.del{
float:left;
}
.techno{
float:left;
}
.erss {
width: 970px;
padding:20px 0 0 30px;
text-align: left;
color: #ffffff; }
.credits{
padding:2px 28px 0 0;
float:right;
color:#da4f1b;
}
/* The Sidebar */
.sidebar {
float:right;
width:283px;
text-align: left;
padding-top:17px;
padding-right:0px;
font-size:13px;
font-family: "Century gothic", Arial, sans-serif;
}
.sidebar h2 {
height:37px;
width: 265px;
line-height:33px;
font-size:18px;
color:#fff;
margin:0px 0 0 0 ;
padding:0px 0 0 18px;
background:#02a4eb url(http://www.raycreationsindia.com/blogger-template/bluebubbles/sidebar-top.jpg);
background-repeat: no-repeat;
}
.sidebar ul {
list-style-type: none;
margin: 0 ;
padding: 0;
} .sidebar ul li {height:100%;
}
.sidebar ul li a:link, .sidebar ul li a:visited {
color: #70d1fc;
text-decoration: none; font: verdana, arial, helvetica, sans-serif;
}
.sidebar ul li a:hover {
color:#FFFFFF;
}
.sidebar p {
margin:0;
}
.sidebar table {
width:100%;
text-align:center;
background-color:transparent;
}
.widget-content{
color: #ffffff;
text-decoration: none;
text-align: left;
display:block;
padding: 17px 0px 17px 18px;
font: verdana, arial, helvetica, sans-serif;
}
.cat-item{
margin-left: 20px;
}
#time{
width:145px;
height:25px;
margin-top:5px;
margin-left: 10px;
font-family:Arial;
background-image: url(http://www.raycreationsindia.com/blogger-template/bluebubbles/post-time.jpg);
background-repeat:no-repeat;
padding:2px 0 0 24px;
color:#333333;
}
.comment-link{
font-family:arial;
font-size: 12px;
margin-left: 10px;
background-image: url(http://www.raycreationsindia.com/blogger-template/bluebubbles/post-comment.jpg);
background-repeat: no-repeat;
padding: 2px 0 0 30px;
text-decoration: none;
}
.comment-link ul li a:link{
color: #999999;
}
/* --- FOOTER --- */
#footer {
height:60px;
padding:0px 0 0 0px;
background-color: #3f3f3f;
background-repeat:no-repeat;
color:#6F584C;
font-size:10px;
font-weight:normal;
text-align:right;
letter-spacing:1px;
}
#footer a {
color:#ffffff;
}
#footer a:hover {
color:#fff;
text-decoration: underline;
}
/* The Navigation */
.navigation {
height:25px;
padding:0 20px;
}
.navigation a {
font-weight:bold;
text-decoration:none;
font-size:14px;
color:#ffffff;
}
.navigation a:hover {
color:#fff;
text-decoration: underline;
}
/* The Attachment */
.contentCenter {
text-align:center;
}
/* The Page Title */
h2.pagetitle {
padding:0;
margin:0 0 20px 0;
font-size:25px;
text-align:center;
}
/* The Comments */
.comments {
text-align: left;
padding: 0 20px 0 20px;
}
.comments form {
background-color: #f2f2f2;
}
.comments textarea {
width:90%;
height:156px;
background:#382F2A;
border:1px solid #403630;
color:#ddd;
padding:10px;
overflow:auto;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
}
#commentform {
padding-left:23px;
}
#commentform input {
background:#382F2A;
border:1px solid #403630;
color:#ddd;
padding-left:10px;
}
.comments input#submit {
padding:0;
width:72px;
height:29px;
}
.comments h2 {
font-size:19px;
line-height:30px;
margin:24px 0 0 23px;
padding:0;
font-weight:normal;
}
.comments ol li p {
padding:0;
margin:10px 0;
color:#ddd;
}
.comments-box{
width: 582px;
background-color: #e0f5fe;
padding: 5px 10px 12px 15px;
background-image: url(http://www.raycreationsindia.com/blogger-template/bluebubbles/commentBG.jpg);
color: #666666;
margin: 0 0 40px 0;
}
.comments-title{
width: 587px;
background-color: #c6eeff;
margin: 0 0 1px 0;
color: #666666;
padding: 5px 5px 5px 15px;
}
.comment-body{
padding: 0 0 0 0;
margin: 0 0 0 0;
}
.comment-footer{
padding: 0 0 0 0;
margin: 0 0 0 0;
}
]]></b:skin>
</head>
<body>
<div id='wrapper'>
<div id='top'>
<div id='foxmenucontainer'>
<center>
<div id='foxmenu'>
<ul>
<li class='current_page_item'>
<a href='/'>
<span>Home</span>
</a>
</li>
<li>
<a href='/feeds/posts/default'>
<span>Posts RSS</span>
</a>
</li>
<li>
<a href='/feeds/comments/default'>
<span>Comments RSS</span>
</a>
</li>
</ul>
</div>
</center>
</div>
<center>
<div>
<b:section class='blogname' id='top' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Algoritmo no dia-a-dia (Cabeçalho)' type='Header'/>
</b:section>
</div>
</center>
</div>
<center>
<div class='main-repeat'>
<div class='main-body'>
<div class='content'>
<div class='rightcolumn'>
<div class='sidebar'>
<b:section class='sidebar' id='sidebar' preferred='yes'>
<b:widget id='Text1' locked='false' title='Bem vindo' type='Text'/>
<b:widget id='HTML5' locked='false' title='Função do algoritmo' type='HTML'/>
<b:widget id='VideoBar1' locked='false' title='Barra de vídeo' type='VideoBar'/>
<b:widget id='NewsBar1' locked='false' title='reportagens' type='NewsBar'/>
<b:widget id='Stats1' locked='false' title='Total de visualizações de página' type='Stats'/>
<b:widget id='Label1' locked='true' title='Categoria' type='Label'/>
<b:widget id='Attribution1' locked='true' title='' type='Attribution'/>
<b:widget id='PageList1' locked='true' title='' type='PageList'/>
<b:widget id='Image1' locked='false' title='Instituto Federal Fluminense' type='Image'/>
</b:section>
</div>
</div>
<div id='content'>
<div class='content-top'/>
<b:section class='content' id='content' showaddelement='yes'>
<b:widget id='Blog1' locked='true' title='Postagens no blog' type='Blog'/>
</b:section>
<div class='navigation'>
<div class='alignleft'/>
<div class='alignright'/>
</div>
</div>
<div class='clear'/>
</div>
</div>
</div>
</center>
<div id='footer'>
<center>
<div class='erss'>
Theme designed by <a href='http://raycreationsindia.com/' target='_blank'>Ray Creations</a> |
<a href='http://www.temasblogspot.com' rel='nofollow' target='_blank' title='temas blogspot'>temas blogspot</a>
</div>
</center>
<div class='credits'>
<a href='#top'> TOP </a>
</div>
</div>
</div>
</body>
</html>
A diferença entre um algoritmo e um programa é semelhante à diferença que existe entre uma ideia e sua descrição numa lingua natural (Português,Italiano, Inglês, etc...) O programador deve encontrar um algoritmo que resolve seu problema e implementa-lo usando uma linguagem de programação.(SILVA, 2003)
Tive um professor que dizia que “Matemática só é matemática quando não aparecem números, só letras.”
Parafraseio afirmando que: “Algoritmo só é algoritmo até ser implementado.” Depois de implementado é um programa. Algorimos são provados, programas são testados.
(CARDOSO, 2009)
Segundo Henrique (1996), um algoritmo é uma sequência finita de instruções bem definidas e não ambíguas, cada uma das quais pode ser executada mecanicamente num período de tempo finito e com uma quantidade de esforço finita. Um algoritmo não representa, necessariamente, um programa de computador, e sim os passos necessários para realizar uma tarefa. Sua implementação pode ser feita por um computador, por outro tipo de autômato ou mesmo por um ser humano. Em outras palavras, o algoritmo é uma descrição abstrata para a resolução de um problema e o programa é uma descrição concreta em termos de instruções em uma máquina específica para a resolução de um problema.
A construção de algoritmos computacionais pode ser feita de diversas formas, e cada "forma" é chamada de linguagem. Essa linguagem pode ser em forma de texto, números, fórmulas, ou gráfico. O produto de uma linguagem é chamado de código, que define o comportamento do computador para a resolução de problemas. Métodos de construção desses códigos também são estudados na Ciência da Computação. Desenvolver esses códigos pode ser também considerado uma arte e se parecer com qualquer produto artístico de outra área do conhecimento humano.
Imagine sua vida sem o computador, sem calculadora, sem a internet. Seria difícil não é mesmo? Agora imagine sua vida agora, existindo os aparelhos que fazem quase tudo para vocês como contas, resoluções de problemas, entre outros, mas sem eletricidade. Não iria ser de muita funcionalidade para vocês esses aparelhos eletrônicos lógicos não é ? Pois então. A eletricidade neste caso, se denominaria como algoritmo, que é responsável pelas funções de cada estrutura lógica que são executadas em eletrônicos, tornando os "aparelhos inteligentes". O algoritmo é um conjunto finito de instruções bem definidas para a realização de uma tarefa na qual, dado um estado inicial, conduzirá para um estado final correspondente ao mapa de respostar que o autor do algoritmo formulou. Com certeza se tivessem um algoritmo para resolver seus problemas do dia-a-dia na mente, vocês nao iriam ter mais dores de cabeça. 
Por traz de todos programas executados logicamente pelo seu computador, existe uma instrução a ser seguida, que é dada por uma introdução fundamental, visto também como a base , chamado algoritmo. Onde suas instruções, são guiadas por caminhos lógicos dadas pelo usuário que formulou o algoritmo para bens próprios ou comerciais, como montar um site, um programa, etc.