Parcial Noviembre del 2005

1) a) En php las variables e iniacilizan así: “int $var = 2”

FALSO, en php no es necesario asignar un tipo a una variable. Es un lenguaje de Tipado debil.

b) (codigo JS) FALSO, porque falta la definición del Submit.

c) En HTML lo que esta entre “” no se ve en el Browser. VERDADERO, ese tipo de sintaxis es lo que se usa para agregar comentarios en el Codigo HTML.

d) En HTML para que el usuario envie un archivo tiene que especificar el path donde se guardará el mismo en el servidor. Para ayudar a buscar el Path ponemos el imput type: “FILE”, el cual agrega un botón de “Browse” o “Explorar”.

e) En PHP podemos validar tambien los datos que se envian, pero esto no evitará el intercambio de datos (pedido y respuesta) entre cliente y servidor: VERDADERO, el codigo PHP se ejecuta en el Servidor, por lo que la validación se hará en el Servidor.

2) a) Describa que define el Estándar V.28 y muestre la definición en forma gráfica.

Este Estándar define los valores de energía que serán considerados como ‘0’ o ‘1’ lógicos.

15V a 3V –> '0' Logico = ON -3V a -15V –> '1' Logico = OFF

b) :materias:75:43:parcial1-b.jpg

3) Capa de Red

192.168.2.0 :materias:75:43:parcial1-3.jpg

Configuración en los Routers:

Router R1: Direccion de Red en Red 1: 192.168.2.1 Direccion de Red en Red 1-2: 192.168.2.233 Direccion de Red en Red 1-3: 192.168.2.237 Direccion de Red en Red 1-4: 192.168.2.241

~$ ifconfig eth0 192.168.2.1 netmask 255.255.255.128 broadcast 192.168.2.127 ~$ ifconfig eth1 192.168.2.233 netmask 255.255.255.252 broadcast 192.168.2.235 ~$ ifconfig eth2 192.168.2.237 netmask 255.255.255.252 broadcast 192.168.2.239 ~$ ifconfig eth3 192.168.2.241 netmask 255.255.255.252 broadcast 192.168.2.243

Red 2 ~$ route add –net 192.168.2.128 netmask 255.255.255.192 gw 192.168.2.234 eth1 metric 0 ~$ route add –net 192.168.2.128 netmask 255.255.255.192 gw 192.168.2.238 eth2 metric 1 ~$ route add –net 192.168.2.128 netmask 255.255.255.192 gw 192.168.2.242 eth3 metric 1

Red 3 ~$ route add –net 192.168.2.192 netmask 255.255.255.224 gw 192.168.2.238 eth2 metric 0 ~$ route add –net 192.168.2.128 netmask 255.255.255.224 gw 192.168.2.234 eth1 metric 1 ~$ route add –net 192.168.2.128 netmask 255.255.255.224 gw 192.168.2.242 eth3 metric 1

Red 4 ~$ route add –net 192.168.2.224 netmask 255.255.255.240 gw 192.168.2.242 eth3 metric 0 ~$ route add –net 192.168.2.224 netmask 255.255.255.240 gw 192.168.2.234 eth1 metric 1 ~$ route add –net 192.168.2.224 netmask 255.255.255.240 gw 192.168.2.238 eth2 metric 1

materias/75/43/parcial_200511xx_1.txt · Última modificación: 2008/10/29 00:55 por tricolorer
 
Excepto donde se indique lo contrario, el contenido de esta wiki se autoriza bajo la siguiente licencia: CC Attribution-Noncommercial-Share Alike 3.0 Unported


Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki