101.  When you communicate with people you use a language that you both understand.  The trick is that the computer does not speak English.  To communicate.

Slides:



Advertisements
Similar presentations
GCSE Computing Lesson 5.
Advertisements

CHAPTER 2 GC101 Program’s algorithm 1. COMMUNICATING WITH A COMPUTER  Programming languages bridge the gap between human thought processes and computer.
Computer Languages omputer language is what machines use to communicate with each other. C.
2 We need programming languages to communicate with a computer. The two broad classifications of programming languages are: Low-level and High- level.
Software. What Is Software? software –Also called Computer programs –Are a list of instructions –Instructions are called code –CPU performs the instructions.
The Binary Machine Modern high-level programming languages are designed to make programming easier. On the other end, the low level, all modern digital.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Compilers and Interpreters. Translation to machine language Every high level language needs to be translated to machine code There are different ways.
1 Software, Programmings. 2 Types of Software Figure 9.1 Shakeel Ahmad.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Intro to Programming CST JavaScript. Objectives Define software Identify the different types of software Differentiate the different types of programming.
ALGORITHMS AND PROGRAMMING LANGUAGES Lecture 5: Algorithms and programming languages Networks and Communication Department 1.
The CPU The Central Presentation Unit Language Levels Fetch execute cycle Processor speed.
Source Code Basics. Code For a computer to execute instructions, it needs to be in binary Each instruction is given a number Known as “operation code”
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 – Coding schemes used to write both systems and application software A programming language is an abstraction mechanism. It enables.
Computer Software. Evolution of Programming Languages Machine Languages Assembly Languages High-Level Languages Fourth-Generation Languages.
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
The Role of Programming Languages Chapter 1: Programming Languages: Concepts and Constructs by Ravi Sethi.
COMPUTER PROGRAMS AND LANGUAGES Chapter 4. Developing a computer program Programs are a set (series) of instructions Programmers determine The instructions.
What is a Computer? An, electrical machine, that can be programmed to accept data (input), process it into useful information (output) and store it away.
Revision Language generations Two’s and One’s Complement and Sign and Magnitude.
CMPE13Cyrus Bazeghi 1 Programming Languages Telling computers what to do.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
Software Information Systems and Management. Software Computer programs: A sequence of instructions for the computer. Systems Software The set of programs.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
Copyright © Prentice Hall Programming and Languages Chapter 14 Telling the Computer What to Do.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Computer Software.
PROGRAMMING LANGUAGES
Represents different voltage levels High: 5 Volts Low: 0 Volts At this raw level a digital computer is instructed to carry out instructions.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
Programming Languages
Programming and Languages Dept. of Computer and Information Science IUPUI.
Course Instructor: Hira Farman Course : BY:HIRA FARMAN.
Processor Fundamentals Assembly Language. Learning Objectives Show understanding of the relationship between assembly language and machine code, including.
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.
Chapter 4 Software. Introduction Program: is a set of sequence instructions that tell the computer what to do. Software: is a collection of programs,
Compilers and Interpreters
GROUP 2 NAME :  AZMYLL BIN ARSHAD  (18DNS14F2014)  MARYAM JAMILAH BINTI RAHIM  (18ENS14F2004)  SURAYA BINTI MOHAMAD  (18DNS14F2005)  MUHAMMAD SALEH.
CSC141 Introduction to Computer Programming Programming Language.
Programming Languages
Chapter 2- Visual Basic Schneider1 Programming Languages: Machine Language Assembly Language High level Language.
Programming Languages Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Computer Software 1.
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.
A Level Computing – A2 Component 2 1f, 1g, 1h, 1i, 1j.
Why don’t programmers have to program in machine code?
Component 1.6.
Programming Languages
Operating System Interface between a user and the computer hardware
Computer Programming.
A451 Theory – 7 Programming 7A, B - Algorithms.
Entry Ticket: High and Low Level Languages
Application Development Theory
Chapter 4 Computer Software.
Teaching Computing to GCSE
Teaching Computing to GCSE
Translators & Facilities of Languages
Language is a medium of communication.
What is a computer program?
Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Tuesday, 15 January 2019.
Processor Fundamentals
The Purpose of this Course
4 – History of Programming Languages
1.3.7 High- and low-level languages and their translators
Algoritmos y Programacion
Presentation transcript:

101

 When you communicate with people you use a language that you both understand.  The trick is that the computer does not speak English.  To communicate with a computer you need to speak it’s language.

 The language that you use when communicating with a computer is called a ‘programming language’.  There are many programming languages out there and they all have a different style in which they talk to the computer.  The computer programming language that we will be using in this class is called ‘Scratch’.

 1GL (First Generation Language)  Speaks in the computers native language.  That’s 0’s and 1’s (binary)  What does that look like?  Why it’s good  Code is VERY FAST  Why it’s bad  Hard to read by humans

 2GL’s  Replace 0’s and 1’s with Mnemonic Codes  An Assembler converts your codes into machine code.  Why it’s good  Still very fast (1 to 1 relationship with machine code)  Why it’s bad  Code is tied to a specific processor  Still very hard to understand for a human  2GL (Second Generation Programming) LDA A ADD #5 STA A JMP # Assembler

 3GL’s  Are called ‘high level languages’  Are closer to English (or real world language’ than the mnemonics used in 2GL’s  This makes them more programmer friendly  Which makes them easier to use  Are imperative  That means code is executed line by line in the order that you write the code  In an imperative language YOU tell the computer how to do the work  3GL (Third Generation Programming)

 3GL’s  A program called a compiler converts your commands into Object (machine code)  There is NOT a 1 to 1 relationship between a 3GL command and its machine code  Compilers can create machine code that is not tied to a particular computer platform  3GL (Third Generation Programming) Compiler Source Code Object (machine) Code

 4GL’s  Are designed to decrease the amount of time it takes to create computer programs  Are declarative  That means you describe what you would like the computer to do but NOT how to do it  In an declarative language YOU tell the computer what you want it to do and it figures out how to get it done.  The line between 3GL’s and 4GL’s continues to get more blurry as computer programming languages continue to evolve.  4GL (Fourth Generation Programming)