Programming Concepts and Languages

Slides:



Advertisements
Similar presentations
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 15 Programming and Languages: Telling the Computer What to Do.
Advertisements

Chapter 12 Programming Concepts and 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.
Programming Creating programs that run on your PC
1 Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
CIS105 Chapter 1 Theory Review. Page 2 Hardware and Software are the two major components o any computer system Hardware is the set of physical devices.
Computers: Tools for an Information Age
Program Flow Charting How to tackle the beginning stage a program design.
Computer Programming How Can You Create Your Own Software? Chapter 11.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
McGraw-Hill Technology Education © 2006 by the McGraw-Hill Companies, Inc. All rights reserved CHAPTER PROGRAMMING AND LANGUAGES.
Programming Concepts and Languages Chapter 12 – Computers: Understanding Technology, 3 rd edition 1November
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Building Applications.
© Paradigm Publishing Inc Chapter 12 Programming Concepts and Languages.
Chapter 13 Programming Languages and Program Development 1.
1 Technology in Action Chapter 7 Behind the Scenes: Software Programming.
Computers Are Your Future Tenth Edition Chapter 11: Programming Languages & Program Development Copyright © 2009 Pearson Education, Inc. Publishing as.
Programming Languages: Telling the Computers What to Do Chapter 16.
Programming Languages CPS120: Introduction to Computer Science Lecture 5.
By: Felegh Solomon ITEC SPRING 2013 CHAPTER 4: KEY CONSTRUCTION DECISIONS.
Computers Are Your Future Eleventh Edition
CC111 Lec#5: Program Development 1 Program Development and Programming Languages Lecture 4 Reference :Understanding Computers Chapter 13.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming (CS 102) C++ Programminhg.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Programming Lifecycle
Chapter 15 Program Development and Programming Languages.
Java Programming, Second Edition Chapter One Creating Your First Java Program.
The Teacher Computing Computer Languages [Computing]
Discovering Computers 2009 Chapter 13 Programming Languages and Program Development.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Computer Software.
Principles of Software Development 1 Principles Of Software Design and Development Types of language / Choosing a language.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
JavaScript Defined JavaScript Basics Definitions JavaScript is an object-oriented programming language designed for the world wide web. JavaScript code.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall 1.
Introduction to Computers Lesson 13B. home Syntax Programming language rules.
Chapter 14 Programming and Languages McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming C++
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
Website Source Code Free Download.
Computer Languages [Computing] Computing.
CSCI-235 Micro-Computer Applications
Computer Programming.
Introduction of Programming Languages
Chapter 13 Programming Languages and Program Development
Objectives Overview Differentiate between machine and assembly languages Identify and discuss the purpose of procedural programming languages, and describe.
Chapter 4 Computer Software.
Developing Applications
Chapter 12 Programming Concepts and Languages.
CS105 Introduction to Computer Concepts Intro to programming
The Programming Process
and Program Development
ICT Programming Lesson 1:
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
CS105 Introduction to Computer Concepts Intro to programming
Presentation transcript:

Programming Concepts and Languages Chapter 11 – Computers: Understanding Technology

Terminology A program is a set of instructions telling a computer how to perform a task The program is written in a programming language The programming language instructions are referred to as source code and the act of writing source code as coding

Programming Languages Fewer words and symbols and simpler syntax than natural language Can either be low-level or high-level Elements are variables, executable statements, decision statements, looping Algorithm (complete list of steps for solving a problem) often written in pseudocode (high level language meant to describe steps) and then programmer writes in programming language

Reusable Code Certain problems or tasks recur in programming so it is desirable to avoid “reinventing the wheel” when this occurs Subroutine or function to do certain tasks – the idea is that one needs to understand what inputs it needs and what outputs it produces but not how it works

Program Execution Some computer languages require a compiler, a computer program which translates the programming language source code into machine code Other languages are executed via interpreters

Documentation Tools Flowcharts – Visual representation of algorithm Comments – Messages in programs that explain source code to later readers

Programming Errors Syntax errors Logic errors Runtime errors

Programming Languages Assembly languages – uses symbols and words to represent elements of machine language – 1 assembly language statement generally produces 1 machine code statement COBOL (1960) – business applications language RPG – Report Program Generator (IBM AS/400 mainframe)

Programming Languages (cont.) FORTRAN (1957) – dominated math and scientific programming BASIC – interpreted language, originally developed as teaching tool Visual Basic (VB) – language of choice for developing software prototypes Visual Basic.Net (ITP 112, ITP 212) C (ITP 130, ITP 230) – elements of both BASIC and assembly language, runs fast

Programming Languages (cont.) C++ (ITP 132, ITP 232) - superset of C C# (ITP 136) - derived from C++ and Java Java – (ITP 120, ITP 220, ITP 246) - cross-platform flexibility; when used in web pages, called applets, but this is rarely done now; web use is primarily server-side

Scripting Languages JavaScript (ITD 210, ITP 140, ITP 225) VBScript Perl Cold Fusion Active Server Pages (ASP) ASP.Net (ITP 244) PHP (ITP 225)

Markup Languages HTML – Hypertext Markup Language (ITD 110) XHTML – Extensible Markup Language XML – Extensible Markup Languages WML – Wireless Markup Language