deck_16987371 Flashcards
: the two major componentsof any computer system
Hardware and software
equipment, or devices
Hardware:
programs that contain instructions for thecomputer
Software:
allow data to enter thecomputer
Input devices:
working on the data
Processing:
hardware thatperforms the tasks
Central Processing Unit (CPU):
provide data to the user* Printer, monitor, speakers
output devices:
: special languagecontaining instructions for the compute
Programming language
rules governing word usage andpunctuation in the language
Syntax:
controls the computer’s on/offcircuitry
Machine language:
software that translatesprogramming languages to machine language
Compiler or interpreter:
Program must be free of ______________ to be run,or executed, on a compute
syntax errors
To function properly, the_______ must be correct
logic
are moredifficult to locate than syntax errors
Logic errors, or semantic errors,
a pictorial representation of thelogic steps
Flowchart:
Natural language representationof the logic
Pseudocode:
entire set of actions organizationmust take to switch over to new program(s)
Conversion:
Maintaining the Program
- Maintenance
- Making changes after the program is put into production
Understanding Interactive User Input
- Asks the user for a response
message displayed on a monitor
- Prompt:
location to type entries tocommunicate with the operating system
Command prompt:
allows usersto interact with a program in a graphicalenvironment
Graphical User Interface (GUI):
Input and output values
Input symbol
compute or action
Processing symbol
- Connect the steps
Flowlines:
Shows the start and end points of thestatements
Terminal symbol (start/stop symbol):*
a sequence of statements thatrepeats forever with no escape
Infinite loop:
testing a value
Decision:
Does not represent real data
Sentinel value (or dummy value)*
Code stored in the file that marks the end of thedata
End-of-file (EOF) marker:*
Marks a logic transfer to another location in theflowchart
Flowchart connector symbol:*
has an address and a value
Memory location:
is used for various operations
Value (contents)
Two basic data types
:* Text, Numeric
stored by numeric variables
Numeric data
stored by string, text, or charactervariables
Text data
:* Values that do not change while the program isrunning
Constants
Four major computer operations:*
Input
Processing
Output
Storage
Six programming phases:
- Understand the problem
- Plan the logic
- Code the program
- Translate the program to machine language
- Test the program
- Deploy the program
the equal (=) sign inmost languages
Assignment operator: