Tranlators. Machine Language The lowest-level programming languageprogramming language Machine languages are the only languages understood by computers.languagescomputers.

Slides:



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

IT-101 Section 001 Lecture #13 Introduction to Information Technology.
PROGRAMMING Introduction To Programming Definition Types Of Programming Languages Programming Language Paradigm Translator
The Binary Machine Modern high-level programming languages are designed to make programming easier. On the other end, the low level, all modern digital.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
CMP 131 Introduction to Computer Programming Violetta Cavalli-Sforza Week 1, Lab.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
Introduction to Computers and Programming. Some definitions Algorithm: Algorithm: A procedure for solving a problem A procedure for solving a problem.
Prof. B. I. Khodanpur HOD – Dept. of CSE R. V. College of Engineering
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Types of Computer/Programming Languages Machine Language Symbolic Languages There Are Two Types Of Symbolic Languages Low level Language » Low level language.
Types of software. Sonam Dema..
1 CS101 Introduction to Computing Lecture 19 Programming Languages.
Computers: Software Patrice Koehl Computer Science UC Davis.
Introduction to Programming End Show. Resource Team R.P Ranjan-Lecturer, SPICTEC, Galle. W.M.A.S. Wijesekara-Centre manager,CRC Hali-Ela H.P.U.S Indra.
Principles of Programming Chapter 1: Introduction  In this chapter you will learn about:  Overview of Computer Component  Overview of Programming 
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
1 Chapter-01 Introduction to Computers and C++ Programming.
Computer Software. Evolution of Programming Languages Machine Languages Assembly Languages High-Level Languages Fourth-Generation Languages.
Introduction to Computer Programming itc-314
Introduction to Programming Language CS105 Programming Language First-generation: Machine language Second-generation: Assembly language Third-generation:
Software – Applications software and programming languages
High level & Low level language High level programming languages are more structured, are closer to spoken language and are more intuitive than low level.
An intro to programming. The purpose of writing a program is to solve a problem or take advantage of an opportunity Consists of multiple steps:  Understanding.
Programming Language Rico Yu. Levels of Programming Languages 1.Low level languages 2.High level languages.
Copyright©2008 N.AlJaffan®KSU1 Chapter 11 Information system development and programming language.
CS101 Introduction to Computing Lecture Programming Languages.
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
Computer Architecture And Organization UNIT-II Multilevel View Point Of A Machine.
Software – Applications software and programming languages.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
Computer Components.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
PROGRAMMING LANGUAGES
1 Text Reference: Warford. 2 Computer Architecture: The design of those aspects of a computer which are visible to the programmer. Architecture Organization.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Computer Programming Languages HOW COMPUTERS WORK èCIRCUITS èBINARY DIGIT èBIT (0 OR 1) èBYTE - 8 BITS èASCII.
Chapter 4 Software. Chapter 4: Software Generations of Languages Each computer is wired to perform certain operations in response to an instruction. An.
CS-303 Introduction to Programming
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 2 Computer Organization.
Lally School of M&T Pindaro Demertzoglou 1 Computer Software.
Introduction to Computer Programming itc-314 Lecture 04.
Compilers and Interpreters
Skill Area 311 Part B. Lecture Overview Assembly Code Assembler Format of Assembly Code Advantages Assembly Code Disadvantages Assembly Code High-Level.
GROUP 2 NAME :  AZMYLL BIN ARSHAD  (18DNS14F2014)  MARYAM JAMILAH BINTI RAHIM  (18ENS14F2004)  SURAYA BINTI MOHAMAD  (18DNS14F2005)  MUHAMMAD SALEH.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Computer Software.
Programming Languages Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Computer Software 1.
INTRODUCTION TO COMPUTER PROGRAMMING ITC-314. Computer Programming  Computer Programming means creating a sequence of instructions to enable a computer.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
A LECTURE NOTE. Introduction to Programming languages.
Computer Applications in Business
Why don’t programmers have to program in machine code?
Ashima Wadhwa Assistant Professor(giBS)
Operating System Interface between a user and the computer hardware
Programming Language Hierarchy, Phases of a Java Program
CSCI-235 Micro-Computer Applications
LESSON 1 Introduction to Programming Language
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Microprocessor and Assembly Language
Teaching Computing to GCSE
Developing Applications
TRANSLATORS AND IDEs Key Revision Points.
Translators & Facilities of Languages
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
(Course Introduction)
CMP 131 Introduction to Computer Programming
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
Algoritmos y Programacion
Presentation transcript:

Tranlators

Machine Language The lowest-level programming languageprogramming language Machine languages are the only languages understood by computers.languagescomputers While easily understood by computers, machine languages are almost impossible for humans to use because they consist entirely of numbers.

Machine Language Programs written in high-level languages are translated into machine language by a compiler. Programshigh-level languagescompiler Sometimes referred to as machine code or object code, machine language is a collection of binary digits or bits that the computer reads and interprets. Machine language is the only language a computer is capable of understanding.binary

Machine Language

Programmers commonly use more English-like languages (called high level languages) such as Basic, C, Java, etc., to write programs which are then translated into machine language (called a low level language) by an assembler, compiler, or interpreter. Programmershigh level languagesJavawriteprogramslowlevelassembler compilerinterpreter

Assembly Language A program written in assembly language consists of a series of instructions mnemonics that correspond to a stream of executable instructions, when translated by an assembler, that can be loaded into memory and executed.

An assembly language is a low-level programming language for computers, microprocessors, microcontrollers, and other programmable devices.low-level programming languagecomputers microprocessorsmicrocontrollers

It implements a symbolic representation of the machine codes and other constants needed to program a given CPU architecture.machine codesCPU This representation is usually defined by the hardware manufacturer, and is based on mnemonics mnemonics

Assembly Language Program MOV AX, MOV DS, AX MOV [3998], 36 INT 32

Assembly Language Transforming assembly into machine language is accomplished by an assembler

High Level Language A programming language such as C, FORTRAN, or Pascal that enables a programmer to write programs that are more or less independent of a particular type of computer.programming languageCFORTRANPascalprogrammer programscomputer Such languages are considered high-level because they are closer to human languages and further from machine languages.languagesmachine languages

High Level Language In contrast, assembly languages are considered low-level because they are very close to machine languages.assembly languages A computer language whose instructions or statements each – correspond to several machine language instructions, designed to make coding easier. Also known as higher-level language; higher- order language.

High Level Language The main advantage of high-level languages over low-level languages is that they arelow-level languages – easier to read, write, and maintain. Ultimately, programs written in a high-level language must be translated into machine language by a compiler or interpreter.compilerinterpreter

High Level Language The first high-level programming languages were designed in the 1950s. Now there are dozens of different languages, including Ada, Algol, BASIC, COBOL, C, C++, FORTRAN, LISP, Pascal, and Prolog.AdaBASICCOBOLC++LISPProlog

Assembler An assembler converts basic computer instructions (Assembly Language) into a pattern of bits which can be easily understood by the computer and the processor can use it to perform its basic operations.

Assembler Some people call these instructions assembler language and others use the term assembly language.

Compiler A compiler is a computer program (or set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language, often having a binary form known as object code).computer programsource codeprogramming language object code The most common reason for wanting to transform source code is to create an executable program.executable

Compiler Compiler converts the entire source code into object code at once which can be then executed by the user This object code can then be executed multiple times by the user During execution the compiler is not required

Interpreter Converts High Level language into Machine Code Line by line execution of the source code Reads source code line by line->Converts into machine readable form->executes the line- >proceeds to next line

System Software Provides basic functionality to a computer System software is computer software designed to operate the computer hardware and to provide a platform for running application software.computer softwarecomputer hardwareapplication software

System Software Acts as an interface between user, application software and computer hardware

Application Software Software used for accomplishing a specific task is the Application software Maybe a single program or set of programs Set of programs that are written for a specific purpose and provide the required functionality is called software package

Application Software Different kinds of applications: Graphics Word processors Media Players Database Applications Accounting Purpose