Chapter 1 Power Point Notes - Programming Logic and Design...

This preview shows page 1 - 8 out of 37 pages.

Programming Logic and DesignNinth EditionChapter 1An Overview of Computers andProgramming1Programming Logic and Design, Ninth Edition
ObjectivesIn this chapter, you will learn about:Computer systemsSimple program logicThe steps involved in the program development cyclePseudocode statements and flowchart symbolsUsing a sentinel value to end a programProgramming and user environmentsThe evolution of programming models2Programming Logic and Design, Ninth Edition
Understanding Computer SystemsComputer system Combination of all the components required to process and store data using a computerHardware Equipment associated with a computerSoftware Computer instructions that tells the hardware what to doProgramsInstructions written by programmersProgrammingWriting software instructions3Programming Logic and Design Ninth Edition
Understanding Computer Systems (continued -1)Application software such as word processing, spreadsheets, payroll and inventory, even games, appSystem software such as operating systems like Windows, Linux, or UNIX, Google Android and Apple IOSComputer hardware and software accomplish three major operationsInputDataitemssuch as text, numbers, images, and soundProcessingCalculations and comparisons performed by the central processing unit (CPU)4Programming Logic and Design, Ninth Edition
Understanding Computer Systems (continued -2)OutputResulting informationthat is sent to a printer, a monitor, or storage devicesafter processingA cloudbased device is accessed through the InternetProgramming languageUsed to write computer instructions called program codeWriting instructions is called coding the programExamplesVisual Basic, C#, C++, or JavaSyntaxRules governing word usage and punctuationMistakes in a language’s usage are syntax errors5Programming Logic and Design, Ninth Edition
Understanding Computer Systems (continued -3)Computer memoryComputer’s temporary, internal storage – random access memory(RAM)Volatile memory – lost when the power is ofPermanent storage devicesNonvolatilememoryCompiler or interpreterTranslates source code into machine language (binary language) statements called object codeChecks for syntax errorsProgram executesor runsInput will be accepted, some processing will occur, and results will be output6Programming Logic and Design, Ninth Edition
Understanding Simple Program LogicPrograms with syntax errors cannot executeLogical errorsErrors in program logic produce incorrect outputLogic

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture