 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.

Slides:



Advertisements
Similar presentations
Basic Computer Vocabulary
Advertisements

ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
COMPUTER SYSTEM CAN BE DIVIDED INTO : 1- General Computer 2- Special Computer.
1 Fall 2008ACS-1903 Chapter 1 Topics Java History Java Programs Why Program? Computer Systems: Hardware and Software Programming Languages What Is a Program.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Introduction to Computers
Computer Hardware.
Chapter 1: Introduction to Computers and Java
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.
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. 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.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
© 2012 Pearson Education, Inc. All rights reserved. Starting Out with Java: From Control Structures through Data Structures Second Edition by Tony Gaddis.
Introduction to Java Lecture # Java History Green Team started by Sun Microsystems. *7 Handheld controller for multiple entertainment systems.
INTRODUCTION TO COMPUTER PROGRAMMING itc-314 LECTURE 01.
COP1220/CGS2423 Introduction to C++/ C for Engineers Professor: Dr. Miguel Alonso Jr. Fall 2008.
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: Introduction to Computers and Java
CHAPTER 1 Introduction to Computers and Java Copyright © 2016 Pearson Education, Inc., Hoboken NJ.
What is computer hardware? Computer hardware are the physical components of the computer.
What is a computer? Computer is a device for processing information.
Computer Architecture
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Java: From Control Structures through Objects Third Edition.
Computer Systems Mrs. Butera. Computer Systems Hardware Software.
Computer Basic Vocabulary
Parts of the Computer System
© 2006 Pearson Education Chapter 1: Computer Systems.
The Computer System CS 103: Computers and Application Software.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
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,
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 and Programming. Computer Basics: Outline Hardware and Memory Programs Programming Languages and Compilers.
Ch 1 - Introduction to Computers and Programming Hardware Terminology Main Memory Auxiliary Memory Drives Writing Algorithms Using Pseudocode Programming.
Chapter 1: Introduction to Computers and Java 1-2 Chapter Topics Chapter 1 discusses the following main topics: –Introduction –Why Program? –Computer.
Chapter 1 An Overview of Computers and Programming Languages.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
CHAPTER 1 Introduction to Computers and Java Copyright © 2016 Pearson Education, Ltd.
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
© 2012 Pearson Education, Inc. All rights reserved. Starting Out with Java: From Control Structures through Data Structures Second Edition by Tony Gaddis.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
INTRODUCTION TO COMPUTERS. A computer system is an electronic device used to input data, process data, store data for later use and produce output in.
Five Components of a Computer Input Device – keyboard, scanner, PDA/stylus, digital camera, mouse, MP3 player, fax machine, microphone Storage Device –
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 1 Introducing Hardware.
Chapter 1: Introduction to Computers and Programming
Java Programming: From the Ground Up
BASIC PROGRAMMING C SCP1103 (02)
Computer Science II Chapter 1.
An Overview of the Computer System
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1: An Overview of Computers and Programming Languages
BASIC PROGRAMMING C SCP1103 (02)
A+ Guide to Managing and Maintaining Your PC, 7e
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Chapter 1: Introduction to Computers and Java
Looking Inside the machine (Types of hardware, CPU, Memory)
An Overview of the Computer System
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Computer Electronic device Accepts data - input
Chapter 1: Introduction to Computers and Programming
Computer components.
Presentation transcript:

 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing unit (CPU) – Main memory – Secondary storage devices – Input and Output devices

1-37

 Commonly known as random-access memory (RAM)  RAM contains: – currently running programs – data used by those programs.  RAM is divided into units called bytes.  A byte consists of eight bits that may be either on or off.  A word consists of 2 bytes.

There are 2 8 (256) possible values for 8 bits. So what is 1011 anyhow? (1 * 2^3) + (0 * 2^2) + (1 * 2^1) + (1 * 2^0) = = 11 The first widely adopted 8-bit microprocessor was the Intel 8080, being used in many hobbyist computers of the late 1970s and early 1980s, often running the CP/M operating system; it had 8-bit data words and 16-bit addresses. Binary computers motivate designers to making sizes powers of two. Powers of 2 are magic (mathematically speaking)! Since the "standard" character set required 7 bits anyway(ASCII defined a 7-bit character set.), it wasn't much of a stretch to add one more bit to get a power of 2. 0 = 0 1 = 1 2 = 10 3 = 11 4 = = = = = = = = = = = = = = = = = The earliest computers could only send 8 bits at a time, it was only natural to start writing code in sets of 8 bits. This came to be called a byte.

Secondary storage devices are capable of storing information for longer periods of time (non-volatile). Common Secondary Storage devices: Hard drive Floppy drive CD RW drive CD ROM DVD RAM drive Compact Flash card

Input is any data the computer collects from the outside world. That data comes from devices known as input devices. Common input devices: – Keyboard – Mouse – Scanner – Digital camera

Output is any data the computer sends to the outside world. That data is displayed on devices known as output devices. Common output devices: – Monitors – Printers Some devices such as disk drives perform input and output and are called I/O devices (input/output).

Software refers to the programs that run on a computer. There are two classifications of software: – Operating Systems – Application Software

An operating system has two functions: – Control the system resources. – Provide the user with a means of interaction with the computer. Operating systems can be either single tasking or multi-tasking.

A single tasking operating system is capable of running only one program at a time. – DOS A multitasking operating system is capable of running multiple programs at once. – Windows – Unix – Mac OS X

Operating systems can also be categorized as single user or multi-user. – A single user operating system allows only one user to operate the computer at a time. – Multi-user systems allow several users to run programs and operate the computer at once.

Application software refers to programs that make the computer useful to the user. Application software provides a more specialized type of environment for the user to work in. Common application software: – Spreadsheets – Word processors – Accounting software – Tax software – Games

A program is a set of instructions a computer follows in order to perform a task. A programming language is a special language used to write computer programs. A computer program is a set of instructions that enable the computer to solve a problem or perform a task. Collectively, these instructions form an algorithm

An algorithm is a set of well defined steps to completing a task. The steps in an algorithm are performed sequentially. A computer needs the algorithm to be written in machine language. Machine language is written using binary numbers. The binary numbering system (base 2) only has two digits (0 and 1).

The binary numbers are encoded as a machine language. Each CPU has its own machine language. – Motorola series processors – Intel x86 series processors – ARM processors, etc. Example of a machine language instruction:

In the distant past, programmers wrote programs in machine language. Programmers developed higher level programming languages to make things easier. The first of these was assembler. Assembler made things easier but was also processor dependent.

Programming Languages High level programming languages followed that were not processor dependent. Some common programming languages: Java BASICC++ C Python COBOL JavaScript Ruby PHP C# Visual Basic Pascal