2 nd Semester 2004 1 Module1 Introduction to Computer and Programming อภิรักษ์ จันทร์สร้าง Aphirak Jansang

Slides:



Advertisements
Similar presentations
Computer Science Department Introduction To Computers and Programming Knowledge: Understand the concepts of computer, hardware, software and programming.
Advertisements

Senem Kumova Metin Introduction to Programming CS 115 Introduction to Computing PART I : Computer Basics PART II: Introduction to Computing/Programming.
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.
Chapter 1: An Overview of Computers and Programming Languages J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program.
Introduction Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved. 1 Introduction.
CS 201 Overview of Computers & Programming Debzani Deb.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
16 March, 2000 CS1001 Lecture 1 Introduction - Syllabus History of Computers Computer Components.
COMP 14 Introduction to Programming
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages C++ Programming:
Chapter 1 Overview of Computers and Programming. 1-1 Outline 1.1 ELECTRONIC COMPUTERS THEN AND NOW 1.2 COMPUTERS HARDWARE 1.3 COMPUTERS SOFTWARE 1.4 THE.
Computers and Programming อนันต์ ผลเพิ่ม Anan Phonphoem
 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.
Introduction to Computers and Python. What is a Computer? Computer- a device capable of performing computations and making logical decisions at speeds.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Chapter 1 An Overview of Computers and Programming Languages.
1 CSC 1401 S1 Computer Programming I Hamid Harroud School of Science and Engineering, Akhawayn University
Ch Review1 Review Chapter Microcomputer Systems Hardware, Software, and the Operating System.
BUS1MIS Management Information Systems Semester 1, 2012 Week 4 Lecture 1.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
COP1220/CGS2423 Introduction to C++/ C for Engineers Professor: Dr. Miguel Alonso Jr. Fall 2008.
Introduction to Computers and Programming – Computer Programming.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Computers Parts/Types. Topics Definition Types of Computers Parts of Computer System Impact on Society.
2.0 Computer System.
1 nd Semester Module1 Introduction to Computer and Programming Thanawin Rakthanmanon Create by: Aphirak Jansang Computer.
Computer Parts. Two Basic Parts Hardware & Software.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
CPS120: Introduction to Computer Science Introduction to Computers.
Chapter 1 Intro to Computer Department of Computer Engineering Khon Kaen University.
Chapter 1: An Overview of Computers and Programming Languages
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 1- 1 Overview 1.1 Computer Systems 1.2 Programming and Problem Solving.
Introduction to Computer and Programing Thanachat Thanomkulabut.
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.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Introduction to Computer and Programing Thanachat Thanomkulabut.
Computer Architecture
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
1 st Semester Introduction to Computer and Programming Computer Engineering Department Kasetsart University, Bangkok, THAILAND.
Parts of the Computer System
Chapter 1 Computer Hardware1 Computer Hardware A level Computing Book (Reference) By P.M.Heathcore.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Problem Solving Techniques Using Pascal Allen C.-H. Wu Department of Computer Science Tsing Hua University Hsinchu, Taiwan 30043, ROC
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,
Introduction to Computer and Programing Thanachat Thanomkulabut.
Computer and Programming. Computer Basics: Outline Hardware and Memory Programs Programming Languages and Compilers.
Computers and Programming ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem
Introduction to Computer and Programing Thanachat Thanomkulabut.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
Chapter 1 An Overview of Computers and Programming Languages.
The Big Picture. My Story  Wrote great programs  Didn’t understand how they worked.
2 nd Semester Module1 Introduction to Computer and Programming อภิรักษ์ จันทร์สร้าง Aphirak Jansang
C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 1: An Overview of Computers and Programming Languages.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
CHAPTER 1 OVERVIEW OF COMPUTER AND PROGRAMMING 1.1 Electronic Computer Then and Now 1.2 Computer Hardware 1.3 Computer Software 1.4 The Software Development.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1: An Overview of Computers and Programming Languages
Introduction to Programming
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
Unit One - Computing Fundamentals
National Diploma in Computer Studies
Function of Operating Systems
Presentation transcript:

2 nd Semester Module1 Introduction to Computer and Programming อภิรักษ์ จันทร์สร้าง Aphirak Jansang Computer Engineering Department Kasetsart University, Bangkok THAILAND

1 st Semester Outline  Introduction to Computer  How to run program?  Programming Languages

1 st Semester Do you know? THAILAND  How many computers in THAILAND? *

1 st Semester How can we classify computers?  Personal Computer Desktop Computer Notebook PDA – Personal Digital Assistant  Supercomputer  Mainframe High Computation Power

1 st Semester Computer Components  Input Devices  Output Devices  Computing & Processing Unit

1 st Semester CPU Main Memory Input Devices HD Secondary Memory Output Devices Computer Components

1 st Semester Computer Memory  1.Main Memory  2.Secondary Memory

1 st Semester Main Memory  Can be devided into 2 Categories RAM (Random Access Memory) ROM (Read Only Memory)  Memory Cell -> Byte -> Bit  1 Byte = 8 bits

1 st Semester Secondary Memory  Floppy disk  Hard disk  CDROM  DVDROM Etc… 1 Kbyte = 2 10 = 1024 bytes 1 Mbyte = 2 20 = 1,048,576 bytes 1 Gbyte = 2 30 = 1,073,741,824 bytes

1 st Semester Main Memory VS Secondary Memory  Main Memory Much faster More expensive Volatile  Secondary Memory Slower Less expensive Permanent

1 st Semester Do you know ASIMO? *

1 st Semester Outline  Introduction to Computer  How to run program?  Programming Languages  Introduction to Pascal Language

1 st Semester How to run program?  After boot Process May be Windows XP (Operating System: OS) has been loaded into Main Memory  User tell OS to load program P1  OS Load program P1 from Secondary Memory into Main Memory  OS run program from Main Memory

1 st Semester Outline  Introduction to Computer  How to run program?  Programming Languages

1 st Semester Programming Languages  Machine Language  Assembly Language  High-Level Language

1 st Semester High-level VS Assembly VS Machine Language  High-level Language SUM := A * 2 + ALPHA/3;  Assembly Language MULL3A, #2, R6 DIVL3#3, ALPHA, R7 ADDL3R6, R7, SUM  Machine Language

1 st Semester High-Level Languages  Procedural Language Fortran Cobol Basic C Pascal  Object-Oriented Language C++ Java C# C#  Functional Language Lisp  Logic Language Prolog

1 st Semester How to execute program from non-machine language?  Interpretation Method  Translation Method

1 st Semester Interpretation Method Process Interpreter (on computer) Output Source Program Input

1 st Semester Translation Method Process Translator (on computer) File *.exe Source Program Input

1 st Semester Translators  Assembler (assembly)  Compiler (High-level language)

1 st Semester Quiz1 What will happen to you when our world have no computers?

1 st Semester Summary  Computer Basic  Programming Language Interpreter Method Translator Method