บทนำสู่คอมพิวเตอร์. Outline Computer Concepts Computer Components Software OS How to write a program? Program development.

Slides:



Advertisements
Similar presentations
Computer Hardware.
Advertisements

1.21 Introduction to microprocessors KUEU 2135 / KBEB 2193 Mikropemproses dan Sistemnya.
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
Topic 1: Introduction to Computers and Programming
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
UNIT 9 Computer architecture
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510, Section 2.
How Computers Work. A computer is a machine f or the storage and processing of information. Computers consist of hardware (what you can touch) and software.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Computer Organization ANGELITO I. CUNANAN JR. 1. What is Computer?  An electronic device used for storing and processing data.  It is a machine that.
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
Chapter 1 An Overview of Computers and Programming Languages.
Welcome Aboard – Chapter 1 COMP 2610 Dr. James Money COMP
Tom Allen Computer Science Department Trinity University.
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
B.A. (Mahayana Studies) Introduction to Computer Science November March The Motherboard A look at the brains of the computer, the.
1 COMP201 Computer Systems Dr Richard Nelson Room G.1.29.
Introduction to Computing: Lecture 4
Information Technology COMPUTERS Dr. GUVEN Aerospace Engineer (P.hD) Nuclear Science and Technology Engineer (M.Sc)
What is a Computer ? What is the application of computer in Our Daily Life ? What is the application of computer in Teaching Field?
Course ILT Basics of information technology Unit objectives Define “information technology” (IT), distinguish between hardware and software, and identify.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
CISC 110 Day 1 Hardware, Algorithms, and Programming.
What is computer hardware? Computer hardware are the physical components of the computer.
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.
BAT3O / BTX4C. Definition: A computer is an electronic machine that 1) takes in data and instructions (input) 2) works with the data (processing) 3) puts.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
COMPUTER ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Hardware Basic Computer Concepts Components of Data Processing  Data processing is a technique of collecting, manipulating and distributing.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Science 101 Computer Systems Organization.
Computer Organization & Assembly Language © by DR. M. Amer.
CSCI-100 Introduction to Computing Hardware Part I.
Components of a Computer System
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.
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
CSE1301 Sem July 24, 2003 CSI 121 Structured Programming Language Lecture 1 Computer Systems Overview Lecture 1: Computer Systems Overview.
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.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
1.3 What Is in There?.  Memory  Hard disk drive  Motherboard  CPU.
COMPUTER FUNDAMENTALS David Samuel bhatti
Introduction to Computers - Hardware
CHAPTER 1: Computers and Systems
CSE1301 Computer Programming: Lecture 1 Computer Systems Overview
Computer Organization and Machine Language Programming CPTG 245
UNIT 9 Computer architecture
Course Name: Computer Application Topic: Central Processing Unit (CPU)
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
General Architecture of Digital Computer
Computer Hardware Introduction.
Lecture 3 The Hardware.
Computer Electronic device Accepts data - input
Computer Electronic device Accepts data - input
Computer Electronic device Accepts data - input
COMPUTER FUNDAMENTALS i
Presentation transcript:

บทนำสู่คอมพิวเตอร์

Outline Computer Concepts Computer Components Software OS How to write a program? Program development

Computer Concepts Computers –Universal Computational Devices Given enough time and memory, all computers are capable of computing exactly the same things (irrespective of speed, size or cost).- Turing’s Thesis –Level Categorization Machine Architecture Devices Circuits Program/Software Algorithm Application Software OS

Devices Each Mother board is composed by Hundreds of ICs (Integrated Circuits). Each IC could composed by millions of transistors. A CPU is also composed by millions of transistors. What is a transistor? VIA pc3500 Mainboard

Devices - Transistors Similar to a light switch Opened/Closed status depends on voltage provided Open switch: no current flows Closed switch: current flows

Devices - Transistors Symbolic Transistors (CMOS) A B G N Closed if gate is “on” Open if gate is “off” P Open if gate is “on” Closed if gate is “off” A B G

Devices - Transistors An OR Gate built from transistors D A B C OR gate c is 1 if either a or b is 1 a b c

Logic Circuits Adder Logic Circuits built by logic gates

Computer Architecture Composed by CPU (Central Processing Unit), Memory, and I/O. These three are connected by buses. When computing, data are fetched from memory to CPU. CPUMain Memory I/O buses

Computer Architecture - CPU Composed by ALU (Arithmetic & Logic Unit) and CU (Control Unit) ALU – computing CU – sequence control CPU Main Memory I/O buses ALU CU

Computer Architecture – Main Memory 2-based numbers, each called bit. 8 bits = 1 byte 1 kilobyte = 1024 bytes 1 megabyte = 1024 x 1024 bytes 1 gigabyte = 1024 x 1024 x 1024 bytes 1 terabyte = 1024 x 1024 x 1024 x 1024 bytes CPU Main Memory I/O buses byte

Computer Architecture – I/O Input/Output Devices E.g. hard disk, CD/DVD reader, modem, wireless card, keyboard, mouse, etc. CPUMain Memory I/O buses

OS OS - Operating System What are OSs? –Programs that work between computer hardware and application programs. –[Computer] Resources Manager Resources including: CPU time, memory, I/O devices

Application Software A Sequence bits of command E.g. if we want to calculate the average value, we need to put the commands: then which change the following bits (0, 0), (1, 2), (2, 2), (3,4) from 1 to 0, then change (1, 1) and (1, 3) from 0 to 1, then…. We call such the sequence as a program/software. Main Memory Instruction zone Data zone

How can we write a program? Machine Code Assembly ORG MOV A, #1 ADDA R

How can we write a program? High-level Language csum=0; for i=1:10 a(i)=input('Enter a data entry:'); csum=csum+a(i); end avg=csum/10;

Program Development Problem Formulation Input/Output Algorithm Development Implementation Analysis & Testing Requirement Specification Design Coding Debugging Installation Maintenance

Communicate with other programmers? Flow chart g==ng>n return display ‘Less than this.’display ‘Greater than this.’ display ‘You got it.’

Communicate with other programmers? Pseudo code Algorithm arrayMax(A, n) Input array A of n integers Output maximum element of A currentMax  A[0] for i  1 to n  1 do if A[i]  currentMax then currentMax  A[i] return currentMax Example: find max element of an array