The Teacher Computing Computer Languages [Computing]

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

Computers Are Your Future
CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
Programming Creating programs that run on your PC
Computers Are Your Future © 2006 Prentice Hall, Inc.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
Computers: Tools for an Information Age
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Introduction to Programming Programming. COMP102 Prog. Fundamentals I: Introduction / Slide 2 Objectives l To learn fundamental problem solving techniques.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Programming Concepts and Languages Chapter 12 – Computers: Understanding Technology, 3 rd edition 1November
Software Development CS 1 Rick Graziani Spring 2007.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
Computers Are Your Future Tenth Edition Chapter 11: Programming Languages & Program Development Copyright © 2009 Pearson Education, Inc. Publishing as.
Programming Languages – Coding schemes used to write both systems and application software A programming language is an abstraction mechanism. It enables.
Introduction to Computer Programming itc-314
Introduction to Programming Language CS105 Programming Language First-generation: Machine language Second-generation: Assembly language Third-generation:
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
Programming Languages
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
CIS 338: Computer Languages & Visual Basic.NET
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: PROGRAMMING & LANGUAGES.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Slide 1 Standard Grade Computing Studies Systems Software.
Programming Paradigms
Programming Language Rico Yu. Levels of Programming Languages 1.Low level languages 2.High level languages.
Evolution of Programming Languages Generations of PLs.
COMPUTER PROGRAMS AND LANGUAGES Chapter 4. Developing a computer program Programs are a set (series) of instructions Programmers determine The instructions.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 1 – Car Payment Calculator and Guess the Number.
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
Discovering Computers 2009 Chapter 13 Programming Languages and Program Development.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
Principles of Software Development 1 Principles Of Software Design and Development Types of language / Choosing a language.
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
LBSC 690 Session 5A Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
LBSC 690 Session 5A Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
PROGRAMMING LANGUAGES
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
Course Instructor: Hira Farman Course : BY:HIRA FARMAN.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Introduction to Computer Programming itc-314 Lecture 04.
Skill Area 311 Part B. Lecture Overview Assembly Code Assembler Format of Assembly Code Advantages Assembly Code Disadvantages Assembly Code High-Level.
Introduction to Programming Languages © 2005 Prentice Hall, Inc. CXC IT Unit 2: Intro. to Programming.
Software Design and Development Languages and Environments Computing Science.
Chapter 2- Visual Basic Schneider1 Programming Languages: Machine Language Assembly Language High level Language.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
Computer Languages [Computing] Computing.
Why study programming languages?
Sections Basic Concepts of Programming
CSCI-235 Micro-Computer Applications
Programming Concepts and Languages
Developing Applications
Translators & Facilities of Languages
Assembler, Compiler, Interpreter
CS105 Introduction to Computer Concepts Intro to programming
Assembler, Compiler, Interpreter
Principles of Programming Languages
ICT Programming Lesson 1:
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
Tonga Institute of Higher Education IT 141: Information Systems
An Introduction to Programming with C++ Fifth Edition
Tonga Institute of Higher Education IT 141: Information Systems
CS105 Introduction to Computer Concepts Intro to programming
Presentation transcript:

The Teacher Computing Computer Languages [Computing]

The Teacher Computing Machine Code The only type of program a computer can run is a machine code program. …which looks like this….

The Teacher Computing Low Level Languages Low-level languages were developed to make it easier for programmers to write and edit programs. Each machine code instruction is given a mnemonic.

The Teacher Computing Assembler A Low level language is often called an Assembly Language. A computer cannot run an Assembly Language program. An Assembler converts an Assembly Language program into machine code …then the computer can run it.

The Teacher Computing Assembly Language It takes many instructions to perform simple tasks. Assembled programs run fast – so needed for Eg. Games...but Assembly language programming is still hard work…so….

The Teacher Computing High Level Languages A high level language uses recognisable instructions – closer to English! It is easier for programmers to develop and edit high level programs…and this will mean faster program development. …and fewer bugs!

The Teacher Computing Program Translators A High level language program need to be translated into machine code programs before a computer can run it. Compilers translate high level language source code into executable object code programs…that the computer can run. Interpreters translate each line of a high level language program, running each instruction as it does so.

The Teacher Computing Examples of High Level Languages FORTRAN – (FORmula TRANslator) used for scientific computing. ALGOL – (ALGOrithmic Language) COBOL (Common Business Orientated Language) used for commercial programming. BASIC – (Beginner’s All-Purpose Symbolic Instruction Code) – a learning language. PASCAL – A well-structured teaching language. C, C+, C++, C* - Evolved from Algol. JAVA – Popular language used for teaching programming …and many, many more…..

The Teacher Computing High Level Languages Scientific languages would have powerful mathematical functions, and facilities for high precision arithmetic to many decimal places… Commercial languages would have many data processing functions (searching and sorting) and filing facilities.

The Teacher Computing HTML..stands for HyperText Markup Language..... is used to develop web pages. A web page is really a program written in HTML with instructions for the web browser telling it how to display the page. Hyperlinks can be used for navigation between web pages. Multimedia objects can be embedded in a web page. Ronaldo’s First Page Page 2

The Teacher Computing Special-Purpose Languages Some languages have a special purpose such as… PROLOG – for Artificial Intelligence GASP - for Simulation OCCAM – for parallel processing systems. ADA – for programming embedded systems.

The Teacher Computing Procedural Languages A sequence of instructions is executed. …use variables, program control (loops etc) and subroutines. Examples : PASCAL, BASIC, FORTRAN, COBOL, ALGOL.

The Teacher Computing Non-Procedural Languages A set of facts… …and a set of rules, from which information is deduced.

The Teacher Computing Example (Non-procedural Language) PROLOG Facts : Parent(Tom, Bob) Parent(Pam,Bob) Male(Tom)..and a set of rules Father(X,Y) := parent(X,Y) Male(X) Brother(X,Y) := parent(Z,X) Parent(Z,Y) Male(X) …and a query which is answered by applying the facts and rules… ? father(who,Bob) who = Tom

The Teacher Computing Object Oriented Programming Languages (OOPs) A Class consists of a group of Objects Objects have Properties and Methods. Properties can be set initially or at run- time. Methods are the things the object can do. Examples of OOPs – C#, VB.NET, JAVA, PHP, PYTHON)

The Teacher Computing Fundamentals of an OOP… A Class is a group of similar Objects. The class of DOGS contains an Object called a COLLIE. A COLLIE has properties and methods. Properties may include: Colour, Breed, No of Legs, etc… Methods may be Bark, Eat, Run, Sit, etc.. LASSIE is an Instance of a COLLIE A Sub-Class may be defined such as HUNTING-DOGS that INHERITS the methods and properties of the Class DOG.

The Teacher Computing Visual Languages Visual Languages allow the programmer to manipulate objects visually on a form, and set their layout and properties. Often used to create Microsoft Windows Applications. Examples : Visual Basic, Visual C#, Delphi.

The Teacher Computing ALL programming languages must have… International Standards. –Difficult to create because of different hardware and software manufacturers. An unambiguous syntax. – There should never be two different ways for a computer to interpret an instruction.