CS 316 - Concepts of Programming Languages Misc Topics.

Slides:



Advertisements
Similar presentations
What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word processor), it must be given the instructions.
Advertisements

compilers and interpreters
Basic Vehicle Control Chapter 3.
Getting to Know Your Vehicle
CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
A Project Approach to Programming Language Theory Joan Krone Denison University.
EL Civics Driving Car Parts Mt. San Antonio College ESL Department.
Chapter 3 Basic Vehicle Control
Computability to Practical Computing - and - How to Talk to Machines.
ISBN Chapter 16 Logic Programming Languages.
ISBN Chapter 2 Evolution of the Major Programming Languages.
Computer Systems Nat 4/5 Computing Science Translator Programs.
By Dan Metz. New cars have prestige New cars have prestige Everything is new on a new car Everything is new on a new car Modern car features abound Modern.
1 CS101 Introduction to Computing Lecture 19 Programming Languages.
CS 331, Principles of Programming Languages Introduction.
A Driving Simulator – text only Are you ready to start? Open the car door and get in Check tyres Walk instead.
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
Name: Md. Iqbal Hossain Roll : Computer programming  Programming is a lot of fun and extraordinarily useful. While you learn to program,
Mechanical BY David Hardy And Matt Carter. Safety Work Safely- wear personal protective equipment when working on the car: – Safety goggles/facemask (including.
Lecture 1 Introduction to Java MIT- AITI 2004 What is a Computer Program? For a computer to be able to do anything (multiply, play a song, run a word.
Programming Languages CPS120: Introduction to Computer Science Lecture 5.
Introduction to Programming Language CS105 Programming Language First-generation: Machine language Second-generation: Assembly language Third-generation:
MCS 270 Spring 2014 Object-Oriented Software Development.
High level & Low level language High level programming languages are more structured, are closer to spoken language and are more intuitive than low level.
Chapter 5 Defensive Driving
By: Shelby Jacob.  Product: Camaro Coupe 2SS  Year: 2013  Manufacturer: Chevrolet  Location: Oshawa, Ontario, Canada.
Course Overview. What are Computers? From Outside –CPU box, Monitor, Keyboard, mouse and Printers From inside –ICs, Chipsets, Hard Disks, PCB cards, Drives,
CS101 Introduction to Computing Lecture Programming Languages.
Lecture 1 Introduction to Java MIT-AITI Ethiopia 2004.
The Teacher Computing Computer Languages [Computing]
Programming Languages Design Considerations (Qualities) Readability –Simplicity and Clarity –Orthogonality –Control Statements –Data Types and Structures.
Driver’s Education Chapter 3 Basic Vehicle Control 11/2/12
Henry Ford Model ‘T’ Ford & The Cycle of Prosperity.
Fortran Fortran – Formula Translation –Developed by John Backus (IBM) in the mid 1950s. –It was a team effort and the design goal was to produce a translation.
CS 331, Principles of Programming Languages Chapter 1.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
Analysis of Programming Languages (2). 2 LANGUAGE DESIGN CONSTRAINTS  Computer architecture  Technical setting  Standards  Legacy systems.
Safety Seminar By Tom Warren. Presentation Outline  Introduction –About Tom –Presentation Overview  Basic Safety –Seat Belts/Liability  Vehicle Safety.
int k = Integer.MAX_VALUE; k++; int k = Integer.MAX_VALUE; k++; What happens when the following code executes? byte b = someFile.readByte(); b = (byte)(b.
BASIC VEHICLE CONTROL CHAPTER 3. Basic Vehicle Control When you begin driving, you will need to know the instruments, controls, and devices that you will.
Driver’s Education Chapter 3 Basic Vehicle Control.
Skill Area 311 Part B. Lecture Overview Assembly Code Assembler Format of Assembly Code Advantages Assembly Code Disadvantages Assembly Code High-Level.
Chapter 12: Equipment For Safe Driving. Required Equipment Brakes: Brakes: How many brake systems are in an automobile? How many brake systems are in.
DO NOW Chapter 3 Review.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Software Engineering Algorithms, Compilers, & Lifecycle.
Do Now Questions 1. To driver in reverse, the motorists head and body should be: 2. When driving a vehicle your hands should be placed where on the steering.
a medium allowing humans and computers to communicate an abstraction of the real world a notation for expressing algorithms the set of all syntactically.
History. Development Driven by Function Functions of a Programming Language –To describe computation for use by computers –To describe computation and.
CPS120 Introduction to Computer Science High Level Language: Paradigms.
Chapter 5: Preparing C Programs
Computer Languages [Computing] Computing.
Chapter 1 – Introduction to Computers, the Internet, and the Web
Chapter 3 Basic Vehicle Control
CSCI-235 Micro-Computer Applications
Problem Solving Using C: Orientation & Lecture 1
CS101 Introduction to Computing Lecture 19 Programming Languages
Impact of UCSD Pascal A View from the Trenches
Introduction to Computers and Python
Problem Solving.
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Problem Solving Using C: Orientation & Lecture 1
Unit 2 Drive Slowly Work book p. 7.
A Project Approach to Programming Language Theory
CS105 Introduction to Computer Concepts Intro to programming
Problem Solving Using C: Orientation & Lecture 1
Overview of Programming Paradigms
1.3.7 High- and low-level languages and their translators
CS105 Introduction to Computer Concepts Intro to programming
Presentation transcript:

CS Concepts of Programming Languages Misc Topics

Spring 2002UCCS CS316 Concepts of Programming Languages2 Using Language Create the artifact - source code Translate the artifact - object code Use the Translation - run the program This model has many variations...

Spring 2002UCCS CS316 Concepts of Programming Languages3 C++.cpp File CompilerLinker.obj File.exe File

Spring 2002UCCS CS316 Concepts of Programming Languages4 Basic.bas File Interpreter

Spring 2002UCCS CS316 Concepts of Programming Languages5 HTML.html File Browser

Spring 2002UCCS CS316 Concepts of Programming Languages6 Java.java File Compiler Bytecode Interpreter.byte code File

Spring 2002UCCS CS316 Concepts of Programming Languages7 It’s not always clean....c File CompilerLinker.obj File.exe File Assembler.asm File

Spring 2002UCCS CS316 Concepts of Programming Languages8 If Languages were Cars Assembler –A Formula I race car. Vary fast but difficult to drive and expensive to maintain FORTRAN II –A Model T Ford. Once it was king of the road FORTRAN IV –A Model A Ford. FORTRAN 77 –A six-cylinder Ford Fairlane with standard transmission and no seat belts.

Spring 2002UCCS CS316 Concepts of Programming Languages9 If Languages were Cars COBOL –A delivery van. It's bulky and ugly, but gets the job done. BASIC –A second-hand Rambler with a rebuilt engine and patched upholstery. Your dad bought it for you to learn to drive. You'll ditch it as soon as you can afford a new car.

Spring 2002UCCS CS316 Concepts of Programming Languages10 If Languages were Cars PL/I –A Cadillac convertible with automatic transmission, a two-tone paint job, white-wall tires, chrome exhaust pipes and fuzzy dice hanging from the rearview mirror. C –A black Firebird, the all-macho car. Optional seat belts (lint) and optional fuzz buster (escape to assembler).

Spring 2002UCCS CS316 Concepts of Programming Languages11 If Languages were Cars ALGOL 60 –An Austin Mini. Boy, that's a small car. Pascal –A Volkswagen Beetle. Small but sturdy. Once popular with intellectuals. LISP –An electric car. Simple but slow. Seat belts not available.

Spring 2002UCCS CS316 Concepts of Programming Languages12 If Languages were Cars APL –A double-decker bus. It takes rows and columns of passengers to the same place all at the same time. But, it drives only in reverse gear and is instrumented in Greek. Ada –An army-green Mercedes Benz staff car. Power steering, power brakes, automatic transmission. No other colors or options available. If it's good enough for the generals, it's good enough for you.

Spring 2002UCCS CS316 Concepts of Programming Languages13 Language Parenting C treats you like a consenting adult Pascal treats you like a naughty child Ada treats you like a criminal Bruce Powel Douglass Real-time UML, AW 1998

Spring 2002UCCS CS316 Concepts of Programming Languages14 Language Summary? Grand schemes and commercial failures have left persistent legacies: –ALGOL, PL/I, Ada Less original projects have produced commercial successes: –FORTRAN, C, C++, BASIC Small, enduring languages based on a single concept: –LISP, SmallTalk All-encompassing projects; everything for everybody: –PL/I, Ada, (C++)