Low-Level Languages. Computer Programs and Programming Languages

Similar documents
Discovering Computers 2008

Discovering Computers Chapter 13 Programming Languages and Program Development

SKILL AREA 304: Review Programming Language Concept. Computer Programming (YPG)

Principles in Programming: Orientation & Lecture 1. SWE2004: Principles in Programming Spring 2014 Euiseong Seo

Chapter Twelve. Systems Design and Development

General Concepts. Abstraction Computational Paradigms Implementation Application Domains Influence on Success Influences on Design

Introduction. A. Bellaachia Page: 1

CS2303 C14 Systems Programming Concepts. Bob Kinicki

Chapter 11 Program Development and Programming Languages

Lecture 09. Ada to Software Engineering. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Discovering Computers Living in a Digital World

1) What is the first step of the system development life cycle (SDLC)? A) Design B) Analysis C) Problem and Opportunity Identification D) Development

Principles in Programming: Orientation & Lecture 1. SWE2004: Principles in Programming Spring 2015 Euiseong Seo

Why are there so many programming languages? Why do we have programming languages? What is a language for? What makes a language successful?

Concepts in Programming Languages

Programming Languages and Program Development

Technology in Action. Chapter Topics. Scope creep occurs when: 3/20/2013. Information Systems include all EXCEPT the following:

Programs are: CMPSCI 105/119/120: Programming, Flowchar<ng, and Running Program Flowcharts

Module 1: Introduction to Computers, Programs, and Java

Chapter 2. Evolution of the Major Programming Languages

Early computers (1940s) cost millions of dollars and were programmed in machine language. less error-prone method needed

Högnivåspråk och översättning

Topic I. Introduction and motivation References: Chapter 1 of Concepts in programming languages by J. C. Mitchell. CUP, 2003.

Chapter 2. Pseudocodes: Speedcoding. 2.2 Minimal Hardware Programming: Pseudocodes. Evolution of the Major Programming Languages

LECTURE 1. Overview and History

Organization of Programming Languages (CSE452) Why are there so many programming languages? What makes a language successful?

Com S 541. Programming Languages I

Announcements Tues., Aug and 2. to call them ( ) ! For next time, read Learning Computing with Robots, chs.

Chapter 1. Preview. Reason for Studying OPL. Language Evaluation Criteria. Programming Domains

Programming Languages

Compiling and Interpreting Programming. Overview of Compilers and Interpreters

Objective: To learn meaning and concepts of programming. Outcome: By the end of this students should be able to describe the meaning of programming

Technology in Action. Chapter Topics (cont.) Chapter Topics. Reasons for Software Programming. Information Systems 10/29/2010

Evolution of the Major Programming Languages

Outline. Introduction to Programming (in C++) Introduction. First program in C++ Programming examples

ITC213: STRUCTURED PROGRAMMING. Bhaskar Shrestha National College of Computer Studies Tribhuvan University

8/23/18. Programming Language Genealogy The Evolution of Programming Languages. Zuse s Plankalkül. Plankalkül Syntax. Machine Code

Chapter 2. Evolution of the Major Programming Languages ISBN

Why are there so many programming languages?

COP4020 Programming Languages. Compilers and Interpreters Robert van Engelen & Chris Lacher

Lecture 2. A Historical View

PLAGIARISM. Administrivia. Course home page: Introduction to Programming Languages and Compilers

Introduction to Programming Languages and Compilers. CS164 11:00-12:00 MWF 306 Soda

Programming Language Concepts 1982, 1987, Outline. Period

Using Source Lines of Code As A Size Input For Estimating Software Effort & Schedule

Programming Languages and Program Development Life Cycle Fall Introduction to Information and Communication Technologies CSD 102

Algorithm: 1. Introduction

Chapter 1. Preliminaries

Introduction to Java. Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved.

Languages october 22, 2017 Éric Lévénez < FORTRAN III end-1958 FORTRAN II FORTRAN I october 1956

Chapter 2 Evolution of the Major Programming Languages Chapter 2 Topics

Design & Implementation Overview

Chapter 1 Introduction to Computers, Programs, and Java

Introduction to Computer Science I

Lecture 1: Course Introduction

Introducing Computer Programming

Chapter 2. Evolution of the Major Programming Languages

Compilation 2012 The What and Why of Compilers

The births of the generations are as follow. First generation, 1945 machine language Second generation, mid 1950s assembly language.

PROGRAMMING Programming is a creation of a set of commands or instructions which directs a computer in carrying out a task.

1/14/2014. Introduction to CSE 1325 Object Oriented Programming (Using Java) Introduction (Cont.) Introduction

COMP 201: Principles of Programming

Problem Solving and Program Design - Chapter 1. Cory L. Strope

1) Which of the following is an example of a programming language? 1) A) Microsoft Word B) English C) HTML D) Java

INFS 214: Introduction to Computing

Compilation I. Hwansoo Han

C++ Programming Language Lecture 1 Introduction

Programming Paradigms

Lecture 1: Course Introduction

Language Translation, History. CS152. Chris Pollett. Sep. 3, 2008.

Chapter 11 Introduction to Programming in C

Introduction to Programming

Concepts of Programming Languages

Programmiersprachen (Programming Languages)

COSC 2P90 Programming Languages & Object-Orientation

Information Systems Software

Logic Programming II & Revision

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Tenth Edition. Copyright 2014 Pearson Education, Inc. Publishing as Prentice Hall

Python - Week 1. Mohammad Shokoohi-Yekta

Chapter 11 Introduction to Programming in C

Introduction to Programming Languages. CSE 307 Principles of Programming Languages Stony Brook University

Copyright 2005 Department of Computer & Information Science

Chapter 1. Introduction to Computers and Java Objects. Background information. » important regardless of programming language. Introduction to Java

Chapter 11 Introduction to Programming in C

9/5/17. The Design and Implementation of Programming Languages. Compilation. Interpretation. Compilation vs. Interpretation. Hybrid Implementation

PROBLEM SOLVING AND PYTHON PROGRAMMING

CGT 456 Lecture 1. Introduction to Computers & Programming

Computer Fundamentals: Pradeep K. Sinha & Priti Sinha

Chapter 2. Evolution of the Major Programming Languages ISBN

CSC 533: Organization of Programming Languages. Spring 2005

Chapter 1. Preliminaries

Welcome to Introduction to Computer Science I

Topic 1: Programming concepts

Lesson 01 Introduction

COS 140: Foundations of Computer Science

Programming 1. Lecture 1 COP 3014 Fall August 28, 2017

Compilers. Prerequisites

CSc 10200! Introduction to Computing. Lecture 1 Edgardo Molina Fall 2013 City College of New York

Chapter 11 Introduction to Programming in C

I101/B100 Problem Solving with Computers

Transcription:

Computer Programs and Programming Languages What is a computer program? Set of instructions that directs computer to perform tasks Programming used to write instructions 1 Computer Programs and Programming Languages What are low-level s and high-level s? Low-level High-level Low-Level Languages What is machine? Only computer directly recognizes Machine-dependent runs only on one type of computer Machine and assembly s are low-level Often machine-independent can run on many different types of computers

Low-Level Languages What is assembly? Instructions made up of symbolic instruction codes, meaningful abbreviations and codes Source program contains code to be converted to machine What is a procedural? Programmer assigns name to sequence of instructions that tells computer what to accomplish and how to do it Often called third-generation (3GL) Uses series of English-like words to write instructions Most widely used are BASIC, COBOL, and C What is a compiler? Program that converts entire source program into machine before executing it What is an interpreter? Program that translates and executes one program code statement at a time Does not produce object program

What is BASIC? Designed for use as simple, interactive problem-solving Beginner s All-purpose Symbolic Instruction Code What is COBOL? Designed for business applications English-like statements make code easy to read, write, and maintain COmmon Business-Oriented Language What is C? Powerful originally designed to write system software Requires professional programming skills Object-Oriented Programming Languages What is an object-oriented programming (OOP)? Used to implement object-oriented design Object is item that contains data and procedures that act on data Major benefit is ability to reuse existing objects Event-driven checks for and responds to set of events Event is action to which program responds C++ and Java are complete object-oriented s

Object-Oriented Programming Languages What is C++? Includes all elements of C, plus additional features for working with object-oriented concepts Used to develop database and Web applications Object-Oriented Programming Languages What is Java? Developed by Sun Microsystems Similar to C++ but uses just-in-time (JIT) compiler to convert source code into machine code Web Page Development What is HTML (Hypertext Markup Language)? Used to create Web pages Other Programming Languages What are other available programming s? ADA ALGOL APL FORTH FORTRAN HYPERTALK LISP LOGO MODULA-2 PASCAL PILOT PL/I PROLOG SMALLTALK

The Program Development Cycle What is the program development cycle? Steps programmers use to build computer programs Programming team Group of programmers working on program Design Solution What is a program flowchart? Graphically shows logic in solution algorithm Design Solution What is an example of a flowchart? Design Solution What is pseudocode? Uses condensed form of English to convey program logic

1.14 Typical C++ Development Environment Phase 1: Creating a Program in an Editor source code in editor program.cpp,.cxx,.cc,.c Phase 2 and 3: Preprocessing and Compiling a C++ Program preprocessor (directives) converting to machine Phase 4: Linking funcitons or date else where linking them to an Phase 5: Loading placed in memory Phase 6: Executing a Program 22