Академический Документы
Профессиональный Документы
Культура Документы
CUMRAL META
PLANTILLA DE PRESENTACION DE PROGRAMAS TERCER PERIODO
PROFESOR: JORGE ALEJANDRO OBANDO BASTIDAS
ESTUDIANTES:
1: JUAN DIEGO MONTAA ROJAS
2: DANIELA FERNANDA MONSALVE MENDEZ
PRIMER PUNTO
Problema planteado
Variables de prueba
Resultados
Primera Nota=2.9
Segunda Nota=3.0
Tercera Nota=4.0
Nota Definitiva=3,3
Objetos
Nombre
Propiedades
Form1
Nombre: ApruebaOReprueba
Caption: Notas definitivas
BackColor: &H0080FFFF&
Picture
Label 1
Label 2
Label 3
Label 4
Label 5
Nombre: ND
Caption:
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
BorderStyle: 1- Fixed Single
Command1
Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,
Command2
Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman
Text1
Nombre: N1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text2
Text3
Cdigo del
programa
Nombre: N2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Nombre: N3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
SEGUNDO PUNTO
Problema planteado
Variables de prueba
Resultados
Primer Artculo=50000
Segundo Articulo=30000
Tercer Articulo=60000
Objetos
Nombre
Form1
Propiedades
Nombre: RebajaDe3Articulos
Caption: RebajaDe3Articulos
BackColor: &H0080FFFF&
Picture
Label 1
Label 2
Label 3
Label 4
Label5
Caption: Rebaja
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label6
Nombre VT
Caption:
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
BorderStyle: 1- Fixed Single
Label7
Nombre: R
Caption:
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
BorderStyle: 1- Fixed Single
Command1
Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,
Command2
Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman
Text1
Nombre: A1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text2
Nombre: A2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text3
Nombre: A3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
TERCER PUNTO
Problema planteado
Variables de
prueba
Resultados
Primera Nota=4.0
Segunda Nota=5.0
Tercera Nota=2.0
Cuarta Nota=3.5
Objetos
Nombre
Propiedades
Form1
Nombre: GanaBeca
Caption: Gana beca
BackColor: &H0080FFFF&
Picture
Label 1
Label 2
Label 3
Label 4
Label 5
Label 6
Nombre: ND
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single
Command1
Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,
Command2
Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman
Cdigo del
programa
Text1
Nombre: N1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text2
Nombre: N2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text3
Nombre: N3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text4
Nombre: N4
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
CUARTO PUNTO
Problema planteado
Compre 5 artculos, si
la compra supera
$500.000, rebaja de
10%, si no rebaja del
solo 5%
Variables de
prueba
Resultados
Valor De X=1,375
A=4
B=9
C=2
Objetos
Nombre
Propiedades
Form1
Nombre: RebajaDe5Articulos
Caption: Rebaja de 5 articulos
BackColor: &H0080FFFF&
Picture
Label 1
Label 2
Label 3
Label 4
Label 5
Label 6
Label 7
Label 8
Label 9
Nombre: VA
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single
Label 10
Nombre: R10
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single
Label 11
Nombre: R5
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single
Command1
Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,
Command2
Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman
Text1
Nombre: A1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text2
Nombre: A2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Cdigo del
programa
Text3
Nombre: A3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text4
Nombre: A4
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text5
Nombre: A5
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
QUINTO PUNTO
Problema planteado
Sea S =
, la operacin de
3 nmeros; si C 0
entonces S tiene valor si no
S no existe
Variables de prueba
Resultados
A=6
B=10
C=5
Objetos
Nombre
Propiedades
Form1
Nombre: ValorDeS
Caption: Valor de s
BackColor: &H0080FFFF&
WindowState: 2-Maximized
Picture
Label 1
Caption: A
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 2
Caption: B
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 3
Caption: C
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 4
Label5
Nombre: ValorT
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single
Command1
Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,
Command2
Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman
Text1
Nombre: A
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text2
Nombre: B
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text3
Nombre: C
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
SEXTO PUNTO
Problema planteado
Sea = + . Si
(A+B) >=0 entonces R
tiene solucin si no, no
existe solucin.
Variables de prueba
Resultados
A= 6
B=5
Objetos
Nombre
Propiedades
Form1
Nombre: ValorDeR
Caption: Valor de R
BackColor: &H0080FFFF&
WindowState: 0 - Normal
Picture
Label 1
Caption: A
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 2
Caption: B
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 3
Label 4
Nombre: ValorT
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single
Command1
Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,
Command2
Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman
Text1
Nombre: A
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text2
Nombre: B
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
SEPTIMO PUNTO
Problema planteado
Variables de prueba
Resultados
Ao de nacimiento=1999
Tu edad es= 17
Ao actual=2016
Objetos
Nombre
Propiedades
Form1
Nombre: FiestaOMicrofutbol
Caption: Fiesta O Microfutbol
BackColor: &H0080FFFF&
WindowState: 0 - Normal
Picture
Label 1
Caption: Ao de nacimiento
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 2
Caption: Ao actual
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 3
Label 4
Caption: Tu edad es
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label5
Nombre: Edad
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single
Command1
Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,
Command2
Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman
Text1
Nombre: FechaN
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text2
Nombre: FechaA
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
OCTAVO PUNTO
Problema planteado
Si el IVA de la compra
de 5 artculos es mayor a
100.000, se le devuelve
50.000 si no, no hay
vueltas.
Variables de prueba
Resultados
Articulo 1= 100000
Articulo 2= 150000
Articulo 3= 275500
Articulo 4= 66600
Articulo 5= 165500
Objetos
Nombre
Propiedades
Form1
Nombre: IvaDeLaCompra
Caption: Iva de la compra
BackColor: &H0080FFFF&
WindowState: 2 - Maximized
Picture
Label 1
Caption: Articulo 1
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 2
Caption: Articulo 2
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 3
Caption: Articulo 3
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 4
Caption: Articulo 4
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 5
Caption: Articulo 5
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent
Label 6
Label 7
Backstyle: 0-Transparent
Label 8
Nombre: TotalC
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single
Label 9
Nombre: I
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single
Command1
Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,
Command2
Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman
Text1
Nombre: A1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text2
Nombre: A2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text3
Nombre: A3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text4
Nombre: A4
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Text5
Nombre: A5
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single