What is a Computer? A device that can run under specific directions What is a Program? –A specific set of instructions given to the computer –Requires.

Slides:



Advertisements
Similar presentations
INTRODUCTION OF COMPUTER
Advertisements

 Computer hardware components are the physical pieces of the computer.  The major hardware components of a computer are: – The central processing.
Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
1 Engineering Problem Solving With C++ An Object Based Approach Fundamental Concepts Chapter 1 Engineering Problem Solving.
Chapter 0 Introduction to Computing
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.
5.1 Chaper 4 Central Processing Unit Foundations of Computer Science  Cengage Learning.
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.
Bits and Data Storage. Basic Hardware Units of a Computer.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Lesson 3 — How a Computer Processes Data
Computer Hardware and Software Jinchang Wang. Hardware vs. Software Hardware is something tangible. Computer hardware includes electronic circuitry and.
CSCI 125 & 161 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
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.
Lesson 2 — How Does A Computer Process Data?
Introduction to Programming Using C Introduction to Computer Programming.
What is a computer ?  A computer is an electronic device that can accept data and instruction, process them or store them for later retrieval, and sometimes.
1 Memory Hierarchy The main memory occupies a central position by being able to communicate directly with the CPU and with auxiliary memory devices through.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
What is a computer? Computer is a device for processing information.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Electronic Analog Computer Dr. Amin Danial Asham by.
CS 1428 Foundations of Computer Science I. Two Main Components  Hardware  Physical media that uses electrical current to process instructions.  Software.
COMPURT ORGANAZTION CHAPTER 5. Computer Organization We can divide the parts that make up a computer into 3 subsystems : 1. Central processing unit (CPU).
General Computer Knowledge COE 201- Computer Proficiency.
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,
University of Sargodha, Lahore Campus Prepared by Ali Saeed.
The Computer System.
CS 125 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk drive Software.
EBIZ 509 Foundations of E-Business. 2 © UW Business School, University of Washington 2004 Agenda Today Class schedule and class plan Basic computer concepts.
Digital Systems and Information Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
BY MANJU Lesson 21 Computer Hardware. System Components A computer system requires many components to do its job: Input: Device to input data so it can.
CH (5) Computer Organization
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
ASSEMBLY LANGUAGE PROGRAMMING. Course Objectives Identify the major component of a PC-based system, describe the steps involving in assembling, linking,
Computer Systems Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Programming with Java. Chapter 1 Focuses on: –components of a computer –how those components interact –how computers store and manipulate information.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
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.
Basic Computer Fundamentals
Computer Architecture and Number Systems
Computer Systems Nat 4/5 Computing Science Computer Structure:
BASIC PROGRAMMING C SCP1103 (02)
Computer Science II Chapter 1.
Engineering Problem Solving With C An Object Based Approach
BASIC PROGRAMMING C SCP1103 (02)
Chapter 7.2 Computer Architecture
The Central Processing Unit
Introduction of microprocessor
CS703 - Advanced Operating Systems
Computer Electronic device Accepts data - input
Computer Electronic device Accepts data - input
Computer Electronic device Accepts data - input
Machine Architecture and Number Systems
INTRODUCTION TO COMPUTERS
Chapter 5 Computer Organization
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
Presentation transcript:

What is a Computer? A device that can run under specific directions What is a Program? –A specific set of instructions given to the computer –Requires a specific language to communicate –Done by a programmer Software vs. Hardware –Software = Programs –Hardware=Components of Computer such as monitors, printers, keyboard Computer Structure 3 Main Components CPU – Central Processing Unit Memory – High Speed Memory Unit I/O – Input/Output Devices

Memory Unit (Main Memory / Physical Purpose –Stores all the instructions used by the CPU –Stores all the data used by the CPU Construction –Made up of metal oxide on Silicon (This memory is also called Random Access Memory, not to be confused with ROM which stands for Read Only Memory) Building Block –Made up of logical units of same size –Most common unit is BYTE –Byte divides into BITS (Binary Digits) BIT –Is an electronic unit that can be magnetized to store 1 or 0 or can have ON or OFF state

Construction of a Byte –8 Bits make up a Byte. The bits should be consecutive Representation of a BIT/BYTE –Magnetized to produce or 1 Byte –Right Most BitLeast Significant Bit (LSB) –Left Most BitMost Significant Bit (MSB) –Each Bit can be ON or OFF –Magnetized states are contents of a bit/byte 10

Possible ON/OFF states for a Byte For one bit we can have 2 1 For two bits how many possibilities can there be?

For three bits then there would be 2 3 For N bits, we have 2 N And for a byte there will be 2 8 number of values

Grouping of Bits/Bytes The following naming conventions are manufacturer dependent 4 consecutive bits1 Nibble 8 consecutive bits1 Byte 2 consecutive bytes1 word 4 consecutive bytes1 longword 8 consecutive bytes1 quadword 10 consecutive bytes1 octaword Identifying a Byte –Address: Special concept that identifies a byte –Extra bits are assigned to every byte to represent its address –For every PROGRAM an ADDRESS SPACE is assigned

ADDRESS SPACE It is a set of all unique addresses that a program can reference Size of Address Space –Number of bits that an address space uses is the size of the address space –If N bits are used up for address space than size will 2 N N-1 ……………………………………… 1 0

Address Contents of a Byte Address for each Byte never changes Contents of a byte change