Chapter 1 an Overview of Computers and Programming
Chapter 1 an Overview of Computers and Programming
Ninth Edition
Chapter 1
An Overview of Computers and
Programming
– Output
• Resulting information that is sent to a printer,
a monitor, or storage devices after processing
• A cloud based device is accessed through the Internet
• Programming language
– Used to write computer instructions called program code
– Writing instructions is called coding the program
– Examples
• Visual Basic, C#, C++, or Java
• Syntax
– Rules governing word usage and punctuation
– Mistakes in a language’s usage are syntax errors
Programming Logic and Design, Ninth Edition 5
Understanding Computer Systems (continued -3)
• Computer memory
– Computer’s temporary, internal storage – random access memory (RAM)
– Volatile memory – lost when the power is off
• Permanent storage devices
– Nonvolatile memory
• Compiler or interpreter
– Translates source code into machine language (binary language)
statements called object code
– Checks for syntax errors
• Program executes or runs
– Input will be accepted, some processing will occur, and results will be
output
• Output symbol
– Represents output statements
– Parallelogram
• Flowlines
– Arrows that connect steps
• Terminal symbols
– Start/stop symbols
– Shaped like a racetrack
– Also called lozenges