<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-380537195055323484</id><updated>2012-02-16T03:25:56.860-08:00</updated><title type='text'>TOPICOS</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://panquesito-pro.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/380537195055323484/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://panquesito-pro.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>panquesito</name><uri>http://www.blogger.com/profile/12274594814510282237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-380537195055323484.post-4827467659615296296</id><published>2009-09-02T23:19:00.001-07:00</published><updated>2009-09-02T23:23:30.595-07:00</updated><title type='text'>CUESTIONARIO PARA UNIDAD VIII  ARCHIVOS</title><content type='html'>&lt;div class="Section1"&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: center;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;font size="4"&gt;&lt;a title="descarga" target="_blank" href="http://docs.google.com/View?docid=dcffjknf_7cqk9fzrd" id="g-du"&gt;descarga&lt;/a&gt;CUESTIONARIO PARA UNIDAD VIII&amp;nbsp; ARCHIVOS&lt;/font&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;1.-&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;Defina qué es un archivo&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Los archivos en Java se definen mediante flujos (de entrada y de salida), se definen dos tipos de archivo, binarios y de texto.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Archivos de Texto:&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Son aquellos archivos que solo almacenan datos de tipo carácter o cadena de caracteres.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Archivos binarios de acceso secuencial&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;A diferencia de los archivos de texto, en estos archivos se almacenan datos de todo tipo (&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;char&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;, &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;long&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;, &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;float&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;, &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;int&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt; etc.).&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;2.-Para qué se utilizan los archivos&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;?&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Son utilizados para:&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;* Información de tipo registro&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;* Guardar información que no necesite de un formato especifico&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;*Guardar información de cualquier otro tipo en estos archivos no es una solución óptima.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;3.-Cuál es la importancia de los archivos&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;?&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Los tipos de datos que se almacenan es estos archivos se guardan de manera binaria, de acuerdo a la extensión que tengan los tipos de datos.&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Los datos se guardan de manera secuencial, es decir, uno tras de otro.&lt;/font&gt;&lt;/span&gt;&lt;br&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Cuando queremos &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;accesar&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt; a un dato, es este tipo de archivos, tenemos que leer cada dato, hasta encontrar aquel que andamos buscando.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;4.-Cuál es la diferencia entre los archivos secuenciales y los archivos de acceso aleatorio.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Los archivos aleatorios son especialmente más útiles que los &lt;/font&gt;&lt;/span&gt;&lt;a href="http://www.casidiablo.net/wordpress/index.php/2008/01/30/objectinputstream-java/"&gt;&lt;span style="color: rgb(0, 0, 255); font-family: 'Nimbus Roman No9 L';"&gt;&lt;u&gt;&lt;font size="3"&gt;archivos secuenciales&lt;/font&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt; que &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;explicabamos&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt; en los ejercicios anteriores, puesto que en los secuenciales, como su nombre lo indica, tanto la lectura como la escritura se &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;hace&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt; de manera SECUENCIAL. Por tanto, para buscar un registro en especial, es necesario (si estamos buscando de forma simple, o sea secuencial) buscar registro por registro. Este problema es solucionado con el uso de archivos aleatorios, puesto que tanto la lectura como la escritura de archivos &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;es&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt; "directa".&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;5.-&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;Defina lo que es un Flujo hablando de E/S en java.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;Java llama flujo a esta abstracción y la implementa con varias clases del paquete java.io. El &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;flujo de E/S representa todos los orígenes y destinos de los datos detrás de una interfaz uniforme. La entrada está encapsulada en la clase &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;InputStream&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt; y la salida en la clase &lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;OutputStream&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;. Estas dos clases abstractas son las que todos los objetos deberían referenciar cuando tratan la E/S en general.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;6.-Especifique qué es un Flujo de Caracteres y qué es un Flujo de Bytes.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt; text-align: justify;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="4"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left: 0pt; margin-right: 0pt;"&gt;&lt;span style="font-family: 'Nimbus Roman No9 L';"&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/380537195055323484-4827467659615296296?l=panquesito-pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://panquesito-pro.blogspot.com/feeds/4827467659615296296/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://panquesito-pro.blogspot.com/2009/09/cuestionario-para-unidad-viii-archivos.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/380537195055323484/posts/default/4827467659615296296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/380537195055323484/posts/default/4827467659615296296'/><link rel='alternate' type='text/html' href='http://panquesito-pro.blogspot.com/2009/09/cuestionario-para-unidad-viii-archivos.html' title='CUESTIONARIO PARA UNIDAD VIII  ARCHIVOS'/><author><name>panquesito</name><uri>http://www.blogger.com/profile/12274594814510282237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-380537195055323484.post-8947559391574421182</id><published>2009-09-02T23:00:00.001-07:00</published><updated>2009-09-02T23:10:38.844-07:00</updated><title type='text'>lostgold</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;img src="http://docs.google.com/File?id=dcffjknf_6cqhjm9ht_b"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a title="http://panquesito-pro.blogspot.com/" href="http://docs.google.com/View?docid=dcffjknf_53nj5fmhb" id="ns6e"&gt;&lt;/a&gt;&lt;a title="http://panquesito-pro.blogspot.com/" href="http://docs.google.com/View?docid=dcffjknf_53nj5fmhb" id="f1n6"&gt;descargar&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/380537195055323484-8947559391574421182?l=panquesito-pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://panquesito-pro.blogspot.com/feeds/8947559391574421182/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://panquesito-pro.blogspot.com/2009/09/lostgold.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/380537195055323484/posts/default/8947559391574421182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/380537195055323484/posts/default/8947559391574421182'/><link rel='alternate' type='text/html' href='http://panquesito-pro.blogspot.com/2009/09/lostgold.html' title='lostgold'/><author><name>panquesito</name><uri>http://www.blogger.com/profile/12274594814510282237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-380537195055323484.post-7652017364525086040</id><published>2009-09-02T22:56:00.001-07:00</published><updated>2009-09-02T22:56:38.056-07:00</updated><title type='text'>427283_1175393218</title><content type='html'>&lt;img src="http://docs.google.com/File?id=dcffjknf_4fwps57fm_b"&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/380537195055323484-7652017364525086040?l=panquesito-pro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://panquesito-pro.blogspot.com/feeds/7652017364525086040/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://panquesito-pro.blogspot.com/2009/09/4272831175393218.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/380537195055323484/posts/default/7652017364525086040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/380537195055323484/posts/default/7652017364525086040'/><link rel='alternate' type='text/html' href='http://panquesito-pro.blogspot.com/2009/09/4272831175393218.html' title='427283_1175393218'/><author><name>panquesito</name><uri>http://www.blogger.com/profile/12274594814510282237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
