Computer Programming.

Slides:



Advertisements
Similar presentations
Md. Ahsan Arif, Assistant Professor, Dept. of CSE, AUB
Advertisements

An Introduction to Programming By :- Vishal Hirani B.Tech II year (CSE)
RISC and Pipelining Prof. Sin-Min Lee Department of Computer Science.
PROBLEM SOLVING TECHNIQUES
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
 Control structures  Algorithm & flowchart  If statements  While statements.
Overview. What is Computer Programming? It is the process of planning a sequence of steps (called instructions) for a computer to follow. 2 STEP 1 STEP.
What is an algorithm? Informally: An Algorithm is a step by step method for solving a problem. It’s purpose is to break a larger task down so that each.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Chapter 3 Planning Your Solution
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
PRE-PROGRAMMING PHASE
C OMPUTER P ROGRAMMING 1 Introduction to Programming.
CCSA 221 Programming in C CHAPTER 2 SOME FUNDAMENTALS 1 ALHANOUF ALAMR.
Introduction to Programming Prof. Rommel Anthony Palomino Department of Computer Science and Information Technology Spring 2011.
Algorithms In general algorithms is a name given to a defined set of steps used to complete a task. For example to make a cup of tea you would fill the.
UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable.
Programming Lifecycle
PROGRAMMING. Objectives Define the term program List and explain the steps involved in developing a program.
Introduction to Computers (L02) * Hardware * Software * Programming Languages * Three Phase of Program Development * Development and Design Steps * Algorithms.
CS 1308 Computer Literacy and The Internet Software.
Software Life Cycle What Requirements Gathering, Problem definition
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
Chapter 1 Introduction Chapter 1 Introduction 1 st Semester 2015 CSC 1101 Computer Programming-1.
Programming Life Cycle Problem analysisunderstand the problem Requirements definition specify what program will do High- and low-level designhow it meets.
Computer Organization and Architecture Tutorial 1 Kenneth Lee.
CS221 Algorithm Basics. What is an algorithm? An algorithm is a list of instructions that transform input information into a desired output. Each instruction.
1 Chapter 1 Programming Languages Evolution of Programming Languages To run a Java program: Java instructions need to be translated into an intermediate.
CSI 1340 Introduction to Computer Science II Chapter 1 Software Engineering Principles.
The Hashemite University Computer Engineering Department
Problem-solving with Computers. 2Outline  Computer System  5 Steps for producing a computer program  Structured program and programming  3 types of.
Flowchart. a diagram of the sequence of movements or actions of people or things involved in a complex system or activity. a graphical representation.
Algorithms JPC and JWD © 2002 McGraw-Hill, Inc. 2 Algorithms 2 An Algorithm is a finite set of precise instructions for performing a computation or for.
Chapter 1 An Overview of Computers and Programming Languages.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
What’s a Computer?. The Basics A computer is a machine that manipulates data based on a list of instructions called a program.
| MSC 8102:PROGRAMMING CONCEPTS By Vincent Omwenga, PhD. 1.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Computer Programming. Objectives Program and Programming Program and Programming Algorithms & Programs Algorithms & Programs Software Life Cycle Software.
 Programming methodology: ◦ is a process of developing programs that involves strategically dividing important tasks into functions to be utilized by.
Objective #5: Solve Compound Inequalities
What Do Computers Do? A computer system is
Program design Program Design Process has 2 phases:
Introduction to Computers and C++ Programming
Topic: Introduction to Computing Science and Programming + Algorithm
Programming Languages
C++ Plus Data Structures
Computer Programming.
Unit 3 lesson 2&3 The Need For Algorithms- Creativity in Algorithms
Topic:- ALGORITHM Incharge Faculty – Lokesh Sir.
Algorithm and Ambiguity
ALGORITHMS CSC 171 LECTURE 1.
CSCE 212 Chapter 4: Assessing and Understanding Performance
An Introduction to Visual Basic .NET and Program Design
Foundations of Computer Science
Unit# 9: Computer Program Development
Introduction to Problem Solving
What is a computer program?
PROBLEM SOLVING CSC 111.
1) C program development 2) Selection structure
Open on the student drive
Problem Solving Skill Area 305.1
Introduction to Algorithms - 1
Click to add Text Computers & Instructions. Computers are given instructions in the form of computer programs that are created through the development.
POWER CHALLENGES Several Ways To Solve 7 CHALLENGES.
Presentation transcript:

Computer Programming

Objectives Program and Programming Algorithms & Programs Software Life Cycle

Program and Programming

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.

Algorithms and Programs

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.

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

Software Life Cycle

Software Life Cycle What Requirements Gathering, Problem definition How Analysis and Design (Programming techniques) Do it Coding Test Testing Use Implementation and Maintenance