Download presentation
Presentation is loading. Please wait.
Published byGeorgina Rice Modified over 9 years ago
1
1 nd Semester 2007 1 Module1 Introduction to Computer and Programming Thanawin Rakthanmanon Email: fengtwr@ku.ac.th Create by: Aphirak Jansang Computer Engineering Department Kasetsart University, Bangkok THAILAND
2
1 nd Semester 2007 2 Outline Introduction to Computer Programming Languages
3
1 nd Semester 2007 3 Definition of Computer Devices for performing computations at high speeds with great accuracy A machine that can be programmed to manipulate symbols Physical components are known as “Hardware”
4
1 nd Semester 2007 4 Computer Systems Hardware (HW) Actual physical machines (equipment) that make up the computer (e.g. monitor, keyboard) Software (SW) Programs written for a specific application are often called softwares (e.g. Window XP, Linux, Microsoft word)
5
1 nd Semester 2007 5 Computer Categories Personal Computer Desktop Computer Notebook PDA – Personal Digital Assistant Supercomputer Mainframe High Computation Power
6
1 nd Semester 2007 6 Computer Components Input Devices Output Devices Computing & Processing Unit
7
1 nd Semester 2007 7 Input Devices HD CPU Main Memory Secondary Memory (DVD, FDD, HDD) Computer Components (details) *CPU= Central Processing Unit Output Devices
8
1 nd Semester 2007 8 Computer Components (pictures) Hard discCPU
9
1 nd Semester 2007 9 Computer Memory 1.Main Memory 2.Secondary Memory
10
1 nd Semester 2007 10 1. Main Memory Can be divided into 2 Categories RAM (Random Access Memory) ROM (Read Only Memory) Memory Cell -> Byte -> bit 1 Byte = 8 bits
11
1 nd Semester 2007 11 2. Secondary Memory Floppy disk Hard disk CD-ROM, CD-R, CD-RW DVD-ROM, DVD-R, DVD-RW Etc… 1 Kbyte = 2 10 = 1024 bytes 1 Mbyte = 2 20 = 1,048,576 bytes 1 Gbyte = 2 30 = 1,073,741,824 bytes
12
1 nd Semester 2007 12 Data Representation Data in computer is represented in “ bit” bit = binary digit 0 or 1 Byte = 8 bits 1 byte can represent many kids of data 1 byte = 01100001 2 the above 1 byte means, “a” or 97 the meaning of 1 byte depends on the program
13
1 nd Semester 2007 13 Main Memory VS Secondary Memory Main Memory Much faster More expensive Volatile Secondary Memory Slower Less expensive Permanent
14
1 nd Semester 2007 14 Outline Introduction to Computer Programming Languages
15
1 nd Semester 2007 15 Programming Languages Program A set of instructions for a computer to follow, written in specific programming language Types of programming language High-Level Language Assembly Language Machine Language
16
1 nd Semester 2007 16 High-level VS Assembly VS Machine Language High-level Language Nearly like human word SUM := A * 2 + ALPHA/3; Assembly Language Some key words are understandable MULL3A, #2, R ADDL3R6, R7, SUM Machine Language Only “0” and “1” 00011000011 00011001111 10011000111 Computer itself understands only Machine language
17
1 nd Semester 2007 17 High-Level Languages Procedural Language Fortran Cobol Basic C Pascal Object-Oriented Language C++ Java C# C# Functional Language Lisp Logic Language Prolog
18
1 nd Semester 2007 18 Summary Basis of Computer Programming Language
19
1 nd Semester 2007 19 Tips Links http://www.cpe.ku.ac.th/~aphirak/ http://www.cpe.ku.ac.th/~pattara/ http://smart.ku.ac.th/ http://www.cpe.ku.ac.th/~aphirak/ http://www.cpe.ku.ac.th/~pattara/ http://smart.ku.ac.th/ http://course.ku.ac.th/ How to check MAC address of your PC Click “run” (from start button) “ cmd ” Type “ ipconfig /all ” Physical address : 00-16-E5-xx-xx-xx
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.