Startup – Chapter 1.

Slides:



Advertisements
Similar presentations
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Advertisements

Lecture 1: Overview of Computers & Programming
Introduction to Programming Lecture 2. Today’s Lecture Software Categories Software Categories System Software System Software Application Software Application.
Copyright © 2002 W. A. Tucker1 Chapter 1 Lecture Notes Bill Tucker Austin Community College COSC 1315.
CSCE 145: Algorithmic Design I Chapter 1 Intro to Computers and Java Muhammad Nazmus Sakib.
Fundamentals and a Brief History of Computer Systems.
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.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
©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.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
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.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
1 I.Introduction to Algorithm and Programming Algoritma dan Pemrograman – Teknik Informatika UK Petra 2009.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
1 Chapter-01 Introduction to Computers and C++ Programming.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
BACS 287 Basics of Programming BACS 287.
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
Topics Introduction Hardware and Software How Computers Store Data
Computer Hardware and Software Chapter 1. Overview Brief History of Computers Hardware of a Computer Binary and Hexadecimal Numbers Compiling vs. Interpreting.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Python Programming, 2/e1 Python Programming: An Introduction to Computer Science Chapter 1 Computers and Programs.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
Computer system overview1 The Effects of Computers Pervasive in all professions How have computers affected my life? How have computers affected my life?
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
Introduction to Computer Application (IC) MH Room 517 Time : 7:00-9:30pm.
Hardware and Software Programming. COMP104 Lecture 2 / Slide 2 Hardware and Software l Why should we bother with hardware, while we are having a programming.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Chapter 1 : Overview of Computer and Programming By Suraya Alias
CS-303 Introduction to Programming
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.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
8 January 2016Birkbeck College, U. London1 Introduction to Programming Lecturer: Steve Maybank Department of Computer Science and Information Systems
Ch 1 - Introduction to Computers and Programming Hardware Terminology Main Memory Auxiliary Memory Drives Writing Algorithms Using Pseudocode Programming.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
1. COMPUTERS AND PROGRAMS Rocky K. C. Chang September 6, 2015 (Adapted from John Zelle’s slides)
CS 101 INTRODUCTION TO COMPUTING * image from The Central Eglinton Community Centre website.
Copyright © 2014, 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Eighth Edition by Tony Gaddis,
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
5. Algorithm 1: Variables, Operators, Sequences 1.
Chapter 1: Introduction to Computers and Programming
Computer Basics.
Software Development Environment
BASIC PROGRAMMING C SCP1103 (02)
Topics Introduction Hardware and Software How Computers Store Data
Introduction to Visual Basic 2008 Programming
BASIC PROGRAMMING C SCP1103 (02)
Computer System and Programming
A451 Theory – 7 Programming 7A, B - Algorithms.
IB Computer Science Topic 2.1.1
Chapter 1: Introduction to Computers and Programming
Computer Science I CSC 135.
Computers: Hardware and Software
Topics Introduction Hardware and Software How Computers Store Data
Hardware & Software Programming. COMP102 Prog. Fundamentals I: Software / Slide 2 l Four components of a computer system: n CPU - central processing unit.
Chapter 1 Introduction(1.1)
Computer Programming-1 CSC 111
1.3.7 High- and low-level languages and their translators
Programming Logic and Design Eighth Edition
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

Startup – Chapter 1

Computer Science is about solving problems Problems in all kinds of domains Science Engineering Business Education Entertainment Steps in solving problems State the problem clearly Come up with a solution = an algorithm Implement the algorithm

Algorithms Step by step instructions on how to solve a problem Sometimes described with flowcharts More often with pseudocode Calculate the sum of 10 numbers 1. initialize sum to zero 2. repeat 10 times Read input from keyboard Add input number to sum 3. report sum

Hardware terms everyone should know RAM = random access memory Volatile Fast! (nanoseconds) Expensive! Secondary storage devices = hard drives, DVDs, flash memory Not volatile Slower (milliseconds) Cheaper (Separate video about computer units)

History of Computers First computers were just calculators They were not made to be faster than humans but more accurate Human enters data into the “store” = RAM Flips switches or moves cables around to indicate instruction “ADD” Pushes go button, computer Adds John von Neumann (Hungarian, mathematician, physicist) Idea of putting instructions into the store as well as data Computer could get instruction at mechanical speeds, not wait on human Made computers general-purpose – change instructions in memory, change behavior of program So YOUR program has to be loaded into RAM before it can be translated and executed too!

History continued Alan Turing – British, mathematics, logician, codebreaker, computers Came up with many basic ideas about computers in the 40’s “Turing machine” – the simplest model of what a computer can do “Enigma” – broke German codes during WWII “Turing test” – start of Artificial Intelligence – how do we know when/if a computer is intelligent? Why mention him? CodeLab is built by a company called Turingscraft

High level versus low level languages First language = machine code = binary = 1101010101 Hard for humans to use High level languages are written in words and in abstract ideas x = y * 5 – z Much closer to the way humans think Require a translator to take it to machine code so computer (CPU) can run it Different types of translators – compilers and interpreters HLL are portable – they can run on many different kinds of CPUs

IDE = Integrated Development Environment A set of tools that programmers use to make (develop) programs in a nice GUI (graphical user interface) (IDLE, WingIDE, Visual Studio) Editor (lets you enter the source code) Translator (compiler or interpreter) Shell / command line window – for output and simple commands Debugger (helps you find program bugs) Linker (combines your object code with library code to make whole program) Loader (brings in finished executable code to memory so it can run)

Python’s history Created by Guido van Rossum – Dutch, worked for Google, works for Dropbox now Means he wrote the first interpreter for Python Made it open-source – anyone can see how Python works internally Named after Monty Python’s Flying Circus Python has a strange history of versions – there is now a version 2 and a version 3 (we use version 3!)

Ethics Right now you know more about computers than 90% of the people on earth. By the end of class, you will know more than 95% of the people Be careful how you use your knowledge You should realize that programming is hard work! And programmers should be compensated for their work. Everyone has private data. Sometimes it’s easy to access other people’s data because they are not aware of security issues. You can educate people! If you are coding for someone (customer, company, etc.) be honest about the abilities of your program – and the bugs.