Download presentation
Presentation is loading. Please wait.
1
Computer Programming
2
Objectives Program and Programming Algorithms & Programs
Software Life Cycle
3
Program and Programming
4
Program and Programming
A set of instruction written in a programming language that a computer can execute so that the machine acts in a predetermined way. Program solves a problem Before writing a program: Have a thorough understanding of the problem Carefully plan an approach for solving it. Programming: The Process of providing instructions to the computer that tells the processor what to do.
5
Algorithms and Programs
6
Algorithms and Programs
An Algorithm is a solution to a problem that is independent of any programming language While A program is an algorithm expressed using a specific set of instructions from any programming language.
7
Algorithm Example Maximum of two numbers Steps:
Read/input two numbers Compare two numbers Print the Greater number Average of three numbers Read/input three numbers Add three numbers divide the sum by 3. Print the result of divison
8
Software Life Cycle
9
Software Life Cycle What Requirements Gathering, Problem definition
How Analysis and Design (Programming techniques) Do it Coding Test Testing Use Implementation and Maintenance
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.