Vous êtes sur la page 1sur 25

INSTITUCION EDUCATIVA JOSE ANTONIO GALAN

CUMARAL-META
PLANTILLA DE PRESENTACION DE PROGRAMAS- TERCER PERIODO
PROFESOR: JORGE ALEJANDRO OBANDO BASTIDAS
ESTUDIANTES:
1: JUAN SEBASTIAN TRILLERAS GUZMAN.
2: NATALIA RODRIGUEZ BUITRAGO.
3: CRISTIAN ANDRES RUIZ PIEROS.
4: JHONATAN STEVEN TORRES PEA.
Problema planteado
Encontrar el IVA de un producto

Algoritmo o diagrama de flujo

Diseo visual del programa

VARIABLES DE PRUEBA

RESULTADOS

OBJETOS

NOMBRE
FROM 1
NOMBRE
CAPTION

PROPIEDADES
VENTA
VENTA TOTAL

LINE1: IMAGE

LABEL1

LABEL2

LABEL3

CAPTION: IVA ,
BACKOLOR:&H80000012&
,
FONT: TIMES NEW
ROMAN,
FORECOLOR:
&H80000012&
BACKSTYLE:
TRANSPARENTE
CAPTION: VENTA ,
BACKOLOR
&H80000005&,
FONT: TIMES NEW
ROMAN,
FORECOLOR:
&H80000008&
BACKSTYLE:
TRANSPARENTE
CAPTION: VENTA TOTAL
,
BACKOLOR &H8000000F&
FONT: TIMES NEW
ROMAN,
FORECOLOR:
&H80000008&
BACKSTYLE:
TRANSPARENTE

Cdigo del programa

Problema planteado
Hallar los valores de A, B, C

Algoritmo o diagrama de flujo

Diseo visual del programa

Variables de prueba

Objetos

Resultados
Nombre
From1
Nombre
Caption
Line1

Label1

Label2

Propiedades
Valor de A,B,C
Valor de P

Caption: valor: A, B
Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque
Caption: valor: B ,
Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque

Label3

Caption: valor: C,
Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque

Label4

Caption: valor total,


Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&

Backstyle: 1-opaque
Label5

Caption: valor: a,
Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque

Text1

Nombre: A ,
Backolor &H80000005&,
Font: MS Sans Serif,
Forecolor: &H80000008&

Text2

Text3

Command1

Command2

Nombre: B ,
Backolor:&H80000005&,
Font: MS Sans Serif,
Forecolor: &H80000008&

Nombre C ,
Backolor: &H80000005&,
Font: MS Sans Serif,
Forecolor: &H80000008&
Nombre INICIO,
Backolor: &H8000000F&,
Font: MS Sans Serif,
Maskcolor:&H00C0C0C0
&
Nombre FINAL,
Backolor &H8000000F&,
Font: MS Sans Serif,
Maskcolor:&H00C0C0C0
&

Cdigo del programa

Problema planteado

Algoritmo o diagrama de flujo

Diseo visual del programa

Variables de prueba

Objetos

Resultados
Nombre
From1
Nombre
Caption

Propiedades

Line1

Caption: digite lado del


cubo
Backolor &H8000000F&
Font: MS Sans Serif,
Forecolor: &H80000012&
Backstyle: 1-opaque

Label 2

Caption: el volumen del


cubo,
Backolor&H8000000F&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque

Label3

Caption:
Backolor&H8000000F&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque

Text1

Caption: valor total,


Backolor &H80000005&
Font: MS Sans Serif,
Forecolor: &H80000008&

Backstyle: 1 Fixed single


Command1

Nombre INICIO,
Backolor: &H8000000F&
Font: MS Sans Serif,
Maskcolor:&H00C0C0C0
&

Command2
Nombre FINAL,
Backolor &H8000000F&,
Font: MS Sans Serif,
Maskcolor:&H00C0C0C0
&

Cdigo del programa

volumen.Caption = Val(ladocubo.Text) * Val(ladocubo.Text) *


Val(ladocubo.Text)

Problema planteado
Hallar los valores de A, B, C

Algoritmo o diagrama de flujo

Diseo visual del programa

Variables de prueba

Objetos

Resultados
Nombre
From1
Nombre
Caption
Line1

Propiedades
Valor de A,B,C
Valor de P

Label1

Label2

Label3

Label4

Label5

Text1

Text2

Caption: valor: A, B
Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque
Caption: valor: B ,
Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque
Caption: valor: C,
Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque
Caption: valor total,
Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque
Caption: valor: a,
Backolor:&h8000000f&
Font: MS Sans Serif,
Forecolor: &h80000012&
Backstyle: 1-opaque
Nombre: A ,
Backolor &H80000005&,
Font: MS Sans Serif,
Forecolor: &H80000008&
Nombre: B ,
Backolor:&H80000005&,
Font: MS Sans Serif,
Forecolor: &H80000008&

Text3

Command1

Nombre C ,
Backolor: &H80000005&,
Font: MS Sans Serif,

Forecolor: &H80000008&
Nombre INICIO,
Backolor: &H8000000F&,
Font: MS Sans Serif,
Maskcolor:&H00C0C0C0
&

Command2

Nombre FINAL,
Backolor &H8000000F&,
Font: MS Sans Serif,
Maskcolor:&H00C0C0C0
&

Cdigo del programa

PROBLEMA PLANTEADO
CALCULAR EL AREA DE UN
TRIANGUO

ALGORITMO O DIAGRAMA DE FLUJO

DISEO VISUAL DEL PROGRAMA

VARIABLES DE PREUBA
OBJETOS

RESULTADOS
NOMBRE
FORM1

LINE1
LINE2
LINE3
LABEL1

PROPIEDADES
NOMBRE: AREA
CAPTION: AREA DE UN
TRIANGULO
BACKOLOR: AMARILLO
BORDERWIDTH:4
BACKOLOR:AMARILLO
BORDERWIDTH:4
BACKOLOR: AMARLLO
BORDERWIDTH:4
CAPTION: DIGITE LA BASE DEL
TRIANGULO,
BACKOLOR: &H80000012&,
FONT: Monotype Corsiva,
FORECOLOR: &H00FFFF00&
BACKSTYLE: TRANSPARENTE

LABEL 2
CAPTION: DIGITE LA BASE DEL
TRIANGULO
BLACKOLOR: &H00FFFF0012&,
FONT: Monotype Corsiva
FORECOLOR: &H00FFFF00&
BACKSTYLE: TRANSPARENTE
LABEL3
CAPTION: AREA DEL TRIANGULO
BLACKOLOR: &H00FFFF0012&,
FONT: Monotype Corsiva
FORECOLOR: &H00FFFF00&
BACKSTYLE: TRANSPARENTE

LABEL4
CAPTION
BLACKOLOR: &H00FFFF80&

CODIGO DEL PROGRAMA

Problema planteado
1) Si la primera nota de Carlos
vale el 30% la segunda el 40%,
y la tercera el 70% Cul fue la
nota definitiva?

Algoritmo o diagrama de flujo

Diseo visual del programa

Variables de prueba

Resultados

Nota 1

Nota 1: 3.0

Nota 2

Nota 2: 2.0

Nota 3

Nota 3: 4.5

definitiva

Definitiva: 3.1
Nombre

Propiedades

Form 7

Nombre: definitiva
Caption: form 7
Backcolor:&H00400
000&
Borderstyle: sizable

Picture

( mapa de bits)
Nombre: label 1
Caption: nota 1
Backcolor:&H00800
080&
Backstyle:
transparent
Font: Georgia
Forecolor:
&H00FFFFFF&

Objetos

Label 1

Label 2
Nombre: label 2
Caption: nota 2
Backcolor:&H00800
080&
Backstyle:
transparent
Font: Georgia
Forecolor:
&H00FFFFFF&

Label 3

Nombre: label 3
Caption: nota 3
Backcolor:&H00800
080&
Backstyle:
transparent
Font: Georgia
Forecolor:
&H00FFFFFF&

Label 4

Nombre: label 4
Caption: definitiva
Backcolor:&H00800
080&
Backstyle:
transparent
Font: Georgia
Forecolor:
&H00FFFFFF&

Label 5

Nombre: total
Caption:
Backcolor
&H00800000&
Backstyle: opaque
Borderstyle:
fixed
sing
Font: Georgia
Forecolor:
&H00FFFFFF&

Text 1

Text 2

Nombre: A
Caption:
Backcolor:&H00800
000&
Borderstyle:
fixed
sing
Font: Georgia
Forecolor:
&H00FFFFFF&
Nombre: B
Caption:
Backcolor:&H00800
000&
Borderstyle:
fixed
sing
Font: Georgia
Forecolor:
&H00FFFFFF&

Text 3

Comand 1

Coman 2

Comand 3

Cdigo del programa

Nombre: C
Caption:
Backcolor:&H00800
000&
Borderstyle:
fixed
sing
Font: Georgia
Forecolor:
&H00FFFFFF&

Nombre : comand 1
Caption: total
Backcolor:&H00800
000&
Style: Graphical
Font: Georgia
Nombre : comand 2
Caption: fin
Backcolor:&H00800
000&
Style: Graphical
Font: Georgia
Nombre : comand 3
Caption: men
Backcolor:&H00800
000&
Style: Graphical
Font: Georgia

Private Sub Command1_Click()


Total.Caption = (Val(a.Text) + Val(b.Text) +
Val(c.Text)) / 3
End Sub
Private Sub Command2_Click()
End Sub

Problema planteado
Calcule la nota total de un estudiante
si sabemos que:
NOTA1:
NOTA2:
NOTA3:
NOTA4:
NOTA5:

Algoritmo o diagrama de flujo

20%
10%
20%
30%
20%
Diseo visual del programa

Variables de prueba

Resultados

Nota 1

Nota 1: 3.0

Nota 2

Nota 2: 4.0

Nota 3

Nota 3: 2.0

Nota 4

Nota 4: 1.0

Nota 5

Nota 5: 5.0

Nota final

Nota final: 2.7

Objetos

Nombre
Form 10

Propiedades
Nombre: nota final
Caption: form 10
Backcolor:&H00808
000&
Borderstyle: sizable

Picture:

Label 1

Label 2

Label 3

Label 4

(mapa de bits)

Nombre: label 1
Caption: nota 1
Backcolor:&H00C0C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
12&
Nombre: label 2
Caption: nota 2
Backcolor:&H00C0C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
12&

Nombre: label 3
Caption: nota 3
Backcolor:&H00C0C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
12&
Nombre: label 4
Caption: nota 4
Backcolor:&H00C0C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
12&

label 5

Nombre: label 5
Caption: nota 5
Backcolor:&H00C0C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
12&

Label 6
Nombre: label 6
Caption: nota final
Backcolor:&H00C0C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
12&

Label 7

Nombre: final
Caption:
Backcolor:&H00C0C
000&
Backstyle: opaque
Font: Georgia
Forecolor:&H800000
12&

Text 1

Text 2

Text 3

Text 4

Nombre: A
Caption:
Backcolor:&H00C0C
000&
Borderstyle: none
Font: Georgia
Forecolor:&H800000
08&

Nombre: B
Caption:
Backcolor:&H00C0C
000&
Borderstyle: none
Font: Georgia
Forecolor:&H800000
08&
Nombre: C
Caption:
Backcolor:&H00C0C
000&
Borderstyle: none
Font: Georgia
Forecolor:&H800000
08&
Nombre: D
Caption:
Backcolor:&H00C0C
000&
Borderstyle: none
Font: Georgia
Forecolor:&H800000
08&

Text 5

Comand 1

Comand 2

Comand 3

Cdigo del programa

Nombre: E
Caption:
Backcolor:&H00C0C
000&
Borderstyle: none
Font: Georgia
Forecolor:&H800000
08&
Nombre : comand 1
Caption: Total
Backcolor:&H00C0C
000&
Style: Graphical
Font: Georgia
Nombre : comand 1
Caption: fin
Backcolor:&H00C0C
000&
Style: Graphical
Font: Georgia
Nombre : comand 1
Caption: Men
Backcolor:&H00C0C
000&
Style: Graphical
Font: Georgia

Private Sub Command1_Click()


FINAL.Caption = Val(a.Text) * 0.2 + Val(b.Text) *
0.1 + Val(c.Text) * 0.2 + Val(d.Text) * 0.3 +
Val(E.Text) * 0.2
End Sub
Private Sub Command2_Click()
End

Problema planteado
Encuentre en dfd el rea de un
paralelogramo

Algoritmo o diagrama de flujo

Diseo visual del programa

Variables de prueba

Resultados

Lado 1

Lado 1: 3

Lado 2

Lado 2: 5

Lado 3

Lado 3: 6

Lado 4

Lado 4: 7

rea

rea : 21

objetos

Form 9:

Nombre: paralelogi
Caption: form 3
Backcolor:&H0000C
000&
Borderstyle: sizable

picture

(Mapa de bits)

Nombre

Propiedades

Objetos

Label 1

Label 2

Label 3

Label 4

Nombre: label 1
Caption: lado 1
Backcolor:&H0000C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
0B&
Nombre: label 2
Caption: lado 2
Backcolor:&H0000C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
0B&
Nombre: label 3
Caption: lado 3
Backcolor:&H0000C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
0B&
Nombre: label 4
Caption: lado 4
Backcolor:&H0000C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
0B&

Label 5

Text 1

Texxt 2

Text 3

Text 4

Nombre: label 5
Caption: rea
Backcolor:&H0000C
000&
Backstyle:
transparent
Font: Georgia
Forecolor:&H800000
0B&
Nombre: A
Caption:
Backcolor:&H00800
080&
Borderstyle: none
Font: georgia
Forecolor:&H800000
0F&

Nombre: B
Caption:
Backcolor:&H00800
080&
Borderstyle: none
Font: georgia
Forecolor:&H800000
0F&
Nombre: C
Caption:
Backcolor:&H00800
080&
Borderstyle: none
Font: georgia
Forecolor:&H800000
0F&
Nombre: D
Caption:
Backcolor:&H00800
080&
Borderstyle: none
Font: georgia
Forecolor:&H800000

0F&

Comand 1

Comand 2

Cdigo del programa

Nombre : comand 1
Caption: area
Backcolor:&H00800
080&
Style: graphical
Font: Georgia
Nombre : comand 2
Caption: fin
Backcolor:&H00800
080&
Style: graphical
Font: Georgia

Nombre : comand 3
Caption: menu
Comand 3
Backcolor:&H00800
080&
Style: graphical
Font: Georgia
Private Sub Command1_Click()
AREA.Caption = Val(A.Text) + Val(B.Text) +
Val(C.Text) + Val(D.Text)
End Sub
Private Sub Command2_Click()
End
End Sub

Problema planteado
Encontrar el numero cuyo
doble sumado el triple y

Algoritmo o diagrama de flujo

restando la mitad resulte $


1.000
Diseo visual del programa

Variables de prueba

Resultados

Digite el numero

Digite el numero: 80

total

Total: 241.5

Nombre
Objetos
Form 8

Propiedades
Nombre: numero
Caption: form 8
Backcolor:&H00008
000&
Borderstyle: sizable

picture

(Mapa de bits)

Label 1

Nombre: label 1
Caption: dijite el
umero
Backcolor:&H00008
000&
Backstyle: opaque
Font: Georgia

Forecolor
:&H80000012&

Label 2

Label 3

Text 1

Comand 1

Nombre: label 2
Caption: total
Backcolor:&H00008
000&
Backstyle: opaque
Font: Georgia
Forecolor
:&H80000012&
Nombre: total
Caption:
Backcolor:&H00008
000&
Backstyle: opaque
Borderstyle:
fixed
sing
Font: Georgia
Forecolor:&H80000
012&

Nombre: A
Caption:
Backcolor:&H00008
000&
Borderstyle:
fixed
sing
Font: georgia
Forecolor:&H80000
012&
Nombre : comand 1
Caption: total
Backcolor:&H00008
000&
Style: graphical
Font: Georgia

Comand 2

Comand 3

Cdigo del programa

Nombre : comand 2
Caption: fin
Backcolor:&H00008
000&
Style: graphical
Font: Georgia
Nombre : comand 3
Caption: menu
Backcolor:&H00008
000&
Style: graphical
Font: Georgia

Private Sub Command1_Click()


TOTAL.Caption = Val(A.Text) + 2 * Val(A.Text) +
3/2
End sub
Private Sub Command2_Click()
End
End Sub

Vous aimerez peut-être aussi