Introduction and Overview of the Course CS 480/680 – Comparative Languages.

Slides:



Advertisements
Similar presentations
Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
Advertisements

Instruction Set Design
Chapter 3 Instruction Set Architecture Advanced Computer Architecture COE 501.
Dr. Ken Hoganson, © August 2014 Programming in R COURSE NOTES 2 Hoganson Language Translation.
Lecture 0 CSIS10A Overview. Welcome to CSIS10A (5 mins) – Typical format for class meetings New material first (monitors off, notebooks out) Practice.
Overview of Programming Paradigms
From: From:
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
CS211 Data Structures Sami Rollins Fall 2004.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
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.
Basic Computer Organization Background for CS260.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
CEN 226: Computer Organization & Assembly Language :CSC 225 (Lec#1) By Dr. Syed Noman.
1 Chapter-01 Introduction to Computers and C++ Programming.
High level & Low level language High level programming languages are more structured, are closer to spoken language and are more intuitive than low level.
Natawut NupairojAssembly Language1 Introduction to Assembly Programming.
CS2303 C14 Systems Programming Concepts Bob Kinicki.
Introduction CS 104: Applied C++ What is Programming? For some given problem: __________ a solution for it -- identify, organize & store the problem's.
IT253: Computer Organization Lecture 4: Instruction Set Architecture Tonga Institute of Higher Education.
Skill Area 311 Part A. Lecture Overview Binary Numbers Binary Arithmetic ASCII Code Machine Code Instruction Format Advantages and disadvantages of machine.
CS 147 June 13, 2001 Levels of Programming Languages Svetlana Velyutina.
National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages.
Compiled and Interpreted Languages CS 480/680 – Comparative Languages.
Important Concepts  Parts of the CPU  Arithmetic/Logic Unit  Control Unit  Registers  Program Counter  Instruction Register  Fetch/Decode/Execute.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
PROGRAMMING LANGUAGES
Computer Science 210 Computer Organization Course Introduction.
Computer organization Practical 1. Administrative Issues The course requirements are: –To be nice and open minded –To pass the exam (there is a boolean.
Survey of Program Compilation and Execution Bangor High School Ali Shareef 2/28/06.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Introduction 1 (Read Chap. 1) What is Programming? For some given problem: design a solution for it -- identify, organize & store the problem's data --
Represents different voltage levels High: 5 Volts Low: 0 Volts At this raw level a digital computer is instructed to carry out instructions.
Computer Programming Languages HOW COMPUTERS WORK èCIRCUITS èBINARY DIGIT èBIT (0 OR 1) èBYTE - 8 BITS èASCII.
CS-303 Introduction to Programming
CONCEPTS OF PROGRAMMING LANGUAGES
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Chapter 1 – Introduction to C.
Week 6 Dr. Muhammad Ayaz Intro. to Assembly Language.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
HIGH-LEVEL LANGUAGE PROGRAMMING PARADIGMS. Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other.
High-level language programming paradigms. Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
Computer Language
Immediate Addressing Mode
Introduction to programming
Operating System Interface between a user and the computer hardware
Programming Language Hierarchy, Phases of a Java Program
LESSON 1 Introduction to Programming Language
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Microprocessor and Assembly Language
ACOE301: Computer Architecture II Labs
Chapter 3 Machine Language and Assembly Language.
Chapter 3 Machine Language and Assembly Language.
Overview Introduction General Register Organization Stack Organization
A Closer Look at Instruction Set Architectures
CS 140 Lecture Notes: Virtual Machines
THE sic mACHINE CSCI/CMPE 3334 David Egle.
Computer Science I CSC 135.
Computer Programming Machine and Assembly.
What is an Operating System?
Programming Fundamentals Lecture #3 Overview of Computer Programming
Classification of instructions
Introduction to Computer Programming
The Von Neumann Machine
Dept. of Computer & Information Sciences (Course Introduction)
System Programming By Prof.Naveed Zishan.
Introduction to Computer Science
Algoritmos y Programacion
Presentation transcript:

Introduction and Overview of the Course CS 480/680 – Comparative Languages

Introduction and Overview2 What is this class about?  By studying several programming languages, we will learn: What different types of languages have in common, and what differs  Paradigms How programming language features are implemented How to pick up new programming languages quickly

Introduction and Overview3 Course Overview 1.Introduction to Programming Languages a.Groups of Languages b.Implementation of programming concepts c.Formal specification of languages 2.Two Example Languages a.Ruby – A very object-oriented language b.Scheme – A functional programming language 3.Student Presentations of Languages

Introduction and Overview4 Programming Language Groups  Level  Historical  Paradigm  Interpreted/Compiled/Partially-compiled

Introduction and Overview5 Machine Code  The lowest level “language”  Not designed to be human readable  An instruction consists of an opcode word, followed by extension words  Directly operate the gates/hardware of the CPU 0xD64A Place the value zero into register D2.

Introduction and Overview6 Low Level Languages  In the beginning there was assembly language Requires an understanding of the CPU hardware Instructions directly control the registers, gates, and devices in the CPU MAINMOVE.W#20,D3 ADD.W$2002,D3 MOVE.W$2000,D4 DIVS.WD3,D4 BGEREADLOOP One line of assembly language corresponds to one machine code instruction.

Introduction and Overview7 Assembly Pros and Cons  Advantages Fast, efficient code Direct control of the hardware  Disadvantages Different hardware requires a completely different program (not just a port)  Requires knowledge of the hardware Many instructions to do simple operations Code is difficult to read and understand

Introduction and Overview8 Compiled Languages  Assembly is a low level language  High level languages include C, C++, Pascal, FORTRAN, and many others  Source code is just ASCII text  Compiled into executable format Machine code with some special tags to tell where to load into memory