Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.

Slides:



Advertisements
Similar presentations
EC-111 Algorithms & Computing Lecture #1 Instructor: Jahan Zeb Department of Computer Engineering (DCE) College of E&ME NUST.
Advertisements

Senem Kumova Metin Introduction to Programming CS 115 Introduction to Computing PART I : Computer Basics PART II: Introduction to Computing/Programming.
Introduction to Computer Programming Nai-Wei Lin Department of Computer Science and Information Engineering National Chung Cheng University.
Computer Components.
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,
August 29, 2005ICP: Chapter 0: Introduction to Computers and Computing 1 Introduction or Computer Programming Chapter 0: Introduction to Computers and.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
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.
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.
 2000 Prentice Hall, Inc. All rights reserved. 1 Introduction to Computers and C Programming Outline Introduction What Is a Computer? Computer Organization.
Computers & Logic An Overview. Hardware Hardware is the equipment, or the devices, associated with a computer. For a computer to be useful, however, it.
CHAPTER 1 GC 101 Introduction to computers and programs.
Introduction to computers and programming RIZWAN REHMAN Assistant Professor Centre For Computer Studies.
CS102 Introduction to Computer Programming
 2003 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a.
Using Java MINISTRY OF EDUCATION & HIGHER EDUCATION COLLEGE OF SCIENCE AND TECHNOLOGY KHANYOUNIS- PALESTINE.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Chapter Introduction to Computers and Programming 1.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
Introduction to Computers, the Internet and the by Pedernal Jemerson G by Pedernal.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
An Introduction To Computer Hardware
INTRODUCTION TO COMPUTER PROGRAMMING itc-314 LECTURE 01.
Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions 
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with C++ Early Objects Seventh Edition by Tony Gaddis, Judy.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
CHAPTER 1 GC 101 Introduction to computers and programs.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
COMP1050 Winter 2015 Computer System Maintenance.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introduction to Computers Outline 1.1Introduction.
 2006 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
1 CISC181 Introduction to Computer Science Dr. McCoy Lecture 1 February 8, 2005.
GCSE Information Technology Computer Systems 2 Hardware is the name that is given to any part of a computer that you can actually touch. An individual.
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.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
1 MIS 131 Introduction to Algorithms and Programming 2015/2016 Fall - Chapter 1 -
Intro to Computers Computer Applications. What is a Computer? Initially the term computer referred to an individual whose job it was to perform mathematical.
Module 2 : Part 1 INTRODUCTION TO HARDWARE & SOFTWARE INTRODUCTION TO HARDWARE & SOFTWARE.
COMPUTER PROGRAMMING. Computer programming the objective of the module to gain the necessary skills to develop a computer program using one of the high.
Introduction to Computer Systems
Spring 09- ICE0124 Programming Fundamentals I Java Programming XuanTung Hoang Lecture No. 1.
Parts of the Computer System
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
 2001 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet and the World Wide Web Outline 1.1Introduction 1.2What.
CS2301:Computer Programming 2
Senem KUMOVA METİN // Fall CS 115 Introduction to Programming Introduction to Computing.
Computer Programming (1) Code & No.: CS 102 CREDIT HOURS: 5 UNIT Lecture 3.0 hours/week Lab: 2.0 hour/on every week a. This course introduces the students.
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.
1 Introduction to Computers, the Internet and World Wide Web.
CHAPTER 1.1 INTRODUCTION TO COMPUTERS AND C++ Dr. Shady Yehia Elmashad.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming Dr. Halla Abdel Hameed.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Structured programming 1 st stage By Heba.A Raheem Assist Lecturer College of Sciences/Computer Sciences Department.
Java Programming: From the Ground Up
BASIC PROGRAMMING C SCP1103 (02)
 2001 Prentice Hall, Inc. All rights reserved.
BASIC PROGRAMMING C SCP1103 (02)
Introduction to Programming
Logical Computer System
COMPUTER FUNDAMENTALS i
Presentation transcript:

Introduction to Computers and Python

What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds millions times faster than humans. Computer Program- set of instructions that tells the computer what to do.

Computer Programmers The individuals that write programs for the computer. That’s what you will all be doing in this course.

Hardware- devises that make up the computer such as the keyboard, screen, mouse, disks, memory, CD-ROM, and processing unit. Software- The programs that run the computer. Current trend- as hardware costs drop the cost for software rises.

Computer Organization Six Logical Units 1. Input Unit- “Receiving Unit”. Section of the computer that obtains information. Types of Input Devises  Keyboard  Mouse  Microphone  Scanner  Digital camera

2. Output Unit- “Shipping” section. Section of the computer that takes information that the computer has processed and places it on various output devises Output Devises Monitor, printer, audio-visual devises.

3. Memory Unit “warehouse section”- temporarily stores data. The memory unit retains information that has been entered through the input unit. Often called RAM- Random Access Memory Volatile- erased when machine is turned off.

4. Arithmetic and Logic Unit. ALU “Manufacturing “ section- Responsible for the performance of calculations such as addition and multiplication. It also contains the decision mechanisms allowing the computer to perform such tasks as determining whether two items stored in memory are equal.

5. Central Processing Unit CPU “administrative section’ This section coordinates the operation of the other sections. Acts as the brain of the computer telling it to use the appropriate unit.

6. Secondary Storage Unit “long-term warehousing” This refers to the hard drive, disks, network or other places data is stored when not being actively used. Information in this type of storage takes longer to access than information stored in primary storage Not Volatile

Different Programming Languages Machine Language- the only language a computer can understand directly. Consists of a stream of numbers which are ultimately reduced to 0’s and 1’s This might be the machine code to add two numbers together Every machine has a different machine language

Assembly-used English like abbreviations to represent elementary operations of the computer. LOAD x,y ADD x + y Still different on every computer

High-Level Languages- a programming language in which single statements accomplish substantial tasks. Can be used on different computers Compilers work as translation programs converting high-level language to machine language. Sum= x + y

Python and other High- Level Languages Python was created from the start to be easy to learn. Python programs are about the easiest to read, write and understand. Python is free. Python is open source software. Any user can extend Python Used by thousands of professionals around the world including NASA and Google. Runs on different kinds of computers.

Other High-Level Languages  C, C++, Java, C#, Pascal, COBOL, FORTRAN  Structured Programming- designig programs so they are easy to follow and easy to modify. Went from general to more specific. Programs were broken into modules.

Questions Computers can only understand their native ______ language. Computers process data under the control sets of instructions called computer _______. Name the three types of languages discussed in this chapter. Programs that change high level language to machine language are called______.

Name two input and two output devises. Why is the CPU called the brain of the computer? What are the two types of operations performed by the ALU? In this class you will become____ programmers.