Logic and Systems A beginner’s guide.

Slides:



Advertisements
Similar presentations
Parts of a Computer.
Advertisements

Computer Hardware 4 Main Types.
Senem Kumova Metin Introduction to Programming CS 115 Introduction to Computing PART I : Computer Basics PART II: Introduction to Computing/Programming.
P3- Represent how data flows around a computer system
CS0007: Introduction to Computer Programming Console Output, Variables, Literals, and Introduction to Type.
CHAPTER 1: AN OVERVIEW OF COMPUTERS AND LOGIC. Objectives 2  Understand computer components and operations  Describe the steps involved in the programming.
Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
Computer Components.
Intermediate GNVQ ICT Computer Systems Hardware is the name that is given to any part of a computer that you can actually touch. An individual piece of.
1 CS 106, Winter 2009 Class 4, Section 4 Slides by: Dr. Cynthia A. Brown, Instructor section 4: Dr. Herbert G. Mayer,
COSC 120 Computer Programming
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
Wednesday, 9/4/02, Slide #1 1 CS 106 Intro to CS 1 Wednesday, 9/4/02  Today: Introduction, course information, and basic ideas of computers and programming.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
CIS105 Chapter 1 Theory Review. Page 2 Hardware and Software are the two major components o any computer system Hardware is the set of physical devices.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Sixth Edition by Tony Gaddis, Judy Walters,
Computer Hardware.
An Overview of Computers and Logic
An Overview of Programming Logic and Design
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
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.
Programming Logic and Design Fourth Edition, Introductory
COMPUTER DEVICES Input Devices Output Devices Storage Devices
CS 0008 Day 2 1. Today Hardware and Software How computers store data How a program works Operators, types, input Print function Running the debugger.
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
Introduction to Computers and Programming
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
CS102 Introduction to Computer Programming
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Programming Logic and Design Fifth Edition, Comprehensive
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Chapter Introduction to Computers and Programming 1.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
An Overview of Computers and Logic
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
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.
Intro to Computers Computer Apps 1.
Computer A computer is an electronic machine that takes information, processes it,and stores it. Computers are made up of hardware ( monitor, tower, keyboard,
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
An Object-Oriented Approach to Programming Logic and Design Chapter 1 An Overview of Computers and Logic.
Computers Are Your Future Chapter 1 Slide 1 Introduction to the Computers & Internet Chapter 1 Concepts of Information Technology IT.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
The Computer System CS 103: Computers and Application Software.
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.
Exploring Windows and Essential Computing Concepts - Getting Started 1 Getting Started Essential Computing Concepts.
Chapter 1 Getting Acquainted With Computers, Programs, and C++
Computer Fundamentals MSCH 233 Lecture 1. What is a computer? A computer is an electronic machine which can accept data in a certain form, process the.
HOW A COMPUTER PROCESSES DATA. What is hardware? Hardware is the electric, electronic and mechanical equipment that makes up a computer What is software?
Ch 1 - Introduction to Computers and Programming Hardware Terminology Main Memory Auxiliary Memory Drives Writing Algorithms Using Pseudocode Programming.
Brief Version of Starting Out with C++ Chapter 1 Introduction to Computers and Programming.
1. an electronic device that manipulates information, or "data“
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
IT infrastructure Hardware. What is IT infrastructre It is the physical facilities, services and management that support computing in the organization.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
Chapter 1 Introduction 2nd Semester H
DDC 1023 – Programming Technique
Introduction
Chapter 1: An Overview of Computers and Programming Languages
08/28/06 parts of the computer.
CS190/295 Programming in Python for Life Sciences: Lecture 1
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.
15-110: Principles of Computing
Computer Electronic device Accepts data - input
Programming Logic and Design Eighth Edition
Presentation transcript:

Logic and Systems A beginner’s guide

Hardware vs. Software Hardware is the devices Software is the programs There are four major operations of Hardware and Software together: Input Processing Output Storage

Input Keyboards, mice, etc. How something ENTERS the computer system. Understand that entry can come from a Storage device as well.

Processing Much like “processing” in any other context – things are organized, analyzed, numbers calculated etc. Data may or may not come out different at exit from entrance. The CPU (Central Processing Unit) is the hardware that handles processing.

Output How Processing results can be seen. May be to printer, screen or other device.

Storage How data are saved: CDs, internal hard disks, flash drives are examples of external storage. Memory is also called internal storage. What is stored on memory is active, and disappears after the computer is shut down. What is stored on disks is passive but nonvolatile – hopefully  it will not be lost.

Programming Languages How instructions are written. Java, C++, Visual Basic, are just a few. Each programming language has its own Syntax, which could be compared to conventions in human language. You don’t say “expired bought milk yesterday sister my” or “do do how you” and computer language is even stricter as the computer can’t “guess.”

Machine Language The actual hardware of a computer is really just many, many on/off switches. To have a program, such as Java, speak to the machine, a compiler or interpreter, needs to be there to translate the programming language to machine language and back again. print to screen “buy fresh milk” buy fresh milk

Logic Processes must be grouped properly – procedures – like “fly kite” or “exit room.” Order of operations is very important – sequences – like “a” coming before “b.” Nothing can be missing – steps – like leaving car keys at home.

Execution Also called Running. Happens only after program has been translated to machine language. Involves the basic operations: Input, Processing, Output, Storage.

look up userAge by userName Flowcharts start Input Symbols Processing Symbols Output Symbols Flowlines Terminal Symbols Connector Symbols Decision Symbols get userName look up userAge by userName userAge > 21 no stop yes print userAge stop

Data Types Numeric integer - 1,2,3 floating point - 2.33, 5.325, .42 String - “hello world!” or “Jane Jones” 1 6 7.33 .24608

Variable Memory locations May change over time An example would be (if driving your car was a computer program) myGasLevel, which would change as your drive your car.