วันเสาร์ที่ 27 มิถุนายน พ.ศ. 2552

DTS02-23/06/2009

#include
void main()
{
struct address{
int number_address;
char district[30];
char amphur[30];
char province[30];
int code;
char road[30];
char country[30];
char nearly_province [30];
}student;
printf("My_address\n");
printf("=============================\n");
printf("My number address is :");
scanf("%d",&student.number_address);
printf("\nMy district is :");
scanf("%s",&student.district);
printf("\nMy amphur is");
scanf("%s",&student.amphur);
printf("\nMy province is:");
scanf("%s",&student.province);
printf("\nMy code is :");
scanf("%d",&student.code);
printf("\nMy road is:") ;
scanf("%s",&student.road);
printf("\nMy country is:");
scanf("%s",&student.country);
printf("\nMy nearly_province is:");
scanf("%s", &student.nearly_province);
printf("=============================\n");
printf("My number address is %d\n",student.number_address);
printf("My district is %s\n",student.district);
printf("My amphur is %s\n",student.amphur);
printf("My province is %s\n",student.province);
printf("My code is %d\n",student.code);
printf("My road is %s\n",student.road);
printf("My country is %s\n",student.country);
printf("My nearly_province %s\n",student.nearly_province);
}
สิ่งที่ได้จากเรียน Data structures ก็คือทำให้เข้าใจความหมายของโครงสร้างข้อมูลมากยิ่งขึ้นว่าโครงสร้างข้อมูลนั้นแสดงถึงความสัมพันธ์ระหว่างข้อมูล ซึ่งแบ่งเป็น 4 แบบได้แก่
1.โครงสร้างข้อมูลแบบเซต (set)
2.โครงสร้างแบบเชิงเส้น (linear)
3.โครงสร้างแบบต้นไม้หรือแบบลำดับขั้น (tree or hierarchical)
4.โครงสร้างแบบกราฟหรือเครือข่าย (graph or network)

ส่วนการเรียนเรื่อง Algorithm นั้นทำให้เข้าใจว่าอัลกอรึทึมเป็นกระบวนการแก้ปัญหาที่สามารถเข้าใจได้ มีลำดับหรือวิธีการในการแก้ไขปัญหาใดปัญหาหนึ่งอย่างเป็นขั้นเป็นตอนและชัดเจน เมื่อนำเข้าอะไร แล้วจะต้องได้ผลลัพธ์เช่นไร แต่เวลาลงมือเขียนจะยังไม่ค่อยเป็นเท่าไรเพราะว่ายังไม่ค่อยรู้ว่าการทำงานแบบวนซ้ำนั้นต้องใช้ในกรณีใดบ้าง

วันอังคารที่ 23 มิถุนายน พ.ศ. 2552

ประวัติ

นางสาวนพวรรณ คำมณี รหัสประจำตัว 50132792015

Miss.Noppawan Kummanee

หลักสูตร บริหารธุรกิจ ( คอมพิวเตอร์ธุรกิจ ) คณะวิทยาการจัดการ

มหาวิทยาลัยราชภัฏสวนดุสิต

E-mail:U50132792015@gmail.com