Professional Documents
Culture Documents
What Is A Computer?: Introduction To Computers
What Is A Computer?: Introduction To Computers
Introduction to computers
What is a Computer?
Computer is an electronic machine that can receive, store or process data according to a set of instructions (computer program) and output information.
input Process output
data
information
pg. 1
What is a computer?
Device consisting of:
electronic components (hardware) receives controlled instructions (software) stored within its memory.
pg. 2
Categories of computers
Category Personal computers (desktops) Mobile computers / devices Embedded computers Servers Mainframes Supercomputers Size Be placed on a table
Portable and fits by hand-carrying Small and embedded into devices Small cupboard Half a room to a room full A room full of equipments
Categories of computers
pg. 3
Categories of computers
Data representation
Digital form Two states: on and off Digit 0 = off Digit 1 = on Digit 0 and 1 is known as bits (short for binary digit). 8 bits = a byte
pg. 4
pg. 5
What happens?
j
ASCII to Binary conversion 01101010
pg. 6
Sample input
Sample output
pg. 7
System Unit
System Unit
Contains all the electrical components that the computer uses to process data. Processor (central processing unit, CPU) interprets and manages most of the computers operation.
pg. 8
During the process, current instruction and data are stored temporarily inside the CPUs special high-speed memory locations called registers.
Processor
Two parts:
control unit: directs and coordinate most operations in the computer arithmetic logic unit (ALU): performs arithmetic and comparison.
pg. 9
Memory
A temporary storage unit 3 things it stores:
Operating system and other system software of the computer and its devices Application programs with tasks Data being processed by programs and its results.
Memory
2 kinds of memory - volatile (temporary) and nonvolatile (permanent) Volatile memory loses its contents when power is turned off Non-volatile memory does not lose its content
pg. 10
Memory
Transfer of data from storage to memory
pg. 11
Memory
Each bytes resides temporarily in memory has an address. This address is a unique number that identifies the location of the memory.
Memory an ordered sequence of storage locations or memory cells, each of which has a unique memory address Memory cell an individual storage location in memory Assigning a new data to a memory cell will destroy its previous content 1 byte == 8 bits
pg. 12
Storage
Stores data, instructions and information to be used in the future Eg. music, movies, assignment, pictures Save data, instructions or information from memory to storage medium, that process is known as writing. To recall data from a medium to memory, it is known as reading.
Storage
pg. 13
Computer Software
Instruction that instructs the computer what to do and how to execute There are Three (3) categories of computer software
System Software Application Software Computer Languages
Software
System software - control and maintain the operations of the computer and its devices. Divided into 2:
operating system utility programs
pg. 14
Managing allocation of memory, of processor time and of other resources for various tasks Accessing data from secondary storage Writing data to secondary storage
pg. 15
Assembly language
Mnemonic codes that correspond to machine language instructions
High-level language
Machine-independent programming language that combines algebraic expressions and English symbols
Computer Software Machine Language vs. Assembly Memory Addresses Machine Language Language Assembly Language
Instructions Instructions
pg. 16
LISP
C Prolog Ada Smalltalk C++ Java
Artificial Intelligence
Systems programming Artificial Intelligence Real-time distributed systems Graphical user interface; Object oriented (OO) programming Supports OO programming OO & Support web programming
Writing programs
Programmers - write programs to instruct the computer what to do Various languages C++, Visual Basic, Java, C#, Phyton, PHP, HTML, Pascal
pg. 17
Writing programs
What happens when you write a program?
pg. 18