Documente Academic
Documente Profesional
Documente Cultură
El mantenimiento es un conjunto de actividades que se requiere realizar peridicamente para mantener la PC en ptimo estado de funcionamiento, y poder detectar a tiempo cualquier indicio de fallas o daos en sus componentes
Kit bsico para brindar un efectivo mantenimiento preventivo a) Pulsera antiesttica Su funcin es llevar a tierra las sobrecargas excesivas de corriente para proteger al
Colegio Tcnico Profesional de Puriscal 2 Informtica en Soporte de Computadoras Profesor Gerardo Rodrguez Valverde
b)
Set de herramientas
c)
Multmetro Para medir la carga de corriente que queda en dispositivos como tambin los diferentes voltajes, resistencia, etc.
d)
Sopladora Parara limpiar el polvo o polucin de los componentes y ventiladores e) Una Brocha f) Trapos, pauelo, paos suaves (que no suelten hilos) g) Aire comprimido h) Espray Liquido dielctrico i) Espuma de limpieza externa j) Espray para limpieza de grasa externas k) Espray para limpieza de monitores l) Limpiador del lente para las unidades de CD o DVD m) Alcohol isopropilico
Colegio Tcnico Profesional de Puriscal 3 Informtica en Soporte de Computadoras Profesor Gerardo Rodrguez Valverde
program menu; uses crt; var opcion:integer; begin repeat clrscr; writeln (' MENU PRINCIPAL'); writeln; writeln ('1. opcion1'); writeln; writeln ('2. opcion2'); writeln; writeln ('3. opcion3'); writeln; writeln ('4. SALIR'); readln (opcion); case opcion of 1: begin writeln ('en progreso opcion1'); readln; end; 2: begin writeln ('en progreso opcion2'); readln; end; 3: begin writeln ('en progreso opcion3');
Colegio Tcnico Profesional de Puriscal 4 Informtica en Soporte de Computadoras Profesor Gerardo Rodrguez Valverde
program random; /* Gener a un numero aleatorio entre 0 y 6 uses crt; var r:integer; begin randomize; r:=random (7); writeln (r); readln; end.
Colegio Tcnico Profesional de Puriscal 5 Informtica en Soporte de Computadoras Profesor Gerardo Rodrguez Valverde
Colegio Tcnico Profesional de Puriscal 6 Informtica en Soporte de Computadoras Profesor Gerardo Rodrguez Valverde
Colegio Tcnico Profesional de Puriscal 7 Informtica en Soporte de Computadoras Profesor Gerardo Rodrguez Valverde Manejo de arboles binarios
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 Uses Crt; Type Arbol = ^Nodo; Nodo = Record Info: Integer; End; Var A: Arbol; N: Integer; Opc: Char;
Izq,Der: Arbol;
Procedure Insertar(Var A: Arbol; N: Integer); Begin If A = Nil Then Begin New(A); A^.Info := N; A^.Izq := Nil; A^.Der := Nil; End Else If N < A^.Info Then Insertar(A^.Izq,N) Else Insertar(A^.Der,N); End; Procedure In_orden(A: Arbol); Begin If A <> Nil Then Begin In_Orden(A^.Izq); WriteLn(A^.Info); In_Orden(A^.Der); End; End; Function Busqueda (A: Arbol; N: Integer): Boolean; Begin Busqueda:= False; If A <> Nil Then If A^.Info = N Then Busqueda:= True Else If N < A^.info Then Busqueda:= Busqueda(A^.Izq,N) Else Busqueda:= Busqueda(A^.Der,N); End; Function Menor (A: Arbol): Integer; Var I1: Integer; Min: Integer; BeginMin:= A^.Info; I1:= 0; If (A^.Izq <> Nil) Then Begin I1:= Menor(A^.Izq); If I1 < Min Then Min:= I1; End; If (A^.Der <> Nil) Then Begin I1:= Menor(A^.Der); If I1 < Min Then Min:= I1; End; Menor:= Min; End; Procedure Eliminar(Var A: Arbol; N: Integer); Procedure Borrar(Var A,Aux: Arbol);
Colegio Tcnico Profesional de Puriscal 8 Informtica en Soporte de Computadoras Profesor Gerardo Rodrguez Valverde
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 Begin If A^.Der <> Nil Then Borrar(A^.Der,Aux) Begin Aux^.Info:= A^.Info; Aux:= A; A:= A^.izq; End; End; Else
Var Aux: Arbol; BeginIf N < A^.Info Then Eliminar(A^.Izq,N) Else If N > A^.Info Then Eliminar(A^.Der,N) Else Begin Aux:= A; If Aux^.Der = Nil Then A:= Aux^.Izq Else If Aux^.Izq = Nil Then A:= Aux^.Der Else Borrar(Aux^.Izq,Aux); End; End; Begin A:= Nil; Repeat ClrScr; WriteLn('1- Agregar elemento al arbol'); WriteLn('2- Mostrar el arbol ordenado'); WriteLn('3- Saber si un nmero est en el arbol'); WriteLn('4- Eliminar un elemento del arbol'); WriteLn('5- Obtener el menor elemento'); WriteLn('6- Salir'); write('Opcin: '); Opc:= ReadKey; If Opc = '1' Then Begin ClrScr; Write('Ingrese un nmero: '); ReadLn(n); Insertar(a,n); End; If Opc = '2' Then Begin ClrScr; WriteLn('Estos son los elementos ordenados: '); In_Orden(a); WriteLn; Write('Presione cualquier tecla para continuar...'); ReadKey; End; If Opc = '3' Then Begin ClrScr; Write('Ingrese un nmero: '); ReadLn(n); If Busqueda(a,n) Then WriteLn('El elemento est en el arbol.') Else WriteLn('El elemento no est en el rbol.'); WriteLn; Write('Presione cualquier tecla para continuar...'); ReadKey; End; If Opc = '4' Then Begin ClrScr; Write('Ingrese el elemento a borrar: ');
Colegio Tcnico Profesional de Puriscal 9 Informtica en Soporte de Computadoras Profesor Gerardo Rodrguez Valverde
ReadLn(n); If Busqueda(a,n) Then 112 Begin 113 114 Eliminar(a,n); 115 WriteLn('El elemento fue eliminado.'); End Else WriteLn('El elemento no est en 116 117 el rbol.'); WriteLn; 118 Write('Presione cualquier tecla para continuar...'); 119 ReadKey; End; 120 If Opc = '5' Then Begin 121 122 ClrScr; If A = Nil Then WriteLn('No hay elementos en el arbol.') 123 124 Else 125 WriteLn('El menor es: ',Menor(A)); ReadKey; End; 126 Until (Opc = '6'); 127 128 End. 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153