Overview of Computers & Programming Languages Chapter 1.

Slides:



Advertisements
Similar presentations
Chapter 1 An Overview of Computers and Programming Languages.
Advertisements

ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
Overview of Programming and Problem Solving ROBERT REAVES.
Copyright © 2002 W. A. Tucker1 Chapter 1 Lecture Notes Bill Tucker Austin Community College COSC 1315.
© Janice Regan Problem-Solving Process 1. State the Problem (Problem Specification) 2. Analyze the problem: outline solution requirements and design.
Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
1 Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1 Introduction to C Programming. 1.1 INTRODUCTION This book is about problem solving with the use of computers and the C programming language.
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: Program Design Including Data Structures, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
Topic 1: Introduction to Computers and Programming
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
CHAPTER 1: AN OVERVIEW OF PROGRAMMING INSTRUCTOR: MOHAMMAD MOJADDAM How to Program in C++
Computer Science I CS rmaclin
CHAPTER 1 AN OVERVIEW OF COMPUTERS AND PROGRAMMING LANGUAGES.
Chapter 1: An Overview of Computers and Programming Languages.
CS 161 INTRO TO PROGRAMMING I Dr. Blaise W. Liffick Fall
About the Presentations The presentations cover the objectives found in the opening of each chapter All chapter objectives are listed in the beginning.
Chapter 1 An Overview of Computers and Programming Languages.
EGR 2261 Engineering Problem Solving Using C and C++ Professor Nick Reeder.
CISC105 General Computer Science Class 1 – 6/5/2006.
Chapter 1 Overview of Computers and Programming J. H. Wang ( 王正豪 ), Ph. D. Assistant Professor Dept. Computer Science and Information Engineering National.
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design, Fourth Edition Chapter 1: An Overview of Computers and Programming Languages.
C++ Programming: Program Design Including Data Structures, Fourth Edition Chapter 1: An Overview of Computers and Programming Languages.
Overview of Programming and Problem Solving. Objectives In this chapter you will: Learn about different types of computers Explore the hardware and software.
C++ Programming: Program Design Including Data Structures, Fourth Edition Chapter 1: An Overview of Computers and Programming Languages.
Chapter 1: An Overview of Computers and Programming Languages
What is computer hardware? Computer hardware are the physical components of the computer.
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
C++ Programming: Program Design Including Data Structures, Fourth Edition Chapter 1: An Overview of Computers and Programming Languages.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
CHAPTER 1 INTRODUCTION 2 nd Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
C++ Programming: From Problem Analysis to Program Design, Fourth Edition Chapter 1: An Overview of Computers and Programming Languages.
Chapter 1 : Overview of Computer and Programming By Suraya Alias
Chapter 1 09/04/13. Change Your Password  The command is: passwd In the lab first do : ssh -Y onyx  You will have to see me to change it, if you forget.
1 Chapter 1 Programming Languages Evolution of Programming Languages To run a Java program: Java instructions need to be translated into an intermediate.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
C++ Programming: Program Design Including Data Structures, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Chapter 1 An Overview of Computers and Programming Languages.
Evolution of C and C++ n C was developed by Dennis Ritchie at Bell Labs (early 1970s) as a systems programming language n C later evolved into a general-purpose.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Introduction to Programming By: Prof. Muhammad Abu Baker Siddique 2 nd Lecture 1.
Java Programming: Guided Learning with Early Objects Chapter 0 An Overview of Computer and Programming Languages.
Chapter 1 Introduction 2nd Semester H
Chapter 1: An Overview of Computers and Programming Languages
Engineering Problem Solving With C An Object Based Approach
Chapter 1: An Overview of Computers and Programming Languages
Overview of Computers and Programming Chapter 1
Chapter 1: An Overview of Computers and Programming Languages
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
Overview of Computers & Programming Languages
Computer Science I CSC 135.
Chapter 1: An Overview of Computers and Programming Languages
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
ICS103 Programming in C 1: Overview of Computers And Programming
Presentation transcript:

Overview of Computers & Programming Languages Chapter 1

2 Chapter Contents Computer History Elements of a Computer System –Hardware –Software Language of a Computer Evolution of Programming Languages High Level Languages Analysis-Coding-Execution Object Oriented Programming

3 Computer History 1950's –Large devices, accessible to few people 1960's –Commercial usage emerges –Operated by experts 1970's –Computers cheaper, smaller 1990's –Computers fast, small, inexpensive –Owned and used by many people

4 Elements of a Computer System Hardware CPU The "brain" of the computer Main Memory Data and instructions stored to, fetched from Keyboard Disk drive Scanner Mouse Screen Printer Plotter Hard drive Zip-Disk CD-Rom Tape Backup

5 Elements of a Computer System Software Systems programs –Control the computer –Includes Operating System Applications programs –Word processors –Compilers –Spreadsheets –Data Bases

6 The Language of a Computer Uses digital signals –all 0's and 1's (binary) –bits (BInary digiTs) Data and commands stored in binary –8 bits in a byte –ASCII character stored in a byte –Integers stored in 2 or 4 bytes

7 Evolution of Programming Languages Early computers programmed in machine languages –All binary numbers Assembly language used mnemonic codes –Codes translated into machine language by a program called the "assembler"

8 Evolution of Programming Languages High level languages read like combination of English and algebra –Translated into machine language by a program called a compiler write_string (outfile,cust_name,'l',23); first_line = 1; ord.read_order(infile); while (!ord.done()) { if ( !first_line) write_string (outfile," ",'l',23); ord.print_order (outfile,part_list); first_line = 0; ord.read_order(infile); }

9 Processing a High-Level Language Program 1. Source program created with an editor 2. Source code translated into machine language by compiler results in a.obj file (object code) 3. Linker combines common library routines with object code Results in a.exe file (executable code) 4. Loader brings executable code into memory and it is run

10 Processing a High-Level Language Program

11Analysis-Coding-Execution Algorithm : A step-by-step problem-solving process in which a solution is arrived at in a finite amount of time –Steps must be simple, unambiguous –Steps must be performed in specified order –Steps must solve the problem

12Analysis-Coding-Execution Problem solving process 1. Analyze problem, design solution algorithm 2. Implement algorithm in a programming language, verify 3. Maintain program, adapting it to changes in problem requirements

13Analysis-Coding-Execution Analysis and algorithm design done apart from any specific programming language Processing of the high-level language programming language

14 Structured Programming Thoroughly understand the problem Determine –the output desired –the required input –processing that will occur Divide the problem into sub-problems Other names for this process –structured design –top-down design –stepwise refinement –modular programming

15 Object-Oriented Programming Identify components of the problem which are objects –Usually these are the nouns in the program description Identify operations which are performed on the objects –Often these are the verbs in the program description