c:\documents and settings\administrator\desktop\ch00...

Download C:\Documents And Settings\Administrator\Desktop\Ch00 คอมพิวเตอร์เบื้องต้น

Post on 19-Jun-2015

3.257 views

Category:

Education

0 download

Embed Size (px)

DESCRIPTION

--*-*

TRANSCRIPT

  • 1. UthairattPhangphol Informaticsoffaculty SripatumUniversityChonburiCampus BCS213

2.

  • 4

Input Processing Out put Storage RawData 1 2 3 4 Information 3. Computer

  • 1.( Speed)
  • 2.(Reliability)
  • 3.(Storage)

4. Computer Computer/ComputerProgramInstructions/Software MainMemory Program Load Output ( Execute) 5.

  • 1.Hardware
  • -InputDevice -ProcessingDevice
  • -OutputDevice -StorageDevice
  • -OtherDevice(CPU e.g. Pentium III,Monitor,Keyboard & Mouse,Memory,Hard disk)
  • 2.Software
  • -SystemSoftware
      • Operating System e.g. Window , DOS
      • Compiler e.g.C Compiler
  • -ApplicationSoftware

6.

  • 3.Peopleware
  • -SystemAnalyst
  • -Programmer
  • -User
  • -ComputerOperators
  • -DataEntryOperators
  • 4.Data
  • -PrimaryData
  • -SecondaryData

7.

  • 1.MachineLanguage
  • 2.LowLevelLanguageAssembly
  • 3.MidernLevelLanguageC ,Forth
  • 4.HighLevelLanguageAda,Modula-2,Pascal,Cobol,Fortran,Basic

8. (Flow Chart)

  • (Flowchart) -

Template 9. (Flow Chart)

  • (System Flowchart) - (Program Flowchart)

10. (Flow Chart)

  • (Program Flowchart)
  • -

11.

12.

  • (Program Maintenance)

13. 14. 15.

16.

  • 3
  • 1.(Simple
  • Sequence Structure)

17. 1.Algorithm,FlowChart 2.Algorithm,FlowChart 3.Algorithm,FlowChart 4.Algorithm,FlowChart ( =* ) 18.

  • 2.(If - Then Structure) -(Condition) Flow

19.

  • 3.(Looping)
  • 1

20.

  • 2
  • 1.Pre-conditionLoop
  • Loop ForLoop While
  • 2.Post-condition Loop
  • 1
  • DoWhile

21. yes Yes NO 22.

  • 1. ( ProblemAnalysis)
  • 1.1 (UserRequirementDocument)
  • 1.2 ( RequirementsAnalysis)
  • 1. ( Interviewing)
  • 2. ( Observation)
  • 3. ( Questionaies)
  • -
  • -

23.

  • 1.3 ( ProblemDefinition)
  • -
  • -
  • --
  • -
  • - ( User) ( )

24.

  • 1.4 ( Input/Output)Specification)
  • -
  • -Keyboard,Mouse
  • - ( )
  • -Monitor,Printer

25.

  • 1.5 ( GlobalVariableDefinition)
  • -
  • -
  • EX.Data 10 ( Array )
  • -10
  • -Keyboard
  • -Average
  • -5

26.

  • 2. ( AlgorithmDesign)
  • ( ProblemAnalysis)
  • 2.1

27.

  • EX 1.Keyboard 1.Read Value1,Value2,Value3
  • 2.Average 2.ComputeAverage
  • 3.Monitor 3.WriteAverage
  • 2.2 ( Algorithm) (Pseudocode)

28.

  • Ex.Algorithmaverage
  • 1.1Read(value1)
  • 1.2Read(value2)
  • 1.3Read(value3)
  • 2.1Sum=value1 + value2 + value3
  • 2.2Average=sum/3
  • 3.1WriteAverage

_ _ _ _ 10 20 30 20 29. ( ) Ex.Algorithmaverage 1.1WritePlease Input Number1 = 1.2Read(value1) 1.3Write Please Input Number2= 1.4Read(value2)1.5Write Please Input Number3= 1.6Read(value3) 2.1Sum=value1 + value2 + value3 2.2Average=sum/3 3.1WriteTotal = 3.2WriteSum 3.3WriteAverage = 3.4 WriteAverage Please InputNumber1= 10Please InputNumber2= 20 Please InputNumber3= 30 Total = 60 Average= 20 30.

  • 2.3 ( Flowchart )
  • Flowchart

31.

  • 3.( ComputerSolution)
  • 3.1 (Writinga Program)
  • 3.2
  • 1.SyntaxError
  • 2.RunTimeError
  • 3.LogicError
  • 4. ( Documentation)
  • 4.1
  • 4.2

32.

  • Definetheproblem
  • Outlinethesolution
  • Develop theOutlineintoanalgorithm
  • Testthealgorithmforcorrectness
  • Codethealgorithmintoa specific programminglanguage
  • Runtheprogramonthecomputer
  • Documentandmaintaintheprogram

33.

  • 5. ( Maintenance)
  • ( Install)

34. 1. ( Definetheproblem)

    • Input
    • Output
    • ( Processing)

35. 2. ( OutlinetheSolution)

  • ( Outlinethesolution)

36. 2.Develop theOutlineinto an algorithm

  • ( Algorithm)
  • Algorithm

37. 3.Develop theOutlineinto an algorithm

      • Pseudocode
      • Flowchart
      • Nassi Schneidermandiagrams(N-S Chart)

38. 4.Testthealgorithmforcorrectness

  • Algorithm
  • Algorithm
  • DeskChecking Algorithm

39. 5.CodethealgorithmintoaspecificprogrammingLanguage

  • ( ProgrammingLanguage)

40. 6. Runtheprogramonthecomputer

  • ( DataTest)
      • IntegrationTest
      • SystemTest
      • AcceptanceTest

41. 6. Runtheprogramonthecomputer

  • Bug
  • Debugging ( Bug)

42. 6. Runtheprogramonthecomputer

  • ( Documentation)
    • ( TechnicalDocumentation)
    • ( OperationDocumentation)
    • ( UserDocumentation)

43. 7. ProgramMaintenance

  • Maintenance
  • 2
    • ( Maintenance)
    • ( Redevelopment)

44. 7. ProgramMaintenance

    • ( Maintenance)
    • ( Redevelopment)

45.

  • ( Correctness)
  • ( Reliability)
  • ( Portability)
  • ( User-friendliness)
  • ( Reusability)
  • ( Readability)
  • ( Security)

46.

  • SyntaxError
  • Run - TimeError
  • LogicError

47.

  • 1)
  • 2)
    • Flowchart
    • Algorithms
      • 3.Algorithms
      • TopLevelDesign
      • FinalLevelDesign
  • 3)