วันจันทร์ที่ 20 มิถุนายน พ.ศ. 2554

สรุปครั้งที่1โครงสร้างขั้นตอนและวิธี

Introduction
1. ความหมายของโครงสร้างข้อมูล
   -ข้อมูล คือ ข้อเท็จจริงต่างๆ ซึ่งอาจเป็นตัวเลขหรือไม่เป็นตัวเลขก็ได้
   -โครงสร้าง คือความสัมพันธ์ของสมาชิกในกลุ่ม
โครงสร้างข้อมูล ( Data Structure )
   ความสัมพันธ์ระหว่างข้อมูลที่อยู่ในโครงสร้างนั้นๆรวมทั้งกระบวนการในการจัดการข้อมูลในโครงสร้าง
2. ประเภทของโครงสร้างข้อมูล
      - โครงสร้างข้อมูลในภาษาคอมพิเตอร์ใช้กันอยู่ในปัจจุบัน แบ่งออกเป็น 2 ประเภท
   1. โครงสร้างข้อมูลทางกายภาพ ( Physical Data Structure )
   2.โครงสร้างข้อมูลทางตรรกะ ( Logical Data Structure )
3. การแทนที่ข้อมูลในหน่วยความจำหลัก
    -ในการเขียนโปรแกรมคอมพิวเตอร์ จะมีการแทนที่ข้อมูลในหน่วยความจำหลักอยู่2วิธี คือ
   1. การแทนที่ข้อมูลแบบสแตติก ( Static Memory Representation )
        : เป็นการจองเนื้อที่แบบคงที่แน่นอน
   2. การแทนที่ข้อมูลแบบไดนามิก ( Dynamic Memory Representation )
        : การแทนที่ข้อมูลไม่ต้องจองเนื้อที่ขนาดของเนื้อที่ยืดหยุ่นได้ตามความต้องการของผู้ใช้ หน่วยความจำข้อมูลที่ไม่ใช้สามารถส่งคืน
เพื่อนำกลับมาใช้ใหม่ได้อีก
4. ขั้นตอนวิธี (Algorithm) 
   -เป็นวิธีการแก้ปัญหาต่างๆอย่างมีระบบมีลำดับขั้นตอนตั้งแต่ต้นจนกระทั่งได้ผลลัพธ์ สามารถเขียนได้หลายแบบ การเลือกใช้ขั้นตอน
วิธีที่เหมาะสมกระชับและรัดกุม

คำถาม
  ในการเขียนภาษาc มีสูตรในการเขียนที่ตายตัวหรือเปล่า?

วันเสาร์ที่ 27 พฤศจิกายน พ.ศ. 2553

Exercise company Oishi

Employees : 6,000 people

Subsidiaries :  Oishi Ramen Limited.        
                          Oishi Trading.,Ltd..

Turnover   :    7,200 Million Bath

Location of parent company :   No.9 Building, UM Tower,Ramkhamhaeng Road,
                      Suan Luang,Bangkok 10250

Number of products : More than 100 food items.

Joint venture partner : Paisal Avsatanpon

วันจันทร์ที่ 15 พฤศจิกายน พ.ศ. 2553

MY FAVORITE PET

  My favorite pet is cat . Because it has beautiful hair . It's the animal that perverse and playful . I do like it . And I like the white cat , it looks clean . I like it very much if it's fur . Because of its very soft fur . But I do not like cats , it ferocity . Because they like scrabble . But I like cats a little more . Because they love the most . But sometime I  do not like it because they like snuggle . Most importantly , I like it . Because it is a pet . It makes us not lonely . And the relaxation . Because it can play with us . When we lonely . I think that when it smaller . It's like a child . Because they like naughty . And I think that cats are very docile animals, if we practice it will follow us. So, I like cats. Because it is both cute and playful . Many people like it. Including me. Lovers and loved cats.

วันพฤหัสบดีที่ 11 พฤศจิกายน พ.ศ. 2553

Exercise 4

Answer
A) The pone number Loews New York Hotel is 212-752-700.
B) Yes.there is.
C) Radisson Emprire Hotel and Swissotel New York has swimming pools.
D) The Plaza Hotel and The Waldorf- Astoria are the most expensive.

Exercise 11


Answer

1. booking.
2. day.
3. 8 April.
4. 9 April.
5. price.
6. $ 165 per night.
7. single with.
8. bath.
9. time of arrival at the hotel.
10. 9 p.m.