|

CyberSlug Rules!
Classes
Class
Syllabus
Grading Policy
Labs
Interact
Login
-
enter system
-
get attendance
-
submit work
-
take lab quiz
-
check scores
Help
Help me!
Links
Staff only
Datacare Ahshay
| |
Programming Concepts
Data and Program structure:
Data:
- variables - may store a value
- (integer, character, floating point)
- objects - may store more complex
information
- values, pictures, procedures
- You must declare all data before their use in the programs
- You "introduce" the data to the program
Program structure
- Three basic elements
- sequence - one statement after the other
- decision - decide to follow one sequence or another
- repetition - repeat a same sequence several times
- Hierarchy
- procedures and functions
- make your computer smarter
- Reuse
- use solutions or programs that are available
- build solutions or programs for reuse
- Test, test, test, test, test
|