EMT1111 Logic and Problem Solving Fall 2012 Dr. José M. Reyes Álamo.

Slides:



Advertisements
Similar presentations
Calera High School Dawn Bone
Advertisements

McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved Plug-in B3 HARDWARE & SOFTWARE.
INTRODUCTION OF COMPUTER
FIRST COURSE Essential Computer Concepts. New Perspectives on Microsoft Office 2007: Windows XP Edition 2 Objectives Compare the types of computers Describe.
An Overview of the Computer System
Computer Hardware.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Introduction to Computers
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
1 The development of modern computer systems Early electronic computers Mainframes Time sharing Microcomputers Networked computing.
Introduction to Computers Essential Understanding of Computers and Computer Operations.
MIS 175 Spring Learning Objectives When you finish this chapter, you will: –Recognize major components of an electronic computer. –Understand how.
Information Technology Ms. Abeer Helwa. Computer Generations First Generation (Vacuum Tubes) -They relied on the machine language to perform operations.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510, Section 2.
Introduction to Computers
EMT1111 Logic and Problem Solving Lecture 2 Dr. Benito Mendoza.
Flash Cards Computer Technology.
Computer & Communications Systems Software Development Unit 1.
Tom Allen Computer Science Department Trinity University.
UNIX Unbounded 5 th Edition Amir Afzal Chapter 1 First Things First.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
INTRODUCTION TO COMPUTERS The personal computer was far from reality in Computer users were limited to specially trained operators and engineers.
Lesson 2 — How Does A Computer Process Data?
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510.
Introduction to Computers
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
1 Introduction to Computers Lect 1 Won’t tell you much you don’t know. (Misleading– the course gets more conceptual as we create webpages.) Will go into.
Computer Parts. Two Basic Parts Hardware & Software.
Course ILT Basics of information technology Unit objectives Define “information technology” (IT), distinguish between hardware and software, and identify.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Introduction Lecture 01.
CPS120: Introduction to Computer Science Introduction to Computers.
Introduction to Computer Systems and the Java Programming Language.
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.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
COMPUTER ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
Intro to Computers Computer Applications. What is a Computer? Initially the term computer referred to an individual whose job it was to perform mathematical.
Computer Organization & Assembly Language © by DR. M. Amer.
Development of Computers. Hardware 1. Original concept: Charles Babbage 1840’s 2. 4 basic components of a computer system: input store mill output (Now:
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Scott Marino MSMIS Kean University MSAS5104 Introduction to Programming with Data Structures and Algorithms Week 2 Scott Marino.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Welcome to Technology Application Jeopardy. Hardware More Hardware Jobs & Software Computer Types Storage
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Information Technology Basics. Introduction to Information Technology 2 Computer Science – Theory of Computational Applications Computer Engineers - Make.
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
The Study of Computer Science Chapter 0
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
An Overview of the Computer System
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Computer Hardware and Software
Principles of Information Technology
The Study of Computer Science Chapter 0
Introduction to Computers
UNIV 103 CS Majors Seminar Dr. Blaise W. Liffick Fall 2017.
Introduction to Computer Programming
Looking Inside the machine (Types of hardware, CPU, Memory)
An Overview of the Computer System
An Overview of the Computer System
The Study of Computer Science
Introduction to Computers
Computer Hardware.
Unit One - Computing Fundamentals
COMPUTER FUNDAMENTALS i
The Study of Computer Science Chapter 0
Presentation transcript:

EMT1111 Logic and Problem Solving Fall 2012 Dr. José M. Reyes Álamo

1 Outline What is computation? What is a computer? Hardware Software Bits and Bytes Data (storing and transmitting) Programming Languages Computer Networks

2 What is Computation? Computation is the manipulation of data by either humans or machines

3 What is a computer? A computer is a device capable of performing arithmetic and logical operations at speeds much faster than human. A computer is able to: – Accept input – Do computation (manipulate data executing logical and arithmetic operations) – Output data

Human Brain In the 1960’s, when computers were becoming more prevalent, they were commonly called “electronic brains.” However, the brain as a computer has very little in common with the modern computer (except that they both do “computation”).

5 People! Computers used to refer to people In WWII, computers were people who did difficult calculations by hand, for things like ballistic tables.

Modern Computers

7 Computer categories A microcomputer is a computer that can perform all of its input, process, output, and storage activities by itself. A minicomputer is often used in situations where a microcomputer is not powerful enough but a mainframe is too expensive. A mainframe is a large, expensive, but powerful computer that can handle hundreds or thousands of connected users at the same time. A supercomputer is the fastest, most powerful, and most expensive computer used for applications that require complex and sophisticated mathematical calculations.

Other terms related to the classification of computer systems Personal computer Stand-alone computer Server Client computer Network computer Workstation Terminal Embedded System

It’s All About the Switch The basic component of most digital circuitry is a simple switch. A switch’s function, “switches” values: – On or Off – True or False – 1 or 0

Electronic Switch Early computers used vacuum tubes as switches Later, transistors were used as substitutes

Switches for Boolean Circuits Switches can be used to construct more complicated functions, such as Boolean circuits (and on left, or on right)

12 Manipulations of the underlying data (binary code) is done by using electronic gates.

A Very Interesting Switch Transistors have three interesting features that make them the fundamental element of the computer revolution: size quantity speed

Size Originally very large Shockley transistor Kilby integrated circuit

Intel’s first CPU By 1971, Intel had created a “computer on a chip,” the 4004 microprocessor, the size of a fingernail with 2300 transistors.

16 Silicon transistor timeline You will learn more on about this on the following courses: o EMT1150 – Electrical Circuit o EMT1255 – Electronics

17 But Now, Really Small! Chips now have gates measured in billionths of a meter (nanometers, nm)

Smaller means more

Moore’s Law Gordon Moore is one of the founders of the chip maker Intel In 1965, he has observed (over that last 15 years or so) the growth rate of the number of transistors in a circuit Made a famous prediction

What it Means Roughly, since 1965, the number of transistors on a chip doubles every 18 months for approximately the same cost Often quoted as the speed of a CPU doubling every 18 months for the same cost Speed and density were related

Parts of a computer Computer organization and architecture

Main Components Hardware – Physical Devices: processor, memory, keyboard, monitor, mouse, etc. Software – Executable Programs: word processor, spread sheet, internet browser, etc. People

Hardware processor primary storage secondary storage input device output device network

Processor The processor is the “brain” of a computer. The processor controls the other devices as well as performing calculations

Primary Storage Stores instructions and data for current program(s) Other names: primary memory, main memory, RAM (Random Access Memory) Memory is “dynamic” as it requires power to retain information Often hundreds of Megabytes (million bytes)

Peripheral Devices Secondary storage devices – Disk (hard & floppy), tape, USB drives, flash drives, etc. Input devices – Keyboard, mouse, camera, microphone, etc. Output devices – Monitor, printer, speaker, etc. Network – Wireless, Bluetooth, Ethernet, etc.

Secondary Storage Nonvolatile -- information is recorded magnetically so power is not needed Disks hold Gigabytes (billions of bytes) Cheaper, but slower than primary storage – RAM access can take a hundred CPU clock ticks – Disk access can take a million CPU clock ticks Not accessed directly by the CPU

Software The programs available for execution Classification – System software – Application software

System Software Operating system: manages system resources (e.g. DOS, UNIX) User interface: interface with operating system (e.g. Windows, Linux, Mac OS)

Application Software Programs that perform specific tasks for the user (and use the operating system to interact with the hardware) Examples: word processor, spreadsheet, internet browser.

What is a Program? A sequence of instructions written in machine language that tells the CPU to take certain actions in a specific order In this course you will learn to create programs

Program Storage Machine language instructions are encoded as bit patterns Memory can only hold binary info A bit is represented by two-states (e.g. L-R magnetism, high-low voltage) It takes many bits to represent reasonable amounts of information

Programming Languages

35 The hardware layer will be covered at EMT 2370 (Computer hardware systems) and EMT 2390L (Operating systems laboratory)

36 Programming languages Eventually, every program must be translated into a machine language that the computer can understand. This translation is performed by compilers, interpreters, and assemblers. When you buy software, you normally buy an executable version of a program. This means that the program is already in machine language.

Bits and bytes

Binary Numbers The “switch” nature of transistors make storing numbers in binary a natural fit. Binary uses base 2, as opposed to the decimal numbering system that uses base 10

Example Decimal uses digits 0-9 and positions in a number as powers of 10 – = 7* * *10 0 Binary users digits 0,1 and positions in a number as powers of 2 – = 1* * *2 0 We can covert from binary to decimal and vice versa

40 Representing data  A bit = one binary representation  A Byte = 8 bits  Word = 32 bits

Words A word of storage is the basic unit used by a computer. A typical computer today is a 32 bit computer, meaning its word size is 32 bits – Today we also have 64-bit machines The word size imposes a limit on the memory and the data that can be stored

42 Word sizes have changed

Representing data

44 Representing data  The main components of a digital computer are switches, usually transistors.  The most efficient way to represent these data values is binary coding  Binary code: two level testing, 0 or 1.

45 Physical states representing bits

Representing Data in Binary Letters are encoded as binary numbers Both ASCII and Unicode are encodings for particular letters and symbols ASCII (American Standard Code for Information Interchange) is used for encoding the English alphabet ( ) Unicode is used to encode more characters such as those used in Arabic and Asian languages ( Unicode) Unicode

Images Digital images consist of individual colors in a matrix. Each individual color is called a pixel. The color of a pixel is encoded using numbers as well.

48 Bits information  Representing images: –An image is made up of thousands of very small dots –These dots are called pixels. –The color of each pixel can be represented as combination of three colors, Red, Blue, and Green –Each primary color component (R,G,B) can be represented as an 8-bit byte. 8-bit string can represent 2 8 = 256 different things.

49 Bits information  Representing images: –In this case, the 8-bit string for Red represents different amounts of Red, from 0 (none) to 255 (lots). And the same for Green and Blue. –If there are 256 different quantities of R, G, and B, then we can mix these together in 256 × 256 × 256 = 16,777,216 ways, which corresponds roughly to the number of colors the human eye can distinguish

50 Bits information

How Many Numbers?

Binary Byte = 8 bits e.g Storage devices come in large quantities 1KB (Kilobyte)= 2 10 bytes = 1024 bytes 1MB (Megabyte)= 2 20 bytes = 1,048,576 bytes 1GB (Gigabyte)= 2 30 bytes=1,073,741,824 bytes

Networking

54 Networking A computer network is established when a group of computers is connected to each other for communication. The purpose of this connection or network is to share the resources within the connected units. You will learn more about networks in EMT2455 & CET4773 The Internet is a network of networks! What is a computer network?

55 Computer networks are useful

56 In Class Lab Set up and OpenLab account – Create your portfolio – Submit your portfolio link ( Install Python and do a Simple Program – Installation Instructions and Lab details in Lab1_Python0 ( WFxekkzc0E) WFxekkzc0E

57 Homework   Find the reading assignments for this week  Install Python