ch01 - Programming Logic and Design Fourth Edition,...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Programming Logic and Design Fourth Edition, Comprehensive Chapter 1 An Overview of Computers and Logic
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Programming Logic and Design, Introductory, Fourth Edition 2 Objectives Understand computer components and operations Describe the steps involved in the programming process Describe the data hierarchy Understand how to use flowchart symbols and pseudocode statements Use and name variables
Background image of page 2
Programming Logic and Design, Introductory, Fourth Edition 3 Objectives (continued) Use a sentinel, or dummy value, to end a program Use a connector symbol Assign values to variables Recognize the proper format of assignment statements Describe data types Understand the evolution of programming techniques
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Programming Logic and Design, Introductory, Fourth Edition 4 Understanding Computer Components and Operations Hardware and software: the two major components of any computer system Hardware : equipment, or devices Software : programs that contain instructions for the computer Four major operations in a computer: Input Processing Output Storage
Background image of page 4
Programming Logic and Design, Introductory, Fourth Edition 5 Understanding Computer Components and Operations (continued) Input devices : allow data to enter the computer Mouse, keyboard, scanner Processing : working on the data; such as: Organizing data Checking data for accuracy Mathematical or other manipulations on data Central Processing Unit (CPU) : hardware that performs the tasks
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Programming Logic and Design, Introductory, Fourth Edition 6 Understanding Computer Components and Operations (continued) Output devices : provide data to the user Printer, monitor, speakers Programming language : special language containing instructions for the computer Visual Basic, Java, C#, C++, COBOL Syntax : the rules governing word usage and punctuation in the language Machine language : a language that controls the computer’s on/off circuitry Compiler or interpreter : software that translates programming languages to machine language
Background image of page 6
Programming Logic and Design, Introductory, Fourth Edition 7 Understanding Computer Components and Operations (continued) A program must be free of syntax errors to be run, or executed , on a computer To function properly, the logic must be correct What’s wrong with this logic for making a cake?
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Programming Logic and Design, Introductory, Fourth Edition 8 Understanding Computer Components and Operations (continued) Logic errors , or semantic errors , are more difficult to locate than syntax errors Logic for multiplying a number by 2 (includes input, processing and output statements)
Background image of page 8
Programming Logic and Design, Introductory, Fourth Edition 9 Understanding Computer Components and Operations (continued) Two storage categories: internal and external Internal storage : Main memory, random access memory (RAM) Located inside the computer system
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/02/2010 for the course CSCI 192 taught by Professor Dr.landry during the Summer '10 term at Baton Rouge CC.

Page1 / 40

ch01 - Programming Logic and Design Fourth Edition,...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online