Problem Identification

Slides:



Advertisements
Similar presentations
Programming for Beginners
Advertisements

An Introduction to Programming By :- Vishal Hirani B.Tech II year (CSE)
Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 1.
Lecture Exercise (9) CS1301 Introduction To Computer Programming (07-08 Semester B) Random Student Numbers 1: 2: 3: 4: 5:
Lecture Supp (11) Week 10 lecture exercise [Given Code] LectEx10_ShowPrimeNumbers.html If we remove both “var” for i, then the new window shows ‘3’ repeatedly.
CS211 Data Structures Sami Rollins Fall 2004.
CS 110 Intro to Computer Science I Sami Rollins Fall 2006.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
Introduction to a Programming Environment
Practical Session 8 Computer Architecture and Assembly Language.
CS 101 Problem Solving and Structured Programming in C Sami Rollins Spring 2003.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
Computer Literacy PowerPoint Dustin Llanes Comm. 165.
Assembly Language Lecture 0: Introduction. Outline What is Assembly Language? Why learn Assembly Language? Grade Text Book.
Types of Computer/Programming Languages Machine Language Symbolic Languages There Are Two Types Of Symbolic Languages Low level Language » Low level language.
Using the Java programming language compiler. Review of relevant material from previous lectures From previous lectures: A computer can only execute machine.
CS 331, Principles of Programming Languages Introduction.
Programming Languages Generations
Programming. What is a Program ? Sets of instructions that get the computer to do something Instructions are translated, eventually, to machine language.
1 Documenting Your Project. 2 Documenting your Project Insert Banner Comments in your code Comment - coding statement used by humans not the compiler.
Introduction to C++ Programming Language
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
3/5/2009Computer software1 Introduction Computer System Hardware Software HW Kernel/OS API Application Programs SW.
Chapter 0 Overview. Why you are here? Where will you go? What is this course for?
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
HELLO WORLD program in COBOL - CIS12 Please use speaker notes for additional information!
Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 2.
A Look at Java. Categorize Java Which paradigm? Which paradigm? Scripting? Scripting? Declarative or procedural? Declarative or procedural? Which generation?
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
A compiler is a computer program that translate written code (source code) into another computer language Associated with high level languages A well.
LOW vs. HIGH Level Languages
CSC 1010 Programming for All Lecture 2 Introduction to Python Some material based on material from Marty Stepp, Instructor, University of Washington.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
Sahar Mosleh California State University San MarcosPage 1 Assembly language and Digital Circuit By Sahar Mosleh California State University San Marcos.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
Compilers and Interpreters
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.
CS101 Programming. Congratulations, you are a programmer!
Software Engineering Algorithms, Compilers, & Lifecycle.
Why don’t programmers have to program in machine code?
Assembly language.
Topic: Programming Languages and their Evolution + Intro to Scratch
Programming Languages
Chapter 5- Assembling , Linking, and Executing Programs
C Programming.
Introduction to programming
1. Introduction A microprocessor executes instructions given by the user Instructions should be in a language known to the microprocessor Microprocessor.
Entry Ticket: High and Low Level Languages
CS101 Programming.
Introduction to programming languages, Algorithms & flowcharts
TRANSLATORS AND IDEs Key Revision Points.
Teaching Computing to GCSE
Assembler, Compiler, Interpreter
and Executing Programs
Programming Languages
Computer Programming Machine and Assembly.
C Programming.
The Programming Process
Assembler, Compiler, Interpreter
MARIE: An Introduction to a Simple Computer
University of Gujrat Department of Computer Science
ICT Programming Lesson 1:
C Programming.
1.3.7 High- and low-level languages and their translators
Computer Programming (CS101) Lecture-02
Computer Architecture and Assembly Language
Introduction to Computer Science
CS101 Programming.
Presentation transcript:

Problem Identification Lecture Exercise (13) CS1301 Introduction To Computer Programming (10-11 Semester B) www.cs.cityu.edu.hk/~helena (2) [ DON'T LOOK AT YOUR NOTES ] Arrange the following procedures in proper order (by adding arrows): Problem Identification Problem Analysis Algorithm Design Program Development Debugging and Testing Documentation Start Finished

(3) [ DON'T LOOK AT YOUR NOTES ] Fill in the blanks. (choices: translate, compiler, interpreter, assembler, assembly language, machine) line 1 line 2 … add EAX, EBX mov EAX, EBX A program written in _________________ Translated by ______________ ______________ code (executed by the computer) Assembly language assembler machine compiler Translate Interpreter Source code of a program / script: line 1 line 2 line 3 line 4 … …………….. ………… xxx.exe (13 KB) Translate line 1. Then line 2. Then line 3. Save the executable code in a file: xxx.exe (13 KB) The process is done by a/an ______________ Source code of a program / script: line 1 line 2 line 3 line 4 … …………….. ………… Hello! ____________line 1 and execute. Then line 2 and execute. Then line 3 and execute. The process is done by a/an ______________