SlideShare a Scribd company logo
1 of 34
Phase 3 : Systems  Design – Overview บทที่  8
Selecting Software Alternatives Planning Analysis Make, build Purchase In – house system Commercial software package Implementation Customized  software
Selecting Software Alternatives ,[object Object],[object Object]
Evaluating Software Alternatives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],High Low
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Systems Design  :  การออกแบบระบบ
Systems Design Activities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Systems Design  Considerations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Design  tradeoffs ,[object Object],[object Object],[object Object],[object Object],[object Object]
System Modeling Current Physical Model  แสดงการทำงานของระบบปัจจุบัน Current Logical Model  ปรับ  current physical model   ให้ มีเฉพาะ   ฟังก์ชั่นงานที่จำเป็น เหมาะสมแก้ไขปัญหาที่    เกิดขึ้นได้   New Logical Model  ปรับ เพิ่มฟังก์ชั่น ตามความต้องการของผู้ใช้   และตามข้อเสนอแนะของนักวิเคราะห์ระบบ   ซึ่งรวมการปรับแต่งทั้ง  process,  data    store   และ  data flow   ที่มีส่วนกระทบ New Physical Model  ปรับ   logical model   ของระบบงานใหม่ในแง่ของความเป็นไปได้ในการใช้งานจริง พิจารณาในส่วนของข้อจำกัดในการพัฒนา ทรัพยากรที่ต้องใช้และการแบ่งส่วนขั้นตอนการทำงาน  clerical procedure   และ  computer procedure
[object Object],[object Object],[object Object],[object Object],[object Object],ขั้นตอนการออกแบบออกแบบระบบงาน   (Design the System)
[object Object],[object Object],การออกแบบฟังก์ชั่น ลำดับงานและการประมวลผล
[object Object],[object Object],การออกแบบฟังก์ชั่น ลำดับงานและการประมวลผล
การออกแบบฟังก์ชั่น ลำดับงานและการประมวลผล ระบบรับการสั่งซื้อ 0 ฝ่ายคลัง ฝ่ายบัญชี ลูกค้า ฝ่ายขาย ธนาคาร ใบสั่งซื้อ ใบแจ้งไม่มีสินค้า ใบแจ้งหนี้ รายการคอมมิชชั่น รายการฝากเงิน รายการสินค้า รายละเอียดการเงิน
การออกแบบฟังก์ชั่น ลำดับงานและการประมวลผล ฝ่ายบัญชี ธนาคาร ใบแจ้งไม่มีสินค้า ใบแจ้งหนี้ ใบสั่งซื้อ รายการคอมมิชชั่น รายการฝากเงิน รายละเอียดการเงิน 2 จัดทำใบแจ้งหนี้ สำเนาใบสั่งซื้อ 3 รับชำระเงิน ใบแจ้งหนี้ D1 สำเนาใบแจ้งหนี้ D2 ใบสั่งซื้อ สำเนาใบสั่งซื้อที่บันทึกแล้ว ใบแจ้งหนี้ ใบแจ้งหนี้ที่รับชำระเงินแล้ว ฝ่ายขาย บันทึกข้อมูลการสั่งซื้อ 1 ฝ่ายคลัง รายการสินค้า ลูกค้า
การออกแบบฟังก์ชั่น ลำดับงานและการประมวลผล ระบบรับการสั่งซื้อ  (0 ) จัดทำใบแจ้งหนี้  (2.0) รับชำระเงิน  (3.0) บันทึกข้อมูลการสั่งซื้อ  (1.0) ...  (1.1) ...  (1.2) ...  (1.3) ...  (2.1) ...  (2.2) ...  (3.1) ...  (3.2) ...  (3.3) ...  (3.4)
Designing and using codes การจัดทำรหัสเกิดขึ้นเมื่อ ,[object Object],[object Object],[object Object]
Designing and using codes ,[object Object],[object Object],[object Object],[object Object],จุดประสงค์การให้รหัสข้อมูล
Designing and using codes ก่อนการออกแบบรหัสขึ้นใช้ควรทำการศึกษาและกำหนดนิยาม  (definition)   ได้แก่ ความยาวของรหัสที่จะใช้  (code length),   รูปแบบรหัส  (code format),   เนื้อความที่จะอยู่ในรหัส  (character content)   และกำหนดเป็นกฎเกณฑ์การตั้งรหัสออกมา  (assignment  conventions)   การใช้รหัสแทนข้อมูลนั้นหากรหัสถูกออกแบบให้ซับซ้อนเกินไป จะทำให้จำได้ยากและยุ่งยากแก่การใช้งาน  ข้อแนะนำในการออกแบบรหัส  มีดังนี้
Designing and using codes หลักการออกแบบรหัส  ( Developing a code ) 1.  Keep code concise  พยายามให้รหัสมีความกระทักรัด ไม่สั้นหรือยาวเกินไป 2. Allow for expansion  กำหนดให้รหัสสามารถรองรับการขยายในอนาคต 3. Keep code stable  and consistent   รหัสเมื่อกำหนดใช้แล้วต้องคงที่ไม่เปลี่ยนแปลงไปมา 4. Make code unique 5. Use sortable code  เมื่อออกแบบให้คำนึงถึงรหัสที่สามารถจัดเรียงลำดับได้ 6. Avoid confusing code  หลีกเลี่ยงการสร้างรหัสที่ก่อให้เกิดความสับสนได้ เช่น เลขศูนย์ กับอักษร โอ  (0, O)   ตัวแอลเล็กกับตัวไอใหญ่  ( l,  I)
Designing and using codes Type of data codes 1. Significant code 2. Non - significant code
Significant code - Logical code Matrix :  แสดงความสัมพันธ์ระหว่าง  2  components 1=Red  2=Green 3=Blue 4=Yellow 5=Black 1=Hat  11  12  13  14  15 2=Coat  21  22  23  24  25 3=Gloves  31  32  33  34  35 4=Scarf  41  42  43  44  45
Significant code - Logical code ,[object Object],Code :    1 2 3 4 5 6 Weights :    1 7 3 1 7 3 Modulus : 10 Code * Weights :  1 14 9 4 35 18 sum of results : 81 Different from next multiply of ten : 90 - 81 = 9  or 81/10 = 8 remainder = 1 ( 10 – 1 = 9 )  Check-character = 9
ตรวจสอบ  Self-Checking  Code with check-character  : 1234569 Weights : 1731731 Checking by multiply each digit by its weight : 1 + 14 + 9 + 4 + 35 + 18 + 9 = 90 Dividing sum by 10 : 90/10  ได้เศษ  0  แสดงว่าข้อมูลที่รับเข้ามาถูกต้อง Code with check-character  :   7 234569 Weights : 1731731 Checking by multiply each digit by its weight : 7+ 14 + 9 + 4 + 35 + 18 + 9 = 96 Dividing sum by 10 : 96/10  ได้เศษ  6  แสดงว่าข้อมูลที่รับเข้ามาไม่ถูกต้อง
ตรวจสอบ  Self-Checking  Code with check-character  :  21 34569 Weights : 1731731 Checking by multiply each digit by its weight : 2 + 7 + 9 + 4 + 35 + 18 + 9 = 84 Dividing sum by 10 : 84/10  ได้เศษ  4  แสดงว่าข้อมูลที่รับเข้ามาไม่ถูกต้อง
Significant code - Logical code Self-Checking -  modulus 11 Code :    3 1 6 0 2 Weights :    6 5 4 3 2 Code * Weights :  18 5  24  0  4 sum of results : 51 Divide sum of result by modulus : 51/11 = 4  remainder = 7 Subtract remainder from modulus : 11 - 7 = 4 check character = 4 code with check character : 31602 4
Significant code - Collating code ,[object Object],[object Object],[object Object],[object Object]
Significant code - Collating code ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Significant code - Collating code 3. Classification codes  จัดรหัสตาม  categories 3.1  Decimal :  3   Social science   37  Education in   372  Elementary   372.2  Kindergarten   372.21  Method   372.215  Songs and games
Significant code - Collating code 3. Classification codes  จัดรหัสตาม  categories 3.2 Faceted :  face 1 = type,  face 2 = sex, face 3 = size,  face 4 = style, face 5 = material SU M 38L 17 384  Suit male size 38long   style 17  material 384
Significant code - Collating code 3.3  Significant digit codes  :  ใช้ชุดของตัวเลขแบ่งเป็น  group, subgroup  แต่ละ  subgroup  มีความหมาย 99  99  99  999 Warehouse location section Part  Type Serial number
Significant code - Abbreviation 1. Mnemonic cm centimeter m  meter 2. Acronyms RADAR - Radio Detecting And Ranging
Significant code - Other codes 1. Cipher codes  เป็นการ  encode  ข้อมูล 2. Action codes  ใช้รหัสแทนการกระทำที่ต้องการ เช่น  A  หมายถึง  Add  X  หมายถึง  eXit  จาก  program
Non - Significant code 1.  Sequential code   Block sequential code 2. Random codes
1) Discussion – Data Code  สำนักทะเบียน 2) Class Exercise  การออกแบบฟังก์ชั่น ลำดับงาน และการประมวลผล   -   ส่งด้วย

More Related Content

Viewers also liked

Will smith
Will smithWill smith
Will smith
Ingmar7
 
Music Of World Religions
Music Of World ReligionsMusic Of World Religions
Music Of World Religions
Jenny Hulbert
 
a mi perrita luna
a mi perrita lunaa mi perrita luna
a mi perrita luna
pepe_linea
 
Lesson Plan Two Power Point Lb22
Lesson Plan Two Power Point Lb22Lesson Plan Two Power Point Lb22
Lesson Plan Two Power Point Lb22
Jenny Hulbert
 
The Power Of Vision (malay)
The Power Of Vision (malay)The Power Of Vision (malay)
The Power Of Vision (malay)
notarazi
 
Sevilla Mi Destino
Sevilla Mi DestinoSevilla Mi Destino
Sevilla Mi Destino
pepe_linea
 
Ptolemy, Copernicus, and the Church
Ptolemy, Copernicus, and the ChurchPtolemy, Copernicus, and the Church
Ptolemy, Copernicus, and the Church
Jenny Hulbert
 
Extracció d’ADN d’un kiwi
Extracció d’ADN d’un kiwiExtracció d’ADN d’un kiwi
Extracció d’ADN d’un kiwi
iriera5
 
Librarians learn web day 3
Librarians learn web day 3Librarians learn web day 3
Librarians learn web day 3
Robin Hastings
 

Viewers also liked (20)

Jaden smith
Jaden smithJaden smith
Jaden smith
 
Will smith
Will smithWill smith
Will smith
 
Will smith
Will smithWill smith
Will smith
 
Cine Gratis
Cine GratisCine Gratis
Cine Gratis
 
Mla Databases
Mla DatabasesMla Databases
Mla Databases
 
Music Of World Religions
Music Of World ReligionsMusic Of World Religions
Music Of World Religions
 
graffitys 3
graffitys 3graffitys 3
graffitys 3
 
Ch11th
Ch11thCh11th
Ch11th
 
a mi perrita luna
a mi perrita lunaa mi perrita luna
a mi perrita luna
 
Ensuring HIgh Quality Online Professional Development
Ensuring HIgh Quality Online Professional DevelopmentEnsuring HIgh Quality Online Professional Development
Ensuring HIgh Quality Online Professional Development
 
Lesson Plan Two Power Point Lb22
Lesson Plan Two Power Point Lb22Lesson Plan Two Power Point Lb22
Lesson Plan Two Power Point Lb22
 
Remodel your website
Remodel your websiteRemodel your website
Remodel your website
 
The Power Of Vision (malay)
The Power Of Vision (malay)The Power Of Vision (malay)
The Power Of Vision (malay)
 
Fotos Prueba de mercado Bisuarias
Fotos Prueba de mercado BisuariasFotos Prueba de mercado Bisuarias
Fotos Prueba de mercado Bisuarias
 
Sevilla Mi Destino
Sevilla Mi DestinoSevilla Mi Destino
Sevilla Mi Destino
 
Ptolemy, Copernicus, and the Church
Ptolemy, Copernicus, and the ChurchPtolemy, Copernicus, and the Church
Ptolemy, Copernicus, and the Church
 
One-To-One Policies
One-To-One Policies One-To-One Policies
One-To-One Policies
 
Extracció d’ADN d’un kiwi
Extracció d’ADN d’un kiwiExtracció d’ADN d’un kiwi
Extracció d’ADN d’un kiwi
 
Project management for nagw
Project management for nagwProject management for nagw
Project management for nagw
 
Librarians learn web day 3
Librarians learn web day 3Librarians learn web day 3
Librarians learn web day 3
 

Similar to SA Chapter 8

การแก้ปัญหาการออกแบบและพัฒนาขั้นตอนวิธี
การแก้ปัญหาการออกแบบและพัฒนาขั้นตอนวิธีการแก้ปัญหาการออกแบบและพัฒนาขั้นตอนวิธี
การแก้ปัญหาการออกแบบและพัฒนาขั้นตอนวิธี
Saranyu Srisrontong
 
เครื่องมือในการออกแบบบัญชีด้วยคอมพิวเตอร์
เครื่องมือในการออกแบบบัญชีด้วยคอมพิวเตอร์เครื่องมือในการออกแบบบัญชีด้วยคอมพิวเตอร์
เครื่องมือในการออกแบบบัญชีด้วยคอมพิวเตอร์
Witoon Thammatuch-aree
 
ความหมายของเทคโนโลยีสารสนเทศ
ความหมายของเทคโนโลยีสารสนเทศความหมายของเทคโนโลยีสารสนเทศ
ความหมายของเทคโนโลยีสารสนเทศ
Paweena Kittitongchaikul
 
งานนำเสนอ1 คอม
งานนำเสนอ1 คอมงานนำเสนอ1 คอม
งานนำเสนอ1 คอม
Passawan' Koohar
 
งานนำเสนอ1 คอม
งานนำเสนอ1 คอมงานนำเสนอ1 คอม
งานนำเสนอ1 คอม
nuknook
 

Similar to SA Chapter 8 (20)

Workshop03
Workshop03Workshop03
Workshop03
 
Object Oriented Software Analysis and Design
Object Oriented Software Analysis and DesignObject Oriented Software Analysis and Design
Object Oriented Software Analysis and Design
 
Chapter 04 Compare
Chapter 04 CompareChapter 04 Compare
Chapter 04 Compare
 
The system-analysis-and-design
The system-analysis-and-designThe system-analysis-and-design
The system-analysis-and-design
 
การแก้ปัญหาการออกแบบและพัฒนาขั้นตอนวิธี
การแก้ปัญหาการออกแบบและพัฒนาขั้นตอนวิธีการแก้ปัญหาการออกแบบและพัฒนาขั้นตอนวิธี
การแก้ปัญหาการออกแบบและพัฒนาขั้นตอนวิธี
 
เครื่องมือในการออกแบบบัญชีด้วยคอมพิวเตอร์
เครื่องมือในการออกแบบบัญชีด้วยคอมพิวเตอร์เครื่องมือในการออกแบบบัญชีด้วยคอมพิวเตอร์
เครื่องมือในการออกแบบบัญชีด้วยคอมพิวเตอร์
 
Activity 4
Activity 4Activity 4
Activity 4
 
การพัฒนาซอฟแวร์
การพัฒนาซอฟแวร์การพัฒนาซอฟแวร์
การพัฒนาซอฟแวร์
 
ความหมายของเทคโนโลยีสารสนเทศ
ความหมายของเทคโนโลยีสารสนเทศความหมายของเทคโนโลยีสารสนเทศ
ความหมายของเทคโนโลยีสารสนเทศ
 
ระบบสารสนเทศ
ระบบสารสนเทศระบบสารสนเทศ
ระบบสารสนเทศ
 
งานนำเสนอ1 คอม
งานนำเสนอ1 คอมงานนำเสนอ1 คอม
งานนำเสนอ1 คอม
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
งานนำเสนอ1 คอม
งานนำเสนอ1 คอมงานนำเสนอ1 คอม
งานนำเสนอ1 คอม
 
System development life cycle sdlc
System development life cycle  sdlcSystem development life cycle  sdlc
System development life cycle sdlc
 
System Development Life Cycle S D L C
System  Development  Life  Cycle   S D L CSystem  Development  Life  Cycle   S D L C
System Development Life Cycle S D L C
 
M
MM
M
 
Software
SoftwareSoftware
Software
 
SA-System Analysis
SA-System AnalysisSA-System Analysis
SA-System Analysis
 
Lesson 4 (misson)2
Lesson 4 (misson)2Lesson 4 (misson)2
Lesson 4 (misson)2
 
Lesson 4 (misson)2
Lesson 4 (misson)2Lesson 4 (misson)2
Lesson 4 (misson)2
 

More from Nuth Otanasap

มาตรฐานผลการเรียนรู้
มาตรฐานผลการเรียนรู้มาตรฐานผลการเรียนรู้
มาตรฐานผลการเรียนรู้
Nuth Otanasap
 

More from Nuth Otanasap (20)

กองทุนท่าจีน
กองทุนท่าจีนกองทุนท่าจีน
กองทุนท่าจีน
 
มาตรฐานผลการเรียนรู้
มาตรฐานผลการเรียนรู้มาตรฐานผลการเรียนรู้
มาตรฐานผลการเรียนรู้
 
SA Chapter 14
SA Chapter 14SA Chapter 14
SA Chapter 14
 
SA Chapter 13
SA Chapter 13SA Chapter 13
SA Chapter 13
 
SA Chapter 10
SA Chapter 10SA Chapter 10
SA Chapter 10
 
SA Chapter 7
SA Chapter 7SA Chapter 7
SA Chapter 7
 
SA Chapter 6
SA Chapter 6SA Chapter 6
SA Chapter 6
 
SA Chapter 5
SA Chapter 5SA Chapter 5
SA Chapter 5
 
SA Chapter 4
SA Chapter 4SA Chapter 4
SA Chapter 4
 
SA Chapter 3
SA Chapter 3SA Chapter 3
SA Chapter 3
 
SA Chapter 2
SA Chapter 2SA Chapter 2
SA Chapter 2
 
Ec2009 ch01 overview of electronic commerce
Ec2009 ch01 overview of electronic commerceEc2009 ch01 overview of electronic commerce
Ec2009 ch01 overview of electronic commerce
 
Ec2009 ch14 creating and launching
Ec2009 ch14 creating and launchingEc2009 ch14 creating and launching
Ec2009 ch14 creating and launching
 
Ec2009 ch15 e commerce strategy
Ec2009 ch15 e commerce strategyEc2009 ch15 e commerce strategy
Ec2009 ch15 e commerce strategy
 
Ec2009 ch12 legal ethical and social
Ec2009 ch12 legal ethical and socialEc2009 ch12 legal ethical and social
Ec2009 ch12 legal ethical and social
 
Ec2009 ch11 electronic payment systems
Ec2009 ch11 electronic payment systemsEc2009 ch11 electronic payment systems
Ec2009 ch11 electronic payment systems
 
Ec2009 ch10 e commerce security
Ec2009 ch10 e commerce securityEc2009 ch10 e commerce security
Ec2009 ch10 e commerce security
 
Ec2009 ch09 auctions
Ec2009 ch09 auctionsEc2009 ch09 auctions
Ec2009 ch09 auctions
 
Ec2009 ch08 mobile commerce and pervasive computing
Ec2009 ch08 mobile commerce and pervasive computingEc2009 ch08 mobile commerce and pervasive computing
Ec2009 ch08 mobile commerce and pervasive computing
 
Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...
Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...
Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...
 

SA Chapter 8

  • 1. Phase 3 : Systems Design – Overview บทที่ 8
  • 2. Selecting Software Alternatives Planning Analysis Make, build Purchase In – house system Commercial software package Implementation Customized software
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. System Modeling Current Physical Model แสดงการทำงานของระบบปัจจุบัน Current Logical Model ปรับ current physical model ให้ มีเฉพาะ ฟังก์ชั่นงานที่จำเป็น เหมาะสมแก้ไขปัญหาที่ เกิดขึ้นได้ New Logical Model ปรับ เพิ่มฟังก์ชั่น ตามความต้องการของผู้ใช้ และตามข้อเสนอแนะของนักวิเคราะห์ระบบ ซึ่งรวมการปรับแต่งทั้ง process, data store และ data flow ที่มีส่วนกระทบ New Physical Model ปรับ logical model ของระบบงานใหม่ในแง่ของความเป็นไปได้ในการใช้งานจริง พิจารณาในส่วนของข้อจำกัดในการพัฒนา ทรัพยากรที่ต้องใช้และการแบ่งส่วนขั้นตอนการทำงาน clerical procedure และ computer procedure
  • 10.
  • 11.
  • 12.
  • 13. การออกแบบฟังก์ชั่น ลำดับงานและการประมวลผล ระบบรับการสั่งซื้อ 0 ฝ่ายคลัง ฝ่ายบัญชี ลูกค้า ฝ่ายขาย ธนาคาร ใบสั่งซื้อ ใบแจ้งไม่มีสินค้า ใบแจ้งหนี้ รายการคอมมิชชั่น รายการฝากเงิน รายการสินค้า รายละเอียดการเงิน
  • 14. การออกแบบฟังก์ชั่น ลำดับงานและการประมวลผล ฝ่ายบัญชี ธนาคาร ใบแจ้งไม่มีสินค้า ใบแจ้งหนี้ ใบสั่งซื้อ รายการคอมมิชชั่น รายการฝากเงิน รายละเอียดการเงิน 2 จัดทำใบแจ้งหนี้ สำเนาใบสั่งซื้อ 3 รับชำระเงิน ใบแจ้งหนี้ D1 สำเนาใบแจ้งหนี้ D2 ใบสั่งซื้อ สำเนาใบสั่งซื้อที่บันทึกแล้ว ใบแจ้งหนี้ ใบแจ้งหนี้ที่รับชำระเงินแล้ว ฝ่ายขาย บันทึกข้อมูลการสั่งซื้อ 1 ฝ่ายคลัง รายการสินค้า ลูกค้า
  • 15. การออกแบบฟังก์ชั่น ลำดับงานและการประมวลผล ระบบรับการสั่งซื้อ (0 ) จัดทำใบแจ้งหนี้ (2.0) รับชำระเงิน (3.0) บันทึกข้อมูลการสั่งซื้อ (1.0) ... (1.1) ... (1.2) ... (1.3) ... (2.1) ... (2.2) ... (3.1) ... (3.2) ... (3.3) ... (3.4)
  • 16.
  • 17.
  • 18. Designing and using codes ก่อนการออกแบบรหัสขึ้นใช้ควรทำการศึกษาและกำหนดนิยาม (definition) ได้แก่ ความยาวของรหัสที่จะใช้ (code length), รูปแบบรหัส (code format), เนื้อความที่จะอยู่ในรหัส (character content) และกำหนดเป็นกฎเกณฑ์การตั้งรหัสออกมา (assignment conventions) การใช้รหัสแทนข้อมูลนั้นหากรหัสถูกออกแบบให้ซับซ้อนเกินไป จะทำให้จำได้ยากและยุ่งยากแก่การใช้งาน ข้อแนะนำในการออกแบบรหัส มีดังนี้
  • 19. Designing and using codes หลักการออกแบบรหัส ( Developing a code ) 1. Keep code concise พยายามให้รหัสมีความกระทักรัด ไม่สั้นหรือยาวเกินไป 2. Allow for expansion กำหนดให้รหัสสามารถรองรับการขยายในอนาคต 3. Keep code stable and consistent รหัสเมื่อกำหนดใช้แล้วต้องคงที่ไม่เปลี่ยนแปลงไปมา 4. Make code unique 5. Use sortable code เมื่อออกแบบให้คำนึงถึงรหัสที่สามารถจัดเรียงลำดับได้ 6. Avoid confusing code หลีกเลี่ยงการสร้างรหัสที่ก่อให้เกิดความสับสนได้ เช่น เลขศูนย์ กับอักษร โอ (0, O) ตัวแอลเล็กกับตัวไอใหญ่ ( l, I)
  • 20. Designing and using codes Type of data codes 1. Significant code 2. Non - significant code
  • 21. Significant code - Logical code Matrix : แสดงความสัมพันธ์ระหว่าง 2 components 1=Red 2=Green 3=Blue 4=Yellow 5=Black 1=Hat 11 12 13 14 15 2=Coat 21 22 23 24 25 3=Gloves 31 32 33 34 35 4=Scarf 41 42 43 44 45
  • 22.
  • 23. ตรวจสอบ Self-Checking Code with check-character : 1234569 Weights : 1731731 Checking by multiply each digit by its weight : 1 + 14 + 9 + 4 + 35 + 18 + 9 = 90 Dividing sum by 10 : 90/10 ได้เศษ 0 แสดงว่าข้อมูลที่รับเข้ามาถูกต้อง Code with check-character : 7 234569 Weights : 1731731 Checking by multiply each digit by its weight : 7+ 14 + 9 + 4 + 35 + 18 + 9 = 96 Dividing sum by 10 : 96/10 ได้เศษ 6 แสดงว่าข้อมูลที่รับเข้ามาไม่ถูกต้อง
  • 24. ตรวจสอบ Self-Checking Code with check-character : 21 34569 Weights : 1731731 Checking by multiply each digit by its weight : 2 + 7 + 9 + 4 + 35 + 18 + 9 = 84 Dividing sum by 10 : 84/10 ได้เศษ 4 แสดงว่าข้อมูลที่รับเข้ามาไม่ถูกต้อง
  • 25. Significant code - Logical code Self-Checking - modulus 11 Code : 3 1 6 0 2 Weights : 6 5 4 3 2 Code * Weights : 18 5 24 0 4 sum of results : 51 Divide sum of result by modulus : 51/11 = 4 remainder = 7 Subtract remainder from modulus : 11 - 7 = 4 check character = 4 code with check character : 31602 4
  • 26.
  • 27.
  • 28. Significant code - Collating code 3. Classification codes จัดรหัสตาม categories 3.1 Decimal : 3 Social science 37 Education in 372 Elementary 372.2 Kindergarten 372.21 Method 372.215 Songs and games
  • 29. Significant code - Collating code 3. Classification codes จัดรหัสตาม categories 3.2 Faceted : face 1 = type, face 2 = sex, face 3 = size, face 4 = style, face 5 = material SU M 38L 17 384 Suit male size 38long style 17 material 384
  • 30. Significant code - Collating code 3.3 Significant digit codes : ใช้ชุดของตัวเลขแบ่งเป็น group, subgroup แต่ละ subgroup มีความหมาย 99 99 99 999 Warehouse location section Part Type Serial number
  • 31. Significant code - Abbreviation 1. Mnemonic cm centimeter m meter 2. Acronyms RADAR - Radio Detecting And Ranging
  • 32. Significant code - Other codes 1. Cipher codes เป็นการ encode ข้อมูล 2. Action codes ใช้รหัสแทนการกระทำที่ต้องการ เช่น A หมายถึง Add X หมายถึง eXit จาก program
  • 33. Non - Significant code 1. Sequential code Block sequential code 2. Random codes
  • 34. 1) Discussion – Data Code สำนักทะเบียน 2) Class Exercise การออกแบบฟังก์ชั่น ลำดับงาน และการประมวลผล - ส่งด้วย