Professional Documents
Culture Documents
Cuadro de identificacin
Nombre alumno:
Semestre:
Nombre Profesor:
Plantel:
Localidad y Estado:
Fecha de
aplicacin:
Modulo I:
Submdulo 1:
Contenido:
Actividad:
Modelo E P S
1. PROBLEMA
Elaborar
Grupo:
No. Equipo:
Turno:
programacin
estructurada,
con
ANLISIS
un 1. Informacin a producir:
NOMBRE DEL EMPLEADO:
programa para presentar el nombre
SUELDO DEL EMPLEADO:
y calcular e imprimir el sueldo de un
empleado, conociendo el nombre del 2. Datos disponibles:
NOMBRE.
empleado, horas trabajadas y la
HORAS TRABAJADAS.
cuota por hora laborada.
CUOTA POR HORA.
a. Entrada:
3. Proceso:
NOMBRE.
SUELDO = HORAS
HORAS TRABAJADAS.
TRABAJADAS * CUOTA POR
CUOTA POR HORA.
b. Proceso:
HORA LABORADA.
SUELDO = HORAS TRABAJADAS
* LA CUOTA POR HORA
LABORADA.
c. Salida:
NOMBRE DEL EMPLEADO:
SUELDO DEL EMPLEADO:
ALGORITMO
Algoritmo: Calcular el sueldo de un Empleado
1. Definir variables:
NOMBRE: Alfanumrica [Cadena]
SUELDO: Real
HRSTRAB: Entero
CUOTAHR: Real
2. Solicitar:
CAPTURA EL NOMBRE DEL EMPLEADO: [NOMBRE]
CAPTURA LAS HORAS TRABAJADAS: [HRSTRAB]
CAPTURA LA CUOTA POR HORA: [CUOTAHR]
3. Leer:
[HRSTRAB]
[CUOTAHR]
4. Calcular:
SUELDO = HRSTRAB*CUOTAHR
5. Imprimir:
EL NOMBRE DEL EMPLEADO ES: [NOMBRE]
EL SUELDO DEL EMPLEADO ES: [SUELDO]
6. Fin
Informacin a producir:
Dinero total
2.
Datos disponibles:
Capital, tiempo, tasa
3.
Proceso:
4. Calcular:
Interes = Capital *tasa/100*tiempo/12
5. Imprimir:
EL INTERES GANADA EN UN MES ES: [Interes]
6. Fin
Salida: Inters
3. PROBLEMA Un vendedor
recibe un sueldo base ms un
10% extra por comisin de sus
ventas, el vendedor desea
saber cunto dinero obtendr
por concepto de comisiones
por las tres ventas que realiza
en el mes y el total que
recibir en el mes tomando en
cuenta su sueldo base y
comisiones.
a. Entrada:
Sueldo base
1.
Informacin a producir:
%ventas
sueldo total
2.
3.
Datos disponibles:
Sueldo base
% Ventas
Proceso:
CAPTURA LA VENTA 3:
Venta1
Venta2
Venta3
[Venta 3]
3.
Leer:
[Sueldo Base]
[Venta 1]
[Venta 2]
[Venta 3]
b. Proceso:
%Venta=(Venta1 + Venta2
+ Venta3) *00.1
Sueldo total= sueldo base
+ %ventas
4.
Calcular:
Ptje_Ventas=(Venta1 + Venta2 +
Venta3) *0.1 Sueldo_total= sueldo base + Ptje_ventas
c. Salida:
%ventas, sueldo total
5.
Imprimir:
EL 10% DE LAS VENTAS ES:
[Ptje_Ventas]
2. PROBLEMA
3. PROBLEMA
1.
Informacin a producir:
2.
Datos disponibles:
3.
Proceso:
1.
Informacin a producir:
2.
Datos disponibles:
3.
Proceso:
Solicitar:
3.
Leer:
4.
Calcular:
5.
Imprimir:
6.
Fin
Algoritmo:
1.
Definir variables:
2.
Solicitar:
3.
Leer:
4.
Calcular:
5.
Imprimir:
4. PROBLEMA
5. PROBLEMA
6. PROBLEMA
1.
Informacin a producir:
2.
Datos disponibles:
3.
Proceso:
1.
Informacin a producir:
2.
Datos disponibles:
3.
Proceso:
1.
Informacin a producir:
2.
Datos disponibles:
3.
Proceso:
6.
Fin
Algoritmo:
1.
Definir variables:
2.
Solicitar:
3.
Leer:
4.
Calcular:
5.
Imprimir:
6.
Fin
Algoritmo:
1.
Definir variables:
2.
Solicitar:
3.
Leer:
4.
Calcular:
5.
Imprimir:
6.
Fin
Algoritmo:
1.
Definir variables:
2.
Solicitar:
3.
Leer:
4.
Calcular:
5.
Imprimir:
6.
Fin