Professional Documents
Culture Documents
Chapters 1 and 2: An Overview of Computers and Programming, Elements of High-Quality Programs
Chapters 1 and 2: An Overview of Computers and Programming, Elements of High-Quality Programs
Presented by:
Joshua
Joel
Precious
Understanding computer systems
.Hardware
. Software
. Application software
.System software
.Input
. Processing
.Output
-Hardware
Is the physical devices associated with a computer, which need
instructions to control its operations, such as data input,
processing, and output
-Software
Is computer instructions that tell the hardware what to do.
Programs are written by programmers and can be bought or
downloaded from the Web. Programming is the process of writing
software instructions, which this book focuses on.
-Application software
Is the software used to perform tasks, such as word-processing,
spreadsheets, payroll and inventory programs, and games.
-System Software
Is the software used to manage a computer, such as operating
systems and smartphones.
-Input
Data items are text, numbers, and other raw material entered into
and processed by a computer. They can include facts and figures
about entities such as products, customers, and personnel, as well
as images, sounds, and mouse movements.
-Processing
Processing data items involves organizing, sorting, checking
accuracy, and performing calculations with a CPU, which requires
special programming techniques to efficiently use multiple
processors.
-Output
Data items are usually sent to a printer, monitor, or other output
device for people to view, interpret, and use the results.
Sometimes output is placed on storage devices, such as hard
drives, flash media, or a cloud-based device, which can be used
later as input for another program.
Get a bowl
Stir Add two eggs
Add a gallon of gasoline
Bake at 350 degrees for 45 minutes
Add three cups of flour
input myNumber
myAnswer = myNumber * 2
output myAnswer
The number doubling process includes 3 instructions:
development cycle
Start
Input myNumber
myAnswer= myNumber*2
Output myAnswer
End
Quick reference
Terminal:
Flowline:
Input/output:
Process:
String: describes data that is non numeric, it can hold texts, things
like letters from the alphabet and other special characters
- myAnswer 5 myNumber * 2
For example: