<?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:blogger='http://schemas.google.com/blogger/2008' 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-850383750695097843</id><updated>2025-10-04T23:48:48.255+08:00</updated><category term="Лаб"/><category term="Тэмдэглэл"/><category term="Зарлал"/><category term="Бие Даалт"/><category term="Source"/><category term="Software"/><category term="Лекц"/><category term="Дүн"/><category term="Ном"/><category term="Оноо"/><category term="Сорил"/><category term="фай"/><title type='text'>CS203-Объект хандлагат програмчлал</title><subtitle type='html'>blog={&quot;keyword&quot;=&#39;Java, OOP, IEP&#39;, &quot;author&quot;:&#39;CSMS&#39;, &quot;code&quot;=&#39;CS203&#39;, &quot;season&quot;=&#39;Spring/2011&#39;, &quot;week&quot;=null}</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default?start-index=26&amp;max-results=25'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>93</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-7598956545131251429</id><published>2011-05-14T14:22:00.004+08:00</published><updated>2011-05-14T16:38:47.898+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Оноо"/><title type='text'>А.Жаргалсайхан багшийн оюутнуудын 70 оноо</title><content type='html'>Доорх &quot;70 оноо&quot; гэсэн товчин дээр дарна уу.&lt;br /&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; height=&quot;100&quot; src=&quot;http://csms.edu.mn/student/cs203/dun.html&quot; width=&quot;150&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/7598956545131251429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_25.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/7598956545131251429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/7598956545131251429'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_25.html' title='А.Жаргалсайхан багшийн оюутнуудын 70 оноо'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-4181294618024730521</id><published>2011-05-11T22:02:00.007+08:00</published><updated>2011-05-11T22:31:23.406+08:00</updated><title type='text'>Г.Болд-Эрдэнэ багшийн лабораторийн оюутнуудын явцын дүн</title><content type='html'>&lt;iframe src=&quot;https://spreadsheets.google.com/spreadsheet/pub?hl=en&amp;amp;hl=en&amp;amp;key=0Aow0WaouWupAdDNIYmVWNlRDTFRybmxidGdkazIzSmc&amp;amp;output=html&amp;amp;widget=true&quot; width=&quot;500&quot; frameborder=&quot;0&quot; height=&quot;300&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;a href=&quot;https://spreadsheets.google.com/a/cdeq.mn/spreadsheet/pub?hl=en&amp;amp;hl=en&amp;amp;key=0Aow0WaouWupAdDNIYmVWNlRDTFRybmxidGdkazIzSmc&amp;amp;single=true&amp;amp;gid=0&amp;amp;output=html&quot; style=&quot;color: rgb(51, 102, 204); font-weight: bold;&quot; target=&quot;_blank&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(131, 127, 128); line-height: 19px;font-family:&#39;trebuchet ms&#39;,verdana,arial,sans-serif;font-size:x-small;&quot;  &gt;&lt;img alt=&quot;Шинэ хуудсанд үзэх&quot; src=&quot;http://www.blogger.com/img/icon_new_window.png&quot; style=&quot;border-width: 0px; border-top-style: none; color: rgb(225, 212, 192);&quot; title=&quot;Шинэ хуудсанд үзэх&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/4181294618024730521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/05/blog-post.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4181294618024730521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4181294618024730521'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/05/blog-post.html' title='Г.Болд-Эрдэнэ багшийн лабораторийн оюутнуудын явцын дүн'/><author><name>Bold-Erdene</name><uri>http://www.blogger.com/profile/16853325054142929123</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-2310090299303814287</id><published>2011-05-08T19:39:00.002+08:00</published><updated>2011-05-08T19:42:28.467+08:00</updated><title type='text'>Сорил2-ийн дүн: Даваа-2</title><content type='html'>Сорил2 болон бусад явцын үнэлгээгээ эндээс татаж авч үзээрэй!&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://spreadsheets.google.com/ccc?key=0Aq8FR_twSdShdDBVUGo1WXhLV2VJVGV0OFJ2OXFqX2c&amp;amp;hl=en&amp;amp;authkey=CLLN8eIP&quot;&gt;Даваа-2. updated by Enkhjargal 08/May/2011&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/2310090299303814287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/05/2-2.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/2310090299303814287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/2310090299303814287'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/05/2-2.html' title='Сорил2-ийн дүн: Даваа-2'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-4953727453079187053</id><published>2011-05-04T19:16:00.000+08:00</published><updated>2011-05-04T19:16:16.246+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Source"/><category scheme="http://www.blogger.com/atom/ns#" term="Тэмдэглэл"/><title type='text'>String хөрвүүлэлт</title><content type='html'>Java хэлэнд өгөгдлийн төрлүүдийн хооронд хөрвүүлэлт хийхдээ &quot;Parse&quot; болон to&#39;шинэ төрөл&#39; гэсэн түлхүүр үгүүдийг ашигладаг.&lt;br /&gt;
Ж/нь:&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;1. string to int&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;String Str = &quot;203&quot;;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;int a = Integer.parseInt(Str);&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;2. int to string&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;int a = 1;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;String Str = Integer.toString(a);&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;3. string to double&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;String Str = &quot;203&quot;;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;double Doub= Double.parseDouble(Str);&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;4. double to string&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;double Doub= 0.203;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;String Str= Double.toString(Doub);&lt;/div&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;5. string charAt&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;String Str = &quot;CS203 Java&quot;;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;System.out.println(Str.charAt(0)+&quot; &quot;+Str.charAt(1));&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;// Str.charAt(0) нь CS203, Str.charAt(1) Java гэсэн String-г хэвлэнэ&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/4953727453079187053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/05/string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4953727453079187053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4953727453079187053'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/05/string.html' title='String хөрвүүлэлт'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Computer Science and Management School of Mongolian University of Science and Technology, P.O. Box 49/313, Ulaanbaatar 210349, Mongolia</georss:featurename><georss:point>47.9280693 106.94341259999999</georss:point><georss:box>47.926469299999994 106.94195659999998 47.9296693 106.94486859999999</georss:box></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-8798341225420174309</id><published>2011-05-02T09:41:00.007+08:00</published><updated>2011-05-07T11:13:42.907+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Дүн"/><title type='text'>Явцын дүн: Даваа 2. updated 07/May/2011</title><content type='html'>&lt;a href=&quot;https://spreadsheets.google.com/ccc?key=0Aq8FR_twSdShdFRlMzJ5Z3AzS0stX05xbVBrb3dsdmc&amp;amp;hl=en&amp;amp;authkey=CN6v96kD&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://spreadsheets.google.com/ccc?key=0Aq8FR_twSdShdGZ4c1FFZ0FMcEVoV1BHSGFQTnByRFE&amp;amp;hl=en&amp;amp;authkey=CJ7YvPQN&quot;&gt;Даваа-2. updated by Enkhjargal 07/May/2011&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2 class=&quot;garchig&quot;&gt;&lt;br /&gt;&lt;/h2&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/8798341225420174309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/05/2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8798341225420174309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8798341225420174309'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/05/2.html' title='Явцын дүн: Даваа 2. updated 07/May/2011'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-494841557748660704</id><published>2011-05-01T00:29:00.000+08:00</published><updated>2011-05-01T00:29:14.249+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Source"/><category scheme="http://www.blogger.com/atom/ns#" term="Тэмдэглэл"/><title type='text'>Java - Stream, Input, Output жишээ - 2</title><content type='html'>&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;ФАЙЛ РУУ&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;УНШИХ,&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;БИЧИХ&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
InputStream бол өгөгдлийг эх үүсвэрээс уншихад ашигладаг, OutputStream бол өгөгдлийг ямар нэгэн эх үүсвэр лүү бичихэд ашигладаг тухай бид үзсэн. Доорх зурганд Input, Output stream-урсгалын классын иерархи бүтцийг харуулсан.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnc1BivVwWKMGRQCTn5J7CeoVNVwwwAji90hdYcseLoitl4gmabts4MbX3_vlseh5SDpz4pcWuzEwnIn88fEbR-0SBh9kylno-pCkbxVT9pNxoWap8LaQmlIt1ZoidQ2zABjoUGcH8Vw/s1600/cs203-iostreams.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnc1BivVwWKMGRQCTn5J7CeoVNVwwwAji90hdYcseLoitl4gmabts4MbX3_vlseh5SDpz4pcWuzEwnIn88fEbR-0SBh9kylno-pCkbxVT9pNxoWap8LaQmlIt1ZoidQ2zABjoUGcH8Vw/s320/cs203-iostreams.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;i&gt;ЗУРАГ 1&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;
Бидний ашиглах чухал 2 урсгал нь FileInputStream, FileOutputStream -ууд юм.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. FileInputStream&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Энэ урсгал нь файлаас өгөгдөл уншдаг. Объектийг нь &#39;new&#39; түлхүүр үг ашиглаж хэд хэдэн байгуулагч аргаар үүсгэж болдог.&lt;br /&gt;
&lt;br /&gt;
//Доорх байгуулагч арга нь файлын нэрийг абсолют директорын хамт String төрлөөр зарлаж байна.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;InputStream myFile = new FileInputStream(&quot;C:/cs203/java/lab&quot;);&lt;/span&gt;&lt;br /&gt;
//Харин доорх байгуулагч нь файлын объектийг эхлэж үүсгээд дараа нь InputStream-д дамжуулж байна.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;File f = new File(&quot;C:/cs203/java/lab&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;InputStream f = new FileInputStream(f);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
//Дээрх 2 жишээнд lab гэдэг бол файл юм. Файл бүхэн өргөтгөлтэй байх албагүй.&lt;br /&gt;
// Үүнээс гадна ByteArrayInputStream, DataInputStream зэрэг оролтын урсгалууд байдаг.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. FileOutputStream&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
FileOutputStream нь файл үүсгэж, өгөгдөл бичихэд ашигладаг. Тухайн файл үүсээгүй үед шинээр үүсгэдэг. FileOutputStream объектийг 2 янзаар байгуулагч арга ашиглан үүсгэдэг.&lt;br /&gt;
&lt;br /&gt;
//Доорх байгуулагч арга нь файлын нэрийг абсолют директорын хамт String төрлөөр зарлаж байна.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;OutputStream f = new FileOutputStream(C:/cs203/java/lab&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
//Харин доорх байгуулагч нь файлын объектийг эхлэж үүсгээд дараа нь OutputStream-д дамжуулж байна. Эхлээд бид файлаа File() арга ашиглаж үүсгэнэ.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;File f = new File(&quot;C:/cs203/java/lab&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;OutputStream f = new FileOutputStream(f);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
// Үүнээс гадна ByteArrayOutputStream, DataOutputStream зэрэг оролтын урсгалууд байдаг.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;ЖИШЭЭ 4&lt;/i&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;import java.io.*;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;public class fileStreamTest{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; public static void main(String args[]){&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; try{&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;byte bWrite [] = {11,21,3,40,5};&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;OutputStream os = new FileOutputStream(&quot;C:/cs203/java/lab.txt&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(int x=0; x &amp;lt; bWrite.length ; x++){&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; os.write( bWrite[x] ); // өгөгдлөө бичиж байна&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;os.close(); // урсгалаа хааж байна&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;InputStream is = new FileInputStream(&quot;C:/cs203/java/lab.txt&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;int size = is.available(); //тухайн файлын хэмжээг int -ээр буцаана&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;for(int i=0; i&amp;lt; size; i++){&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.print((char)is.read() + &quot; &amp;nbsp;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;is.close(); // урсгалаа хааж байна&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; }catch(IOException e){&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.print(&quot;Exception&quot;); //алдаа барьж авч байна. Файл байхгүй байх, бичих эрхгүй байх г.м&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//Дээрх програмын код нь файлын оролт, гаралтын тухай ерөнхий ойлголтыг үзүүлнэ. lab.txt файлд өгөгдсөн тоонуудыг бинари форматаар бичнэ. Дэлгэцэнд хэвлэхдээ буцаагаад тэмдэгт болгож хувиргана.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Java Директор (Хавтас)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Хавтас үүсгэх:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Хавтас үүсгэдэг File- классын 2 төрлийн арга байдаг.&lt;br /&gt;
1. mkdir()&lt;br /&gt;
Хавтас амжилттай үүссэн бол true утга буцаана. Үүсгэх гэсэн хавтас хэдийн үүссэн байх, абсолют бүрэн зам нь үүсээгүй байх үед худал утга буцаана. Ж/нь: &quot;C/cs203/lab10&quot; C дискний cs203 хавтсанд lab10 гэсэн хавтас үүсгэе гэлээ гэж бодоход хэрвээ cs203 гэсэн хавтас үүсээгүй бол lab10 үүсч чадахгүй алдаатай байх юм.&lt;br /&gt;
&lt;br /&gt;
2. mkdirs()&lt;br /&gt;
Үүсгэх гэж буй хавтасны эцэг хавтас үүсээгүй үед ч үүсгэж чадна. Ж/нь: &quot;C/cs203/lab10&quot; C дискний cs203 хавтсанд lab10 гэсэн хавтас үүсгэе гэлээ гэж бодоход хэрвээ cs203 гэсэн хавтас үүсээгүй бол cs203 болон lab10 гэсэн хавтасуудыг цугт нь шинээр үүсгэдэг.&lt;br /&gt;
&lt;br /&gt;
// Доорх код нь /cs203/lab10 гэсэн директор буюу хавтас үүсгэнэ&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;i&gt;ЖИШЭЭ 5&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;import java.io.File;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;class CreateDir {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; public static void main(String args[]) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;String dirname = &quot;/cs203/lab10&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;File d = new File(dirname);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;// Хавтас үүсгэх хэсэг&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;d.mkdirs();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Хавтас унших:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Хавтас буюу директор хэд хэдэн файл, хавтас өөртөө агуулж болно. File -н объектийг үүсгээд дараа хавтас мөн эсэхийг нь isDirectory( ) аргын тусламжтайгаар true утгыг авч шалгаж болно.&lt;br /&gt;
&lt;br /&gt;
list( ) аргаар тухайн объект-д харгалзах файл, дэд хавтасуудыг үзэж болно. Доорх програмын кодыг харна уу.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small;&quot;&gt;&lt;i&gt;ЖИШЭЭ 6&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;import java.io.File;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;class DirList {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; public static void main(String args[]) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;String dirname = &quot;/lab10&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;File f1 = new File(dirname);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (f1.isDirectory()) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println( &quot;Khavtas &quot; + dirname);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String s[] = f1.list();&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i=0; i &amp;lt; s.length; i++) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;File f = new File(dirname + &quot;/&quot; + s[i]);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (f.isDirectory()) {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(s[i] + &quot; bol khavtas mon&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(s[i] + &quot; bol file mon&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;} else {&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(dirname + &quot; bol khavtas bish&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Үр дүн:&lt;/i&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Khavtas / lab10&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;lab10.java bol file mon&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;lab10.class bol file mon&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;lab10_2.java bol file mon&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;lab10_2.class bol file mon&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;labnemelt bol khavtas mon&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;labnemelt2 bol khavtas mon&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/494841557748660704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/05/java-stream-input-output-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/494841557748660704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/494841557748660704'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/05/java-stream-input-output-2.html' title='Java - Stream, Input, Output жишээ - 2'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnc1BivVwWKMGRQCTn5J7CeoVNVwwwAji90hdYcseLoitl4gmabts4MbX3_vlseh5SDpz4pcWuzEwnIn88fEbR-0SBh9kylno-pCkbxVT9pNxoWap8LaQmlIt1ZoidQ2zABjoUGcH8Vw/s72-c/cs203-iostreams.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-7379094543319800631</id><published>2011-04-28T17:01:00.003+08:00</published><updated>2011-04-28T17:04:35.970+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Лаб"/><title type='text'>Лабораторийн ажил№11</title><content type='html'>&quot;Файлтай ажиллах&quot;&lt;br /&gt;Даалгавар: Бие даалтаар хөгжүүлсэн сэдвийн хүрээнд зарим нэг классын объектуудыг файл руу бичих, унших үйлдлийг хэрэгжүүлэх.&lt;br /&gt;Оноо: 3&lt;br /&gt;Хамгаалах эцсийн хугацаа: 15 долоо хоног</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/7379094543319800631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/11_28.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/7379094543319800631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/7379094543319800631'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/11_28.html' title='Лабораторийн ажил№11'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-6681566200079115799</id><published>2011-04-28T15:52:00.004+08:00</published><updated>2011-04-28T16:01:02.730+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Дүн"/><title type='text'>Ж.Золжаргал багшийн оюутнуудын явцын дүн</title><content type='html'>3-3, 5-6 лаб-ын оюутнууд дүнгээ үзэж 15-р долоо хоногт бахдаж буруу оруулсан дүн байвал засуулна уу.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://spreadsheets.google.com/ccc?key=0Agy8N34zEKcudDRVa3N5OHpYTE9wX2ZPV2xtV0o1MXc&amp;amp;hl=en&quot;&gt;https://spreadsheets.google.com/ccc?key=0Agy8N34zEKcudDRVa3N5OHpYTE9wX2ZPV2xtV0o1MXc&amp;amp;hl=en&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/6681566200079115799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_28.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/6681566200079115799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/6681566200079115799'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_28.html' title='Ж.Золжаргал багшийн оюутнуудын явцын дүн'/><author><name>J.Zoljargal</name><uri>http://www.blogger.com/profile/05546998804777130254</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-2981985385640797087</id><published>2011-04-25T20:00:00.003+08:00</published><updated>2011-04-25T20:06:04.473+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Source"/><category scheme="http://www.blogger.com/atom/ns#" term="Тэмдэглэл"/><title type='text'>Java - Stream, Input, Output жишээ - 1</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;http://cs203.cdeq.mn/2011/04/14.html&quot;&gt;Лекц 14&lt;/a&gt;-дээр java.io сангийн тухай дэлгэрэнгүй байгаа тул цаг гаргаж уншахыг зөвлөж байна.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Энэ нийтлэлд Java-н хялбархан гараас унших, файлтай ажиллах жишээ оруулахаар зорилоо.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;java.io - гэдэг санд Java-н оролт гаралт (I/O)-той ажиллах бараг бүхий л классууд байдаг гэхэд болно. Объект, хувьсагч, массив гээд дурын өгөгдөл, тэмдэгтийг дэмждэг тул та бүхэн хөгжүүлж буй сэдэвтээ файлтай ямар нэгэн байдлаар ажилладаг байхаар хийх хэрэгтэй. Оролт, гаралтын урсгалыг ашиглахын тулд програмдаа java.io санг импорт хийх хэрэгтэй. Үүний тулд эх кодын эхний мөрөнд&amp;nbsp;import java.io.*; гэж бичнэ. * гэдэг нь тухайн java.io санд байгаа бүх классуудыг оруулж ашиглана гэж програмдаа ойлгуулж байгаа юм. io сангаас гадна маш олон урьд нь хөгжүүлж бэлэн болсон сангууд байдаг. Бид шинээр хийхээс өмнө урьд нь хийсэн сангуудыг судлаж ашиглах нь цаг хэмнэнэ.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;1. КОНСОЛООС ӨГӨГДӨЛ УНШИХ:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Java-н консолоос оролт авч уншихдаа System.in -г ашигладаг. BufferedReader гэсэн объектэд System.in-г дамжуулснаар тэмдэгтийг урсгалыг унших боломжтой болж байгаа юм.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Жишээ код:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;BufferedReader br = new BufferedReader(new&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InputStreamReader(System.in));&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;BufferedReader-н объект нэгэнт үүссэн бол бид read() аргаар тэмдэгтүүдийг, readLine()- аргаар String-г консолоос уншиж болно.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;ЖИШЭЭ 1&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;// BufferedReader ашиглаж консолоос тэмдэгт(characters) өгөгдөл унших нь. Хэрэглэгч &#39;q&#39; дарвал програм хаана.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;import java.io.*;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;class BRRead {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; public static void main(String args[]) throws IOException&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;char c;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;// System.in -г BufferedReader объектэд дамжуулж байна&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;BufferedReader br = new BufferedReader(new&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InputStreamReader(System.in));&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println(&quot;Garaas, &#39;q&#39; darj programmiig duusgana uu.&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;// тэмдэгт уншиж байна&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;do {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c = (char) br.read();&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(c);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;} while(c != &#39;q&#39;); // c хувьсагч нь String биш тэмдэгт учраас шууд != харьцуулж болно.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;Програмын гаралт:&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;Garaas, &#39;q&#39; darj programmiig duusgana uu.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;cs203fileq&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;c&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;s&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;3&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;f&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;i&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;l&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;e&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;q&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;ЖИШЭЭ 2&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// BufferedReader ашиглаж консолоос String унших нь&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;import java.io.*;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;class BRReadLines {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; public static void main(String args[]) throws IOException&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;// System.in ашиглаж BufferedReader -н объектийг үүсгэж байна&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;BufferedReader br = new BufferedReader(new&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InputStreamReader(System.in));&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;String str;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println(&quot;String temdegtuudee oruulna uu.&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println(&quot;Ta &#39;end&#39; gej bichij programiig duusgan uu.&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;do {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; str = br.readLine();&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(str);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;} while(!str.equals(&quot;end&quot;)); // энэ удаад str хувьсагч нь String учраас != харьцуулж болохгүй. str.equals() -гэсэн аргыг дуудаж харьцуулна&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Програмын гаралт:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;String temdegtuudee oruulna uu.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;Ta &#39;end&#39; gej bichij programiig duusgan uu.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;Negdugeer mor&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;Hoyordugaar mor&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;Guravdugaar mor&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;end&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;2. КОНСОЛ РУУ ӨГӨГДӨЛ БИЧИХ:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Бидний өнөөдрийг хүртэл дэлгэцэнд хэвлэхдээ энэ аргыг ашиглаж байсан. Консол руу өгөгдөл бичих нь print( ), println( )-г ашигладаг гэж өмнө үзсэн. Энэ нь System.out байтын урсгалын классыг ашиглаж дэлгэцэнд гаргадаг.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;ЖИШЭЭ 3&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;import java.io.*;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// System.out.write() аргыг ашиглана&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;class WriteDemo {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; public static void main(String args[]) {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;int w;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;w = &#39;A&#39;;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.write(w);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.write(&#39;\n&#39;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;//Дээрх программын гаралт нь A гэсэн тэмдэгт байх болно.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// Мөр, мөрөөр бичих эсэхээс шалтгаалж&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;// print(), println() гэсэн аргуудыг ч бас ашигладаг.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/2981985385640797087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/java-stream-input-output-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/2981985385640797087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/2981985385640797087'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/java-stream-input-output-1.html' title='Java - Stream, Input, Output жишээ - 1'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-6347024628335084010</id><published>2011-04-25T11:44:00.006+08:00</published><updated>2011-04-25T12:58:31.854+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Бие Даалт"/><title type='text'>БИЕ ДААЛТ нөхөж хамгаалах, дvгнэх заалт</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;Бие даалтын ажил нөхөж хамгаалах, дүгнэх заалт:&lt;/span&gt; &lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;span style=&quot;font-family:Arial;&quot;&gt;Бие даалтын ажил№1 буюу Бие даалтын явцаа заасан хугацаанд үзүүлж, хэлэлцсэн оюутнууд 0, бие даалтаа үзүүлээгүй оюутнууд -4 оноогоор, дүгнэгдэнэ. &lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style=&quot;font-family:Arial;&quot;&gt;Бие даалтын ажил№2 буюу Бие даалтын нэгтгэлээ заасан хугацаанд хамгаалсан оюутнууд багшийн зөвшөөрлөөр 14-15 долоо хоногт багтаан өөрийн хийсэн ажлаа төгөлдөржүүлэн сайжруулж бүтэн оноогоо авах боломжтой. Тухайлбал, багшийн зүгээс засаж сайжруулах шаардлагатай гэж үзсэн хэсгийг баяжуулан сайжруулах, мөн бие даалтын ажлын бичиг баримтын дүгнэлт хэсэгт бие даалтын ажил гүйцэтгэх явцад гарсан хүндрэл, алдааг хэрхэн шийдвэрлэсэн тухайгаа жагсааж бичих гэх мэт&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style=&quot;font-family:Arial;&quot;&gt;Бие даалтын ажил№2 буюу Бие даалтын нэгтгэлээ заасан хугацаанд хамгаалаагүй 1 долоо хоног хоцорч хамгаалсан бол тухайн ажлын гүйцэтгэлээр дүгнэсэн онооны тал хувиар дүгнэгдэнэ. 2 долоо хоног хоцорч хамгаалсан ажил оноо авахгүй.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/6347024628335084010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/2_25.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/6347024628335084010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/6347024628335084010'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/2_25.html' title='БИЕ ДААЛТ нөхөж хамгаалах, дvгнэх заалт'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-4948401916163316667</id><published>2011-04-23T21:18:00.003+08:00</published><updated>2011-04-23T21:33:26.109+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Сорил"/><title type='text'>Сорилын дүн</title><content type='html'>&lt;div&gt;Анхаар!&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;15 долоо хоногийн даваа гариг гэхэд багш нар лабораторийн цаг тус бүрээр  Сорил2-ийн дүнгээс бусад оноог хичээлийн вэбэд нийтлэх тул бүхэн Сорил№2-оос өмнө өөрийн явцын болон Сорил1-ийн оноогоо вэбээс харж баталгаажуулна уу!&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;16 долоо хоногт дүнгийн баазад өөрлчлөлт орохгүйг анхаар!!! &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://spreadsheets.google.com/ccc?key=0Aq8FR_twSdShdHJKVU4zd3NJRWVzT2xIMlFnUmZoZWc&amp;amp;hl=en&amp;amp;authkey=CICxnP8I&quot;&gt;Сорил1 дүн харах&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/4948401916163316667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_7942.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4948401916163316667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4948401916163316667'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_7942.html' title='Сорилын дүн'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-3818255026213320482</id><published>2011-04-23T11:41:00.002+08:00</published><updated>2011-04-23T11:44:54.196+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Зарлал"/><title type='text'>Явцын сорил 2</title><content type='html'>Явцын сорил 2-ийг 2011.05.07-ны бямба гаригт 15:00 цагаас 130, 205, 206 тоот өрөөнд авах болсоныг мэдэгдье!</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/3818255026213320482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/2_23.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/3818255026213320482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/3818255026213320482'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/2_23.html' title='Явцын сорил 2'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-8738590774793641178</id><published>2011-04-20T11:35:00.000+08:00</published><updated>2011-04-20T11:35:40.624+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><category scheme="http://www.blogger.com/atom/ns#" term="Тэмдэглэл"/><title type='text'>Unicode хөрвүүлэгч</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeXtp7vZ3XqUcuEUAokCkZCNXVHxfnAdYaGE-mNNRPQ3CiXLTgN0ND4Aw7_4n2LpnegrlL9LPHvOwFW-WKz1axnWxYGBeEyEQXHNLx7h5RPTab95l1HzSc5m8JbebM3uTJnStdV4oWbQ/s1600/cpUnicode.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeXtp7vZ3XqUcuEUAokCkZCNXVHxfnAdYaGE-mNNRPQ3CiXLTgN0ND4Aw7_4n2LpnegrlL9LPHvOwFW-WKz1axnWxYGBeEyEQXHNLx7h5RPTab95l1HzSc5m8JbebM3uTJnStdV4oWbQ/s400/cpUnicode.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Зарим лекц, лабораторын ажлын үсгийн фонт нь танигдахгүй байвал танигдахгүй байгаа үгээ хуулж аваад&amp;nbsp;&lt;a href=&quot;http://url.cdeq.mn/unicode&quot; target=&quot;_blank&quot;&gt;http://url.cdeq.mn/unicode&lt;/a&gt;&amp;nbsp;хаягаар орж Unicode-руу хөрвүүлж уншина уу.</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/8738590774793641178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/unicode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8738590774793641178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8738590774793641178'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/unicode.html' title='Unicode хөрвүүлэгч'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeXtp7vZ3XqUcuEUAokCkZCNXVHxfnAdYaGE-mNNRPQ3CiXLTgN0ND4Aw7_4n2LpnegrlL9LPHvOwFW-WKz1axnWxYGBeEyEQXHNLx7h5RPTab95l1HzSc5m8JbebM3uTJnStdV4oWbQ/s72-c/cpUnicode.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-3071571380732528502</id><published>2011-04-15T18:01:00.000+08:00</published><updated>2011-04-15T18:01:59.044+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Тэмдэглэл"/><title type='text'>САНАЛ АСУУЛГА</title><content type='html'>&lt;iframe frameborder=&quot;0&quot; height=&quot;590&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;https://spreadsheets0.google.com/embeddedform?formkey=dC1ic1Fvb2hnM2ZzQlJaRUVuWHEwYmc6MQ&quot; width=&quot;100%&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/3071571380732528502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_15.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/3071571380732528502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/3071571380732528502'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_15.html' title='САНАЛ АСУУЛГА'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-724085152750005451</id><published>2011-04-15T16:29:00.000+08:00</published><updated>2011-04-15T16:29:00.792+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Тэмдэглэл"/><title type='text'>String харьцуулах</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;String s = &quot;Bataa&quot;, t = &quot;Dorjoo&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;if (s == t)      // Зөв юм шиг боловч тэмдэгтийг ингэж харьцуулах нь &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;буруу&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;if (s.equals(t)) // &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;Зөв&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;if (s &amp;gt; t)    // &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Буруу&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;if (s.compareTo(t) &amp;gt; 0) // &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #274e13;&quot;&gt;Зөв&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/724085152750005451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/string.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/724085152750005451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/724085152750005451'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/string.html' title='String харьцуулах'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-71798108791403375</id><published>2011-04-08T14:45:00.002+08:00</published><updated>2011-04-08T14:53:48.555+08:00</updated><title type='text'>Нэмэлт онооны ажил</title><content type='html'>Нэг нь олонтой  гэсэн Бүрдмэл харьцааг хэрэгжүүүлж турших.&lt;br /&gt;Тухайлбал: Бодит амьдрал дээр&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Машин  4 дугуйтай.&lt;/li&gt;&lt;li&gt;Уншигч 3 ном авах эрхтэй&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Албан хаагч хэд хэдэн дипломтой  гэх мэт &quot;нэг нь олонтой&quot; гэсэн холбоосоор холбогдох бүрдмэл харьцаа тохиолддог.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Оноо: 2</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/71798108791403375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_08.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/71798108791403375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/71798108791403375'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post_08.html' title='Нэмэлт онооны ажил'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-7153709662745173985</id><published>2011-04-08T14:36:00.004+08:00</published><updated>2011-04-08T14:45:07.599+08:00</updated><title type='text'>Лаб№10</title><content type='html'>Бүрдмэл харьцаа&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&quot;Computer has a monitor&quot;  ба  &quot;Computer has a speaker&quot; гэсэн бүрдмэл харьцааг тодорхойлж хэрэгжүүлэх жишээ код бич.&lt;/li&gt;&lt;li&gt;Хэлэлцэх асуудал:&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;Бүрдмэл харьцаа, түүний хэрэглээний ач холбогдол&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Composition  болон Aggregation холбоосуудын хоорондын ялгааг тайлбарлаж тодорхой жишээ гарга.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/7153709662745173985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/7153709662745173985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/7153709662745173985'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/10.html' title='Лаб№10'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-4667315018018020535</id><published>2011-04-07T16:43:00.003+08:00</published><updated>2011-04-07T16:52:12.863+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ном"/><title type='text'>Java ном</title><content type='html'>Хичээлийн үндсэн сурах бичиг : &quot;Объект Хандлагат Програмчлал Java ном&quot; -ыг &lt;ul&gt;&lt;li&gt;КТМС-ийн 108 тоот өрөө&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Интер Номын их дэлгүүрээс тус тус худалдан авах боломжтой.&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/4667315018018020535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/java.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4667315018018020535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4667315018018020535'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/java.html' title='Java ном'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-8105568771432031127</id><published>2011-04-06T17:12:00.002+08:00</published><updated>2011-04-06T17:12:20.861+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Тэмдэглэл"/><title type='text'>ХИЧЭЭЛИЙН БЛОГ (IF FIREWALLED)</title><content type='html'>&lt;a href=&quot;http://url.cdeq.mn/cs203blog&quot;&gt;http://url.cdeq.mn/cs203blog&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/8105568771432031127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/if-firewalled.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8105568771432031127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8105568771432031127'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/if-firewalled.html' title='ХИЧЭЭЛИЙН БЛОГ (IF FIREWALLED)'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-984883265531879293</id><published>2011-04-02T12:33:00.002+08:00</published><updated>2011-04-02T12:36:11.212+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Лаб"/><title type='text'>Лаб№9</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 13px; line-height: 19px; &quot;&gt;Ирэх 7 хоногийн (04/04/2011-04/08/2011) Лабораторийн цаг дээр ирэхдээ &quot;интерфейс&quot;-ийг бие даалтын ажилдаа нэмж хэрэгжүүлээд ирээрэй! Энэ нь лабораторийн ажлын 2 оноогоор дүгнэгдэхээс гадна бие даалтын чинь нэг хэсэг юм. Өөрөөр хэлбэл, Лабораторийн багш нар ирэх 7 хоногт зөвхөн &quot;интерфейс&quot;-ийг хэрхэн хэрэгжүүлсэнийг тань шалгаад зогсохгүй, та бүхний бие даалтын ажил ерөнхийдөө ямар явцтай явж байгаа, цаашид бие даалтын ажил гүйцэтгэхдээ юун дээрээ анхаарах, юуг засаж сайжруулах шаардлагатайг тань оноо хасахгүйгээр хэлж зөвлөх тул Та бүхэн ирэх 7 хоногт (04/04/2011-04/08/2011) лабораторийн хичээлдээ идэвхитэй оролцоорой!&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/984883265531879293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/9_02.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/984883265531879293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/984883265531879293'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/9_02.html' title='Лаб№9'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-4293960915543913325</id><published>2011-04-02T11:33:00.004+08:00</published><updated>2011-04-02T12:06:25.645+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Бие Даалт"/><title type='text'>Бие даалт №2</title><content type='html'>&lt;div&gt;Бие даалтын ажлын 2 хамгаалах&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Програмын үр дүн: Бие даалт №2-д өгөгдсөн ойлголтуудыг хэрэгжүүлэх. Тэгэхдээ Бие даалтын ажил№1-ээр бичсэн код дээрээ үргэлжлүүлж бичээрэй! Сонгосон сэдвийн хүрээнд тань зарим нэг ойлголтыг хэрэгжүүлэхэд хүндрэлтэй байвал (хийсвэрлэхэд хүндрэлтэй бол) тухайн ойлголтыг хэрэгжүүлсэн,  өөр бусад жишээг интернет бусад сурах бичигээс хайж олоод туршиж үзээд оноогоо дүйцүүлэн тооцуулж болно. &lt;/div&gt;&lt;div&gt;  &lt;/div&gt;&lt;div&gt;04/04/2011-04/08/2011 хооронд Лабораторийн цаг дээр ирэхдээ &quot;интерфейс&quot;-ийг бие даалтын ажилдаа нэмж хэрэгжүүлээд ирээрэй! Энэ нь лабораторийн ажлын 2 оноогоор дүгнэгдэхээс гадна бие даалтын чинь нэг хэсэг юм. Өөрөөр хэлбэл, Лабораторийн багш нар ирэх 7 хоногт зөвхөн &quot;интерфейс&quot;-ийг хэрхэн хэрэгжүүлсэнийг тань шалгаад зогсохгүй, та бүхний бие даалтын ажил ерөнхийдөө ямар явцтай явж байгаа, цаашид бие даалтын ажил гүйцэтгэхдээ юун дээрээ анхаарах, юуг засаж сайжруулах шаардлагатайг тань оноо хасахгүйгээр хэлж зөвлөх тул Та бүхэн ирэх 7 хоногийн лабораторийн хичээлдээ идэвхитэй оролцоорой!&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Реферат бичих: Агуулгын хувьд Бие даалт№1 болон Бие даалт№2-оор хэрэгжүүлсэн ОХТ-ийн онолын ойлголтуудыг багтаасан байна. Онолын ойлголт тус бүрээр тухайн ойлголтын онцлог хэрэглээний ач холбогдлын талаар товч дурдаад өөрийн системдээ тухайн ойлголтыг бодит амьдралын шаардлагатай уялдуулан хэрхэн хэрэгжүүлсэнээ тайлбарлаарай!&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://docs.google.com/document/pub?id=1GIdCjjJt0TzoJ-I1uoqjntI6HpBMTVbzWL1pyt7AJeQ&quot;&gt;Загвар жишээ татах&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/4293960915543913325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/2_02.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4293960915543913325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/4293960915543913325'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/2_02.html' title='Бие даалт №2'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-8675421287152591030</id><published>2011-04-01T11:18:00.002+08:00</published><updated>2011-04-01T11:32:01.577+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Тэмдэглэл"/><title type='text'>Блогыг ДИНАМИК үздэг боллоо</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKwYAvO2zVcwOp12qbzuJ5EvGEAIg7XlR-9mmpQz5C-t_onNBDL5n32hMhsUM9Ek2zDNwdrn4f-hkrELbYl0m6HWDhz7bq0s2a0j3Q4l866jvExXaadX9OH1T1caal0TadrduQgc93Gg/s1600/cs203_dv.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: justify;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKwYAvO2zVcwOp12qbzuJ5EvGEAIg7XlR-9mmpQz5C-t_onNBDL5n32hMhsUM9Ek2zDNwdrn4f-hkrELbYl0m6HWDhz7bq0s2a0j3Q4l866jvExXaadX9OH1T1caal0TadrduQgc93Gg/s200/cs203_dv.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Блогын нийтлэл, сэтгэгдлүүдийг илүү хурдтай, илүү хялбараар үздэг &quot;Динамик Блог&quot; гэсэн боломж нэмэгдлээ. Ялангуяа интернэтийн хурд удаан байгаа энэ үед динамикаар үзсэнээр оюутнууд та бүхэн вэб хуудас ачаалагдаж дуусахыг хүлээхэд биш програмаа бичихдээ цагаа зарцуулж чадна.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Дэлгэцийн баруун дээд буланд байрлах&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6699cc; font-family: Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;&lt;a href=&quot;http://cs203.cdeq.mn/p/dynamic-view.html&quot; style=&quot;color: #6699cc; font-weight: normal;&quot;&gt;DNV&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;цэсэн дээр дарж динамикаар үзнэ үү. Түүнчлэн &quot;Flipcard, Mosaic, Sidebar, Snapshot, Timeslide&quot; зэрэг төрөл бүрийн дизайнтайгаар үзэж болно.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/8675421287152591030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8675421287152591030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8675421287152591030'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/04/blog-post.html' title='Блогыг ДИНАМИК үздэг боллоо'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKwYAvO2zVcwOp12qbzuJ5EvGEAIg7XlR-9mmpQz5C-t_onNBDL5n32hMhsUM9Ek2zDNwdrn4f-hkrELbYl0m6HWDhz7bq0s2a0j3Q4l866jvExXaadX9OH1T1caal0TadrduQgc93Gg/s72-c/cs203_dv.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-2628810441451586058</id><published>2011-03-25T00:06:00.003+08:00</published><updated>2011-03-27T23:36:04.478+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Лаб"/><title type='text'>Лаб№8</title><content type='html'>&lt;iframe frameborder=&quot;0&quot; height=&quot;342&quot; src=&quot;https://docs.google.com/present/embed?id=dg27c63b_1455c84x6pf8&quot; width=&quot;410&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;PDF хувилбар (код харагдахаар зассан)&lt;/b&gt;&lt;/div&gt;&lt;iframe frameborder=&quot;0&quot; height=&quot;330px&quot; src=&quot;https://docs.google.com/a/cdeq.mn/viewer?a=v&amp;amp;pid=explorer&amp;amp;chrome=false&amp;amp;embedded=true&amp;amp;srcid=0B-faMs6O3fVrY2NlYWYxMjUtMzQyOC00N2Y1LThkNjYtZTgzNDk4NDRhMWQw&amp;amp;hl=en&quot; width=&quot;100%&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/2628810441451586058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/03/8_6355.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/2628810441451586058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/2628810441451586058'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/03/8_6355.html' title='Лаб№8'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-8065198688847951713</id><published>2011-03-15T11:56:00.000+08:00</published><updated>2011-03-15T11:56:19.950+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Зарлал"/><title type='text'>CS203-Сорил 01</title><content type='html'>&lt;b&gt;9-р долоо хоногт буюу 3/26 - Бямба гараг, 15:00 цагт 130, 205, 206 ангид СS203 - Сорил 1 авна.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Сорил нь эхний 9 лекц, 7 лаб дээр үзсэн ойлголтууд агуулсан тест, бодлого гэсэн 2 хэсгээс бүрдэнэ.</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/8065198688847951713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/03/cs203-01.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8065198688847951713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/8065198688847951713'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/03/cs203-01.html' title='CS203-Сорил 01'/><author><name>Test</name><uri>http://www.blogger.com/profile/04798898671418714508</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-850383750695097843.post-1908138460427612128</id><published>2011-03-14T19:28:00.007+08:00</published><updated>2011-04-02T10:52:41.551+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Бие Даалт"/><title type='text'>&quot;Бие даалт №1&quot; хамгаалах</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot;&gt;Бие даалтын ажил№1-ийг дараах 2 үе шаттай хамгаалуулна. Үүнд:&lt;/span&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;X долоо хоног (III.28-IV.1) Хэрэгжүүлэх ойлголтууд: Хийсвэрлэл, удамшил харьцаа, даран тодорхойлогдсон арга (method override), Статик түлхүүр үгийн хэрэглээ, final түлхүүр үгийн хэрэглээ, дахин тодорхойлогдсон арга (method overload)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;XIII долоо хоног (IV.18-IV.23) &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Хэрэгжүүлэх ойлголтууд: Интерфейс, бүрдмэл харьцаа, ...&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cs203.cdeq.mn/feeds/1908138460427612128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://cs203.cdeq.mn/2011/03/1.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/1908138460427612128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/850383750695097843/posts/default/1908138460427612128'/><link rel='alternate' type='text/html' href='http://cs203.cdeq.mn/2011/03/1.html' title='&quot;Бие даалт №1&quot; хамгаалах'/><author><name>enkhjargal</name><uri>http://www.blogger.com/profile/14645520161689904912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry></feed>