IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.

Slides:



Advertisements
Similar presentations
CHAPTER 2 GC101 Program’s algorithm 1. COMMUNICATING WITH A COMPUTER  Programming languages bridge the gap between human thought processes and computer.
Advertisements

Chapter 1 An Overview of Computers and Programming Languages.
Chapter 1: An Overview of Computers and Programming Languages
Computers Are Your Future
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
Algorithm Design CS105. Problem Solving Algorithm: set of unambiguous instructions to solve a problem – Breaking down a problem into a set of sub- problems.
Lecture Notes 1/21/04 Program Design & Intro to Algorithms.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Chapter 1 Introduction to C Programming. 1.1 INTRODUCTION This book is about problem solving with the use of computers and the C programming language.
Program Development and Programming Languages
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
Chapter 1 Program Design
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
PRE-PROGRAMMING PHASE
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages Updated by: Dr\Ali-Alnajjar.
Your Interactive Guide to the Digital World Discovering Computers 2012.
1 Chapter-01 Introduction to Computers and C++ Programming.
CCSA 221 Programming in C CHAPTER 2 SOME FUNDAMENTALS 1 ALHANOUF ALAMR.
6 Steps of the Programming Process
Chapter 1 An Overview of Computers and Programming Languages.
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
Programming. What is a Program ? Sets of instructions that get the computer to do something Instructions are translated, eventually, to machine language.
Programming 1 1. Introduction to object oriented programming and problem-solving.
Copyright©2008 N.AlJaffan®KSU1 Chapter 11 Information system development and programming language.
Introduction to Java August 14, 2008 Mrs. C. Furman.
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
Designing and Debugging Batch and Interactive COBOL Programs Chapter 5.
Problem Solving using the Science of Computing MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
Chapter 1 Introduction Chapter 1 Introduction 1 st Semester 2015 CSC 1101 Computer Programming-1.
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Introduction to programming Carl Smith National Certificate Year 2 – Unit 4.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
1 Chapter 1 Programming Languages Evolution of Programming Languages To run a Java program: Java instructions need to be translated into an intermediate.
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.
Introduction to Computer Programming using Fortran 77.
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.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
INTRODUCTION TO COMPUTER PROGRAMMING(IT-303) Basics.
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.
Introduction to Computer Programming By: Mr. Baha Hanene Chapter 1.
Software Engineering Algorithms, Compilers, & Lifecycle.
CHAPTER 2 GC101 Program’s algorithm 1. COMMUNICATING WITH A COMPUTER  Programming languages bridge the gap between human thought processes and computer.
Why don’t programmers have to program in machine code?
ICS 3UI - Introduction to Computer Science
Introduction to Computers and C++ Programming
Introduction to programming
CSCI-235 Micro-Computer Applications
Computer Programming.
Lecture 2 Introduction to Programming
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
An Introduction to Visual Basic .NET and Program Design
Unit# 9: Computer Program Development
Problem Solving Techniques
Programming Fundamentals (750113) Ch1. Problem Solving
Chapter 1 Introduction(1.1)
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Programming Fundamentals (750113) Ch1. Problem Solving
PROGRAMMING FUNDAMENTALS Lecture # 03. Programming Language A Programming language used to write computer programs. Its mean of communication between.
Programming Fundamentals (750113) Ch1. Problem Solving
Programming language translators
Presentation transcript:

IXA 1234 : C++ PROGRAMMING CHAPTER 1

PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer program Solve problem Example of programming language: C++ Java

PROGRAMMING APPROACH Structured approach: problem is divide into sub problems and then solution is obtained. Solution to all sub problem is combined to solve the overall problem Object-oriented approach: identify the component (object), determine how the object interact with one another.

EVOLUTION OF PROGRAMMING Machine Language Sequence of 0 and 1 (binary code) Assembly Language Middle level language Understand by human High Level Language Eg: java, C++

LANGUAGE TRANSLATOR Language translator is a program which translates programs from source language into an equivalent program in an object language There are 3 type of language translator involved in programming language Interpreter Compiler Assembler

LANGUAGE TRANSLATOR COMPILER : A program that translates source code into object code.

LANGUAGE TRANSLATOR INTERPRETER An interpreter translates high-level instructions into an immediate form, which it then executes.

LANGUAGE TRANSLATOR ASSEMBLER A program that translates programs from assembly language to machine language Example: Intel-----MASM Motorola

PROGRAMMING LIFE CYCLE Program Analysis Program Modeling Program Coding Program Testing and Debugging Maintenance Documentation

PROGRAM ANALYSIS Clearly define problem Understand what the system must do Understand the final output of a system

PROGRAM MODELING Solution developed using model Three type of modeling: Algorithm :A formula or set of steps for solving a particular problem Pseudo code: An outline of a program, written in a form that can easily be converted into real programming statements Flowchart : Graphical representation of a process, depicting inputs, outputs and unit of activity

PROGRAM MODELING Program control structure: Sequence While If-then-else Repeat – until For case.

PROGRAM CODING Write complete program out in programming language such as c++ Write program compile program run program debug program repeat the whole process.

PROGRAM TESTING AND DEBUGGING Compile the program to detect error Debug is to find the error and fix it After get 0 error and 0 warning then the program can executed. Run / execute is a same meaning

PROGRAM MAINTENANCE After all the program compile and run successfully, the program should be maintained. Any enhancement to the system can be done after the implementation phase

DOCUMENTATION Documentation is very important in order to enhance system. Every time report must be completed and get approval.