A programming language

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 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Creating Computer Programs lesson 27. This lesson includes the following sections: What is a Computer Program? How Programs Solve Problems Two Approaches:
Slides prepared by Rose Williams, Binghamton University Chapter 3 Flow of Control Loops in Java.
1 Key Concepts:  Why C?  Life Cycle Of a C program,  What is a computer program?  A program statement?  Basic parts of a C program,  Printf() function?
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 3 Programming and Software.
Programming Logic and Design, Introductory, Fourth Edition1 Understanding Computer Components and Operations (continued) A program must be free of syntax.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
PRE-PROGRAMMING PHASE
C programming Language and Data Structure For DIT Students.
1.3 Executing Programs. How is Computer Code Transformed into an Executable? Interpreters Compilers Hybrid systems.
PRINCIPLES OF PROGRAMMING Revision. A Computer  A useful tool for solving a great variety of problems.  To make a computer do anything (i.e. solve.
1 Integrated Development Environment Building Your First Project (A Step-By-Step Approach)
Introduction to C++ - How C++ Evolved Most popular languages currently: COBOL, Fortran, C, C++, Java (script) C was developed in 1970s at AT&T (Richie)
Introduction to Programming Lecture Number:. What is Programming Programming is to instruct the computer on what it has to do in a language that the computer.
CIS Computer Programming Logic
DEPARTMENT OF COMPUTER SCIENCE & TECHNOLOGY FACULTY OF SCIENCE & TECHNOLOGY UNIVERSITY OF UWA WELLASSA 1 CST 221 OBJECT ORIENTED PROGRAMMING(OOP) ( 2 CREDITS.
C++ Basics Structure of a Program. C++ Source Code Plain text file Typical file extension .CPP Must compile the C++ source code without errors before.
Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
1 INTRODUCTION TO PROBLEM SOLVING AND PROGRAMMING.
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.
C++ Basics C++ is a high-level, general purpose, object-oriented programming language.
Cs413_design04.ppt Design and Software Development Design : to create a functional interface that has high usability Development : an organized approach.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
CHAPTER 1 INTRODUCTION 2 nd Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
1 Overview of Programming Principles of Computers.
Introduction to Computers Lesson 13A. home Computer Program A set of instructions or statements, also called code, to be carried out by the computer’s.
Introducing Java Chapter 3 Review. Why Program in Java? Java, is an object-oriented programming language. OOP languages evolved out of the need to better.
An overview of C Language. Overview of C C language is a general purpose and structured programming language developed by 'Dennis Ritchie' at AT &T's.
MAHENDRAN. Session Objectives Session Objectives  Discuss the Origin of C  Features of C  Characteristics of C  Current Uses of C  “C” Programming.
Objective Write simple computer program in C++ Use simple Output statements Become familiar with fundamental data types.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
Chapter 3 Introducing Java. Objectives and Goals 1. Define terminology associated with object- oriented programming. 2. Explain why Java is a widely used.
Introduction to Algorithmic Processes CMPSC 201C Fall 2000.
Review A program is… a set of instructions that tell a computer what to do. Programs can also be called… software. Hardware refers to… the physical components.
Software Engineering Algorithms, Compilers, & Lifecycle.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
IS 350 Course Introduction. Slide 2 Objectives Identify the steps performed in the software development life cycle Describe selected tools used to design.
1 CS 192 Lecture 4 Winter 2003 December 8-9, 2003 Dr. Shafay Shamail.
Chapter 1 Introduction 2nd Semester H
What Do Computers Do? A computer system is
Program design Program Design Process has 2 phases:
Basics of Computer A Computer is Electronic device that can
Programming Languages
Chapter 5- Assembling , Linking, and Executing Programs
CSCI-235 Micro-Computer Applications
C Programming Hardik H. Maheta.
Ch. 7 Programming Languages
Translators & Facilities of Languages
and Executing Programs
Problem Solving Techniques
Programming Vocabulary.
Introduction to Algorithms
Chapter 2- Visual Basic Schneider
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
The Programming Process
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Creating Computer Programs
C programming Language
ICT Gaming Lesson 2.
CPS120: Introduction to Computer Science
Creating Computer Programs
Chapter 1 c++ structure C++ Input / Output
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Presentation transcript:

A programming language Review is a structured combination of data and instructions that is used to operate a computer. A computer program is the set of instructions, data, and rules that can be used to construct a program. A programming language * *

Review is the process of using a programming language to produce a computer program. Programming is a step-by-step sequence of instructions that describes how a task is to be performed. An algorithm * *

Review is a description of an algorithm using short English-like statements. Pseudocode A flowchart is a description of an algorithm that uses specifically defined graphical symbols. * *

Review is a logically consistent set of instructions that produce a specific result. A procedure *

Review defines a general set of data and procedural characteristics from which specific objects are created. A class is a self-contained unit that consists of both data and the specific procedures that can be applied to the data. An object * *

Review consists of the program statements comprising a C++ or other programming language program. A source program is the result of compiling a source program. An object program * *

Review is a program that can be run by a computer. An executable program Linking adds code from libraries to your file. Collects the object code from all files in the workspace and puts them into one executable program. * *

Review A compiler is a program that translates a source program into an object program. is a program that translates individual source program statements, one at a time, into executable statements. Each statement is executed immediately after translation. An interpreter * *

Review contain constant, variable, and function declarations needed by a program. h files *

Review are formatting instructions that are part of iostream.h. \n º endl = hard return \t = tab Escape sequences *

Review controls the sequence of execution, evaluates an expression, or does nothing, and ends with a semicolon. Statement *

object code from other source files Review (.cpp file) source code compiler (.obj file) object code h files linked to libraries exe. file object code from other source files