EPSII Lecture Section AAA 1505 SC Professor Terry A. Braun Biomedical Engineering, Ophthalmology and Visual Sciences.

Slides:



Advertisements
Similar presentations
Object Oriented Programming in Java George Mason University Fall 2011
Advertisements

Programming Creating programs that run on your PC
Introduction to Computers and Programming - Class 1 1 Introduction to Computers and Programming Professor Avi Rosenfeld.
Introduction to Computers and Java Recitation - 01/11/2008 CS 180 Department of Computer Science, Purdue University.
16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing.
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
Phones OFF Please Operating System Introduction Parminder Singh Kang Home:
Introduction to Computers and Programming. Some definitions Algorithm: –A procedure for solving a problem –A sequence of discrete steps that defines such.
Operating Systems Concepts Professor Rick Han Department of Computer Science University of Colorado at Boulder.
CS211 Data Structures Sami Rollins Fall 2004.
Introduction to Computer Programming CSC 1401: Introduction to Programming with Java Lecture 2 Wanda M. Kunkle.
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:
CS 101 Problem Solving and Structured Programming in C Sami Rollins Spring 2003.
Introduction to Computers and Programming. Some definitions Algorithm: Algorithm: A procedure for solving a problem A procedure for solving a problem.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
C++ Crash Course Class 1 What is programming?. What’s this course about? Goal: Be able to design, write and run simple programs in C++ on a UNIX machine.
Copyright 2003 Scott/Jones Publishing Brief Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
IB Computer Science II Paul Bui
Lesson 4 Computer Software
Principles of Programming Chapter 1: Introduction  In this chapter you will learn about:  Overview of Computer Component  Overview of Programming 
Computer Programming-1 CSC 111 Chapter 1 : Introduction.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
An intro to programming. The purpose of writing a program is to solve a problem or take advantage of an opportunity Consists of multiple steps:  Understanding.
Chapter 1.4 Programming languages Homework Due: Monday, August 11, 2014.
1 Computing Software. Programming Style Programs that are not documented internally, while they may do what is requested, can be difficult to understand.
Chapter 1 Introduction Dr. Frank Lee. 1.1 Why Study Compiler? To write more efficient code in a high-level language To provide solid foundation in parsing.
What is a Computer? An, electrical machine, that can be programmed to accept data (input), process it into useful information (output) and store it away.
Chapter 1 Introduction. Goal to learn about computers and programming to compile and run your first Java program to recognize compile-time and run-time.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
1 COMP 3438 – Part II-Lecture 1: Overview of Compiler Design Dr. Zili Shao Department of Computing The Hong Kong Polytechnic Univ.
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 October 20, October 20, 2015October 20, 2015October 20,
EPSII 59:006 Spring Introduction to C More Administrative Details The C Programming Language How a computer processes programs Your first C program.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
CHAPTER 1 INTRODUCTION 1 st Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
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.
CT1513 Introduction To java © A.AlOsaimi.
CHAPTER 1 INTRODUCTION 2 nd Semester H King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1.
A compiler is a computer program that translate written code (source code) into another computer language Associated with high level languages A well.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming C++
The Big Picture. My Story  Wrote great programs  Didn’t understand how they worked.
© Peter Andreae Java Programs COMP 102 # T1 Peter Andreae Computer Science Victoria University of Wellington.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Software Engineering Algorithms, Compilers, & Lifecycle.
Programming Languages Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
CMPT 201 Computer Science II for Engineers
Lecture 1b- Introduction
CSCI 161: Introduction to Programming Course Introduction
CSCI-235 Micro-Computer Applications
Lecture 1: Introduction to JAVA
LESSON 1 Introduction to Programming Language
Computer System and Programming
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
TRANSLATORS AND IDEs Key Revision Points.
High Level Programming Languages
Introduction to Computer Programming
Instructor: Xiuwen Liu Department of Computer Science
Programming language translators
Presentation transcript:

EPSII Lecture Section AAA 1505 SC Professor Terry A. Braun Biomedical Engineering, Ophthalmology and Visual Sciences

EPSII 59:006 Spring 2004

Course Introduction Administrative Details Hardware Platforms How Do Computers Work? Programming Languages Assembly Language High-Level Languages Compilers

Administrative Details Course assignments submitted using WebCT (more details to come) There will be a homework assignment posted on the website later this afternoon Course reading – stay on track! Programming problems? See the T.A.’s (will post availability and locations and announce in the next lecture)

Aside: Using the pico editor Logon to a Unix workstation using ssh – from home connect to ‘login.engineering.uiowa.edu’ Modify the.cshrc file (homework gives details for this) You must use the pico editor  Type pico.cshrc  Modify the file  Use the control-keys to save file Log back in for settings to take effect

Hardware Platforms What is a “Platform”  A properly configured combination of computer hardware and software What platforms will we use in this course?  Best bet: use Unix machines in the computer lab

Basic Components of a Computer

How Do Computers Work? First Rule: Express everything in numbers Second Rule: There are many, many other rules! Overall Process of Computer Programming:  Write a program using some computer language  Translate the program into a machine-readable form  Run the program – find out you made errors  Fix all the errors  Celebrate!

Programming Languages Provide an abstraction of the computer hardware Interact with the Operating System to provide access to I/O devices Allow for the application of specific strategies for using the computer called Algorithms

Assembly Language Programs Assembly language is a low-level interface to CPU functions Example: Movax, 1 Movbx, 2 Add bx We will not be using assembly language in this course

Assembly Language Writing programs can be very time- consuming, as you have to directly manipulate CPU registers and use complicated interfaces to I/O devices Code is assembled to make Machine Language (consisting only of 1’s and 0’s) which is the real language of the CPU

High-Level Language Programs Allow you to use symbolic names to control computer function Are much easier to write than assembly language programs Many languages exist, but we will primarily work with C, work a little with MATLAB (not really a programming language) and take a brief look at Java

What is C? Developed from (you guessed it) B Was the primary language used to develop the Unix Operating System Developed by Kernighan and Richie at Bell Labs in the early 1970’s Is generally the language of choice where performance is the major issue C code is generally (but not always) machine- independent

How to program in C? This is the main focus of this course Compared to the assembly language fragment presented earlier:  To add 1 and 2: Sum = one + two ;

Compilers Translate your programming code into machine language Checks for syntax errors Cannot find logic errors Run at the computer command line (e.g., a Unix shell like csh)