ICT 106 - PROGRAMMING INTRODUCTION. WHAT & WHY PROGRAMMING Programming is a process of developing computer programs Computer program is a set of instructions.

Slides:



Advertisements
Similar presentations
Lesson 1:Introduction to Programming (Python/Java)
Advertisements

Chapter 1 An Overview of Computers and Programming Languages.
Copyright © 2002 W. A. Tucker1 Chapter 1 Lecture Notes Bill Tucker Austin Community College COSC 1315.
CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
PROGRAMMING Introduction To Programming Definition Types Of Programming Languages Programming Language Paradigm Translator
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
Program Flow Charting How to tackle the beginning stage a program design.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
An Introduction to Programming with C++ Fifth Edition Chapter 1 An Introduction to Programming.
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.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
Your Interactive Guide to the Digital World Discovering Computers 2012.
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.
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.
Introduction to Computer Programming itc-314
Introduction to Programming Language CS105 Programming Language First-generation: Machine language Second-generation: Assembly language Third-generation:
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
High level & Low level language High level programming languages are more structured, are closer to spoken language and are more intuitive than low level.
Tranlators. Machine Language The lowest-level programming languageprogramming language Machine languages are the only languages understood by computers.languagescomputers.
UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable.
The Teacher Computing Computer Languages [Computing]
CSC425 - Introduction To Computer Programming 1. 2 Generation Of Programming Languages A set of rules that telling a computer what to do. There are over.
Lecture 1 Introduction Figures from Lewis, “C# Software Solutions”, Addison Wesley Richard Gesick.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
Software Basics. Some Pioneers Charles Babbage Analytical Engine Countess Ada Lovelace First Programmer ? John Von Neumann storing instructions in memory.
Copyright © Prentice Hall Programming and Languages Chapter 14 Telling the Computer What to Do.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
PROGRAMMING LANGUAGES
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
CS-303 Introduction to Programming
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
Course Instructor: Hira Farman Course : BY:HIRA FARMAN.
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.
Introduction to Computer Programming itc-314 Lecture 04.
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.
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
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.
Computer Language
Computer Languages [Computing] Computing.
Why don’t programmers have to program in machine code?
Introduction to programming
Computational Thinking, Problem-solving and Programming: General Principals IB Computer Science.
Lecture 1 Introduction Richard Gesick.
Programming Language Hierarchy, Phases of a Java Program
Sections Basic Concepts of Programming
CSCI-235 Micro-Computer Applications
Computer Programming.
LESSON 1 Introduction to Programming Language
Programming Languages and Translators
Developing Applications
TRANSLATORS AND IDEs Key Revision Points.
Translators & Facilities of Languages
Assembler, Compiler, Interpreter
(Course Introduction)
CS105 Introduction to Computer Concepts Intro to programming
The Programming Process
Assembler, Compiler, Interpreter
An Introduction to Programming with C++ Fifth Edition
CS105 Introduction to Computer Concepts Intro to programming
Presentation transcript:

ICT PROGRAMMING INTRODUCTION

WHAT & WHY PROGRAMMING Programming is a process of developing computer programs Computer program is a set of instructions that run computer hardware to solve various problems We still do programming because not all business or real world problems are having ready-made software Sometimes we need to customize the current available software to fit into our problems

PROGRAMMING LANGUAGES In order to prepare programs we need programming languages They are classified in two basic criteria – generation: machine language - productivity – how they are developed: procedural – object oriented Specific languages solve specific problems although there are languages used to solve a variety of problems

PROGRAMMING LANGUAGE BY GENERATION Machine language: close to the machine and far a way from human beings Assembly language: use mnemonic for instructions, still far away from human beings High level languages – Procedural: tell a computer how to do – Productivity: tell a computer what to do

HOW TO PREPARE A PROGRAM Understand the problem very well List down broad steps on how to solve it Refine the steps to the simplest steps Identify all controls, conditions and other requirements of the solution One can use dfd or flow charts Choose a programming language that befits the problem Translate the steps into that language

SHOPLIST OF PROGRAMMING LANGUAGES COBOL BASIC Pascal C C++ Java Php FORTRAN etc. Some are general while others are for scientific applications

SOURCE CODE vs OBJECT CODE Set of instructions as written by a programmer is known as source code If the source code is compiled i.e. changed into machine code it is known as object code Source code is changed into object code by two different systems: – compiler – converts the entire program then checks bugs – interpreter – converts one after another and reports bugs linewise

SOLUTION OF A QA Rewrite the equation as ax 2 +bx+c=0 Read the coefficients a, b, c Check if a # 0 Compute Q=b 2 -4ac Check if Q is 0 and decide accordingly Compute the value of x when Q is 0 or >0 You are done

AREA OF A TRIANGLE Read the sides of a triangle l1, l2, l3 Compute s as (l1+l2+l3)/2 Area=SQRT(s(s-l1)(s-l2)(s-l3)) Translate this into any programming language that allows mathematical operations

SUMMARY OF ICT 106 Overview of IT Computer hardware Computer software – operating systems – word processing – spreadsheets – database management systems Programming