Slide 1 Standard Grade Computing Studies Systems Software.

Slides:



Advertisements
Similar presentations
GCSE Computing Lesson 5.
Advertisements

compilers and interpreters
Software Development Languages and Environments. Programming languages High level languages are problem orientated contain many English words are easier.
Programming Types of Testing.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
Compilers and Interpreters. Translation to machine language Every high level language needs to be translated to machine code There are different ways.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Software Development CS 1 Rick Graziani Spring 2007.
Computer Systems Nat 4/5 Computing Science Translator Programs.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Systems Software Operating Systems.
1 Chapter-01 Introduction to Computers and C++ Programming.
Slide 1 System Software Software The term that we use for all the programs and data that we use with a computer system. Two types of software: Program.
Systems Software & Operating systems
1 Software Development Topic 2 Software Development Languages and Environments.
Standard Grade Computing SYSTEM SOFTWARE CHAPTER 19.
Machine language is the lowest and most basic language of programming language. It is a collection of digits which The computer reads and interprets.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
Programming Language Rico Yu. Levels of Programming Languages 1.Low level languages 2.High level languages.
Standard Grade Computing System Software & Operating Systems.
Just as there are many human languages, there are many computer programming languages that can be used to develop software. Some are named after people,
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
The Teacher Computing Computer Languages [Computing]
National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages.
Evolution and History of Programming Languages 1.
PROGRAMMING LANGUAGES
I Power Higher Computing Software Development Development Languages and Environments.
Intermediate 2 Computing Unit 2 - Software Development Topic 2 - Software Development Languages and Environments.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
A compiler is a computer program that translate written code (source code) into another computer language Associated with high level languages A well.
Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
Machine Machine language is PL in which program instructions are written in strings of 0s and 1s.The computer circuitry is wired in a manner that it can.
The Functions and Purposes of Translators Translators, Interpreters and Compilers - High Level Languages.
Compilers and Interpreters
The Functions and Purposes of Translators Translators, Interpreters and Compilers - High Level Languages.
Representation of Data - Instructions Start of the lesson: Open this PowerPoint from the A451 page – Representation of Data/ Instructions How confident.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Programming Languages
Chapter 2- Visual Basic Schneider1 Programming Languages: Machine Language Assembly Language High level Language.
Software Development Languages and Environments. Computer Languages Just as there are many human languages, there are many computer programming languages.
Programming Language Basics. What is a Programming Language? “A computer, human-created language used to write instructions for a computer.” “An artificial.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
Evolution and History of Programming Languages
Computer Systems Nat 5 Computing Science
Component 1.6.
14 Compilers, Interpreters and Debuggers
Programming Languages
High and low level languages
Introduction to programming
Programming Language Hierarchy, Phases of a Java Program
CSCI-235 Micro-Computer Applications
Computer Systems Nat 5 Computing Science
A451 Theory – 7 Programming 7A, B - Algorithms.
Teaching Computing to GCSE
TRANSLATORS AND IDEs Key Revision Points.
Teaching Computing to GCSE
Translators & Facilities of Languages
CMP 131 Introduction to Computer Programming
Programming Language Basics
PROGRAMMING FUNDAMENTALS Lecture # 03. Programming Language A Programming language used to write computer programs. Its mean of communication between.
ICT Programming Lesson 1:
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
Nat 4/5 Computing Science Translator Programs
1.3.7 High- and low-level languages and their translators
Programming language translators
Presentation transcript:

Slide 1 Standard Grade Computing Studies Systems Software

Slide 2 Standard Grade Computing Studies Systems Software We communicate with each other using a language called English. We can give and receive instructions which we understand. However, we would not understand the same instructions if they were given in Russian. Similarly, we cannot give instructions to the computer in English because the computer’s own language is called Machine Code. It consists of only two numbers: 1 and 0.

Slide 3 Standard Grade Computing Studies In the early days of computing, the programmer had to use machine code to write the instructions for the computer to follow. This was very difficult to learn, and easy to make mistakes. - Machine Code is an example of a low level language (LLL). Special programming languages have now been developed. This makes it easier to program the computer in everyday language. These are called high level languages (HLLs). eg. Comal, BASIC, Pascal, Visual Basic. A program written in a high level language must be changed into machine code so that the computer can understand it. This is called translation.

Slide 4 Standard Grade Computing Studies Program A list of instructions which tell the CPU what to do High Level Languages BASIC(Beginner’s All-purpose Symbolic Instruction Code) COMAL FORTRAN PASCAL C ++ PROLOG SMALLTALK VISUAL BASIC

Slide 5 Standard Grade Computing Studies Common features of High Level languages: 1.HLL programs are easier to read, write and fix because they are in a language close to English. 2.Programs must be translated into machine code before they can be run. 3.Because a HLL program has to be translated it runs more slowly than a similar program written in machine code. 4.HLLs are problem oriented. 5.HLLs are easy to change so that they can run on different types of computer.

Slide 6 Standard Grade Computing Studies The systems software is a collection of programs that help the computer hardware to work properly. This includes: Translator Programs Operating System Filing System We will be looking at Translator Programs in the next section

Slide 7 Standard Grade Computing Studies Translator Programs The only thing a computer understands is Machine Code. Everything else which goes on in a computer must be changed into Machine Code so that the computer can understand it. A translator program changes HLL program instructions into machine code. There are two types of translator programs: Interpreters Compilers

Slide 8 Standard Grade Computing Studies ProgramTranslationMachine Code Source Code Object Code The basic principle of all translation programs is:

Slide 9 Standard Grade Computing Studies (i)Interpreters Single Instruction Translation Machine Code Source Code Object Code Report Errors Execute & Discard Next Instruction

Slide 10 Standard Grade Computing Studies Advantages (i)Translates each line of the program as it is run. (ii)Reports errors after each line. This is a great help when learning to write programs since errors can be detected and corrected immediately.(Good for beginners) Disadvantage (i)Since each line of code is translated into machine code each time the program is run, an interpreted program is slower to run than a compiled program. I Translate a HLL into Machine Code, one instruction at a time.

Slide 11 Standard Grade Computing Studies (ii)Compilers HLL Program Translation Machine Code Source Code Object Code Save as File Execute Report Errors

Slide 12 Standard Grade Computing Studies Advantages (i)The translation process only takes place once. Machine code is stored as a file and used when needed. (ii)Compiled programs run faster than interpreted programs. Disadvantage (i)Errors are not reported until the whole of the program has been translated. After correction the program has to be translated again. (Bad for beginners) Translates a HLL program into Machine Code, all in one go.

Slide 13 Standard Grade Computing Studies Best of both worlds: Use an interpreter to detect errors and debug program in the development stage. Once the program works, use a compiler to translate the program into machine code and store it as a file. Use the machine code file to run the program.

Slide 14 Standard Grade Computing Studies High Level Language to machine code Translation takes place only once Translates one instruction at a time Error message on screen Error message at end Difficult to learn FastCan save object code Interpreter  X  XXXX Compiler  XX  X  Summary of Translators

Slide 15 Standard Grade Computing Studies Software Portability This is the ability to run a program on several different computer systems without altering it. LLL programs are hardware specific and are not portable. HLL programs are usually portable. Portability is important to: Software companies. Organisations who own many different computer systems.