ICT Programming Lesson 1:

Slides:



Advertisements
Similar presentations
GCSE Computing Lesson 5.
Advertisements

 Suppose for a moment that you were asked to perform a task and were given the following list of instructions to perform:
The Binary Machine Modern high-level programming languages are designed to make programming easier. On the other end, the low level, all modern digital.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
CIS105 Chapter 1 Theory Review. Page 2 Hardware and Software are the two major components o any computer system Hardware is the set of physical devices.
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
PRE-PROGRAMMING PHASE
Programming Concepts and Languages Chapter 12 – Computers: Understanding Technology, 3 rd edition 1November
Computer Systems Nat 4/5 Computing Science Translator Programs.
CSE 1301 J Lecture 2 Intro to Java Programming Richard Gesick.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Activity 1 - WBs 5 mins Go online and spend a moment trying to find out the difference between: HIGH LEVEL programming languages and LOW LEVEL programming.
1 I.Introduction to Algorithm and Programming Algoritma dan Pemrograman – Teknik Informatika UK Petra 2009.
1 Chapter-01 Introduction to Computers and C++ Programming.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
High level & Low level language High level programming languages are more structured, are closer to spoken language and are more intuitive than low level.
General Computer Science for Engineers CISC 106 Lecture 02 Dr. John Cavazos Computer and Information Sciences 09/03/2010.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
TMF1013 : Introduction To Computing Lecture 1 : Fundamental of Computer ComputerFoudamentals.
Lecture 1 Introduction Figures from Lewis, “C# Software Solutions”, Addison Wesley Richard Gesick.
Basic of Programming Language Skill Area Computer System Computer Program Programming Language Programmer Translators.
What is Programming? A program is a list of instructions that is executed by a computer to accomplish a particular task. Creating those instructions is.
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.
1.4 Representation of data in computer systems Instructions.
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
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
Introduction to Computer Programming using Fortran 77.
INTRODUCTION TO COMPUTER PROGRAMMING(IT-303) Basics.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
Computer Systems Nat 5 Computing Science
Java Programming: From the Ground Up
Why don’t programmers have to program in machine code?
Component 1.6.
Unit 2 Technology Systems
Topic: Programming Languages and their Evolution + Intro to Scratch
High and low level languages
Chapter 1: An Overview of Computers and Programming Languages
Introduction to Programming and Visual Basic
Introduction to programming
Lecture 1 Introduction Richard Gesick.
CSCI-235 Micro-Computer Applications
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Computer Systems Nat 5 Computing Science
Introduction
CS101 Introduction to Computing Lecture 19 Programming Languages
A451 Theory – 7 Programming 7A, B - Algorithms.
Programming Concepts and Languages
Data Representation ASCII.
TRANSLATORS AND IDEs Key Revision Points.
Assembler, Compiler, Interpreter
High Level Programming Languages
PROGRAMMING What is it?.
Programming Languages
Lesson Objectives Aims Key Words Compiler, interpreter, assembler
Topics Introduction Hardware and Software How Computers Store Data
CS105 Introduction to Computer Concepts Intro to programming
Assembler, Compiler, Interpreter
Introduction to Computer Programming
PROGRAMMING FUNDAMENTALS Lecture # 03. Programming Language A Programming language used to write computer programs. Its mean of communication between.
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
ICT Gaming Lesson 2.
Tonga Institute of Higher Education IT 141: Information Systems
An Introduction to Programming with C++ Fifth Edition
Nat 4/5 Computing Science Translator Programs
Tonga Institute of Higher Education IT 141: Information Systems
Presentation transcript:

ICT Programming Lesson 1: Introduction to Programming

Objectives 4.1.1: Define ”programming,” and discuss its role in computing. 4.1.2: Explain the binary representation of data and programs in computers. 4.1.3: Distinguish among the three types of programming languages (machine, assembly, high-level), and give examples. 4.1.4: Compare and contrast languages that are usually compiled (e.g., C++, Java) and interpreted (e.g., JavaScript, Python). 4.1.5: Describe the structure of a simple program, and explain why sequencing is important. 4.1.6: Write a program design document using pseudocode that shows program flow.

What is Programming? Programs consist of instructions that tell the computer what to do Programmer is a person that writes programs Programming is the process of writing a computer program Programming language is a set of key words and syntax (rules) for how to organize the instructions.

Computers Computer: a machine that can perform a task independently Needs a program that tells it what to do Executing: when a computer runs a program and performs the tasks instructed by the program Primary functions a computer performs: Storing, retrieving, and displaying data Calculates & manipulates data Adding, multiplying, comparing & moving data

Programming Languages: Machine Machine language: the elemental language of computers made up of a long sequence of binary digital zeros and ones (bits) The only language a computer understands Transistor: an electrical switch that is either off (0) or on (1) Bits: the on or off switch Byte: eight bits Base: 2 (0,1)

Binary & Machine Language Binary code: “Hello, World!” Machine language: “Hello, World!”

Assembly Language More human-like representation of machine language Uses symbols and recognizable code Unique to different computers / operating systems Difficult to write Assembly language: “Hello, World!”

High Level Language Programming languages with unique rules (syntax) and can be written without regard of computer running it Usually use English words and phrases and easily recognizable symbols Languages people usually write programs in Python, C++, Visual Basic, Java, Perl, PHP Must be translated into machine language before they can be run

High Level Languages “Hello, World!” in Java “Hello, World!” in Python “Hello, World!” in Scratch

Compiled & Translated Code Compiled languages: Translate entire program before the computer runs it Usually faster than translated Translated language / Interpreter: translates a number of program instructions, waits for the computer to execute them, and then translates the next series, until the program is fully executed

Structured Programming Works from the top to bottom Designed by breaking problems into smaller, logical problems to make them easier to execute Allows programmers to re-use portions of code and makes it easier to correct errors.