Professional Documents
Culture Documents
Knowledge:
Understand the concepts of computer, hardware, software and programming
FTSM
What is a computer?
A device or machine which can be programmed to receive data and perform manipulation, such as arithmetic calculation and logic processing, and generate processed data systematically DBP 1995
TK1913-C Programming
History of Computer
The 1st electronic computer was created by Dr John Atanasoff and Clifford Berry in year 1930s at Iowa State University. It was intended for postgraduate students in nuclear physics to calculate complex arithmetics
ENIAC (electronic digital computer) was created in year 1946 at University of Pennsylvania under the American Defenses financial assistance. Its weight was 30 tans and size was 30x50 square feet
1950 - now => Microcomputer (workstation), minicomputer, mainframe and supercomputer
3
TK1913-C Programming
Computer Hardware
Input Devices
Capture/receive input from users Execute instructions; compute, compare and transform data Temporary storage for data/programs
Output Devices
Produce output/result
Permanent storage for data/programs
4
Computer Hardware
CD ROM, DVD ROM (Secondary Storage)
Computer Software
Program
An organized list of instructions that, when executed, causes the computer to behave in a predetermined manner. Without programs, computers are useless. A program is like a recipe. It contains a list of ingredients (called variables) and a list of directions (called statements) that tell the computer what to do with the variables. The variables can represent numeric data, text, or graphical images. An executable program that is run in the computer 2 types of software: System Software Application Software
6
Software
TK1913-C Programming
Computer System
The diagram below illustrates the anatomy of a computer
system
User App. Software Syst. Software Hardware
TK1913-C Programming
Computer Environment
Personal Computer
All components are directly connected and not shared by others (stand-alone) Several users share hardware resources
Time-sharing
Client-server
Computer tasks are divided between central computer and users computers
10
TK1913-C Programming
Roles of Computer
Data Processing
Transform raw data into organised and meaningful information Control tools that are difficult to be controlled by human
Control
TK1913-C Programming
Concepts of Programming
A planning process for a sequence of instruction to be executed by the computer Programming is performed to solve a particular problem Phases involved:
Problem Analysis General Solution (Algorithm) Validation Detailed Solution (Coding) Testing
12
TK1913-C Programming
Programming Languages
Machine Language
Symbolic/Assembly Language
High-Level Language
Resembles human language. E.g. English Language Needs to be translated into machine language
13
TK1913-C Programming
Types of Programming
Structured
Functional
Object-Oriented
Logic-based
Scripts
TK1913-C Programming
End of Lecture 1
Yes !! Thats all? Whats next???