miércoles, 22 de mayo de 2013

EJERCICIO DE MENÚS - QUIZ

HACER UN ALGORITMO CON MENÚS , UN QUIZ TIPO ICFES, Y QUE SOLO DE 4 OPCIONES MÁXIMO POR PREGUNTA PARA RESPONDER.

SOLUCIONES:


Proceso QUIZ_PROGRAMACION
RPTA<-0;
VECES<-0;
NOTA<-5.0;
MIENTRAS VECES<4 HACER
Escribir "";
Escribir " A) ¿QUE ES UN PROGRAMA? ";
Escribir "";
Escribir " 1. UNA SERIE DE INSTRUCCIONES EJECUTADAS POR EL USUSARIO ";
Escribir "";
Escribir " 2. CUANDO UN PROGRAMADOR INVENTA UN SOFTWARE ";
Escribir "";
Escribir " 3. SERIE O SECUENCIA DE PASOS O INSTRUCCIONES, TAREAS Y ACTIVIDADES PARA ";
Escribir "    ALCANZAR UN OBJETIVO Y RESOLVER UN PROBLEMA ";
Escribir "";
Escribir " 4. NINGUNA DE LAS ANTERIORES ";
Escribir "";
Escribir " ESCRIBA SU RESPUESTA SEGUN EL NUMERO RESPECTIVO ";
Escribir "";
LEER RPTA;
Escribir "";
SI RPTA<>3 ENTONCES
NOTA<-NOTA-0.2
VECES<-VECES+1;
Sino
VECES<-4
FINSI
FINMIENTRAS
VECES<-0;
MIENTRAS VECES<4 HACER
Escribir "";
Escribir " B) ¿QUE ES PROGRAMAR? ";
Escribir "";
Escribir " 1. PROCESO POR EL CUAL SE INVENTA ALGO ";
Escribir "";
Escribir " 2. ARTE POR MEDIO DE LA CUAL SE DESARROLLA UN PROGRAMA ";
Escribir "";
Escribir " 3. LA 1 Y LA 2 ";
Escribir "";
Escribir " 4. NINGUNA DE LAS ANTERIORES ";
Escribir "";
Escribir " ESCRIBA SU RESPUESTA SEGUN EL NUMERO RESPECTIVO ";
Escribir "";
LEER RPTA;
Escribir "";
SI RPTA<>2 ENTONCES
NOTA<-NOTA-0.2
VECES<-VECES+1;
Sino
VECES<-4
FINSI
FINMIENTRAS
VECES<-0;
MIENTRAS VECES<4 HACER
Escribir "";
Escribir " C) ¿QUE SISTEMA DE COMUNICACION ENTIENDE UN COMPUTADOR? ";
Escribir "";
Escribir " 1. SISTEMA DE DIAGRAMAS DE FLUJO ";
Escribir "";
Escribir " 2. SISTEMAS DE INFORMACION  ";
Escribir "";
Escribir " 3. SISTEMA BINARIO ";
Escribir "";
Escribir " 4. NINGUNA DE LAS ANTERIORES ";
Escribir "";
Escribir " ESCRIBA SU RESPUESTA SEGUN EL NUMERO RESPECTIVO ";
Escribir "";
LEER RPTA;
Escribir "";
SI RPTA<>3 ENTONCES
NOTA<-NOTA-0.2
VECES<-VECES+1;
Sino
VECES<-4
FINSI
FINMIENTRAS
VECES<-0;
MIENTRAS VECES<4 HACER
Escribir "";
Escribir " D) DENTRO DE LOS SOFTWARE CREADOS PARA APRENDER A PROGRAMAR ESTAN: ";
Escribir "";
Escribir " 1. MICROSOF OFFICE Y NERO ";
Escribir "";
Escribir " 2. SISTEMAS OPERATIVOS WINDOWS, LINUX Y MAC  ";
Escribir "";
Escribir " 3. TODAS LAS OPCIONES: 1, 2 Y 4 ";
Escribir "";
Escribir " 4. JAVA, DFD Y PSEINT, ENTRE OTROS ";
Escribir "";
Escribir " ESCRIBA SU RESPUESTA SEGUN EL NUMERO RESPECTIVO ";
Escribir "";
LEER RPTA;
Escribir "";
SI RPTA<>4 ENTONCES
NOTA<-NOTA-0.2
VECES<-VECES+1;
Sino
VECES<-4
FINSI
FINMIENTRAS
VECES<-0;
MIENTRAS VECES<4 HACER
Escribir "";
Escribir " E) ¿CUALES SON LOS PASOS PARA CREAR UN SOFTWARE? ";
Escribir "";
Escribir " 1. INVESTIGAR - EXPLORAR - EJECUTAR ";
Escribir "";
Escribir " 2. IDENTIFICAR EL PROBLEMA - ANALISIS DEL SISTEMA ";
ESCRIBIR "  - CONSTRUCCION Y HACER PRUEBAS ";
Escribir "";
Escribir " 3.  DESCUBRIR - ANALISAR - EVALUAR - INGENIAR ";
Escribir "";
Escribir " 4. TODAS LA ANTERIORES ";
Escribir "";
Escribir " ESCRIBA SU RESPUESTA SEGUN EL NUMERO RESPECTIVO ";
Escribir "";
LEER RPTA;
Escribir "";
SI RPTA<>2 ENTONCES
NOTA<-NOTA-0.2
VECES<-VECES+1;
Sino
VECES<-4
FINSI
FINMIENTRAS
SI NOTA>0.1 Y NOTA<2.9 ENTONCES
Escribir " SU NOTA ES ", NOTA;
Escribir "";
ESCRIBIR " USTED HA REPROBADO, SU NOTA ES BAJA, "
ESCRIBIR " HAY QUE PONER MAS VOLUNTAD Y ESTUDIAR MAS!!! ";
FinSi
SI NOTA>3.0 Y NOTA<4.0 ENTONCES
Escribir " SU NOTA ES ", NOTA;
Escribir "";
ESCRIBIR " USTED HA APROBADO Y SU RENDIMIENTO ES MEDIO, MAS DEDICACION, FELICITACIONES!!! ";
FinSi
SI NOTA>4.0 Entonces
Escribir " SU NOTA ES ", NOTA;
Escribir "";
ESCRIBIR " USTED HA APROBADO Y SU RENDIMIENTO ES ALTO, FELICITACIONES!!! ";
ESCRIBIR " SIGUE ASI Y TRIUNFARAS ";
FINSI
FinProceso

No hay comentarios:

Publicar un comentario