Module 1 - Ch1 - Introduction To Computer Programming - 0511 - 2017
Module 1 - Ch1 - Introduction To Computer Programming - 0511 - 2017
Chapter 1
Introduction to Computer Programming
• Hardware
• Software
• Peoplewar
e
• Hardware
– Is the tangible physical device(s) that forms part of
the computer
– It is composed of electronic and mechanical parts:
• CPU (Central Processing Unit)
• Memory
• Storage devices (hard disks, disk drives, DVD drives)
• Input-Output devices (keyboards, monitor, printer,
mouse, speaker, etc.)
1. Introduction to Computer Programming I
Basic Components of a Computer System
• Software
– Intangible part of the computer system
– Are the programs, processes and data that reside
in the computer’s memory or hard drive and
contain instructions that the computer will
execute
– Example: operating systems, language
processors,
application software, systems software
1. Introduction to Computer Programming I
Basic Components of a Computer System
• Peopleware
– Persons who use, maintain, administer or simply interact
with the computer
– Example:
• Users of a office productivity tools, application software or
business software
• Software Developers (programmers, analysts, testers)
• Professionals (businessmen, architects, engineers, scientists,
medical practitioners)
• Network administrators
• Hardware maintenance technicians
– Systems Software
• Programs designed to manage the internal working environment
of the computer for effective operation
• Includes operating systems, language processors, networking
software
• Structured or Procedural
– Breaks down a complex problem into modules or
procedures (decomposition)
– Uses top-down and/or bottom-up approach
• Object-oriented
– Objects are defined to accomplish a task
– Objects are things, people, entities that are naturally part
of the program. O-O makes software
representations of these entities
1. Introduction to Computer Programming I
Student Registration System
Description
•The Student Registration System is a system that screens and
enrolls students for admission to a particular course.
•Objectives of the System:
The system should be able to:
– Accept and screen
student applications
– Assesses his/her
qualifications
– If qualified, accept the
student’s payment and
1. Introduction to Computer Programming I
enroll the
Student Registration System
System Design
• Using a Structured Approach – Top-Down Methodology
• Reliability
• Modifiability
• Maintainability
• Reliability
– Correctness
• A program is reliable if it performs the specified functions properly
and has no unwanted side effects
– Robustness
• A program is robust if it will continue to function in the presence
of environmental changes (such as hardware failure) and demands
(such as bad data) that were not foreseen.
• Error-resistant
• Modifiability
– Adherence to functional decomposition results in
an organized and logical solution to a problem
– Logical units can be independently modified,
tested, debugged
– Logical units can be reused by other programs.
Reusability is an important element of O-O
programming
• Maintainability
– As requirements change, there is a need to change certain
parts of a program