Introduction to Programming. COMP104 Lecture 1 / Slide 2 Objectives * To learn fundamental problem solving techniques: n define a problem n design an.

Slides:



Advertisements
Similar presentations
PROBLEM SOLVING TECHNIQUES
Advertisements

Lecture 1: Overview of Computers & Programming
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
Chapter 5 Operating Systems. 5 The Operating System When working with multimedia, the operating system is perhaps the most important, the most complex,
Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
Hardware Programming. COMP102 Prog. Fundamentals I: Hardware / Slide 2 l Four components of a computer system: n CPU - central processing unit –Makes.
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
Introduction to Programming Programming. COMP102 Prog. Fundamentals I: Introduction / Slide 2 Objectives l To learn fundamental problem solving techniques.
Introduction to Programming. COMP104 Introduction / Slide 2 Objectives * To learn fundamental problem solving techniques * To learn how to design a program.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
1 SD1042: Introduction to Software Development SD1042 Introduction to Software Development SCHOOL OF COMPUTING AND TECHNOLOGY Getting Started MODULE TEAM.
1 CS101 Introduction to Computing Lecture 19 Programming Languages.
1 ENG236: Introduction (1) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
Lesson 4 Computer Software
Lesson 4: What Is Software?
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
CSC 110 A 1 CSC 110 Introduction to Python [Reading: chapter 1]
Introduction to Programming Prof. Rommel Anthony Palomino Department of Computer Science and Information Technology Spring 2011.
History of Programming Languages
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
Introduction to Computer Programming itc-314
ITEC113 Algorithms and Programming Techniques
Programming Languages CPS120: Introduction to Computer Science Lecture 5.
Introduction COMP104: Fundamentals and Methodology.
Introduction to Programming Lecture Number:. What is Programming Programming is to instruct the computer on what it has to do in a language that the computer.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
CS 7: Introduction to Computer Programming Algorithms.
Standard Grade Computing System Software & Operating Systems.
CSC-115 Introduction to Computer Programming
TMF1013 : Introduction To Computing Lecture 1 : Fundamental of Computer ComputerFoudamentals.
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Visual BASIC 1 Introduction
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Overview 1.1 Computer Systems 1.2 Programming and Problem Solving.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 October 20, October 20, 2015October 20, 2015October 20,
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
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.
Computer and Programming. Computer Basics: Outline Hardware and Memory Programs Programming Languages and Compilers.
Computing Fundamentals Module Lesson 23 — Computer Software
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
LESSON 1 Introduction to Programming Language. Computer  Comprised of various devices that are referred to as HARDWARE.  The computer programs that.
Introduction to Computer Programming itc-314 Lecture 04.
Chapter 11  Getting ready to program  Hardware Model  Software Model  Programming Languages  Facts about C++  Program Development Process  The Hello-world.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
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.
Computer Programming Week 1: The Basics of CP 1 st semester 2012 School of Information Technology Website:
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Software Engineering Algorithms, Compilers, & Lifecycle.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
Chapter 5 Operating Systems.
Programming Languages
Computer Programming (BCT 1113)
CSCI-235 Micro-Computer Applications
CS101 Introduction to Computing Lecture 19 Programming Languages
An Introduction to Visual Basic .NET and Program Design
Programming COMP104: Fundamentals and Methodology Introduction.
7 Best Programming Languages Based as per Earnings & Opportunities
Introduction to programming languages, Algorithms & flowcharts
Развој софтвера 2.
(Course Introduction)
CS105 Introduction to Computer Concepts Intro to programming
and Program Development
CS105 Introduction to Computer Concepts Intro to programming
Presentation transcript:

Introduction to Programming

COMP104 Lecture 1 / Slide 2 Objectives * To learn fundamental problem solving techniques: n define a problem n design an algorithm n translate into a program * To learn to use the C++ programming language algorithm

COMP104 Lecture 1 / Slide 3 Algorithm * Sequence of instructions, expressed in n plain informal, human, everyday language n pseudo-code (pseudo computer program) n flowchart counter = 10 while (counter not equal 0) { decrease counter value }

COMP104 Lecture 1 / Slide 4 Problem Solving and Algorithm * “Compute volume of a sphere” n input : radius n process : use formula n output : A * “What should I do today?” n input: day of the week n process: n output: action if (day = MON, WED, or FRI) action = go_to_school; else action = go_to_party; Read section 1.2 (pp.13-18)

COMP104 Lecture 1 / Slide 5 What is C++? * C++ is a programming language. * A formal, computer program performs a specific task * It may interact with the user n Human work model: n Computer work model:

COMP104 Lecture 1 / Slide 6 What is C++? * The most popular programming languages: n C++ (derived from C) n Basic n Pascal n Java n Perl n COBOL n Scheme (Lisp) n Smalltalk * The most common compilers of C++: n Microsoft Visual C++ n Borland C++ n g++ (for Unix machines)

COMP104 Lecture 1 / Slide 7 Why C++? * Bad News: n C++ is not easy to learn * Good News: n Lots of well paid and interesting jobs for C++ programmers n Most flexible (e.g. database, graphics) n More low level or system control (e.g. device drivers, operating systems)

COMP104 Lecture 1 / Slide 8 Who Uses C++? * Computer makers such as Sun, SGI, IBM, and HP * Airport * Computer chip manufacturers like Motorola & Intel * Software companies * Banks * Hong Kong Government * Hospital Authority * Telecommunications * Universities * Startup and.com companies

COMP104 Lecture 1 / Slide 9 Most Important Feature of C++ * Most important feature of C++: PORTABILITY * C++ runs on: n PC n Macintosh n Unix workstations (also, Unix versions of C++ are free!) n supercomputers

COMP104 Lecture 1 / Slide 10 What Can We Do By the End of the Course? * Program the computer in applications such as the following: n Program a simple calculator n Program simple computer games n Program a small inventory system for a small company * You will be ready to take on part-time programming jobs during Xmas break!