tag:blogger.com,1999:blog-79132377171906463882024-02-19T00:11:44.070-08:00Algoritmica y ProgramaciònIng. Adolfo Alejandro Acevedo Rioshttp://www.blogger.com/profile/11282121626340856175noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-7913237717190646388.post-49119874244480234402009-07-02T11:54:00.000-07:002009-07-03T09:43:16.895-07:00PSeudoCodigo<span style="font-size:130%;"><span style="color: rgb(51, 51, 255);">El Pseudo-código<br /></span></span><br /><span style="font-size:130%;"><span style="color: rgb(51, 51, 255);"><span style="color: rgb(0, 0, 0);"> Las características del este pseudolenguaje fueron propuestas en 2001 por el responsable de la signatura Fundamentos de Programación (Horacio Loyarte) de la carrera de Ingeniería Informática de la FICH-UNL. Las premisas son: </span><br /></span></span><br /><ul><li><span style="font-size:130%;"><span style="color: rgb(51, 51, 255);"><span style="color: rgb(0, 0, 0);">Sintaxis sencilla </span></span></span></li><li><span style="font-size:130%;"><span style="color: rgb(51, 51, 255);"><span style="color: rgb(0, 0, 0);">Manejo de las estructuras básicas de control </span></span></span></li><li><span style="font-size:130%;"><span style="color: rgb(51, 51, 255);"><span style="color: rgb(0, 0, 0);">Solo 3 tipos de datos básicos: numérico, caracter /cadenas de caracteres y lógico (verdadero-falso). </span></span></span></li><li><span style="font-size:130%;"><span style="color: rgb(51, 51, 255);"><span style="color: rgb(0, 0, 0);">Estructuras de datos: arreglos </span></span></span></li></ul><br /><span style="color: rgb(51, 51, 255);font-size:130%;" ><span style="color: rgb(51, 51, 255);"><br />Forma General de un Algoritmo en PSeudoCodigo</span></span><span style="font-size:130%;"><br /><br /></span><span style="font-size:130%;">Todo algoritmo en pseudocógido tiene la siguiente estructura general:<br /></span><br /><pre><span style="font-size:130%;"> <br />Proceso SinTitulo<br /> accion 1;<br /> accion 1;<br /> .<br /> .<br /> .<br /> accion n;<br />FinProceso<br /></span></pre><br /><span style="font-size:130%;">Comienza con la palabra clave Proceso seguida del nombre del programa, luego le sigue una secuencia de instrucciones y finaliza con la palabra FinProceso. Una secuencia de instrucciones es una lista de una o más instrucciones, cada una terminada en punto y coma.<br /></span><br /><span style="font-size:130%;">Las acciones incluyen operaciones de entrada y salida, asignaciones de variables, condicionales si-entonces o de selección múltiple y/o lazos mientras, repetir o para<br /><br /><br /><span style="font-size:130%;"><span style="color: rgb(51, 51, 255);">Primitivas Secuenciales </span></span><br /></span><br /><ul><li><span style="font-size:130%;">Asignación </span></li><li><span style="font-size:130%;">Lectura </span></li><li><span style="font-size:130%;">Escritura </span></li></ul><span style="font-size:130%;"><span style="font-weight: bold;">Asignación </span><br /><br /></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs6oZtMKnLZkRQ_xkEv39NNe9QlKJndopQoVR361Z5Z8PWBTtfm2yU_uNhph3QZ0taFLt2G2D17r8d674iWdKR3TBzdCDXhm1_TB3yEnU17dhHxym-W6cJAajSPlpYjUeAM0IOuQAGGX4/s1600-h/Asignacion.jpeg"><img style="cursor: pointer; width: 123px; height: 148px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs6oZtMKnLZkRQ_xkEv39NNe9QlKJndopQoVR361Z5Z8PWBTtfm2yU_uNhph3QZ0taFLt2G2D17r8d674iWdKR3TBzdCDXhm1_TB3yEnU17dhHxym-W6cJAajSPlpYjUeAM0IOuQAGGX4/s320/Asignacion.jpeg" alt="" id="BLOGGER_PHOTO_ID_5354261408689090354" border="0" /></a><span style="font-size:130%;"><br /><br />La instrucción de asignación permite almacenar una valor en una variable.<br /></span><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTz2x9GNUJuJ85wS4DAKdGjfOrQwoa_zg6S6agHDFAb9wQs78Cttuw7Lr3CKoiLv5y14Mf4zC5r278DcDdDLyDSfrIRsJRwfEQGFNVoV6J-xuMm6-omgETJkaQqyL01kNU0MYAI5OnPh4/s1600-h/Asignacion2.jpeg"><img style="cursor: pointer; width: 320px; height: 38px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTz2x9GNUJuJ85wS4DAKdGjfOrQwoa_zg6S6agHDFAb9wQs78Cttuw7Lr3CKoiLv5y14Mf4zC5r278DcDdDLyDSfrIRsJRwfEQGFNVoV6J-xuMm6-omgETJkaQqyL01kNU0MYAI5OnPh4/s320/Asignacion2.jpeg" alt="" id="BLOGGER_PHOTO_ID_5354275107197740402" border="0" /></a><br /><span style="font-size:130%;"><span style="font-size:130%;"><variable><expresión><variable><expresión><br />Al ejecutarse la asignación, primero se evalúa la expresión de la derecha y luego se asigna el resultado a la variable de la izquierda. El tipo de la variable y el de la expresión deben coincidir.<br /></expresión></variable></expresión></variable></span></span>Ing. Adolfo Alejandro Acevedo Rioshttp://www.blogger.com/profile/11282121626340856175noreply@blogger.com0tag:blogger.com,1999:blog-7913237717190646388.post-11167168327293959862009-05-08T13:45:00.000-07:002009-07-02T11:27:40.050-07:00Algoritmos y Diagramas de Flujo<span style="COLOR: rgb(255,0,0)"><i><b><big><big>Definición de algoritmo </big></big></b></i></span>
<br />
<br />
<br />
<br /><p><big>"Un<span style="COLOR: rgb(0,0,0)"> <strong><em>algoritmo</em></strong> </span>se define como un método que se realiza paso a paso para solucionar un problema que termina en un número finito de pasos".</big></p><p></p><p><span style="COLOR: rgb(0,0,0)"><big>Las características fundamentales que debe cumplir todo algoritmo son :</big></span></p><blockquote><table cellspacing="0" cellpadding="0" width="100%" border="0" msimagelist=""><tbody><tr msimagelist=""><td valign="top" width="42" msimagelist=""><img height="13" hspace="14" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bola2.gif" width="13" /></td><td valign="top" width="100%"><big>Debe ser <u><span style="COLOR: rgb(0,128,0)"><strong><i>preciso</i></strong></span></u>. e indicar el orden de realización de cada paso.</big></td></tr></tbody></table><table cellspacing="0" cellpadding="0" width="100%" border="0" msimagelist=""><tbody><tr msimagelist=""><td valign="top" width="42" msimagelist=""><img height="13" hspace="14" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bola2.gif" width="13" /></td><td valign="top" width="100%"><big>Debe ser <u><span style="COLOR: rgb(0,128,0)"><strong><i>definido</i></strong></span></u>. Si se sigue un algoritmo dos veces, se debe obtener el mismo resultado cada vez.</big></td></tr></tbody></table><table cellspacing="0" cellpadding="0" width="100%" border="0" msimagelist=""><tbody><tr msimagelist=""><td valign="top" width="42" msimagelist=""><img height="13" hspace="14" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bola2.gif" width="13" /></td><td valign="top" width="100%"><big>Debe ser <u><span style="COLOR: rgb(0,128,0)"><strong><i>finito</i></strong></span></u>. Si se sigue un algoritmo, se debe terminar en algún momento ; o sea debe tener un número finito de pasos.</big></td></tr></tbody></table><p></p></blockquote><p><big>La definición de un algoritmo debe describir tres partes : <strong><i>Entrada, Proceso y Salida</i>.</strong></big></p><p><big><strong>
<br /></strong></big></p><p><span style="COLOR: rgb(255,0,0)"><big><big><i><b>Algoritmos Cotidianos</b></i></big></big></span> </p><p><big>Se refiere a todos aquéllos algoritmos que nos ayudan a resolver problemas diarios, y que los hacemos casi sin darnos cuenta de que estamos siguiendo una metodología para resolverlos.</big></p><p></p><p><strong><span style="COLOR: rgb(0,0,160)"><big>Algunos ejemplos son :</big></span></strong></p><blockquote><p><img height="14" alt="bolazul.gif (334 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bolazul.gif" width="14" /><big> Diseñar un algoritmo para cambiar una llanta a un coche.</big></p><blockquote><blockquote><ol><li><big>Inicio.</big></li><li><big>Traer gato.</big></li><li><big>Aflojar tornillos de las llantas.</big></li><li><big>Levantar el coche con el gato.</big></li><li><big>Sacar los tornillos de las llantas.</big></li><li><big>Quitar la llanta.</big></li><li><big>Poner la llanta de repuesto.</big></li><li><big>Poner los tornillos.</big></li><li><big>Bajar el gato</big></li><li><big>Apretar los tornillos.</big></li><li><big>Fin</big></li></ol><p></p><p></p></blockquote></blockquote></blockquote><p><img height="14" alt="bolazul.gif (334 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bolazul.gif" width="14" /><big> Un cliente ejecuta un pedido a una fábrica. La fábrica examina en su banco de datos la ficha del cliente, si el cliente es solvente entonces la empresa acepta el pedido, en caso contrario rechazar el pedido.</big></p><p></p><p><big>Pasos del algoritmo :</big></p><blockquote><blockquote><blockquote><p><span style="COLOR: rgb(0,0,160)"><big>Inicio</big></span></p><p><big>Leer el pedido</big></p><p><big>Examinar ficha del cliente</big></p><p><big>Si el cliente es solvente aceptar pedido, en caso contrario rechazar pedido</big></p><p><span style="COLOR: rgb(0,0,160)"><big>Fin</big></span></p><p></p></blockquote></blockquote></blockquote><p><img height="14" alt="bolazul.gif (334 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bolazul.gif" width="14" /><big> Determinar el mayor de tres números enteros.</big></p><p><big>Pasos del algoritmo :</big></p><blockquote><blockquote><blockquote><p><big>1.- Comparar el primero y el segundo entero, deduciendo cuál es el mayor.</big></p><p><big>2.- Comparar el mayor anterior con el tercero y deducir cuál es el mayor. Este será el resultado.</big></p><p></p></blockquote></blockquote></blockquote><p><big>Los pasos anteriores se pueden descomponer en otros pasos más simples en los que se denomina <i><strong>refinamiento del algoritmo</strong>.</i></big></p><p><i><big></big></i><big><strong></strong></big></p><blockquote><i></i><blockquote><i></i><blockquote><i></i><p><big>1.- Obtener el primer número (entrada), denominado NUM1</big></p><p><big>2.- Obtener el segundo número (entrada), denominado NUM2</big></p><p><big>3.- Compara NUM1 con NUM2 y seleccionar el mayor ; si los dos enteros son iguales, seleccionar NUM1. Llamar a este número MAYOR.</big></p><p><big>4.- Obtener el tercer número (entrada), y se denomina NUM3.</big></p><p><big>5.- Compara MAYOR con NUM3 y seleccionar el mayor ; si los dos enteros son iguales, seleccionar el MAYOR. Denominar a este número MAYOR.</big></p><p><big>6.- Presentar el valor MAYOR (salida).</big></p><p><big>7.- Fin</big></p></blockquote></blockquote></blockquote><p>
<br /></p><p align="center"><span style="COLOR: rgb(255,0,0)"><strong><big><big>"Técnicas para la Formulación de Algorítmos"</big></big></strong></span></p><p align="center"><img height="4" alt="moteado.gif (2795 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/moteado.gif" width="500" /></p><p></p><ul><li style="FONT-WEIGHT: bold; COLOR: rgb(51,51,255)">Lenguaje Natural</li><li style="FONT-WEIGHT: bold; COLOR: rgb(51,51,255)">Diagramas de Flujo</li><li><span style="FONT-WEIGHT: bold; COLOR: rgb(51,51,255)">Seudo Còdigo</span></li></ul><p><span style="COLOR: rgb(255,0,0);font-size:180%;" ><b><big></big></b></span></p><p><span style="COLOR: rgb(255,0,0);font-size:180%;" ><b><big>Ejercicios de Algoritmos</big></b></span></p><ul><li><span style="COLOR: rgb(0,0,0);font-size:100%;" ><big>Diseñar los algortimos que resuelvan los siguientes problemas:</big></span></li></ul><ol><li><span style="COLOR: rgb(0,0,0);font-size:100%;" ><big>Cocer un huevo</big></span></li><li><span style="COLOR: rgb(0,0,0);font-size:100%;" ><big>Preparar café</big></span></li><li><span style="COLOR: rgb(0,0,0);font-size:100%;" ><big>Ir al cine</big></span></li><li><span style="COLOR: rgb(0,0,0);font-size:100%;" ><big>Cambiar un bonbillo quemado del techo</big></span></li><li><span style="COLOR: rgb(0,0,0);font-size:100%;" ><big>Preparar una torta</big></span></li></ol><p><span style="COLOR: rgb(255,0,0);font-size:180%;" ><b><big></big></b></span></p><p><span style="COLOR: rgb(255,0,0);font-size:180%;" ><b><big>Diagramas de Flujo</big></b></span> <span style="font-size:100%;"></span><span style="font-size:100%;"></span><span style="font-size:100%;"></span></p><p><span style="font-size:130%;">Se basan en la utilización de diversos símbolos para representar operaciones específicas.</span><big> Se les llama diagramas de flujo porque los símbolos utilizados se conectan por medio de flechas para indicar la secuencia de operación.</big></p><p><big>La simbología utilizada para la elaboración de diagramas de flujo es variable y debe ajustarse a un patrón definido previamente.</big></p><span style="font-size:7;"><b></b></span><p><span style="font-size:100%;"></span></p><p align="center"><span style="COLOR: rgb(128,0,0);font-size:130%;" ><strong>SIMBOLOGIA UTILIZADA EN LOS DIAGRAMAS DE FLUJO</strong></span></p><p align="left"><span style="font-size:100%;"><strong><span style="COLOR: rgb(255,0,0)">Símbolo Función</span></strong></span></p><p align="center"><span style="font-size:100%;"></span></p><p align="center"><img height="777" alt="Simbolos1.gif (11204 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/simbolos1.gif" width="545" /></p><p align="center"><img height="521" alt="simbolos2.gif (5451 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/simbolos2.gif" width="498" /></p><p></p><p></p><p><span style="COLOR: rgb(0,0,160)"><big>Ejemplo</big></span>: </p><p><big>Calcular el salario neto de un trabajador en función del número de horas trabajadas, precio de la hora de trabajo y considerando unos descuentos fijos al salario bruto en concepto de impuestos (20 por 100).</big></p><p align="center"><img height="527" alt="DiagFlujo.gif (3532 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/diagflujo.gif" width="145" /></p><p align="center"></p><p align="left"><span style="COLOR: rgb(128,0,0)"><strong><big>Ejemplo:</big></strong></span></p><p align="left"><big>Realizar un diagrama de flujo que permita mostrar en pantalla un mensaje de mayoría o minoría de edad según sea el caso para un nombre específico.</big></p><p align="center"><img height="770" alt="dflujo.gif (5170 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/dflujo.gif" width="459" /></p><p align="center">
<br /></p><p align="center">
<br /></p><p align="center"><big><big><span style="COLOR: rgb(255,0,0)"><strong>"Estructuras Algorítmicas"</strong></span></big></big></p><p align="center"><img height="4" alt="moteado.gif (2795 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/moteado.gif" width="500" /></p><p align="left"></p><table cellspacing="0" cellpadding="0" width="100%" border="0" msimagelist=""><tbody><tr msimagelist=""><td valign="top" width="42" msimagelist=""><img height="13" hspace="14" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bola2.gif" width="13" /></td><td valign="top" width="100%"><p align="left"><a href="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/tema_61.htm" target="principal"><big><span style="COLOR: rgb(0,0,160)"><strong>Secuenciales</strong></span></big></a></p></td></tr><tr msimagelist=""><td valign="baseline" width="42" msimagelist=""><img height="13" hspace="14" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bola2.gif" width="13" /></td><td valign="top" width="100%"><p align="left"><a href="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/tema_62.htm" target="principal"><big><span style="COLOR: rgb(0,0,160)"><strong>Condicionales</strong></span></big></a></p></td></tr></tbody></table>
<br />
<br />
<br />
<br />
<br />
<br />
<br /><p>
<br /></p><b><span style="COLOR: rgb(255,0,0)"><big><big>Estructura Secuencial</big></big></span></b>
<br />
<br />
<br />
<br /><p><b><i><big></big></i></b><big>Es aquélla en la que una acción (instrucción) sigue a otra en secuencia. Las tareas se suceden de tal modo que la salida de una es la entrada de la siguiente y así suscesivamente hasta el fin del proceso. La estructura secuencial tiene una entrada y una salida. Su representación gráfica es la siguiente:</big></p><p></p><p align="center"><span style="COLOR: rgb(0,0,255)"><big>ESTRUCTURA SECUENCIAL</big></span></p><p align="center"><img height="192" alt="EstSecuencial.gif (1532 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/estsecuencial.gif" width="77" /></p><p><big>....</big></p><big></big><p align="center"><span style="COLOR: rgb(0,0,255)"><big>PSEUDOCODIGO DE UNA ESTRUCTURA SECUENCIAL</big></span></p><p align="center"><big>Inicio</big></p><p><big>:</big></p><p><big>:</big></p><p align="center"><big>acciones</big></p><p align="center"><big>:</big></p><p align="center"><big>:</big></p><p align="center"><big>fin</big></p><p align="center"></p><p><span style="COLOR: rgb(0,128,0)"><big></big><img height="13" alt="bola2.gif (995 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bola2.gif" width="13" /> <b><big>Ejemplo:</big></b></span></p><p><big>Calcular el salario neto de un trabajador en función del número de horas trabajadas, precio de la hora de trabajo y considerando unos descuentos fijos al sueldo bruto en concepto de impuestos (20 por 100).</big></p><p></p><p><span style="COLOR: rgb(0,0,255)"><big><b>Pseudocódigo</b></big></span></p><blockquote><blockquote><p><big>Inicio</big></p><p><span style="COLOR: rgb(0,0,160)"><big>{cálculo salario neto}</big></span></p><blockquote><p><big><b>leer</b> nombre, horas, precio_hora</big></p><p><big>salario_bruto </big><img height="12" alt="Asignacion.gif (857 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/Asignacion.gif" width="30" /><big>horas * precio</big></p><p><big>impuestos </big><img height="12" alt="Asignacion.gif (857 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/Asignacion.gif" width="30" /><big> 0.20 * salario_bruto</big></p><p><big>salario_neto </big><img height="12" alt="Asignacion.gif (857 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/Asignacion.gif" width="30" /><big> salario_bruto_impuestos</big></p><p><big><b>escribir</b> nombre, salario_bruto, salario_neto_bruto, salario_neto</big></p></blockquote><p><big>Fin</big></p></blockquote></blockquote><p align="center"><big><b></b></big></p><p align="center"><big><big><span style="COLOR: rgb(0,0,255)">Diagrama de flujo</span></big></big></p><p align="center"><img height="527" alt="DiagFlujo.gif (3525 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/diagflujo.gif" width="145" /></p><p><b></b></p><b><big><span style="COLOR: rgb(255,0,0)"><big>Condicionales</big></span></big></b>
<br />
<br />
<br />
<br /><p><big>La especificación formal de algoritmos tiene realmente utilidad cuando el algoritmo requiere una descripción más complicada que una lista sencilla de instrucciones. Este es el caso cuando existen un número de posibles alternativas resultantes de la evaluación de una determinada condición.</big></p><p><big>Las estructuras selectivas se utilizan para tomar decisiones lógicas; de ahí que se suelan denominar también <span style="COLOR: rgb(0,0,160)"><strong><i>estructuras de decisión o alternativas.</i></strong></span></big></p><p><big>En las estructuras selectivas se evalúa una condición y en función del resultado la misma se realiza una opción u otra. Las condiciones se especifícan usando expresiones lógicas. La representación de una estructura selectiva se hace con palabras en pseudocódigo (if, then, else o bien en español si, entonces, sino), con una figura geométrica en forma de romba o bien con un triángulo en el interior de una caja rectangular.</big></p><p></p><p><big>Las estructuras selectivas o alternativas pueden ser:</big> </p><ul><li><big>Simples</big></li><li><big>Múltiples</big></li></ul><p></p><p><big><span style="COLOR: rgb(255,0,0)"><big><b>Alternativa Simple (si-entonces/if-then)</b></big></span></big></p><p><big>La estructura alternativa simple <b>si-entonces</b> (en inglés <b>if-then</b> o bien <b>IF-THEN</b> ) ejecuta una determinada acción cuando se cumple una determinada condición. La selección <b>si-entonces</b> evalúa la condición y . . .</big></p><p><big></big><img height="14" alt="bolroja.gif (334 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bolroja.gif" width="14" /><big> Si la condición es <em><strong>verdadera,</strong></em> entonces ejecuta la acción S1 (o acciones caso de ser S1 una acción compuesta y constar de varias acciones).</big></p><p></p><p><big></big><img height="14" alt="bolroja.gif (334 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bolroja.gif" width="14" /><big> Si la condición es <em><strong>falsa</strong></em>, entonces no hacer nada.</big></p><p></p><p><span style="COLOR: rgb(128,0,0)"><big>A continuación se muestra la gráfica de la estructura condicional simple.</big></span></p><p align="center"><big></big><img height="246" alt="condsim.gif (2329 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/condsim.gif" width="221" /></p><p><big></big></p><p></p><b></b><p><b><big><span style="COLOR: rgb(128,0,0)"><big>Pseudocódigo en español</big></span></big></b></p><blockquote><blockquote><blockquote><blockquote><blockquote><p><big>Si <condición>Entonces</CONDICIÓN></big></p><p><big><acción></ACCIÓN></big></p><p><big>Fin_si
<br /></big></p></blockquote></blockquote></blockquote></blockquote></blockquote><p></p><b></b><p><b><span style="COLOR: rgb(128,0,0)"><big><big>Pseudocódigo en inglés</big></big></span></b></p><blockquote><blockquote><blockquote><blockquote><blockquote><p><big>If <condición>then</CONDICIÓN></big></p><p><big><acción></ACCIÓN></big></p><p><big>end_if</big></p></blockquote></blockquote></blockquote></blockquote></blockquote><p></p><p><i><b><big><span style="COLOR: rgb(255,0,0)"><big>Alternativas Múltiples (según_sea, caso de / case)</big></span></big></b></i></p><p><big>Cuando existen más de dos elecciones (alternativas) posibles, es cuando se presenta el caso de alternativas múltiples. Si el número de alternativas es grande puede plantear serios problemas de escritura del algoritmo y naturalmente de legibilidad.</big></p><p><big>La estrucura de decisión múltiple evaluará una expresión que podrá tomar <i>n</i> valores distintos 1,2,3,4,..n . Según que elija uno de estos valores en la condición, se realizaráa una de las <i>n</i> acciones, o lo que es igual, el flujo del algoritmo seguirá un determinado camino entre los <i>n</i> posibles.</big></p><p></p><p><big>La representación gráfica se muestra a continuación:</big></p><p></p><p><big><span style="COLOR: rgb(128,0,0)"><big><b>Diagrama de Flujo</b></big></span></big></p><b></b><p align="center"><img height="189" alt="AlterMultiple.gif (3276 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/alter_multiple.gif" width="489" /></p><p></p><p></p><p><big><span style="COLOR: rgb(128,0,0)"><big><b>Pseudocódigo</b></big></span></big></p><b></b><p><b><span style="COLOR: rgb(0,0,160)"><big></big></span></b><span style="COLOR: rgb(0,0,160)"><big>En inglés la estructura de decisión múltiple se representa</big></span></p><p></p><blockquote><blockquote><blockquote><blockquote><blockquote><blockquote><p><big><b>Case</b> expresión <b>of</b></big></p><blockquote><p><big>[e1]: acción S1</big></p><p><big>[e2]: acción S2</big></p><p><big>:</big></p><p><big>[en]: acción Sn</big></p><p><b></b></p><b></b><p><b><big>else</big></b></p><p><big>acción Sx</big></p></blockquote><p><b></b></p><b></b><p><b><big>end_case</big></b></p><b></b></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><b></b><p><b></b></p><p><b></b></p><p><b><span style="COLOR: rgb(128,0,0)"><big>Ejemplo:</big></span></b></p><p><big>Se desea diseñar un algoritmo que escriba los nombres de los días de la semana en función del valor de una variable DIA introducida por teclado.</big></p><p><big>Los días de la semana son 7; por consiguiente, el rango de valores de DIA será 1..7, y caso de que DIA tome un valor fuera de este rango se deberá producir un mensaje de error advirtiendo la situación anómala.</big></p><p></p><blockquote><blockquote><blockquote><blockquote><blockquote><p><strong><big>Inicio</big></strong></p><blockquote><p><big>Leer DIA</big></p><p><big>Según_sea DIA hacer</big></p><blockquote><p><big>1: escribir('Lunes')</big></p><p><big>2: escribir('Martes')</big></p><p><big>3: escribir('Miércoles')</big></p><p><big>4: escribir('Jueves')</big></p><p><big>5: escribir('Viernes')</big></p><p><big>6: escribir('Sabado')</big></p><p><big>7: escribir('Domingo')</big></p></blockquote><p><big>else</big></p><blockquote><p><big>escribir('Error')</big></p></blockquote><p><big>fin_según</big></p></blockquote><p><strong><big>fin</big></strong></p></blockquote></blockquote></blockquote></blockquote></blockquote><p></p><p align="center"><big><big><span style="COLOR: rgb(0,0,255)"><strong><big>Estructuras Repetitivas</big></strong></span></big></big></p><p align="left"><big><big><big><span style="COLOR: rgb(0,0,255)"><strong></strong></span><span style="COLOR: rgb(0,0,0)"></span></big></big><span style="COLOR: rgb(0,0,0)">Las estructuras que repiten una secuencia de instrucciones un número determinado de veces se denominan <em><strong>Bucles</strong></em> y se denomina <em><strong>Iteración</strong></em> al hecho de repetir la ejecución de una secuencia de acciones. Entre las estructuras repetitivas se encuentran:</span></big></p><blockquote><blockquote><blockquote><blockquote><table cellspacing="0" cellpadding="0" width="100%" border="0" msimagelist=""><tbody><tr msimagelist=""><td valign="top" width="42" msimagelist=""><img height="13" hspace="14" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bola2.gif" width="13" /></td><td valign="top" width="100%"><p align="left"><big><span style="COLOR: rgb(0,0,0)">Mientras (while)</span></big></p></td></tr><tr msimagelist=""><td valign="baseline" width="42" msimagelist=""><img height="13" hspace="14" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bola2.gif" width="13" /></td><td valign="top" width="100%"><p align="left"><big><span style="COLOR: rgb(0,0,0)">Repetir (repeat) </span></big></p></td></tr><tr msimagelist=""><td valign="baseline" width="42" msimagelist=""><img height="13" hspace="14" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/bola2.gif" width="13" /></td><td valign="top" width="100%"><p align="left"><big><span style="COLOR: rgb(0,0,0)">Desde (for)</span></big></p></td></tr></tbody></table></blockquote></blockquote></blockquote></blockquote><p><big><span style="COLOR: rgb(255,0,0)"><big><big></big><b>1.- Estructura Mientras (while)</b></big></span></big></p><p><big>La estructura repetitiva while, es aquélla en que el cuerpo del bucle se repite mientras se cumple una determinada condición, su representación gráfica es:</big></p><p align="center"><big></big><img height="227" alt="while.gif (2331 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/while.gif" width="260" /></p><p align="center"></p><b></b><p></p><p><span style="COLOR: rgb(128,0,0)"><b><big>Pseudocódigo en español Pseudocódigo en inglés</big></b></span></p><p><big><strong>Mientras</strong> condición<strong> hacer </strong><strong>while</strong> condición <strong>do</strong></big></p><blockquote><p><big>Acción S1 <acciones></acciones></big></p><p><big>Acción S2 :</big></p><p><big>: <strong>End_while</strong></big></p><p><big>acción Sn</big></p></blockquote><p><strong><big>Fin_mientras</big></strong></p><p></p><p></p><p><big><span style="COLOR: rgb(128,0,0)"><big><b>Diagrama N-S</b></big></span></big></p><p align="center"><img height="105" alt="whileNassi.gif (1694 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/whilenassi.gif" width="217" /></p><p></p><p><span style="COLOR: rgb(0,0,160)"><big><strong>Ejemplo:</strong></big></span></p><p><big>Contar los números enteros positivos introducidos por teclado. Se consideran dos variables enteras NUMERO y CONTADOR (contará el número de enteros positivos). Se supone que se leen números positivos y se detiene el bucle cuando se lee un número negativo o cero.</big></p><p></p><p><span style="COLOR: rgb(128,0,0)"><strong><big><big>Pseudocódigo</big></big></strong></span></p><p><big><span style="COLOR: rgb(128,0,0)"><big><strong></strong></big></span><span style="COLOR: rgb(0,0,0)"><strong>Inicio</strong></span></big></p><blockquote><p><big><span style="COLOR: rgb(0,0,0)"><strong></strong>contador</span></big><img height="12" alt="Asignacion.gif (857 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/Asignacion.gif" width="30" /> <big>0</big></p><p><big><strong>Leer </strong>(numero)</big></p><p><big><span style="COLOR: rgb(0,0,255)">Mientras </span>numero > 0 <span style="COLOR: rgb(0,0,255)">hacer</span></big></p><p><big>contador</big><img height="12" alt="Asignacion.gif (857 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/Asignacion.gif" width="30" /><big> contador+1 </big></p><p><big><strong>Leer </strong>(numero)</big></p><p><big><span style="COLOR: rgb(0,0,255)">Fin_Mientras</span></big></p><p><big><strong>Escribir</strong>('El número de enteros positivos es : ', contador)</big></p></blockquote><p><big><span style="COLOR: rgb(0,0,0)"><strong>Fin</strong></span></big></p><p></p><p><big><span style="COLOR: rgb(128,0,0)"><strong><big>Diagrama de Flujo</big></strong></span></big></p><p align="center"><img height="526" alt="WhileEjem1DF.gif (4893 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/whileejem1df.gif" width="549" /></p><p align="center"></p><p><big><span style="COLOR: rgb(255,0,0)"><big><strong>Estructura Repetir (repeat)</strong></big></span></big> </p><p><big>Esta estructura se ejecuta hasta que se cumpla una condición determinada que se comprueba hasta el final del bucle. Se ejecuta al menos una vez.</big></p><p><big>El bucle <strong>repetir-Hasta_que</strong> se repite mientras el valor de la expresión booleana de la condicin sea falsa, justo la opuesta de la sentencia <strong><em>mientras</em>.</strong></big></p><p></p><p><strong><span style="COLOR: rgb(128,0,0)"><big>Pseudocódigo en Español Pseudocódigo en Inglés</big></span></strong></p><p></p><blockquote><p><big><strong>Repetir </strong><strong>Repeat </strong></big></p><p><big><acciones><acciones></acciones></acciones></big></p><p><big>: : </big></p><p><big><strong>Hasta que </strong><<em>condición</em>> <strong>Until </strong><<em>condición</em>> </big></p><p></p><p><strong><span style="COLOR: rgb(128,0,0)"><big><big>Diagrama de Flujo de Repetir</big></big></span></strong></p><p align="center"><img height="226" alt="repeatdf.gif (2375 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/repeatdf.gif" width="320" /></p></blockquote><p></p><span style="COLOR: rgb(255,0,0)"><big><strong><big>Estructura Desde/Para (for)</big></strong></big></span>
<br />
<br />
<br />
<br /><p><big>En muchas ocasiones se conoce de antemano el número de veces que se desean ejecutar las acciones de un bucle. En estos casos en el que el número de iteraciones es fija, se debe usar la estructura <em><strong>desde</strong></em> o <em><strong>para</strong></em>.</big></p><p><big>La estructura Desde ejecuta las acciones del cuerpo del bucle un número específico de veces y de modo automático controla el número de iteraciones o pasos a través del cuerpo del bucle.</big></p><p></p><p><span style="COLOR: rgb(128,0,0)"><strong><big>Pseudocódigo en Español Pseudocódigo en Inglés</big></strong></span></p><p><big><strong>Desde </strong>variable(v)= vi <strong>Hasta</strong> vf <strong>hacer</strong> <strong>For</strong> variable (v)= vi <strong>To</strong> vf <strong>Do</strong></big></p><p><big><acciones><acciones></acciones></acciones></big></p><p><big>: </big></p><p><big><strong>Fin_desde </strong></big></p><p></p><p><big>Donde:</big></p><p><big>v: Variable índice</big></p><p><big>vi, vf: Valores inicial y final de la variable</big></p><p><big></big></p><p></p><p><span style="COLOR: rgb(128,0,0)"><strong><big><big>Diagrama de Flujo de la estructura Desde/Para</big></big></strong></span></p><p align="center"><img height="527" alt="fordf.gif (4885 bytes)" src="http://sistemas.itlp.edu.mx/tutoriales/algoritmos/imagenes/fordf.gif" width="457" /></p><p align="center">
<br /></p><p align="center">
<br /></p><big><span style="COLOR: rgb(255,0,0)"><big><strong>Ejercicios:
<br />
<br />
<br /></strong></big></span></big><big><span style="COLOR: rgb(255,0,0)"><big><strong></strong></big></span></big><meta content="text/html; charset=utf-8" equiv="CONTENT-TYPE"><meta content="OpenOffice.org 3.0 (Linux)" name="GENERATOR"><style type="text/css"> <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } --> </style>
<br />
<br />
<br /><ol><li><p style="MARGIN-BOTTOM: 0cm">Escribir un algoritmo que lea un número y escriba su cuadrado.</p></li><li><p style="MARGIN-BOTTOM: 0cm">Determine el área y volumen de un cilindro cuyas dimensiones radio y altura se leen desde el teclado.</p></li><li><p style="MARGIN-BOTTOM: 0cm">Calcular el perímetro y la superficie de un rectángulo dadas la base y la altura.</p></li><li><p style="MARGIN-BOTTOM: 0cm">Realizar un algoritmo que sume dos números.</p></li><li><p style="MARGIN-BOTTOM: 0cm">Calcular la superficie de un circulo.</p></li><li><p style="MARGIN-BOTTOM: 0cm">Calcular el perímetro y la superficie de un rectángulo dadas la base y la altura del mismo.</p></li><li><p style="MARGIN-BOTTOM: 0cm">Determinar la hipotenusa de un triangulo rectángulo conocidas las longitudes de los catetos.</p></li><li><p style="MARGIN-BOTTOM: 0cm">Diseñar un algoritmo que realice la siguiente conversión: Una temperatura dada en grados Celsius a grados Fahrenheit. NOTA: La formula de conversión es Fª = (9/5)*C+32.</p></li><li><p style="MARGIN-BOTTOM: 0cm">Escriba un algoritmo que lea del teclado un número entero y que compruebe si es </p><p style="MARGIN-BOTTOM: 0cm">menor que 5. Si no lo es, debe volver a leer un número, repitiendo la operación hasta que el usuario escriba un valor correcto. Finalmente debe escribir por pantalla el valor leído. </p></li><li><p style="MARGIN-BOTTOM: 0cm">Modifique el algoritmo del problema 9 para que, en vez de comprobar que el número es </p><p style="MARGIN-BOTTOM: 0cm">menor que 5, compruebe que se encuentre en el rango (5,15). </p></li><li><p style="MARGIN-BOTTOM: 0cm">Modifique el algoritmo del problema 10 para que cuente las veces que ha leído un </p><p style="MARGIN-BOTTOM: 0cm">número del teclado y escriba el resultado por pantalla. </p></li><li><p style="MARGIN-BOTTOM: 0cm">Modifique el algoritmo del problema 11 para que se realicen 10 lecturas del teclado </p><p style="MARGIN-BOTTOM: 0cm">como máximo. </p></li></ol>
<br />
<br /><big><span style="COLOR: rgb(255,0,0)"><big><strong>Ejercicios Complementarios 1
<br />
<br />
<br /></strong></big></span></big><big><span style="COLOR: rgb(255,0,0)"><big><strong></strong></big></span></big><meta content="text/html; charset=utf-8" equiv="CONTENT-TYPE"><meta content="OpenOffice.org 3.0 (Linux)" name="GENERATOR"><style type="text/css"> <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } --> </style>
<br />
<br />
<br /><ol><li><p style="MARGIN-BOTTOM: 0cm; LINE-HEIGHT: 150%"><span style="font-size:100%;">Escribir un algoritmo que calcule el factorial de un numero </span></p></li><li><p style="MARGIN-BOTTOM: 0cm; LINE-HEIGHT: 150%"><span style="font-size:100%;">Diseñar un algoritmo que resuelva la ecuación de segundo grado </span></p></li><li><p style="LINE-HEIGHT: 150%"><span style="font-size:100%;">Leer una serie de números enteros e ir sumando hasta que se ingrese el numero 0, mostrar el resultado de la suma y la cantidad de números leídos.</span></p></li><li><p style="LINE-HEIGHT: 150%"><span style="font-size:100%;">Leer una serie de números enteros y decir cuantos son pares e impares, se deja de leer cuando se ingresa el numero -99.</span></p></li><li><p style="LINE-HEIGHT: 150%"><span style="font-size:100%;">Sumar los números pares del dos al 20 e imprimir su valor</span></p></li><li><p style="LINE-HEIGHT: 150%"><span style="font-size:100%;">Sumar los números impares del 1 al 21 e imprimir su valor</span></p></li><li><p style="LINE-HEIGHT: 150%"><span style="font-size:100%;">Determinar la cantidad total a pagar por una llamada telefónica, teniendo en cuenta lo siguiente: a) Toda llamada que dure menos de 5 minutos tiene un costo de 10 Bs. b) Cada minuto adicional a partir de los tres primeros es un paso de contador y cuesta 5 Bs.</span></p></li><li><p style="LINE-HEIGHT: 150%"><span style="font-size:100%;">Realizar un algoritmo que calcule el producto de los n primeros números naturales.</span></p></li></ol><p></p><p><span style="font-family:verdana;font-size:130%;"><span style="font-family:arial;"></span></span></p><p><span style="font-family:verdana;"><span style="font-size:130%;"><span style="font-family:arial;font-size:180%;color:#ff0000;"></span></span></span></p><p><span style="font-family:verdana;"><span style="font-size:130%;"><span style="font-family:arial;font-size:180%;color:#ff0000;"></span></span></span></p><p><span style="font-family:verdana;"><span style="font-size:130%;"><span style="font-family:arial;font-size:180%;color:#ff0000;"></span></span></span></p><p><span style="font-family:verdana;"><span style="font-size:130%;"><span style="font-family:arial;font-size:180%;color:#ff0000;">Ejercicios de Evaluacion (SECCION 702)</span> </span></span></p><p></p><p><span style="font-family:Verdana;font-size:130%;"></span></p><p><span style="font-size:130%;"></span></p><p><span style="font-size:130%;">1) Hacer un algortimo que permita escoger en un conjunto de N numeros naturales:</span></p><p><span style="font-size:130%;">*Cuales son menores que 15.· </span></p><p><span style="font-size:130%;">*Cuales son mayores de 50.· </span></p><p><span style="font-size:130%;">*Cuales estan comprendidos entre 25 y 50.</span></p><p><span style="font-size:130%;"></span></p><p><span style="font-size:130%;">2) A un trabajador le descuentan de su sueldo el 10% si su sueldo es menor o igual a 1000. por encima de 1000 y hasta 2000 el 5% del adicional, y por encima de 2000 el 3% del adicional. calcular el descuento y sueldo neto que recibe el trabajador dado su sueldo.</span></p><p><span style="font-size:130%;"></span></p><p><span style="font-size:130%;">3) Dado N notas de un estudiante calcular: </span></p><p><span style="font-size:130%;">a) Cuantas notas tiene desaprobados. </span></p><p><span style="font-size:130%;">b) Cuantos aprobados. </span></p><p><span style="font-size:130%;">c) El promedio de notas. </span></p><p><span style="font-size:130%;">d) El promedio de notas aprobadas y desaprobadas.</span></p><p><span style="font-size:130%;"></span></p><p><span style="font-size:130%;">4) Calcular y visualizar la suma y el producto de los números pares comprendidos entre 2 y 0 ambos inclusive.</span></p><p></p><p></p><p></p>
<br /><meta content="text/html; charset=utf-8" equiv="CONTENT-TYPE">
<br /><p align="left"><span style="font-size:180%;color:#ff0000;">SEUDOCODIGO</span></p><p align="left"></p><p align="left"><span style="font-size:180%;">Favor descargar e intalar el siguiente programa para trabajar con seudocodigo.</span></p><p align="left"><a href="http://pseint.sourceforge.net/"><span style="font-size:180%;">http://pseint.sourceforge.net/</span></a></p>
<br />Ing. Adolfo Alejandro Acevedo Rioshttp://www.blogger.com/profile/11282121626340856175noreply@blogger.com9tag:blogger.com,1999:blog-7913237717190646388.post-23147370012594451612009-05-08T10:42:00.000-07:002009-05-22T13:26:24.516-07:00PLAN DE EVALUACION Y CONTENIDO<title></title> <meta name="GENERATOR" content="OpenOffice.org 3.0 (Linux)"> <style type="text/css"> <!-- @page { margin: 2cm } TD P { margin-bottom: 0cm } P { margin-bottom: 0.21cm } --> </style> <p style="margin-bottom: 0cm;" align="center"><span style="font-size:130%;"><b>PLAN DE <u>EVALUACION</u></b></span></p><p style="margin-bottom: 0cm;" align="center"><span style="font-size:130%;"><b><u>
<br /></u></b></span></p> <meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"> <title></title> <meta name="GENERATOR" content="OpenOffice.org 3.0 (Linux)"> <style> <!-- BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Nimbus Sans L"; font-size:x-small } --> </style> <table style="width: 920px; height: 248px;" border="0" cellspacing="0" cols="3" rules="none" frame="void"> <colgroup><col width="681"><col width="76"><col width="127"></colgroup> <tbody> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="left" width="681" height="23"><span style="font-size:130%;"><b>CONCEPTO</b></span></td> <td style="border: 1px solid rgb(0, 0, 0);" align="left" width="76"><span style="font-size:130%;"><b>FECHA</b></span></td> <td style="border: 1px solid rgb(0, 0, 0);" align="left" width="127"><span style="font-size:130%;"><b>PORCENTAJE</b></span></td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="left" height="23"><span style="font-size:130%;">Asistencia</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="39993" sdnum="8202;0;DD/MM/AA" align="right"><span style="font-size:130%;">29/06/09</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="0,1" sdnum="8202;0;0,00%" align="right"><span style="font-size:130%;">10,00%</span></td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="left" height="23"><span style="font-size:130%;">Portafolio</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="39993" sdnum="8202;0;DD/MM/AA" align="right"><span style="font-size:130%;">29/06/09</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="0,2" sdnum="8202;0;0,00%" align="right"><span style="font-size:130%;">20,00%</span></td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="left" height="23"><span style="font-size:130%;">Examen 1: Algortimo Natural, Diagrama de Flujo, Estructuras de control, corrida en frio.</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="39936" sdnum="8202;0;DD/MM/AA" align="right"><span style="font-size:130%;">03/05/09</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="0,15" sdnum="8202;0;0,00%" align="right"><span style="font-size:130%;">15,00%</span></td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="left" height="23"><span style="font-size:130%;">Examen 2: Sedudocodigo</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="39965" sdnum="8202;0;DD/MM/AA" align="right"><span style="font-size:130%;">01/06/09</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="0,15" sdnum="8202;0;0,00%" align="right"><span style="font-size:130%;">15,00%</span></td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="left" height="23"><span style="font-size:130%;">Examen 3: Programacion Modular, Procedimientos y Funciones</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="39993" sdnum="8202;0;DD/MM/AA" align="right"><span style="font-size:130%;">29/06/09</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="0,2" sdnum="8202;0;0,00%" align="right"><span style="font-size:130%;">20,00%</span></td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="left" height="23"><span style="font-size:130%;">Proyecto Final</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="39993" sdnum="8202;0;DD/MM/AA" align="right"><span style="font-size:130%;">29/06/09</span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="0,2" sdnum="8202;0;0,00%" align="right"><span style="font-size:130%;">20,00%</span></td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="left" height="23"><span style="font-size:130%;"><b>TOTAL</b></span></td> <td style="border: 1px solid rgb(0, 0, 0);" align="left"><span style="font-size:130%;">
<br /></span></td> <td style="border: 1px solid rgb(0, 0, 0);" sdval="1" sdnum="8202;0;0,00%" align="right"><span style="font-size:130%;">100,00%</span></td> </tr> </tbody> </table> <p style="margin-bottom: 0cm;" align="center"><span style="font-size:130%;"><u><b>
<br /></b></u></span></p><p style="margin-bottom: 0cm;" align="center"><span style="font-size:130%;"><u><b>CONTENIDO</b></u></span></p><p style="margin-bottom: 0cm;" align="center"><span style="font-size:130%;"><u><b>
<br /></b></u></span></p> <p style="margin-bottom: 0cm;" align="justify"><span style="font-size:130%;"><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b>Unidad 1</b></span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;">: </span></span><span style="color: rgb(0, 0, 0);"><span style="font-family:Arial,sans-serif;"><b>Algoritmo y Programas</b></span></span></span></p> <ul><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Concepto de Algoritmos y Programas.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Lenguaje algorítmico y de programación.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Partes de un algoritmo.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Características y elementos para construir un algoritmo.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Formas de representar un algoritmo: Lenguaje Natural, pseudocódigo y diagrama de flujo.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Traza de un algoritmo (corrida en frío).</span></p> </li></ul><span style="font-size:130%;">
<br /></span><p style="margin-bottom: 0cm;" align="justify"><span style="font-size:130%;"><span style="font-family:Arial,sans-serif;"><b>Unidad 3: Datos y Entidades Primitivas</b></span><span style="font-family:Arial,sans-serif;"> </span></span> </p> <ul><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Concepto y diferencia entre dato e información, tipos de datos.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Los Operadores: Concepto y tipos de operadores. </span> </p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Las Expresión: concepto, tipos y evaluación de expresiones, Los Identificadores: Concepto, Reglas de escritura, las variables: clasificación de variables según su contenido (numéricas, lógicas y alfanuméricas) y su uso (de trabajo, contador y acumulador), constantes.</span></p> </li></ul><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>
<br /></b></span><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>Unidad 4: Metodología </b></span><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>para e</b></span><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>l Análisis </b></span><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>y Planteamiento de Problemas </b></span> </p> <ul><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Identificación del Problema.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Identificación de los datos necesarios (entradas).</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Identificación de los datos a obtener (salidas).</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Descripción de las operaciones a utilizar (cálculos).</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Descripción de los pasos para llegar a la solución (procesos).</span></p> </li></ul> <p style="margin-left: 1.27cm; text-indent: -0.64cm; margin-bottom: 0cm;" align="justify"><span style="font-size:130%;">
<br /></span></p><span style="font-size:130%;">
<br /></span><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>Unidad 5: Programación Estructurada</b></span> <ul><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Teoremas de la programación estructurada.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Estructuras de control:</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Estructuras de decisión: concepto, tipos y sintaxis: Condicional, simples, dobles, múltiples, anidadas y selectiva. </span> </p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Estructuras de control iterativas</span><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>: </b></span><span style=";font-family:Arial,sans-serif;font-size:130%;" >Concepto y tipos, Ciclo Mientras y Repetir: sintaxis y métodos para salir del ciclo. Ciclo</span><span style=";font-family:Arial,sans-serif;font-size:130%;" > </span><span style=";font-family:Arial,sans-serif;font-size:130%;" >Para: Sintaxis. Ciclos anidados</span><span style="font-size:130%;">.</span></p> </li></ul> <p style="margin-bottom: 0cm;" align="justify"><span style="font-size:130%;">
<br /></span></p><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>Unidad 6: Programación Modular</b></span></p> <ul><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Funciones y procedimientos: Definición y Declaración.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Ámbito de variables: Datos locales y globales.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style="color: rgb(0, 0, 0);font-size:130%;" ><span style="font-family:Arial,sans-serif;"><span style="font-weight: normal;">Llamada de una función y pase d parámetros.</span></span></span></p> </li></ul> <p style="margin-left: 1.88cm; text-indent: -0.64cm; margin-bottom: 0cm;" align="justify"><span style="font-size:130%;">
<br /></span></p><p style="margin-left: 1.88cm; text-indent: -0.64cm; margin-bottom: 0cm;" align="justify"><span style="font-size:130%;">
<br /></span></p><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>Unidad 2: Estándares de Calidad en el Diseño de Algoritmos y</b></span> <p style="margin-bottom: 0cm;" align="justify"> <span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>Construcción de Programas</b></span></p> <ul><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Introducción a los estándares de calidad.</span></p> </li></ul> <ul><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Forma de trazabilizar un algoritmo.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Formas y técnicas de documentar algoritmos y programas.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Introducción a la elaboración del manual del sistema, usuario y programas.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style="color: rgb(0, 0, 0);font-size:130%;" ><span style="font-family:Arial,sans-serif;"><span style="font-weight: normal;">Técnicas de escritura y pruebas de algoritmos y programas. </span></span></span> </p> </li></ul><span style="font-size:130%;">
<br /></span><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" ><b>Unidad 7: Técnicas de Mantenimiento de Programas</b></span></p> <ul><li><p style="margin-bottom: 0cm;" align="justify"><span style=";font-family:Arial,sans-serif;font-size:130%;" >Técnica de prueba caja negra.</span></p> </li><li><p style="margin-bottom: 0cm;" align="justify"><span style="color: rgb(0, 0, 0);font-size:130%;" ><span style="font-family:Arial,sans-serif;"><span style="font-weight: normal;">Reingeniería de programas.</span></span></span></p> </li></ul> <p style="margin-left: 1.88cm; text-indent: -0.64cm; margin-bottom: 0cm;" align="justify"><span style="font-size:130%;">
<br /></span></p><span style="font-size:130%;">
<br />
<br /></span><div style="text-align: center;"><span style="color: rgb(0, 0, 0);font-size:130%;" ><span style="font-family:Arial,sans-serif;"><u><b>RECURSOS</b></u></span></span></div> <p style="margin-bottom: 0cm;" align="center"><span style="font-size:130%;">
<br /></span></p> <p style="margin-bottom: 0cm; font-weight: normal; text-decoration: none;" align="justify"> <span style="color: rgb(0, 0, 0);font-size:130%;" ><span style="font-family:Arial,sans-serif;">BIBLIOGRAFIA:</span></span></p> <ol><li><p style="margin-bottom: 0cm; font-weight: normal; text-decoration: none;" align="justify"> <span style="color: rgb(0, 0, 0);font-size:130%;" ><span style="font-family:Arial,sans-serif;">L. Joyanes. Fundamentos de programación. Ed. McGraw-Hill, 1996, 2002.</span></span></p> </li><li><p style="margin-bottom: 0cm; font-weight: normal; text-decoration: none;" align="justify"> <span style="color: rgb(0, 0, 0);font-size:130%;" ><span style="font-family:Arial,sans-serif;"><span lang="en-US">G. Bassard, P. Bratley. </span>Fundamentos de algoritmia. Ed. Prentice-Hall, 1998.</span></span></p> </li></ol> <p style="margin-bottom: 0cm; font-weight: normal; text-decoration: none;" align="justify">
<br /></p>Ing. Adolfo Alejandro Acevedo Rioshttp://www.blogger.com/profile/11282121626340856175noreply@blogger.com8