Programming Logic and Design Ninth Edition Flashcards
Combination of all the components required to process and store data using a computer
Combination of all the components required to process
and store data using a computer
Computer system
Equipment associated with a computer
Hardware
Computer instructions that tells the hardware what to do
Software
Instructions written by programmers
Programs
Writing software instructions
Programming
such as word processing,
spreadsheets, payroll and inventory, even games, app
Application software
such as operating systems like Windows,
Linux, or UNIX, Google Android and Apple IOS
System softwares
Data items such as text, numbers, images, and sound
Input
Calculations and comparisons performed by the central processing
unit (CPU)
Processing
- Resulting information that is sent to a printer,
a monitor, or storage devices after processing - A cloud based device is accessed through the Internet
Output
Used to write computer instructions called program code
– Writing instructions is called coding the program
– Examples
* Visual Basic, C#, C++, or Java
Programming language–
– Rules governing word usage and punctuation
– Mistakes in a language’s usage are syntax errors
Syntax
– Computer’s temporary, internal storage – random access memory (RAM)
– Volatile memory – lost when the power is off
Computer memory
– Nonvolatile memory
Permanent storage devices
Translates source code into machine language (binary language)
statements called object code
– Checks for syntax errors
Compiler or interpreter
– Input will be accepted, some processing will occur, and results will be
output
Program executes or runs
Understanding Simple Program Logic
* cannot execute
Programs with syntax errors
– Errors in program logic produce incorrect output
Logical errors
– Sequence of specific instructions in specific order
Logic of the computer program
– Named memory location whose value can vary
Variable
People for whom a program is written
Users or end users
– All supporting paperwork for a program
Documentation
is the sequence of steps or rules you
follow to solve a problem
algorithm
Most common planning tools
Flowcharts
– Pseudocode